Date: Fri, 06 Mar 2009 16:10:25 -0800 From: Sam Leffler <sam@freebsd.org> To: Matthias Apitz <guru@unixarea.de> Cc: freebsd-mobile@freebsd.org Subject: Re: associated to AP (WEP mode) && no IP addr via DHCP Message-ID: <49B1BB71.6060000@freebsd.org> In-Reply-To: <20090305120022.GA8012@rebelion.Sisis.de> References: <20090305120022.GA8012@rebelion.Sisis.de>
next in thread | previous in thread | raw e-mail | index | archive | help
Matthias Apitz wrote: > Hello, > > I'm going frequently to a Greek restaurant in my town to have dinner > there or some red wine, and reading stuff; > > the owner of the restaurant has a Wifi zone and gave me, as its best > client, the WEP-key to connect to Internet; the problem is that he does > not have the admin password of the AP (some else configured it) and so I > can't have a look into the config of the AP; > > my /etc/wpa_supplicant.conf for the AP is: > > # Restaurante Odyssey (2007-11-18) > # > network={ > ssid="ConnectionPoint" > scan_ssid=0 > key_mgmt=NONE > wep_tx_keyidx=0 > wep_key0=xxxxxxxxxxxxxxxxxxxxxx > } > > and the interface associates fine: > > # ifconfig ath0 > ath0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 > ether 00:15:af:b2:ae:e6 > inet 0.0.0.0 netmask 0xff000000 broadcast 255.255.255.255 > media: IEEE 802.11 Wireless Ethernet autoselect (OFDM/36Mbps) > status: associated > ssid ConnectionPoint channel 11 (2462 Mhz 11g) bssid 00:01:e3:0e:97:99 > authmode OPEN privacy ON deftxkey 1 wepkey 1:104-bit txpower 31.5 > bmiss 7 scanvalid 60 protmode CTS burst roaming MANUAL > > but a DHCP request does not give me any IP addr; with > > # tcpdump -n -i ath0 > > it says: > > 19:01:01.603869 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 00:15:af:b2:ae:e6, length 300 > 19:01:02.036549 00:01:e3:0e:97:98 Unknown SSAP 0x2c > ff:ff:ff:ff:ff:ff Unknown DSAP 0xa2 Information, send seq 98, rcv seq 39, Flags [Command], length 36 > 19:01:02.958057 00:01:e3:0e:97:98 ProWay NM > ff:ff:ff:ff:ff:ff Unknown DSAP 0x5c Supervisory, Reject, rcv seq 8, Flags [Response], length 36 > 19:01:04.186892 00:01:e3:0e:97:98 Unknown SSAP 0xbe > ff:ff:ff:ff:ff:ff Unknown DSAP 0x44 Supervisory, Reject, rcv seq 39, Flags [Final], length 36 > 19:01:09.606218 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 00:15:af:b2:ae:e6, length 300 > > this situation is already for monthes and I gave up and always use UMTS > if I want connect to Internet; until yesterday I was thinking in some > kind of MAC addr filter in the AP, but .... > > yesterday I was there with a friend who has a Nokia mobile E51 device; I > gave him the key, he associated like me and got in the next second IP, > DNS and all was fine; > > what is that for a problem? it is not ath0 related because my other > laptop with iwi0 does not get IP either; > > what can I provide as information to nail this down? > What does athstats show for crypto errors? If the WEP-encrypted packet is dropped by the h/w then you will see the counter bump. Based on the above you are not running HEAD; if you can try that I can help more. Sam
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49B1BB71.6060000>