You are not logged in.

#1 2014-09-02 16:31:26

sugartest
Member
Registered: 2014-07-09
Posts: 38

[SOLVED] Siocsifflags error : Name not unique on network

Hi everyone.

I just got a new computer and Archlinux is running perfectly fine except for what come to run someting like aircrack-ng suite.

# airmon-ng start wlan0

returns

wlp6s0  Atheros AR9462  ath9k - [phy0]SIOCSIFFLAGS: Name not unique on network

I searched but nothing came up to solve my problem.
I get the same error when running

# airodump-ng -s 0 mon0

it returns

ioctl(SIOCSIFFLAGS) failed: Name not unique on network

Here is my lspci if it is of some help

00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor DRAM Controller (rev 06)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor PCI Express x16 Controller (rev 06)
00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)
00:03.0 Audio device: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller (rev 06)
00:14.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI (rev 05)
00:16.0 Communication controller: Intel Corporation 8 Series/C220 Series Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #2 (rev 05)
00:1b.0 Audio device: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller (rev 05)
00:1c.0 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #1 (rev d5)
00:1c.1 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #2 (rev d5)
00:1c.2 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #3 (rev d5)
00:1c.3 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #4 (rev d5)
00:1d.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #1 (rev 05)
00:1f.0 ISA bridge: Intel Corporation HM87 Express LPC Controller (rev 05)
00:1f.2 SATA controller: Intel Corporation 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode] (rev 05)
00:1f.3 SMBus: Intel Corporation 8 Series/C220 Series Chipset Family SMBus Controller (rev 05)
01:00.0 VGA compatible controller: NVIDIA Corporation GK104M [GeForce GTX 870M] (rev ff)
03:00.0 PCI bridge: Texas Instruments XIO2213A/B/XIO2221 PCI Express to PCI Bridge [Cheetah Express] (rev 01)
04:00.0 FireWire (IEEE 1394): Texas Instruments XIO2213A/B/XIO2221 IEEE-1394b OHCI Controller [Cheetah Express] (rev 01)
05:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. Device 5289 (rev 01)
05:00.2 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0a)
06:00.0 Network controller: Qualcomm Atheros AR9462 Wireless Network Adapter (rev 01)

My Wi-Fi PCIE is a Bigfoot Networks Killer by the way.

EDIT:

Replacing the "localhost" assigned to 127.0.0.1 with my hostname fixed the problem.

Last edited by sugartest (2014-09-04 15:56:03)


An Arch Linux enthousiast and a Linux fan in general, mostly interrested in command line use, security issues, code learning and networks.

Offline

#2 2014-10-05 17:50:54

ranea
Member
Registered: 2014-10-05
Posts: 2

Re: [SOLVED] Siocsifflags error : Name not unique on network

How exactly did you fix it?

I tried to change /etc/hosts and replacing localhost but it didn't work.

Offline

#3 2014-10-05 18:41:21

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 17,931

Re: [SOLVED] Siocsifflags error : Name not unique on network

you may want to post your /etc/hosts file.  Also, what is the output of hostname   ?
Finally, is it possible there really are more than one computer on your network with the same hostname?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#4 2014-10-06 16:58:24

ranea
Member
Registered: 2014-10-05
Posts: 2

Re: [SOLVED] Siocsifflags error : Name not unique on network

Finally, i got it.

This is my /etc/hosts

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

Offline

Board footer

Powered by FluxBB