Hello Folks,
This post lets you know about how to configure wlan0 - Broadcom Corporation BCM4313 802.11b/g/n Wireless LAN Controller (rev 01) on Backtrack 5. This may also apply to Backtrack 4.This wireless card comes generally with Dell Inspiron laptops.
Ok, Here we go.
What we need:
1) Backtrack (obviosly...!)
Steps:
1) Run "lspci | grep -i Network" this command shows what wireless device is actually installed on your system. if nothing is displayed, check your hardware. probably you do not have a compatible wireless card installed.
Output1:
root@bt5-stealth:/# lspci | grep -i Network
12:00.0 Network controller: Broadcom Corporation BCM4313 802.11b/g/n Wireless LAN Controller (rev 01)
2) Install wpasupplicant. (apt-get install wpasupplicant). This package helps BT to understand WPA/WPA2 encryption methods of wifi. BT5 already has this so following output will be displayed:
Output2:
root@bt5-stealth:/# apt-get install wpasupplicant
Reading package lists... Done
Building dependency tree
Reading state information... Done
wpasupplicant is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
3) Edit "interfaces" file and add following configuration items in it for "wlan0" interface. If your wifi setup is based on static addressing, use keyword "static" instead of "dhcp"(mostly this will not be the case in home step):
Output3:
root@bt5-stealth:/# nano /etc/network/interfaces
#Wireless Network Interface
auto wlan0
iface wlan0 inet dhcp
wpa-ssid YOUR_SSID
wpa-psk YOUR_PASSWORD_OF_WIFI
4) Save the "interfaces" file and verify its content using "cat" command. It should show you your wlan0 settings:
Output4:
root@bt5-stealth:/# cat /etc/network/interfaces
5) Bring up your wireless interface:
root@bt5-stealth:/# ifup wlan0
Internet Systems Consortium DHCP Client V3.1.3
Copyright 2004-2009 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Listening on LPF/wlan0/1c:65:9d:5d:0e:26
Sending on LPF/wlan0/1c:65:9d:5d:0e:26
Sending on Socket/fallback
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7
DHCPOFFER of 192.168.2.5 from 192.168.2.1
DHCPREQUEST of 192.168.2.5 on wlan0 to 255.255.255.255 port 67
DHCPACK of 192.168.2.5 from 192.168.2.1
bound to 192.168.2.5 -- renewal in 2147483648 seconds.
6) Happy Browsing..:)
Corrections and variations are most welcome...!
Nutan Vishwakarma
(nutan.vishwakarma@gmail.com)
This post lets you know about how to configure wlan0 - Broadcom Corporation BCM4313 802.11b/g/n Wireless LAN Controller (rev 01) on Backtrack 5. This may also apply to Backtrack 4.This wireless card comes generally with Dell Inspiron laptops.
Ok, Here we go.
What we need:
1) Backtrack (obviosly...!)
Steps:
1) Run "lspci | grep -i Network" this command shows what wireless device is actually installed on your system. if nothing is displayed, check your hardware. probably you do not have a compatible wireless card installed.
Output1:
root@bt5-stealth:/# lspci | grep -i Network
12:00.0 Network controller: Broadcom Corporation BCM4313 802.11b/g/n Wireless LAN Controller (rev 01)
2) Install wpasupplicant. (apt-get install wpasupplicant). This package helps BT to understand WPA/WPA2 encryption methods of wifi. BT5 already has this so following output will be displayed:
Output2:
root@bt5-stealth:/# apt-get install wpasupplicant
Reading package lists... Done
Building dependency tree
Reading state information... Done
wpasupplicant is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
3) Edit "interfaces" file and add following configuration items in it for "wlan0" interface. If your wifi setup is based on static addressing, use keyword "static" instead of "dhcp"(mostly this will not be the case in home step):
Output3:
root@bt5-stealth:/# nano /etc/network/interfaces
#Wireless Network Interface
auto wlan0
iface wlan0 inet dhcp
wpa-ssid YOUR_SSID
wpa-psk YOUR_PASSWORD_OF_WIFI
4) Save the "interfaces" file and verify its content using "cat" command. It should show you your wlan0 settings:
Output4:
root@bt5-stealth:/# cat /etc/network/interfaces
5) Bring up your wireless interface:
root@bt5-stealth:/# ifup wlan0
Internet Systems Consortium DHCP Client V3.1.3
Copyright 2004-2009 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Listening on LPF/wlan0/1c:65:9d:5d:0e:26
Sending on LPF/wlan0/1c:65:9d:5d:0e:26
Sending on Socket/fallback
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7
DHCPOFFER of 192.168.2.5 from 192.168.2.1
DHCPREQUEST of 192.168.2.5 on wlan0 to 255.255.255.255 port 67
DHCPACK of 192.168.2.5 from 192.168.2.1
bound to 192.168.2.5 -- renewal in 2147483648 seconds.
6) Happy Browsing..:)
Corrections and variations are most welcome...!
Nutan Vishwakarma
(nutan.vishwakarma@gmail.com)