Monday, February 28, 2011

WIFI CONFIGURATION IN DEBIAN

Configuring Wireless in debian lenny on HP Compaq nw8240/Mobile Workstation


I have a(HP Compaq nw8240/Mobile Workstation) laptop having dual operating system(Windows & Linux). For linux, I have installed Dzongkha Debian Lenny 2.6.26 version and tried to setup wireless but didn't work unless I found out the following procedure:

1. Add to sources.list

#deb http://ftp.us.debian.org/debian lenny main contrib non-free 
#aptitude update 

* Need to check Wireless Card with the following command:

# lspci
 

*The wireless card I found was Network controller: Intel Corporation PRO/Wireless 2200BG(ipw2200)
  
2. Install
#aptitude install firmware-ipw2x00 wireless-tools
 
2. As the driver may already be loaded, reinsert the relevant driver module to access installed firmware:
#modprobe -r ipw2100 ; modprobe ipw2100
 (OR)
#modprobe -r ipw2200 ; modprobe ipw2200 

3. Verify your device has an available interface: 
#iwconfig

4. Raise the interface to activate the radio, for example:
#ifconfig etho/eth1/eth2 up
 
 Having done all the above, the wireless button didn't blink. The following code solved my problem.

#echo options ipw2200 led=1 >> /etc/modprobe.d/ipw2200.conf && modprobe -r ipw2200 ; 
modprobe ipw2200
 
------------------------------------------------------------------------------
 

 Configuring Wireless in debian lenny on DELL LATITUDE | E5500
 
* Need to check Wireless Card with the following command:

# lspci

 *The wireless card I found was Network controller: Broadcom Corporation BCM4312 802.11b/g (rev 01)
 
 1.Install the build-essential, debhelper, module-assistant, quilt and wireless-tools packages:
  $ su 
  # aptitude update 
  # aptitude install build-essential debhelper module-assistant quilt wireless-tools 

2.Manually acquire the squeeze/broadcom-sta-source package from http://packages.debian.org/squeeze/all/broadcom-sta-source/download. For example: 
#wget http://ftp.us.debian.org/debian/pool/non-free/b/broadcom-sta/broadcom-sta-source_5.60.48.36-2_all.deb (optional)

3.Manually acquire the squeeze/broadcom-sta-common package from http://packages.debian.org/squeeze/all/broadcom-sta-common/download. For example: 
#wget http://ftp.us.debian.org/debian/pool/non-free/b/broadcom-sta/broadcom-sta-common_5.60.48.36-2_all.deb 

4.Install the squeeze/broadcom-sta-common and squeeze/broadcom-sta-source packages via dpkg:  
$ su 
# dpkg -i broadcom-sta-*deb

 5.Build and install a broadcom-sta-modules-* package for your system, using Module-Assistant:
 # m-a a-i broadcom-sta 

6.Blacklist the brcm80211 module, to prevent it conflicting for support of BCM4313, BCM43224 and BCM43225 devices: 
# echo blacklist brcm80211 >> /etc/modprobe.d/broadcom-sta-common.conf 

7.Rebuild your initial ramdisk, to blacklist modules defined at /etc/modprobe.d/broadcom-sta-common.conf within initramfs:
 # update-initramfs -u -k $(uname -r) 

8.Unload conflicting modules: 
# modprobe -r b44 b43 b43legacy ssb brcm80211 (optional)

 9.Load the wl module:
 # modprobe wl

 10.Verify your device has an available interface:
 # iwconfig

Note: However, the wireless icon didn't appear even after doing all the above commands. The solution I got was:
  • Run application by pressing left Alt+F2
  • Command "nm-applet --sm-disable" without quote and click on run
  • Reboot (optional)
To know detail about configuring wireless in different version, click on Here.

--------------------------------------------------------------------------------------------

Configuring Wireless in Debian Wheezy for DELL VOSTRO

1. Check wireless card with the following command:

#lspci

 The wireless card found was Centrino Wireless-N 1030

2. Add to sources.list

deb http://ftp.us.debian.org/debian wheezy main contrib non-free

3. Update & Install

# aptitude update && aptitude install firmware-iwlwifi wireless-tools

4. Run the command to appear icon

#modprobe -r iwlwifi ; modprobe iwlwifi

5. Check interface

#iwconfig





No comments:

Post a Comment