Date: Sat, 30 Jul 2005 12:10:04 +0200 From: Rene Ladan <r.c.ladan@student.tue.nl> To: Ben Kaduk <minimarmot@gmail.com> Cc: current@freebsd.org Subject: Re: dhclient and wpa_supplicant Message-ID: <20050730101002.GA85066@82-168-75-155-bbxl.xdsl.tiscali.nl> In-Reply-To: <47d0403c050729223074ddf67d@mail.gmail.com> References: <42EAD325.60707@errno.com> <47d0403c050729223074ddf67d@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--jI8keyz6grp/JLjh Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jul 30, 2005 at 05:30:42AM +0000, Ben Kaduk wrote: >=20 > ndis0: <Dell TrueMobile 1400 Dual Band WLAN Mini-PCI Card> mem > 0xfaff6000-0xfaff7fff irq 9 at device 3.0 on pci2 > ndis0: NDIS API version: 5.0 ^^^ You should use NDIS API version 5.1, which comes with the Windows XP drivers. > ndis0: Ethernet address: 00:90:4b:2d:46:ce >=20 > When I issue an: >=20 > prolepsis# ifconfig ndis0 inet up ssid 'NetworkXcAe5@r' wepmode on > wepkey 0xdeadc0de >=20 > my interface associates fine, giving me this: >=20 > prolepsis# ifconfig ndis0 > ndis0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 > inet6 fe80::290:4bff:fe2d:46ce%ndis0 prefixlen 64 scopeid 0x3 > ether 00:90:4b:2d:46:ce > media: IEEE 802.11 Wireless Ethernet autoselect > status: associated ^^^^^^ You should get a bssid here. > ssid NetworkXcAe5@r bssid 00:12:17:1d:f7:08 > authmode OPEN privacy ON deftxkey UNDEF wepkey 1:40-bit txpowmax = 100 It might be safer to define a default transmit key, but I'm not sure on that. >=20 > but when I run: >=20 > prolepsis# dhclient ndis0 > DHCPDISCOVER on ndis0 to 255.255.255.255 port 67 interval 8 > DHCPDISCOVER on ndis0 to 255.255.255.255 port 67 interval 9 > DHCPDISCOVER on ndis0 to 255.255.255.255 port 67 interval 16 > DHCPDISCOVER on ndis0 to 255.255.255.255 port 67 interval 9 > DHCPDISCOVER on ndis0 to 255.255.255.255 port 67 interval 11 > DHCPDISCOVER on ndis0 to 255.255.255.255 port 67 interval 8 > No DHCPOFFERS received. > No working leases in persistent database - sleeping. >=20 > prolepsis# ifconfig ndis0 > ndis0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 > inet6 fe80::290:4bff:fe2d:46ce%ndis0 prefixlen 64 scopeid 0x3 > inet 0.0.0.0 netmask 0xff000000 broadcast 255.255.255.255 > ether 00:90:4b:2d:46:ce > media: IEEE 802.11 Wireless Ethernet autoselect > status: associated > ssid NetworkXcAe5@r bssid 00:12:17:1d:f7:08 > authmode OPEN privacy ON deftxkey UNDEF wepkey 1:40-bit txpowmax = 100 >=20 >=20 > dhclient doesn't seem to pick it up. I know this ap is actually > running a dhcp server; it works on darwin. >=20 > I have read that using ifconfig for wireless (encryption?) is not the > way of the future, that I should be using wpa_supplicant, WPA uses a stronger encryption than WEP, ifconfig is just a tool to configure network interfaces. In theory it could support WPA. >=20 > Thanks for putting in all this effort. >=20 > Ben Kaduk Regards, Rene --=20 GPG fingerprint =3D 5FFA 3959 3377 C697 8428 24D0 BF3E F4A9 AE33 5DCC "It won't fit on the line." -- me, 2001 --jI8keyz6grp/JLjh Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFC61H5vz70qa4zXcwRAnUjAKCZug5bEsoWAvRJfFaM9yTRO7t1gACgnip6 iMdWQTxca7pL7pPGumOQNpI= =MgK5 -----END PGP SIGNATURE----- --jI8keyz6grp/JLjh--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050730101002.GA85066>