WLAN mit Thinkpad T41

J

joneum

Guest
Ich hab hier ein Thinkpad T41 mit ingegrierter WLAN-karte.
Das ganze laeuft auf FreeBSD 7.2 i386

Die Karte wird laut dmesg richtig erkannt:

ath0: <Atheros 5212> mem 0xc0210000-0xc021ffff irq 11 at device 2.0 on pci2
ath0: [ITHREAD]
ath0: WARNING: using obsoleted if_watchdog interface
ath0: Ethernet address: 00:05:4e:48:14:ab
ath0: mac 5.6 phy 4.1 5ghz radio 1.7 2ghz radio 2.3

Ich hab hier einen Accesspoint von Linksys, einen WAP54G, der gerade auf WPA laeuft. Der Accesspoint hat eine feste IP, Gateway ist auch gegeben.

Folgendes habe ich lt. Handbuch in die /boot/loader.conf eingetragen

if_ath_load="YES"
wlan_scan_ap_load="YES"
wlan_scan_sta_load="YES"
wlan_wep_load="YES"
wlan_ccmp_load="YES"
wlan_tkip_load="YES"

ath0 ist so in der rc.conf eingetragen:

ifconfig_ath0="inet 192.168.0.13 netmask 255.255.255.0"

ifconfig ath0 gibt nun folgendes aus:

ath0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether 00:05:4e:48:14:ab
inet 192.168.0.13 netmask 0xffffff00 broadcast 192.168.0.255
media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
status: no carrier
ssid "" channel 124 (5620 Mhz 11a)
authmode OPEN privacy OFF txpower 31.5 bmiss 7 scanvalid 60 bgscan
bgscanintvl 300 bgscanidle 250 roam:rssi11a 7 roam:rate11a 12 burst
bintval 0

/etc/wpa_supplicant.conf sieht so aus:

network={
ssid="linksys_SES_29944"
psk="xxxxxxxxxxx"
}

ifconfig ath0 list scan findet den Accesspoint auch:

linksys_SES... 00:06:25:4b:0d:95 11 54M -73:-96 100 EP WPA

Nun connecte ich mich:

goofy# wpa_supplicant -i ath0 -c /etc/wpa_supplicant.conf
Trying to associate with 00:06:25:4b:0d:95 (SSID='linksys_SES_29944' freq=2462 MHz)
Associated with 00:06:25:4b:0d:95
WPA: Key negotiation completed with 00:06:25:4b:0d:95 [PTK=TKIP GTK=TKIP]
CTRL-EVENT-CONNECTED - Connection to 00:06:25:4b:0d:95 completed (auth) [id=0 id_str=]

ifconfig ath0 bestaetigt mir auch, dass ich verbunden bin:

goofy# ifconfig ath0
ath0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether 00:05:4e:48:14:ab
inet 192.168.0.13 netmask 0xffffff00 broadcast 192.168.0.255
media: IEEE 802.11 Wireless Ethernet autoselect (OFDM/54Mbps)
status: associated
ssid linksys_SES_29944 channel 11 (2462 Mhz 11g) bssid 00:06:25:4b:0d:95
authmode WPA privacy ON deftxkey UNDEF TKIP 2:128-bit txpower 31.5
bmiss 7 scanvalid 60 bgscan bgscanintvl 300 bgscanidle 250
roam:rssi11g 7 roam:rate11g 5 protmode CTS burst roaming MANUAL

egal ob ich nun einen ping absetzen will, eine Seite mit Firefox oeffnen will oder sonstiges, nichts geht.

Versuche ich nun testhalber, eine DHCP-IP zu beziehen, so klappt das:

g
oofy# dhclient ath0
DHCPREQUEST on ath0 to 255.255.255.255 port 67
DHCPACK from 192.168.0.2
bound to 192.168.0.234 -- renewal in 43200 seconds.

Versuche ich z.B. 192.168.0.2 anzupingen, habe ich 100.0% packet loss.

Jemand eine Idee, woran das liegen koennte?
 
Du kannst auch mal versuchen mit defaultrouter="ipadresse" in rc.conf die route zu setzen wenn du keine DHCP verwendest.
probierauch mal route add default <deinerouter> nachdem du eine verbunden bist


Gruss
 
Zuletzt bearbeitet:
Zurück
Oben