Jump to content

Creating virtual network device linux (airmon) failure


Xernicus

Recommended Posts

Hey there,

In the past, I've used various linux distributions such as BackTrack/Kali, BlackArch, ArchAssult, Fedora Security, etc. to run penetration tests and other shady things without an issue. But in particular I've been using the aircrack suite for probably close to 4-5 years now and I have yet to run into this problem.

So here's the skinny:

I got a ThinkPad obsession back in January, and just not too long ago, a Lenovo TP T60 (Type 2007) was gifted to me, and because the number of jobs that I have had lately requiring forensics tools, pen testing, etc, I was needing a dedicated mobile machine for such purposes.

So it came to me with Windows XP and the recovery (Lenovo R+R) partition was all in Chinese... so I formatted that garbage off, and I got into booting various live environments to see what worked best for me.
 

  1. Kali Linux: Nogo. Too commercial/branding in your face. Wireless did not work (could only monitor) OOTB.
  2. Fedora 21: Nogo. Goddamit anaconda, can't you work for a change?
  3. Crunchbang almost worked for me...
  4. As did Blackarch.
  5. And so I tried out Manjaro with LXDE. :wub:

Now on Kali, blackarch and crunchbang, the aircrack suite worked perfectly. But the reason why I mention these different distros is for a reason. Kali's (Debian) wireless interface came up as wlan0. Crunchbang (arch): wlan0. Blackarch (...):wls3. Manjaro: (arch): wls3. So I'm guessing that is because of the integration of systemd, or driver differences (ipl3945 firmware loaded vs not loaded).

So what I did was I added the blackarch repository to Manjaro after using my google-fu, and discovering that other people have done so (I still wish I came up with the idea first). After some newbie fiddling around with pacman, I got some tools installed from the blackarch repo, and I proceeded to run them:

airmon-ng start wls3 -> works just fine. Sometimes if I've stopped it during the same user session, I have to run it twice to get it to generate a mon1, as mon0 gives me error to start airmon.

The next command, airodump-ng mon1  generates-> "ioctl(SIOCSIFFLAGS)  failed: Name not unique on network".
And this is where I reside stuck at the moment. I did some googling and edited my hosts file based on something that worked for two people:

#
# /etc/hosts: static lookup table for host names
#

#<ip-address>	<hostname.domain.org>	<hostname>
127.0.0.1	paradigm	
::1		localhost.localdomain	localhost

# End of file

Where paradigm (the name of my computer) replaces the localhost.localdomain entry- thus pointing the loopback at the correct "network". I'm thinking I'm missing something here though... hosts files have never been my cup of tea.

Any and all help is appreciated! :)
Here is output of lspci:

00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub (rev 03)
00:01.0 PCI bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express PCI Express Root Port (rev 03)
00:1b.0 Audio device: Intel Corporation NM10/ICH7 Family High Definition Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation NM10/ICH7 Family PCI Express Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation NM10/ICH7 Family PCI Express Port 2 (rev 02)
00:1c.2 PCI bridge: Intel Corporation NM10/ICH7 Family PCI Express Port 3 (rev 02)
00:1c.3 PCI bridge: Intel Corporation NM10/ICH7 Family PCI Express Port 4 (rev 02)
00:1d.0 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #1 (rev 02)
00:1d.1 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #2 (rev 02)
00:1d.2 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #3 (rev 02)
00:1d.3 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #4 (rev 02)
00:1d.7 USB controller: Intel Corporation NM10/ICH7 Family USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 02)
00:1f.2 SATA controller: Intel Corporation 82801GBM/GHM (ICH7-M Family) SATA Controller [AHCI mode] (rev 02)
00:1f.3 SMBus: Intel Corporation NM10/ICH7 Family SMBus Controller (rev 02)
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] RV515/M52 [Mobility Radeon X1300]
02:00.0 Ethernet controller: Intel Corporation 82573L Gigabit Ethernet Controller
03:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG [Golan] Network Connection (rev 02)
15:00.0 CardBus bridge: Texas Instruments PCI1510 PC card Cardbus Controller

Thanks again :lol:

Link to comment
Share on other sites

Try changing the mac address of the adapter? http://www.backtrack-linux.org/forums/showthread.php?t=43071

Hosts file looks ok from what I see.

 

I had to use the aircrack suite for Security class, and it was a bit hinky, although it might have been the godawful network we were using as well.

Link to comment
Share on other sites

Well it turns out after some more detailed reading, I simply turned off the card, used 'iwconfig wls3 mode monitor', turned the card back on... and viola. That would make sense then why I couldn't access the web with Kali... the card was in the wrong mode.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.