From owner-freebsd-net@FreeBSD.ORG Wed Feb 15 16:25:40 2012 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 135BB106566B; Wed, 15 Feb 2012 16:25:40 +0000 (UTC) (envelope-from milu@dat.pl) Received: from jab.dat.pl (dat.pl [80.51.155.34]) by mx1.freebsd.org (Postfix) with ESMTP id 54C208FC0C; Wed, 15 Feb 2012 16:25:38 +0000 (UTC) Received: from jab.dat.pl (jsrv.dat.pl [127.0.0.1]) by jab.dat.pl (Postfix) with ESMTP id C832D47; Wed, 15 Feb 2012 17:25:37 +0100 (CET) X-Virus-Scanned: amavisd-new at dat.pl Received: from jab.dat.pl ([127.0.0.1]) by jab.dat.pl (jab.dat.pl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id S3vUOlSAobPc; Wed, 15 Feb 2012 17:25:31 +0100 (CET) Received: from snifi.localnet (unknown [212.69.68.42]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by jab.dat.pl (Postfix) with ESMTPSA id AE39937; Wed, 15 Feb 2012 17:25:31 +0100 (CET) From: Maciej Milewski To: freebsd-net@freebsd.org Date: Wed, 15 Feb 2012 17:25:44 +0100 Message-ID: <2317299.no4denjdye@snifi> User-Agent: KMail/4.8.0 (Linux/3.2.5-1-ARCH; KDE/4.8.0; x86_64; ; ) In-Reply-To: References: <1409561.bgvrFLXgOz@snifi> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Adrian Chadd Subject: Re: Help : configuring wpa_suplpicant.conf for WEP + login/passwd X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Feb 2012 16:25:40 -0000 Dnia =C5=9Broda, 15 lutego 2012 16:16:10 Arno J. Klaassen pisze: > Hello, >=20 > Maciej Milewski writes: > > Dnia wtorek, 14 lutego 2012 21:49:01 Adrian Chadd pisze: > > > Wep? With a username/password? I've not seen this. > > > Does anyone have any ideas? > > > Adrian > > =20 > > Probably WEP one for all users and username/password as an auth = form > > for captive portal(Network Access Control). >=20 > Looks close : this is on a site with very restricted (physical) acces= s : > each day I pass I get a WEP-key and username/password only valid > during the day; the WEP-key (till now) still is the same >=20 > As said, I can get the wlan0 interface up, but no idea how to assign > it an IP-addres .... >=20 > > I haven't used that so I > > can't say anything more. >=20 > Pity ;-) Thanx anyway. >=20 > Regards, >=20 > Arno Arno, one more thing came to my mind: you don't need to use wpa_supplicant to get WEP support. AFAIK WEP128 i= s=20 different name for 104-bits key and that might be supported without nee= d of=20 wpa_supplicant. man ifconfig might shed some light. Although wpa_supplicant message states that it connected successfully t= o the=20 network. Can you try to set the address by hand(taking some earlier inf= o from=20 windows machine)? Additionally you may try to use dhcpcd instead of dhclient(I suspect it= 's in=20 ports). I remember some strange networks where dhclient had problems bu= t=20 dhcpcd worked fine. Maciej > > > On 14 February 2012 05:51, Arno J. Klaassen > > wrote: > > > > Hello, > > > > could someone provide me wit a hint how to get wpa_supplican= t > > > >=20 > > > > to work in the following environment : > > > > - standard : IEEE 802.11 (at least they pretend in the doc= ) > > > > - mode : "infrastructure" (?) > > > > - WEP : 128bit > > > > - Authent : open > > > > - and then "username/password" upon browser-launch (at leas= t under > > > > Windows) > > > > When I put the following to wpa_suplicant.conf I get "State = : > > > > ASSOCIATED -> COMPLETED" : > > > > ssid=3D"their-ID" (unpublished) > > > > scan_ssid=3D1 > > > > key_mgmt=3DNONE > > > > wep_key0=3D"part1" > > > > wep_key1=3D"part2" > > > > wep_key2=3D"part3" > > > > However, 'dhclient wlan0' says "No DHCPOFFERS received" ....= > > > > Any help appreciated. > > > > Thanx in advance, regards, > > > > Arno