PDA

View Full Version : Backtrack 4 and Wifi setup for beginners



abhaythehero
03-23-2011, 10:45 PM
Well a lot of my time was wasted in handling wifi in Backtrack 4 on my laptop ..
well there were reasons and hence I just want to put some points which would certainly ease the process for 1st timers if things get confusing.

1. Enter the command in console before doing anything else

/etc/init.d/networking start


2. Watch the interfaces getting load .. eth0 , l0 , etc etc .. If it gives "wlan0 found" (or similar <w...> interface),work is going to be easy then.

3. Next step is to know the wireless card you have in your laptop.

lspci | grep Network
if broadcom card .. maybe then tough road ahead :(

4. Now

/etc/init.d/wicd start

start-network

sudo wicd start

Try all of the above or all three.
Start Wicd manger from KDE

5. check by
iwconfig whether wlan0 is up.Also try
iwconfig wlan0 up to bring it in iwconfig.

6. Still no sign of wlan0.Try jockey-gtk b43 driver.Scroll down.

7. Still no sign of wlan0 ? have a fair peek at http://linuxwireless.org/en/users/Drivers/
and http://www.backtrack-linux.org/wiki/index.php/Wireless_Drivers and find about supported driver installations and mode of operations.Just keep reading :mad:

----------------------------------------------
Dealing Broadcom ( Credits : stormeye)

Now this is 1 card which will give you nightmares with all Linux installations.:mad:

Anyways 1st try jockey-gt
Log into BackTrack as root and run these commands:


/etc/init.d/networking start
apt-get install jockey-gtk
jockey-gtk

Then follow the instructions on the program that starts.Still problems ? try manually..

Downloading drivers manually >>
Go to: Broadcom.com - 802.11 Linux STA driver (http://www.broadcom.com/support/802.11/linux_sta.php)
And download the tarball for your system (32 or 64).

Run the following in the terminal:

/etc/init.d/networking start
tar xzf nameoffile.tar.gz
cd thefolderyouget
make clean
make

Now let's check if you have any conflicting drivers (you shouldn't, they doesn't come with BT.)


lsmod | grep "b43\|ssb\|wl"
If any of these are installed, remove them:
rmmod b43
rmmod ssb
rmmod wl

Then let's insmod the driver:

modprobe lib80211
insmod wl.ko


Note: You maybe have to start network through the KDE "start menu" before you get the WICD manager up, then you should see networks.

----------------------------------------------
some more pointers >>

lspci -vnn | grep 14e4
gives you Broadcom BCM4312 .. then well update your kernel to 2.6.33.Then also I think packet injection for wifi attacks won't work.It works partially only.

________________________________________

Let us see ..maybe Backtrack 5 has more to offer in handling wifi experience.It is coming out on May 10th, 2011 !

astroboy
07-30-2011, 01:44 AM
thanks helpful but got question which broadcom card you have?
bcm4313 chipset?
In my dell lappy i got dw1501 having bcm4313....
its been almost a day searching a solution for this card....
If you any1 have solution please inform me .....
already planning to buy alfa card ...got mail id of importer from another post on this forum

thanks in advance

abhaythehero
07-30-2011, 12:12 PM
thanks helpful but got question which broadcom card you have?
bcm4313 chipset?
In my dell lappy i got dw1501 having bcm4313....
its been almost a day searching a solution for this card....
If you any1 have solution please inform me .....
already planning to buy alfa card ...got mail id of importer from another post on this forum

thanks in advance
are you using backtrack 5 ? if not then i would advise you to install it first as it ships with improved wifi drivers list.

astroboy
07-30-2011, 05:28 PM
no i have backtrack 4 but will get bt5 soon ...........
but thats not what i asked.......
which broadcom card you have?
is it bcm4313 chipset?
man this card is an unique condition with no solution

abhaythehero
08-01-2011, 04:26 PM
no i have backtrack 4 but will get bt5 soon ...........
but thats not what i asked.......
which broadcom card you have?
is it bcm4313 chipset?
man this card is an unique condition with no solution

mine is BCM4312

abhaythehero
09-06-2012, 06:36 PM
Found a good post while browsing. If you just have windows driver available, you can try this method for linux How to Install a Wireless Card in Linux Using Windows Drivers - How-To Geek (http://www.howtogeek.com/howto/43752/how-to-install-a-wireless-card-in-linux-using-windows-drivers/)