Thursday, 15 August 2013

Installing Broadcom-STA (wl) driver in Debian Linux

         


Step 1:Installing the module-assistant

Login as root user:
sudo su root

Install the module assistant & wireless tools :
apt-get install module-assistant wireless-tools

Step 2:installing a broadcom-sta-modules package

m-a a-i broadcom-sta

Step 3:Blacklist the brcm80211 module
echo blacklist brcm80211 >> /etc/modprobe.d/broadcom-sta-common.conf

Step 4:Rebuild your initial ramdisk

update-initramfs -u -k $(uname -r)

Step 5: Unload conflicting modules:
modprobe -r b44 b43 b43legacy ssb brcm80211

Step 6: Load wl module:
modprobe wl

Step 7:Setting the wireless interface

Configure the wireless interface if it is not already configured

Creating Wireless ad-hoc network in Debian/Ubuntu linux


        



Hello frndz....!!!
Today i am going to show you how to create a wireless ad-hoc network in your Debian machine

Step 1: changing wireless interface configuration

login as root :
sudo su root
and type the following commands:


iwconfig wlan0 mode Ad-hoc
iwconfig wlan0 essid your_net_name
 
The network created won't be encrypted,to add the encryption key check manual page for iwconfig:
       man iwconfig

Step 2: Set the IP addresses

ifconfig wlan0 192.168.0.1 netmask 255.255.255.0
 
IP address can be anything,but make sure you have the right subnet mask.
 
 
That's it...enjoy!!