Wireless NIC in FreeBSD 6.0 ?

Yuan Jue yuanjue02 at gmail.com
Sat Dec 24 23:27:48 PST 2005


Hello, all

Does anybody success to use wireless NIC in FreeBSD6.0 in HP NC6000?
Back to FreeBSD 5.4, my wireless card just works, but not in FreeBSD 6.0.

I use the following steps to try to use my wireless card:
1.change to root, then "kldload if_ath"
after this, I can use "kldstat" to see this:
Id Refs Address    Size     Name
 1    9 0xc0400000 328db0   kernel
 2    1 0xc0729000 bc40     kqemu.ko
 3   16 0xc0735000 5683c    acpi.ko
 6    1 0xc296a000 e000     if_ath.ko
 7    1 0xc2978000 3000     ath_rate.ko
 8    1 0xc297b000 24000    ath_hal.ko
and use "ifconfig" to see this:
bge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=1a<TXCSUM,VLAN_MTU,VLAN_HWTAGGING>
        inet 166.111.208.143 netmask 0xfffffe00 broadcast 166.111.209.255
        ether 00:0d:9d:90:e0:68
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet 127.0.0.1 netmask 0xff000000
ath0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        ether 00:11:85:1b:21:79
        media: IEEE 802.11 Wireless Ethernet autoselect
        status: no carrier
        ssid "" channel 1
        authmode OPEN privacy OFF txpowmax 100 protmode CTS

2.I use DHCP to get my IP address. "dhclient ath0"
the response is this:
DHCPREQUEST on ath0 to 255.255.255.255 port 67
DHCPREQUEST on ath0 to 255.255.255.255 port 67
DHCPREQUEST on ath0 to 255.255.255.255 port 67
DHCPACK from 166.111.208.1
bound to 166.111.208.137 -- renewal in 3600 seconds.
and use "ifconfig" can see:
ath0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 166.111.208.137 netmask 0xfffffe00 broadcast 166.111.209.255
        ether 00:11:85:1b:21:79
        media: IEEE 802.11 Wireless Ethernet autoselect (OFDM/36Mbps)
        status: associated
        ssid A314b channel 11 bssid 00:09:5b:d1:fa:c4
        authmode OPEN privacy OFF txpowmax 30 protmode CTS bintval 100

it seems that the wireless NIC should be working now, right?
but when i try to ping some IP which definitely should be connected
from the IP address I have got, like :
ping 166.111.8.28 (this is the DNS server)
the result is this:
PING 166.111.8.28 (166.111.8.28): 56 data bytes
ping: send to: No route to host
ping: send to: No route to host
ping: send to: No route to host
ping: send to: No route to host
ping: send to: No route to host
ping: send to: No route to host
ping: send to: No route to host
ping: send to: No route to host
^C
--- 166.111.8.28 ping statistics ---
17 packets transmitted, 0 packets received, 100% packet loss

it means I cannot connect to the internet even when I have got the
wireless card an IP address using DHCP. WHY?

can anybody help on this? any suggestion would be much appreciated.

-- 
Best Regards.
Yuan Jue


More information about the freebsd-questions mailing list