Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Jun 2009 09:54:42 -0500
From:      Andrew Gould <andrewlylegould@gmail.com>
To:        Jochen Neumeister <jochen@daten-chaos.de>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: WLAN with Thinkpad T41
Message-ID:  <d356c5630906190754y5e3090efk4b48e096d7901429@mail.gmail.com>
In-Reply-To: <20090619160952.6e4bc6ae@donald.home.jochen-neumeister.de>
References:  <20090619160952.6e4bc6ae@donald.home.jochen-neumeister.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jun 19, 2009 at 9:09 AM, Jochen Neumeister<jochen@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 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
>
>
> 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=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
>
>
> and this is me /etc/wpa_supplicant.conf:
>
> network={
> ssid="linksys_SES_29944"
> psk="xxxxxxxxxxx"
> }
>
>
> 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=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
>
>
> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d356c5630906190754y5e3090efk4b48e096d7901429>