Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Kernel & Hardware
  • Search

[Solved] USB NIC not appearing in ifconfig

Kernel not recognizing your hardware? Problems with power management or PCMCIA? What hardware is compatible with Gentoo? See here. (Only for kernels supported by Gentoo.)
Post Reply
Advanced search
5 posts • Page 1 of 1
Author
Message
chix4mat
Apprentice
Apprentice
User avatar
Posts: 190
Joined: Sun Dec 11, 2005 10:40 pm
Location: Canada
Contact:
Contact chix4mat
Website

[Solved] USB NIC not appearing in ifconfig

  • Quote

Post by chix4mat » Sat Aug 31, 2013 8:56 pm

Hi all:

Despite the fact that Gentoo acknowledges my USB NIC, I am not getting an eth0 listing in ifconfig:

ifconfig:

Code: Select all

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 0  (Local Loopback)
        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
dmesg:

Code: Select all

[    0.435672] usbcore: registered new interface driver ax88179_178a
[    0.799691] ax88179_178a 6-1:1.0: usb_probe_interface
[    0.799692] ax88179_178a 6-1:1.0: usb_probe_interface - got id
[    1.112531] ax88179_178a 6-1:1.0 eth0: register 'ax88179_178a' at usb-0000:0c:00.0-1, ASIX AX88179 USB 3.0 Gigibit Ethernet, 50:3f:56:00:13:1d
The NIC uses ASIX's AX88179 chipset, requiring the ax88179_178a driver, which I built into the kernel (and which loads without error). I have the device plugged into a USB 3.0 port (which works), but I've also tested it in a USB 2.0 port and got no further.

What am I missing? I actually figured that my Gentoo install was just borked, so I formatted and reinstalled it (yes, without Internet access on the PC... painful).

Any help would be appreciated.

Thanks!
Last edited by chix4mat on Sat Aug 31, 2013 9:40 pm, edited 1 time in total.
emerge -NuDe world
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56088
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Sat Aug 31, 2013 9:04 pm

chix4mat,

What does ifconfig -a show?

I'm surprised you get eth0 for a USB device and as you get eth0, I would expect udev to rename it to something horrible, so any attempt to bring up eth0 will fail as you don't have one.

Code: Select all

dmesg | grep eth0
may show what udev did.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
chix4mat
Apprentice
Apprentice
User avatar
Posts: 190
Joined: Sun Dec 11, 2005 10:40 pm
Location: Canada
Contact:
Contact chix4mat
Website

  • Quote

Post by chix4mat » Sat Aug 31, 2013 9:22 pm

NeddySeagoon wrote:What does ifconfig -a show?

Code: Select all

enp12s0u1: flags=4098<BROADCAST,MULTICAST>  mtu 1500
        ether 50:3f:56:00:13:1d  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

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 0  (Local Loopback)
        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

sit0: flags=128<NOARP>  mtu 1480
        sit  txqueuelen 0  (IPv6-in-IPv4)
        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
I forgot that ifconfig showed only active devices. *slaps head*
dmesg | grep eth0 may show what udev did.

Code: Select all

[    1.114298] ax88179_178a 6-1:1.0 eth0: register 'ax88179_178a' at usb-0000:0c:00.0-1, ASIX AX88179 USB 3.0 Gigibit Ethernet, 50:3f:56:00:13:1d
[    2.572940] systemd-udevd[1481]: renamed network interface eth0 to enp12s0u1
I tried renaming eth0 to enp12s0u1 in /etc/conf.d/net but that didn't do anything. Should I just install dhcpcd and try to configure the adapter that way?

Thanks for the help!
emerge -NuDe world
Top
Hu
Administrator
Administrator
Posts: 24395
Joined: Tue Mar 06, 2007 5:38 am

  • Quote

Post by Hu » Sat Aug 31, 2013 9:33 pm

systemd-udevd already mangled the name to enp12s0u1 for you. You can either disable network interface name mangling and go back to the predictable names (eth0, eth1, etc.) or you can change all your configuration files to use the udevd generated name. If you do this, you may need to take care to plug in the device to the same port every time. That name looks like it may encode the USB port number, in which case different ports would get different interface names.
Top
chix4mat
Apprentice
Apprentice
User avatar
Posts: 190
Joined: Sun Dec 11, 2005 10:40 pm
Location: Canada
Contact:
Contact chix4mat
Website

  • Quote

Post by chix4mat » Sat Aug 31, 2013 9:40 pm

Hu wrote:systemd-udevd already mangled the name to enp12s0u1 for you. You can either disable network interface name mangling and go back to the predictable names (eth0, eth1, etc.) or you can change all your configuration files to use the udevd generated name. If you do this, you may need to take care to plug in the device to the same port every time. That name looks like it may encode the USB port number, in which case different ports would get different interface names.
I just accepted the mangling and do have a static IP working (and net in general).

Thanks a ton guys, really appreciate it.
emerge -NuDe world
Top
Post Reply

5 posts • Page 1 of 1

Return to “Kernel & Hardware”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic