lspci
05:02.0 Network controller: Broadcom Corporation BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller (rev 02)
This uses the b43 kernel module which the "lsmod" shows was loaded.
b43 144506 0
mac80211 107808 1 b43
cfg80211 104387 2 b43,mac80211
led_class 2313 1 b43
ssb 34462 1 b43
pcmcia 25885 2 b43,ssb
pcmcia_core 23399 5 b43,ssb,pcmcia,yenta_socket,rsrc_nonstatic
firmware_class 5586 2 b43,pcmcia
It also hows that the firmware has been loaded for it as well.
But we already know that the modules were loaded to have the boot-up messages...
wlan0: dhcpcd 4.0.15 starting
wlan0: broadcasting for a lease
wlan0: offered 172.16.70.189 from 172.16.70.1
wlan0: acknowledged 172.16.70.189 from 172.16.70.1
wlan0: checking 172.16.70.189 is available on attached networks
wlan0: leased 172.16.70.189 for 86400 seconds
wlan0: add_route: Network is unreachable
wlan0 received address 172.16.70.189/32 (It gives /32)
When the netmask is "/32" which is the same as "255.255.255.255". This says that
your computer does not have any host bits for an IP address. Are you attempting to use "dhcp" and an "adhoc" connection? It should be "managed".
The standard IP address of "172.16.70.189" would have a netmask of 255.255.0.0 (or /16) unless it it being sub-networked then it
most probably has a netmask of "255.255.255.0" (or "/24").
Can you become root and issue the commands:
Code:
ifconfig wlan0 172.16.70.189 netmask 255.255.255.0
route add default gw 172.16.70.1 wlan0
cat "nameserver 172.16.70.1" >/etc/resolv.conf
netstat -rn
ping -c 5 www.linuxquestions.org
The "netstat" output should look like:
Code:
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
172.16.70.0 0.0.0.0 255.255.255.0 U 0 0 0 wlan0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 172.16.70.1 0.0.0.0 UG 0 0 0 wlan0
or
Code:
ifconfig wlan0 172.16.70.189 netmask 255.255.0.0
route add default gw 172.16.70.1 wlan0
cat "nameserver 172.16.70.1" >/etc/resolv.conf
netstat -rn
ping -c 5 www.linuxquestions.org
The netstat for this would look like:
Code:
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
172.16.70.0 0.0.0.0 255.255.0.0 U 0 0 0 wlan0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 172.16.70.1 0.0.0.0 UG 0 0 0 wlan0
Did this connect? Then the access point (if it is doing the NAT for you) does not have the dhcp configured correctly.