wi0 does not associate on system startup
Mark Miller
joup at bnet.org
Tue Aug 12 21:40:10 PDT 2003
Hi,
I'm using a Netgear MA401 card on FreeBSD 4.8 (dell inspiron 2650 laptop),
and for some reason I can't automatically connect to the wireless network
when I start up. However, 'killall dhclient; dhclient wi0' works
perfectly. Can anyone tell me what I can do to make this work the first
time around? Below is a simple log of what I do everytime I boot up-- it
looks like the card might be trying to get an INET6 address, but I don't
know what to do about that either.
Thanks in advance,
Mark
[mjm at zoe] ifconfig
xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
options=3<rxcsum,txcsum>
inet6 fe80::208:74ff:fee5:ff7c%xl0 prefixlen 64 scopeid 0x1
inet 0.0.0.0 netmask 0xff000000 broadcast 255.255.255.255
ether 00:08:74:e5:ff:7c
media: Ethernet autoselect (none)
status: no carrier
lp0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500
ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 552
faith0: flags=8002<BROADCAST,MULTICAST> mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x6
inet 127.0.0.1 netmask 0xff000000
wi0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
inet6 fe80::209:5bff:fe4b:d64e%wi0 prefixlen 64 scopeid 0x7
inet 0.0.0.0 netmask 0xff000000 broadcast 255.255.255.255
ether 00:09:5b:4b:d6:4e
media: IEEE 802.11 Wireless Ethernet autoselect (DS/2Mbps)
status: associated
ssid <snip>:""
stationname "FreeBSD WaveLAN/IEEE node"
channel 11 authmode OPEN powersavemode OFF powersavesleep 100
wepmode OFF weptxkey 1
[mjm at zoe] ssh myserver
ssh: connect to host myserver port 22: No route to host
[mjm at zoe] sudo killall dhclient
[mjm at zoe] sudo dhclient wi0
[mjm at zoe] ifconfig
xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
options=3<rxcsum,txcsum>
inet6 fe80::208:74ff:fee5:ff7c%xl0 prefixlen 64 scopeid 0x1
inet 0.0.0.0 netmask 0xff000000 broadcast 255.255.255.255
ether 00:08:74:e5:ff:7c
media: Ethernet autoselect (none)
status: no carrier
lp0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500
ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 552
faith0: flags=8002<BROADCAST,MULTICAST> mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x6
inet 127.0.0.1 netmask 0xff000000
wi0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
inet6 fe80::209:5bff:fe4b:d64e%wi0 prefixlen 64 scopeid 0x7
inet 10.0.1.21 netmask 0xffffff00 broadcast 10.0.1.255
ether 00:09:5b:4b:d6:4e
media: IEEE 802.11 Wireless Ethernet autoselect (DS/2Mbps)
status: associated
ssid <snip>:""
stationname "FreeBSD WaveLAN/IEEE node"
channel 11 authmode OPEN powersavemode OFF powersavesleep 100
wepmode OFF weptxkey 1
[mjm at zoe] grep -v '^#' /etc/rc.conf
hostname="zoe.verizon.net"
ifconfig_wi0="DHCP"
ifconfig_xl0="DHCP"
network_interfaces="xl0 lo0 wi0"
pccard_enable="YES"
usbd_enable="YES"
sendmail_enable="NONE"
inetd_enable="YES"
portmap_enable="YES"
sshd_enable="YES"
icmp_drop_redirect="YES"
apm_enable="YES"
apmd_enable="YES"
linux_enable="YES"
[mjm at zoe] uname -a
FreeBSD zoe.verizon.net 4.8-STABLE FreeBSD 4.8-STABLE #0: Wed Jun 18
22:43:27 PDT 2003 mjm at zoe.verizon.net:/usr/obj/usr/src/sys/ZOE.5 i386
More information about the freebsd-questions
mailing list