I posted this on another thread, so my apologies for this cross post, but it may get lost being on page 2....
I'm installing the broadcom driver using ndiswrapper. Everything seems to work, except I can't get dhcp to get an address.
On top of that, when I assign a static address, it doesn't connect to anything either.
here is the sequence of installing using ndiswrapper:
OK, trying to get the built in 802.11g network card working with my compaq presario laptop (v5005us)
in winders it works fine
in linux, i have compiled ndiswrapper, installed ndiswrapper (both no problems)
i checked the proper driver, and installed that.. (using the ndiswrapper instructions)
Then i installed, after i do ndiswrapper -l i get
bcmwl5 driver present, hardware present
Then I did ndiswrapper -m, no problem
depmod -a, no problem
modprobe ndiswrapper, no problem
dmesg after the modprobe, i get
ndiswrapper version 1.8 loaded (preempt=no,smp=no)
ndiswrapper: driver bcmwl5 (Broadcom,07/21/2005, 3.140.16.0) loaded
ndiswrapper: using irq 10
wlan0: ndiswrapper ethernet device 00:14:a5:2d:33:1a using driver bcmwl5, 14E4:4
318.5.conf
so far, so good
iwconfig gives me
[root@localhost ~]# iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
wlan0 IEEE 802.11g ESSIDff/any Nickname:"localhost.localdomain"
Mode:Managed Frequency:2.462 GHz Access Point: 00:00:00:00:00:00
Bit Rate=54 Mb/s Tx-Power:25 dBm
RTS thr=2347 B Fragment thr=2346 B
Encryption keyff
Power Managementff
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
sit0 no wireless extensions.
iwlist then gives me:
[root@localhost ~]# iwlist wlan0 scan
wlan0 Scan completed :
Cell 01 - Address: 00:11:95:53:8E:FB
ESSID:"hubbardhouse"
Protocol:IEEE 802.11g
Mode:Managed
Frequency:2.412 GHz (Channel 1)
Quality:0/100 Signal level:-59 dBm Noise level:-256 dBm
Encryption keyff
Bit Rate:1 Mb/s
Bit Rate:2 Mb/s
Bit Rate:5.5 Mb/s
Bit Rate:11 Mb/s
Bit Rate:6 Mb/s
Bit Rate:12 Mb/s
Bit Rate:24 Mb/s
Bit Rate:36 Mb/s
Bit Rate:9 Mb/s
Bit Rate:18 Mb/s
The next couple of commands are....
[root@localhost ~]# iwconfig wlan0 mode Managed
[root@localhost ~]# iwconfig wlan0 essid 'HUBBARDHOUSE'
[root@localhost ~]# iwconfig wlan0 up
Error : unrecognised wireless request "up"
[root@localhost ~]# ifconfig wlan0 up
Now for the big one, Margo. dhclient:
[root@localhost ~]# dhclient wlan0
Internet Systems Consortium DHCP Client V3.0.2
Copyright 2004 Internet Systems Consortium.
All rights reserved.
For info, please visit
http://www.isc.org/products/DHCP
Listening on LPF/wlan0/00:14:a5:2d:33:1a
Sending on LPF/wlan0/00:14:a5:2d:33:1a
Sending on Socket/fallback
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 5
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 12
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 18
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 15
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 11
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
Bit Rate:48 Mb/s
Bit Rate:54 Mb/s
Extra:bcn_int=100
Extra:atim=0
I checked the dhcp server, and it has plenty of leases.
At this point, I'm a little bit without clue. I did try a static ip address, but then when I tried to ping another machine on my network, I got :
root@localhost ~]# ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1441 errors:0 dropped:0 overruns:0 frame:0
TX packets:1441 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1585635 (1.5 MiB) TX bytes:1585635 (1.5 MiB)
wlan0 Link encap:Ethernet HWaddr 00:14:A5:2D:33:1A
inet addr:192.168.0.44 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::214:a5ff:fe2d:331a/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:10 Memory:c0200000-c0202000
[root@localhost ~]# ping 192.168.0.1
PING 192.168.0.1 (192.168.0.1) 56(84) bytes of data.
From 192.168.0.44 icmp_seq=1 Destination Host Unreachable
From 192.168.0.44 icmp_seq=2 Destination Host Unreachable
From 192.168.0.44 icmp_seq=3 Destination Host Unreachable
--- 192.168.0.1 ping statistics ---
6 packets transmitted, 0 received, +3 errors, 100% packet loss, time 5004ms
, pipe 4
The wierd thing here, is that Destination host unreachable usually means you are pinging a different network with no route to that network. In this case, you
can see that both sender and target of the ping are on the same network.
It's almost as if the network card is telling us that it can see everyone, but it doesn't want to talk to anyone.
Any ideas? I'm guessing that I missed a step, but I went over the ndiswrapper installation instructions a couple of times, and I got everything there.
Thanks in advance!
__________________