Wireless NIC in FreeBSD 6.0 ?
yuanjue02 at gmail.com
Sun Dec 25 04:45:00 PST 2005
On Sunday 25 December 2005 19:53, you wrote:
> Yuan Jue wrote:
> > ath0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
> > inet 126.96.36.199 netmask 0xfffffe00 broadcast 188.8.131.52
> > 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
> > PING 184.108.40.206 (220.127.116.11): 56 data bytes
> > ping: send to: No route to host
> > 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.
> Take a close look at the ip/broadcast of your nic and the ip of the host
> you're trying to ping.
> Your NIC: 18.104.22.168/23
> Your DNS: 22.214.171.124
yes. they are not on the same LAN.
but when I use my local NIC to connect the internet, everything is fine.
the following is how my local NIC works:
bge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
inet 126.96.36.199 netmask 0xfffffe00 broadcast 188.8.131.52
media: Ethernet autoselect (100baseTX <full-duplex>)
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
inet 127.0.0.1 netmask 0xff000000
YuanJue@~$ ping 184.108.40.206
PING 220.127.116.11 (18.104.22.168): 56 data bytes
64 bytes from 22.214.171.124: icmp_seq=0 ttl=251 time=0.525 ms
64 bytes from 126.96.36.199: icmp_seq=1 ttl=251 time=0.665 ms
64 bytes from 188.8.131.52: icmp_seq=2 ttl=251 time=0.521 ms
--- 184.108.40.206 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max/stddev = 0.521/0.570/0.665/0.067 ms
why does this work? it has the same netmask and broadcast address
as the wireless NIC. Any more explanations?
> They are not on the same network as far as I can see.
> Now, check that you have the default route set,
> # route -n get default
thanks for your reply.
More information about the freebsd-questions