Wlan0 Failed to UP in Kali Linux


Login or Register for Dates, Times and to Reply

 
Thread Tools Search this Thread
# 1  
Wlan0 Failed to UP in Kali Linux

Dear Moderator,

While working on airmon-ng when the situation has come to set wlan0 on monitor mode


Identification Wlan0

HTML Code:
 root@kali:~# iwconfig
lo        no wireless extensions.

wlan0     IEEE 802.11bgn  ESSID:off/any  
          Mode:Managed  Access Point: Not-Associated   Tx-Power=20 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          
eth0      no wireless extensions.
Initial Wlan0 Network Card Identification and its STATUS
HTML Code:
root@kali:~# ifconfig 
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.43.163  netmask 255.255.255.0  broadcast 192.168.43.255
        inet6 fe80::a00:27ff:fe27:6d4  prefixlen 64  scopeid 0x20<link>
        ether 08:00:27:27:06:d4  txqueuelen 1000  (Ethernet)
        RX packets 80  bytes 7062 (6.8 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 25  bytes 2256 (2.2 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1  (Local Loopback)
        RX packets 18  bytes 1058 (1.0 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 18  bytes 1058 (1.0 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether 7c:dd:90:a3:fd:28  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
Device Identification
HTML Code:
root@kali:~# lsusb
Bus 001 Device 002: ID 148f:5370 Ralink Technology, Corp. RT5370 Wireless Adapter
Device Driver for USB Ralink Wireless Card
HTML Code:
root@kali:~# dmesg
[    5.446494] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    5.446497] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    5.446498] usb usb1: Product: EHCI Host Controller
[    5.446500] usb usb1: Manufacturer: Linux 4.6.0-kali1-amd64 ehci_hcd
[    5.446501] usb usb1: SerialNumber: 0000:00:0b.0
Rfkill list

HTML Code:
root@kali:~# rfkill list
0: phy0: Wireless LAN
	Soft blocked: no
	Hard blocked: no
USB Wireless Module Library
HTML Code:
root@kali:~# modinfo rt2800usb
filename:       /lib/modules/4.6.0-kali1-amd64/kernel/drivers/net/wireless/ralink/rt2x00/rt2800usb.ko
license:        GPL
firmware:       rt2870.bin
description:    Ralink RT2800 USB Wireless LAN driver.
version:        2.3.0
author:         http://rt2x00.serialmonkey.com
srcversion:     CBEC1FB408E4AA287386D68
When starting wlan0 in a monitor mode using airmon-ng

HTML Code:
root@kali:~# airmon-ng start wlan0


PHY	Interface	Driver		Chipset

phy0	wlan0		rt2800usb	Ralink Technology, Corp. RT5370

Failed to set wlan0mon up using ip

		(mac80211 monitor mode vif enabled for [phy0]wlan0 on [phy0]wlan0mon)
		(mac80211 station mode vif disabled for [phy0]wlan0)
When using airodump-ng the wlan0 Fails

HTML Code:
root@kali:~# airodump-ng wlan0mon
ioctl(SIOCSIFFLAGS) failed: Device or resource busy
Then Stopped the airmon-ng

HTML Code:
root@kali:~# airmon-ng stop wlan0mon

PHY	Interface	Driver		Chipset

phy0	wlan0		rt2800usb	Ralink Technology, Corp. RT5370
When checked the status wlan0 using ifconfig, wlan0 dint shown up.

HTML Code:
root@kali:~# ifconfig -a
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet6 fe80::a00:27ff:fe27:6d4  prefixlen 64  scopeid 0x20<link>
        ether 08:00:27:27:06:d4  txqueuelen 1000  (Ethernet)
        RX packets 273  bytes 20151 (19.6 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 25  bytes 2256 (2.2 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1  (Local Loopback)
        RX packets 34  bytes 2018 (1.9 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 34  bytes 2018 (1.9 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlan0: flags=4098<BROADCAST,MULTICAST>  mtu 1500
        ether 7c:dd:90:a3:fd:29  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
When tried to bring wlan0 UP, it got failed and message is the same as airodump-ng .

HTML Code:
root@kali:~# ifconfig wlan0 up
SIOCSIFFLAGS: Device or resource busy
Some more INFO

HTML Code:
root@kali:~#  cat /proc/net/dev
Inter-|   Receive                                                |  Transmit
 face |bytes    packets errs drop fifo frame compressed multicast|bytes    packets errs drop fifo colls carrier compressed
    lo:    2258      38    0    0    0     0          0         0     2258      38    0    0    0     0       0          0
 wlan0:       0       0    0    0    0     0          0         0        0       0    0    0    0     0       0          0
  eth0:   48726     583    0    0    0     0          0         1     2256      25    0    0    0     0       0          0
Can someone explains why wlan0 is not coming up, tried all my best to bring this up. Any ideas and suggestions are highly appreciated.

TIA
# 2  
When:

Code:
airodump-ng wlan0

fails, what says:

Code:
airodump-ng mon0

??
Login or Register for Dates, Times and to Reply

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

9 More Discussions You Might Find Interesting

1. Linux

Is possible to bridge wlan0 and eth0 using network manager?How to for wpa?

I have created a bridge with nmcli between eth0 and wlan0 I use this procedure sudo nmcli con add ifname br0 type bridge con-name br0 sudo nmcli con add type bridge-slave ifname eth0 master br0 sudo nmcli con add type bridge-slave ifname wlan0 master br0 sudo nmcli con modify br0... (1 Reply)
Discussion started by: Linusolaradm1
1 Replies

2. Debian

Using the Kali Linux

Hi there, I current have three known issue with Kali Linux GUI When copy large number of files - doesn't show the progress whatsoever. I got the false impression that the files has already been finished copying Opening of existing folders, it will only show up as dots on the folder.... (1 Reply)
Discussion started by: alvinoo
1 Replies

3. Linux

Kali cannot find WiFi card.

After installing the latest version of Kali on my Lenovo S21E laptop, I cannot access the internet. wlan0 does not show up in ifconfig and I cannot connect to the internet. If you need any other additional information, I will provide it. Thank you kindly. (8 Replies)
Discussion started by: Hotrod22
8 Replies

4. Fedora

Which is the better platform to learn UNIX/Linux (Kali Linux Vs. Red Hat or other)?

I just started a new semester and I started my UNIX class yesterday. I've already decided to use python along with my learning process but what I really want to use with it is Kali as my UNIX/Linux platform to learn off of since I already wanted to learn Cyber Sec. anyways. I just wanted to know if... (12 Replies)
Discussion started by: ApacheOmega
12 Replies

5. UNIX for Dummies Questions & Answers

Qemu Problems: OpenBSD(host) Kali Linux(guest)

As the title suggests I ran into a little problem trying to create a virtual machine of Kali Linux usign Qemu inside OpenBSD. I edited the example Kali Linux gave on their website here to the following for BSD: qemu-system-i386 -hda ./kali.qcow2 -boot d -cdrom ./kali-linux-1.0.5-i386.iso -m... (0 Replies)
Discussion started by: Azrael
0 Replies

6. Red Hat

Wlan0: unknown interface: No such device

Hi All, Am using Toshiba Satellite C850-l5212 Laptop . I have installed RHEL6 server on it ( Linux 2.6.32-220.el6.x86_64 ) I Installed wireless driver ( linux_mac80211_0012.0207.2013.tar.bz2 ) and the installation went fine. But when i do ifconfig wlan0 up its giving the below error .... (0 Replies)
Discussion started by: senthilcaesar
0 Replies

7. Debian

Problems with wlan0 configuration

Hi I'm getting some troubles trying to create a Debian wheeze 7 from a vm using VMware from a laptop which I get lan and internet connection by a wireless router. The first problem is that I'm a bit lost trying to configure the wlan to get lan and internet connection. I've read about that I gotta... (2 Replies)
Discussion started by: adiegorpc
2 Replies

8. UNIX for Advanced & Expert Users

Time limit on ifconfig wlan0 down?

Is there a time limit ifconfig wlan0 down? I used that command to take my wireless down. sudo ifconfig wlan0 downWhen I came back about 6 hours later it was working without me bringing my wireless back up. I am the only one that uses my computer or that knows the root password. (0 Replies)
Discussion started by: cokedude
0 Replies

9. Red Hat

Authentication Failed in Linux centos

Hi everyone ... ( Linux Cent OS ) i cant login as root user in my lab machine ... i did give correct root and root passwd ..but it showing Authentication Failed ... plz help me (0 Replies)
Discussion started by: coolboys
0 Replies

Featured Tech Videos