WLAN ath0, "Network is down" (gelöst)

nevixpain

war-walker
Hallo Forum.
Ich habe eine Proxim Orinoco Gold WLan Karte,
und möchte mich mit dieser zu meinem WPA-PSK geschützen Netz verbinden.
Router anpingen geht, aber keine Rechner im Internet.

Code:
#dmesg
(...)
ath0: <Atheros 5212> mem 0xf6010000-0xf601ffff irq 16 at device 0.0 on cardbus0
ath0: Ethernet address: 00:20:a6:51:fa:ae
ath0: mac 5.9 phy 4.3 radio 4.6
ath0: link state changed to UP

Code:
#/usr/local/sbin/wpa_supplicant -i ath0 -c /etc/wpa_supplicant.conf -D bsd -d
(...)
EAPOL: External notification - portValid=1
EAPOL: External notification - EAP success=1
EAPOL: SUPP_PAE entering state AUTHENTICATING
EAPOL: SUPP_BE entering state SUCCESS
EAPOL: SUPP_PAE entering state AUTHENTICATED
EAPOL: SUPP_BE entering state IDLE


Code:
 /home/nevix # ifconfig bfe0 down
 /home/nevix # ifconfig fwe0 down
 /home/nevix # ifconfig ath0
ath0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet6 fe80::220:a6ff:fe51:faae%ath0 prefixlen 64 scopeid 0x4 
        inet 192.168.13.89 netmask 0xffffff00 broadcast 255.255.255.0
        ether 00:20:a6:51:fa:ae
        media: IEEE 802.11 Wireless Ethernet autoselect (OFDM/36Mbps)
        status: associated
        ssid unidentified channel 11 bssid 00:13:10:3f:5a:4d
        authmode WPA1+WPA2/802.11i privacy ON deftxkey 1 TKIP 1:128-bit
        TKIP 2:128-bit txpowmax 36 protmode CTS burst roaming MANUAL
        bintval 100

Code:
 /home/nevix # ping 192.168.13.13                       
PING 192.168.13.13 (192.168.13.13): 56 data bytes
64 bytes from 192.168.13.13: icmp_seq=0 ttl=64 time=2.617 ms

Den Router kann ich also erreichen.


Code:
 /home/nevix # ping google.de
PING google.de (216.239.59.104): 56 data bytes
ping: sendto: Network is down
ping: sendto: Network is down
^C
--- google.de ping statistics ---
2 packets transmitted, 0 packets received, 100% packet loss
 /home/nevix #

Die Namensauflösung klappt auch,
aber Ping nicht mehr :(
 
Zuletzt bearbeitet:
du hast eine erfolgreiche Verbindung zu deinem AP hergestellt. Das Problem liegt in der Route. Checke in der Datei /etc/rc.conf dass der Eintrag irgendwo steht:
defaultrouter="192.168.13.x das 'x' mit dem Host deines Routers ersetzen.
 
In der /etc/rc.conf steht:
defaultrouter="192.168.13.13"
(Ist die IP meines Routers.)

Code:
 /home/nevix # netstat -rn                    
Routing tables

Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
default            192.168.13.13      UGS         0        0   [B]bfe0[/B]
127.0.0.1          127.0.0.1          UH          0        0    lo0
192.168.13         link#4             UC          0        0   ath0
192.168.13.13      link#4             UHLW        2        0   ath0

Ich verstehe nicht, warum oben bfe0 (meine Ethernet Karte) steht, anstatt ath0.

Nach einem route flush && route add default 192.168.13.13
kommt immer bfe0, obwohl ich vorher "ifconfig bfe0 down" gemacht habe.

PS: Wenn ich "ifconfig bfe0 up" eingebe, geht "ping google.de" problemlos.
 
So, wie ihr schon richtig erkannt habt, war es ein Routenproblem.
Ich habe mal alle Netzwerkeinträge in der /etc/rc.conf auskommentiert,
neu gestartet, und alle Routen von Hand eingegeben, jetzt geht es :D

Danke !
 
So lang ein Device eine IP hat, wird auch dadurch geroutet. Auch wenn es down ist. Dann funktioniert die Route solang eben nicht. Lösung ohne reboot wäre ein

# ifconfig bfe0 0.0.0.0 down

gewesen.
 
Achso, ich hab mich schon gewundert, warum bfe0 in der Routingtabelle immernoch als Interface angegeben wurde, danke das merk' ich mir :)
 
Zurück
Oben