dhclient and wpa_supplicant
Rene Ladan
r.c.ladan at student.tue.nl
Sat Jul 30 10:10:15 GMT 2005
On Sat, Jul 30, 2005 at 05:30:42AM +0000, Ben Kaduk wrote:
>
> 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
>
> When I issue an:
>
> prolepsis# ifconfig ndis0 inet up ssid 'NetworkXcAe5 at r' wepmode on
> wepkey 0xdeadc0de
>
> my interface associates fine, giving me this:
>
> prolepsis# ifconfig ndis0
> ndis0: flags=8843<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 at 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.
>
> but when I run:
>
> 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.
>
> prolepsis# ifconfig ndis0
> ndis0: flags=8843<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 at r bssid 00:12:17:1d:f7:08
> authmode OPEN privacy ON deftxkey UNDEF wepkey 1:40-bit txpowmax 100
>
>
> dhclient doesn't seem to pick it up. I know this ap is actually
> running a dhcp server; it works on darwin.
>
> 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.
>
> Thanks for putting in all this effort.
>
> Ben Kaduk
Regards,
Rene
--
GPG fingerprint = 5FFA 3959 3377 C697 8428 24D0 BF3E F4A9 AE33 5DCC
"It won't fit on the line."
-- me, 2001
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20050730/680d1342/attachment.bin
More information about the freebsd-current
mailing list