You are not logged in.

#1 2014-10-15 05:15:06

divingpigeon
Member
Registered: 2014-10-15
Posts: 1

Siocsifflags error : Name not unique on network problem

Hi everyone,

I've installed Arch successfully, and i am trying to learn about network security. I used aircrack-ng to hack my own WEP and WPA2 router.
I managed to use airmon-ng, airodump-ng and wifite without any problem on Kali Linux booted as Live USB.
This what it returns when I run

airmon-ng
 Interface       Chipset         Driver

wlp5s0          Intel AC        iwlwifi - [phy0]
wlp0s26u1u2             Unknown         rtl8192cu - [phy1]

However, when I run

 airmon-ng start wlp0s26u1u2 

it will returns

Found 3 processes that could cause trouble.
If airodump-ng, aireplay-ng or airtun-ng stops working after
a short period of time, you may want to kill (some of) them!

PID     Name
330     NetworkManager
351     wpa_supplicant
1086    dhcpcd
Process with PID 1086 (dhcpcd) is running on interface wlp0s26u1u2


Interface       Chipset         Driver

wlp5s0          Intel AC        iwlwifi - [phy0]
wlp0s26u1u2             Unknown         rtl8192cu - [phy1]SIOCSIFFLAGS: Name not unique on network

                                (monitor mode enabled on mon0)

and when I run

 airodump-ng mon0 

it will returns

 ioctl(SIOCSIFFLAGS) failed: Name not unique on network 

I've tried method suggested in this thread but it still doesn't work.


The output of

hostname

is

divingpigeon

My /etc/hosts looks like this:

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

i have also tried

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

but still it doesn't work.

iwconfig returns:

wlp5s0    IEEE 802.11abgn  ESSID:off/any  
          Mode:Managed  Access Point: Not-Associated   Tx-Power=20 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off                                                                                                                     
          Power Management:on                                                                                                                                                      
                                                                                                                                                                                   
wlp0s26u1u2  IEEE 802.11bgn  ESSID:"65AED6"                                                                                                                                        
          Mode:Managed  Frequency:2.452 GHz  Access Point: 00:1F:FB:65:AE:D6   
          Bit Rate=1 Mb/s   Tx-Power=20 dBm   
          Retry short limit:7   RTS thr=2347 B   Fragment thr:off
          Power Management:off
          Link Quality=42/70  Signal level=-68 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

enp3s0    no wireless extensions.

lo        no wireless extensions.

And when I try using wifite, it will looped at 'choose wireless interface to put on monitor mode', in which it will keep adding monitor interface(mon0,mon1,mon2,mon3 and so on).

I have also tried to manually set the interface to monitor mode using

ifconfig wlp0s26u1u2 down
iwconfig wlp0s26u1u2 mode monitor
ifconfig wlp0s26u1u2 up

That particular interface will turn to monitor mode, but when i issue airodump-ng it returns:

ioctl(SIOCSIWMODE) failed: Device or resource busy
ARP linktype is set to 1 (Ethernet) - expected ARPHRD_IEEE80211, ARPHRD_IEEE80211_FULL or ARPHRD_IEEE80211_PRISM instead.
Make sure RFMON is enabled: run 'airmon-ng start mon0

Can someone please guide me to something that I read about or suggest something that I can do?
Thank you so much!! smile

Offline

#2 2014-11-23 05:29:14

radikoala
Member
Registered: 2014-11-09
Posts: 2

Re: Siocsifflags error : Name not unique on network problem

Hey, same issue here. I wish that I could get this working as I was looking forward to using my archlinux box for wireless security audits. Unfortunately I have had to switch to a Kali live boot for this. sad

Any work on this would be greatly appreciated!
Thanks!

Offline

#3 2014-11-23 05:52:40

radikoala
Member
Registered: 2014-11-09
Posts: 2

Re: Siocsifflags error : Name not unique on network problem

I can get monitor mode to work using iwconfig:

First, take the wireless interface down:

sudo ifconfig wlan0 down

Then, change your wireless card to monitor mode:

sudo iwconfig wlan0 mode monitor

Next, bring your wireless interface up:

sudo ifconfig wlan0 up

Then, you can run airodump-ng:

sudo airodump-ng wlan0

But using airmon-ng is much faster and easier to use, and I would love a fix for this.

Thanks.

Last edited by radikoala (2014-11-24 02:33:52)

Offline

#4 2015-01-12 05:27:05

a7ch
Member
Registered: 2013-08-03
Posts: 15

Re: Siocsifflags error : Name not unique on network problem

I'm having the exact same issue as OP.  If anybody found a solution let me know.

I am running airodump-ng on the mon0 device with this error:

ioctl(SIOCSIWMODE) failed: Device or resource busy
ARP linktype is set to 1 (Ethernet) - expected ARPHRD_IEEE80211, ARPHRD_IEEE80211_FULL or ARPHRD_IEEE80211_PRISM instead.
Make sure RFMON is enabled: run 'airmon-ng start mon0

Offline

#5 2015-01-12 18:32:54

Leonid.I
Member
From: Aethyr
Registered: 2009-03-22
Posts: 999

Re: Siocsifflags error : Name not unique on network problem

divingpigeon wrote:
 Interface       Chipset         Driver

wlp5s0          Intel AC        iwlwifi - [phy0]
wlp0s26u1u2             Unknown         rtl8192cu - [phy1]

Does airmon/aircrack work with the intel card? (I am confused about the unknown chipset)

divingpigeon wrote:

However, when I run

 airmon-ng start wlp0s26u1u2 

it will returns

Found 3 processes that could cause trouble.
If airodump-ng, aireplay-ng or airtun-ng stops working after
a short period of time, you may want to kill (some of) them!

PID     Name
330     NetworkManager
351     wpa_supplicant
1086    dhcpcd
Process with PID 1086 (dhcpcd) is running on interface wlp0s26u1u2

Hm, have you tried killing NM and the rest, and running airmon-ng against an unassociated interface?

divingpigeon wrote:

The output of

hostname

is

divingpigeon

My /etc/hosts looks like this:

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

i have also tried

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

but still it doesn't work.

You should alias "localhost" to 127.0.0.1, like for example

127.0.0.1 localhost.localdomain localhost divingpigeon
::1 localhost.localdomain localhost
192.168.0.20 host1
...
divingpigeon wrote:

iwconfig returns:

wlp5s0    IEEE 802.11abgn  ESSID:off/any
          Mode:Managed  Access Point: Not-Associated   Tx-Power=20 dBm
          Retry short limit:7   RTS thr:off   Fragment thr:off                                                                                                   
          Power Management:on                                                                                                                                    



wlp0s26u1u2  IEEE 802.11bgn  ESSID:"65AED6"                                                                                                                      
          Mode:Managed  Frequency:2.452 GHz  Access Point: 00:1F:FB:65:AE:D6
          Bit Rate=1 Mb/s   Tx-Power=20 dBm
          Retry short limit:7   RTS thr=2347 B   Fragment thr:off
          Power Management:off
          Link Quality=42/70  Signal level=-68 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

enp3s0    no wireless extensions.

lo        no wireless extensions.

So, mon0 isn't created... why do you want to run anything else?


Arch Linux is more than just GNU/Linux -- it's an adventure
pkill -9 systemd

Offline

Board footer

Powered by FluxBB