Thursday, July 17, 2008

How I configured Wireless Internet on my Slackware 12.1 installation!

I have a Broadcom Wireless card on my Acer Aspire 5100 laptop running Slackware 12.1.
This is how I configured a wireless network -
  1. Downloaded and installed ndiswrapper from Linuxpackages site.
  2. Copied the card drivers from Windows. The drivers are bcmwl5.inf and bcmwl5.sys.
  3. Then I installed the drivers using ndiswrapper as
    $ ndiswrapper -i bcmwl5.inf
  4. To check whether the drivers have been properly installed, issue the following command
    $ ndiswrapper -l
    the driver should be listed here.
  5. Then we have to make sure that /etc/rc.d/rc.netdevice loads ndiswrapper
  6. Edit /etc/rc.d/rc.inet1 to incorporate the wireless card details like essid, key etc.
  7. unload the following modules - b43 and ssb using the following commands
    $ sudo modprobe -r b43 ssb
  8. Load bcm43xx and ndiswrapper
    $ sudo modprobe bcm43xx
    $ sudo modprobe ndiswrapper
  9. Restart the network as
    $ sudo /etc/rc.d/rc.inet1 wlan0_restart
  10. Bring up the wlan0 interface as follows -
    $ sudo ifconfig wlan0 up
That's it. The wireless internet connection was up and running!

No comments: