From owner-freebsd-hackers@FreeBSD.ORG Fri Mar 6 10:32:39 2009 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 35B541065670 for ; Fri, 6 Mar 2009 10:32:39 +0000 (UTC) (envelope-from matthias.apitz@oclc.org) Received: from hunter.Sisis.de (hunter.sisis.de [193.31.11.194]) by mx1.freebsd.org (Postfix) with ESMTP id 71F8A8FC25 for ; Fri, 6 Mar 2009 10:32:37 +0000 (UTC) (envelope-from matthias.apitz@oclc.org) Received: (from mail@localhost) by hunter.Sisis.de (8.8.8/8.8.8) id HAA18502 for ; Fri, 6 Mar 2009 07:37:07 +0100 (CET) (envelope-from matthias.apitz@oclc.org) Received: from ppp-93-104-111-163.dynamic.mnet-online.de(93.104.111.163) by hunter.Sisis.de via smap (V2.1) id xma018498; Fri, 6 Mar 09 07:37:06 +0100 Received: (from guru@localhost) by rebelion.Sisis.de (8.14.2/8.13.8/Submit) id n266kX6E002791 for freebsd-hackers@freebsd.org; Fri, 6 Mar 2009 07:46:33 +0100 (CET) (envelope-from matthias.apitz@oclc.org) X-Authentication-Warning: rebelion.Sisis.de: guru set sender to matthias.apitz@oclc.org using -f Date: Fri, 6 Mar 2009 07:46:33 +0100 From: Matthias Apitz To: freebsd-hackers@freebsd.org Message-ID: <20090306064633.GA2603@rebelion.Sisis.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 7.0-STABLE (i386) Subject: Fwd: associated to AP (WEP mode) && no IP addr via DHCP X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Mar 2009 10:32:39 -0000 Hello, I've posted the problem below to freebsd-mobile with zero (visible) effect; maybe someone from freebsd-hackers has at least an idea for me where to look into for further debugging; it should to stay that a simple stupid Nokia works in a Wifi zone, while FreeBSD does not :-) Thx for your time reading my problem matthias ----- Forwarded message from Matthias Apitz ----- From: Matthias Apitz Date: Thu, 5 Mar 2009 13:00:22 +0100 To: freebsd-mobile@freebsd.org Subject: associated to AP (WEP mode) && no IP addr via DHCP 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? Thx matthias -- Matthias Apitz Manager Technical Support - OCLC GmbH Gruenwalder Weg 28g - 82041 Oberhaching - Germany t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.oclc.org/ http://www.UnixArea.de/ _______________________________________________ freebsd-mobile@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-mobile To unsubscribe, send any mail to "freebsd-mobile-unsubscribe@freebsd.org" ----- End forwarded message ----- -- Matthias Apitz Manager Technical Support - OCLC GmbH Gruenwalder Weg 28g - 82041 Oberhaching - Germany t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.oclc.org/ http://www.UnixArea.de/