WLAN with Thinkpad T41

2009-06-19 Thread Jochen Neumeister
Hi there,

I have a Thinkpad T41 with FreeBSD 7.2/i386

With dmesg i see the wlan card:

ath0: Atheros 5212 mem 0xc021-0xc021 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 


I read the handbook, and this is me /boot/loader.conf:

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 


This entry i made in the rc.conf for the ath0:

ifconfig_ath0=inet 192.168.0.13 netmask 255.255.255.0 


Now ifconfig ath0 say:

ath0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu
1500 ether 00:05:4e:48:14:ab
inet 192.168.0.13 netmask 0xff00 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 


and this is me /etc/wpa_supplicant.conf:

network={
ssid=linksys_SES_29944
psk=xxx
} 


ifconfig ath0 list scan found me accesspoint:

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


Now I connect:

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 say, I am connected:

goofy# ifconfig ath0
ath0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu
1500 ether 00:05:4e:48:14:ab
inet 192.168.0.13 netmask 0xff00 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 


but, now ping, now open a Internetsite in firefox, nothing.

But i can go for a DHCP-IP:

goofy# 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. 


When I ping the DHCP-Server 192.168.0.2, i have 100% packet loss.


The Laptop works finde with LAN, but not with WLAN.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: WLAN with Thinkpad T41

2009-06-19 Thread Andrew Gould
On Fri, Jun 19, 2009 at 9:09 AM, Jochen Neumeisterjoc...@daten-chaos.de wrote:
 Hi there,

 I have a Thinkpad T41 with FreeBSD 7.2/i386

 With dmesg i see the wlan card:

 ath0: Atheros 5212 mem 0xc021-0xc021 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


 I read the handbook, and this is me /boot/loader.conf:

 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


 This entry i made in the rc.conf for the ath0:

 ifconfig_ath0=inet 192.168.0.13 netmask 255.255.255.0


 Now ifconfig ath0 say:

 ath0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu
 1500 ether 00:05:4e:48:14:ab
 inet 192.168.0.13 netmask 0xff00 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


 and this is me /etc/wpa_supplicant.conf:

 network={
 ssid=linksys_SES_29944
 psk=xxx
 }


 ifconfig ath0 list scan found me accesspoint:

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


 Now I connect:

 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 say, I am connected:

 goofy# ifconfig ath0
 ath0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu
 1500 ether 00:05:4e:48:14:ab
 inet 192.168.0.13 netmask 0xff00 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


 but, now ping, now open a Internetsite in firefox, nothing.

 But i can go for a DHCP-IP:

 goofy# 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.


 When I ping the DHCP-Server 192.168.0.2, i have 100% packet loss.


 The Laptop works finde with LAN, but not with WLAN.
 ___

Is LAN still configured for this network?  (Is the laptop confused
about which interface to ping through?)

Are the contents in /etc/resolv.conf correct?

Was the gateway properly set?

(I expect that dhcp set the DNS and gateway values correctly; but it's
always good to check.)

Good luck.

Andrew
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org