Probleme mit Gateway

  • Hallo,

    ich habe gerade auf dem RPi2 ein paar Probleme mit dem WLAN Adapter (typischer Edimax).

    Code
    escription='Automatically generated profile by wifi-menu'
    Interface=wlan0
    Connection=wireless
    Security=wpa
    ESSID=DAP-1522
    IP=static
    Address="192.168.178.200/24"
    Gateway="192.168.178.100"
    DNS=("192.168.178.100")
    Key=-------------------------------

    Jedoch wird laut "ifconfig" kein Gateway gesetzt und somit auch keine Möglichkeit, mit "pacman" etwas nachzuinstallieren. Über eth0 geht das alles ohne Probleme mit dhcp.

    Code
    wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
            inet 192.168.178.200  netmask 255.255.255.0  broadcast 192.168.178.255
           ether 74:da:38:28:7e:56  txqueuelen 1000  (Ethernet)
           RX packets 1023  bytes 138026 (134.7 KiB)
           RX errors 0  dropped 49  overruns 0  frame 0
           TX packets 543  bytes 84342 (82.3 KiB)
           TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
  • Das Gateway siehst du auch nicht mit ifconfig. Schau mal mit "netstat -r"
    Desweiteren könntest du mal das Gateway anpingen und "traceroute" ist auch noch eine Tool was dir eine Aussage darüber gibt wo denn deine Pakete langlaufen.

    --
    man ist das System-Anzeigeprogramm für die Handbuchseiten von Linux.

  • Code
    [root@alarmpi ~]# netstat -r
    Kernel IP routing table
    Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
    default         gateway         0.0.0.0         UG        0 0          0 wlan0
    192.168.178.0   *               255.255.255.0   U         0 0          0 wlan0

    Das Gateway scheint falsch zu sein!

    Code
    [root@alarmpi ~]# route -n
    Kernel IP routing table
    Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
    0.0.0.0         192.168.178.100 0.0.0.0         UG    0      0        0 wlan0
    192.168.178.0   0.0.0.0         255.255.255.0   U     0      0        0 wlan0

    Einmal editiert, zuletzt von sschultewolter (10. Juni 2015 um 11:20)

Jetzt mitmachen!

Du hast noch kein Benutzerkonto auf unserer Seite? Registriere dich kostenlos und nimm an unserer Community teil!