From owner-freebsd-mobile@FreeBSD.ORG Sat Mar 7 00:10:27 2009 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 89A7A106566B for ; Sat, 7 Mar 2009 00:10:27 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.freebsd.org (Postfix) with ESMTP id 3C9D58FC1A for ; Sat, 7 Mar 2009 00:10:27 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from trouble.errno.com (trouble.errno.com [10.0.0.248]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id n270APQh002270 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 6 Mar 2009 16:10:26 -0800 (PST) (envelope-from sam@freebsd.org) Message-ID: <49B1BB71.6060000@freebsd.org> Date: Fri, 06 Mar 2009 16:10:25 -0800 From: Sam Leffler Organization: FreeBSD Project User-Agent: Thunderbird 2.0.0.18 (X11/20081209) MIME-Version: 1.0 To: Matthias Apitz References: <20090305120022.GA8012@rebelion.Sisis.de> In-Reply-To: <20090305120022.GA8012@rebelion.Sisis.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-DCC-x.dcc-servers-Metrics: ebb.errno.com; whitelist Cc: freebsd-mobile@freebsd.org Subject: Re: associated to AP (WEP mode) && no IP addr via DHCP X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Mar 2009 00:10:27 -0000 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 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