I am lost when it comes to getting wireless internet working on my laptop. I am using Slackware linux with the 22.214.171.124 Kernel. When I was using the 2.4 kernel I got the wireless working. I have a Broadcom chipset in my laptop, and my problem is I can't get a IP assigned to the wlan0 interface. I tried searching google for some help, and I did find A LOT of information that help me along the way I started finding the same information over and over. I even tried some books I have laying around for Linux, and they really didn't help since they were too out of date (a few years or so :p ). I can get the wireless interface up, but it will not accept a IP using DHCPCD.
I am using:
Linux Router -> Switch -> Access Point Laptop
Laptop w/ Slackware 10.0
DHCPD Server running on Linux Router (It assigns IPS to the Linux desktops and to my laptop on the old kernel fine.)
ndiswrapper v1.1 (Compiled from source)
Windows XP Driver Files (bcmwl5.inf & bcmwl5.sys)
Wireless Tools version 27 (Compiled from source and Compatible with Wireless Extension v11 to v17)
I start off by doing:
root@plague:~# modprobe ndiswrapper
This loads fine and returns no errors. I verified the modules loaded by using modprobe -l which returned /lib/modules/126.96.36.199/misc/ndiswrapper.ko at the bottom of the list. Also here is a snip of the dmesg...
ndiswrapper version 1.1 loaded (preempt=no,smp=no)
ndiswrapper: driver bcmwl5 (Broadcom,06/13/2003, 188.8.131.52) loaded
ACPI: PCI interrupt 0000:02:02.0[A] -> GSI 5 (level, low) -> IRQ 5
ndiswrapper: using irq 5
wlan0: ndiswrapper ethernet device 00:90:4b:4b:42:ff using driver bcmwl5, configuration file 14E4:4320.5.conf
wlan0: encryption modes supported: WEP, WPA with TKIP, WPA with AES/CCMP
I also see that when I type iwconfig I get this output:
wlan0 IEEE 802.11g ESSID:off/any
Mode:Managed Frequency:2.457 GHz Access Point: 00:00:00:00:00:00
Bit Rate:54 Mb/s Tx-Power:16 dBm
RTS thr:2347 B Fragment thr:2346 B
Power Management max timeout:0us mode:All packets received
Link Quality:100/100 Signal level:-10 dBm Noise level:-256 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
Since I was having problems I set my access point to use no security just to try to get this to work. However, this is where I start to get confused. After reading so much over the past week or so I think I have confused myself on what I need to do when it comes to configuring the wlan0 interface. I seem to be unable to set the ESSID unless I set the interface to Ad-Hoc. Then the interface will reflect my changes from the below commands.
root@plague:~# iwconfig wlan0 mode ad-hoc
root@plague:~# iwconfig wlan0 essid HomeLanTest channel 2
Next, I bring the interface up using ifconfig:
root@plague:~# ifconfig wlan0 up
Then I try to get an IP using dhcpcd, but it just returns after ~10-15 seconds.
root@plague:~# dhcpcd wlano
After it returns I check the status of the interfaces by typing ifconfig in the shell, and to my surprise wlan0 has disappeared from the list! However, it was listed in ifconfig BEFORE I tries to get an IP using DHCPCD... I am completely lost I can not find an error message or any reason why it is doing this. Thanks for any help you guys can give me.