View previous topic :: View next topic |
Author |
Message |
vladdrak n00b
Joined: 08 Nov 2014 Posts: 5
|
Posted: Tue Dec 09, 2014 5:04 pm Post subject: network unreachable + missing conf.d/net |
|
|
i just installed gentoo for the first time and it seems something went wrong as i can't get my net working. when chrooted from inst media, ifconfig outputs 2 interfaces (enp3s0 & lo). rebooting into the new system there's only lo (same goes to ls /sys/class/net). tried symlinking net.eth0 and adding it to default runlevel, didn't help. also, there's no /etc/conf.d/net at all, so as for my understanding dhcpc has nothing to work with in the first place. pls help, thx in advance! |
|
Back to top |
|
|
szatox Advocate
Joined: 27 Aug 2013 Posts: 3137
|
Posted: Tue Dec 09, 2014 5:56 pm Post subject: |
|
|
Quote: | when chrooted from inst media, ifconfig outputs 2 interfaces (enp3s0 & lo). |
Quote: | tried symlinking net.eth0 |
here's the mistake. symlink enp3s0 instead - this is how your kernel sees that device
Or disable so-called "persistent" names. They cause a lot of confusion and are only arguable usefull if you have multiple network devices. You seem to only have one, so it's useless.
I bellieve the above will solve your problem, but just in case it failed, 'lspci -nnk' would be a good starting point for troubleshooting |
|
Back to top |
|
|
vladdrak n00b
Joined: 08 Nov 2014 Posts: 5
|
Posted: Tue Dec 09, 2014 6:54 pm Post subject: |
|
|
thx fr yr reply
Quote: | symlink enp3s0 instead |
that didn't work, alas
this is from the live system (non-chrooted env):
Code: |
lspci --nk
00:00.0 Host bridge [0600]: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor DRAM Controller [8086:0150] (rev 09)
Subsystem: Gigabyte Technology Co., Ltd Device [1458:5000]
00:01.0 PCI bridge [0604]: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor PCI Express Root Port [8086:0151] (rev 09)
Kernel driver in use: pcieport
00:14.0 USB controller [0c03]: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller [8086:1e31] (rev 04)
Subsystem: Gigabyte Technology Co., Ltd Device [1458:5007]
Kernel driver in use: xhci_hcd
Kernel modules: xhci_hcd
00:16.0 Communication controller [0780]: Intel Corporation 7 Series/C210 Series Chipset Family MEI Controller #1 [8086:1e3a] (rev 04)
Subsystem: Gigabyte Technology Co., Ltd Device [1458:1c3a]
00:1a.0 USB controller [0c03]: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #2 [8086:1e2d] (rev 04)
Subsystem: Gigabyte Technology Co., Ltd Device [1458:5006]
Kernel driver in use: ehci-pci
Kernel modules: ehci_pci
00:1b.0 Audio device [0403]: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller [8086:1e20] (rev 04)
Subsystem: Gigabyte Technology Co., Ltd Device [1458:a002]
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
00:1c.0 PCI bridge [0604]: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 1 [8086:1e10] (rev c4)
Kernel driver in use: pcieport
00:1c.2 PCI bridge [0604]: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 3 [8086:1e14] (rev c4)
Kernel driver in use: pcieport
00:1c.3 PCI bridge [0604]: Intel Corporation 82801 PCI Bridge [8086:244e] (rev c4)
00:1d.0 USB controller [0c03]: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #1 [8086:1e26] (rev 04)
Subsystem: Gigabyte Technology Co., Ltd Device [1458:5006]
Kernel driver in use: ehci-pci
Kernel modules: ehci_pci
00:1f.0 ISA bridge [0601]: Intel Corporation Z77 Express Chipset LPC Controller [8086:1e44] (rev 04)
Subsystem: Gigabyte Technology Co., Ltd Device [1458:5001]
00:1f.2 SATA controller [0106]: Intel Corporation 7 Series/C210 Series Chipset Family 6-port SATA Controller [AHCI mode] [8086:1e02] (rev 04)
Subsystem: Gigabyte Technology Co., Ltd Device [1458:b005]
Kernel driver in use: ahci
Kernel modules: ahci
00:1f.3 SMBus [0c05]: Intel Corporation 7 Series/C210 Series Chipset Family SMBus Controller [8086:1e22] (rev 04)
Subsystem: Gigabyte Technology Co., Ltd Device [1458:5001]
Kernel modules: i2c_i801
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GF114 [GeForce GTX 560 Ti] [10de:1200] (rev a1)
Subsystem: ASUSTeK Computer Inc. Device [1043:838b]
01:00.1 Audio device [0403]: NVIDIA Corporation GF114 HDMI Audio Controller [10de:0e0c] (rev a1)
Subsystem: ASUSTeK Computer Inc. Device [1043:838b]
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
03:00.0 Ethernet controller [0200]: Qualcomm Atheros AR8161 Gigabit Ethernet [1969:1091] (rev 10)
Subsystem: Gigabyte Technology Co., Ltd Device [1458:e000]
04:00.0 PCI bridge [0604]: Intel Corporation 82801 PCI Bridge [8086:244e] (rev 41)
|
|
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54244 Location: 56N 3W
|
Posted: Tue Dec 09, 2014 8:07 pm Post subject: |
|
|
vladdrak,
linuxfoundation.org says
Code: | The alx driver provide support for:
1969:1091 - AR8161 Gigabit Ethernet |
Notice the Vendor and Device IDs match Code: | 03:00.0 Ethernet controller [0200]: Qualcomm Atheros AR8161 Gigabit Ethernet [1969:1091] (rev 10) |
That means you need the alx driver configured in your kernel. Code: | # cd /usr/src/linux
# grep ALX .config
# CONFIG_ALX is not set | means you need to redo your kernel. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
vladdrak n00b
Joined: 08 Nov 2014 Posts: 5
|
Posted: Sat Dec 13, 2014 5:29 pm Post subject: |
|
|
NeddySeagoon wrote: | vladdrak,
linuxfoundation.org says
Code: | The alx driver provide support for:
1969:1091 - AR8161 Gigabit Ethernet |
Notice the Vendor and Device IDs match Code: | 03:00.0 Ethernet controller [0200]: Qualcomm Atheros AR8161 Gigabit Ethernet [1969:1091] (rev 10) |
That means you need the alx driver configured in your kernel. Code: | # cd /usr/src/linux
# grep ALX .config
# CONFIG_ALX is not set | means you need to redo your kernel. |
emabled alx, but even that wouldn't help |
|
Back to top |
|
|
|