Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Not detecting any network devices except for lo
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
crossroads1112
n00b
n00b


Joined: 31 Aug 2014
Posts: 11

PostPosted: Mon Sep 01, 2014 9:13 pm    Post subject: [SOLVED] Not detecting any network devices except for lo Reply with quote

I've just finished installing gentoo and ifconfig only shows lo. I'm dual booting with Arch and temporarily I used Arch's kernel so it isn't a kernel misconfiguration mistake. Any ideas?

Last edited by crossroads1112 on Tue Sep 02, 2014 1:48 pm; edited 1 time in total
Back to top
View user's profile Send private message
Anon-E-moose
Advocate
Advocate


Joined: 23 May 2008
Posts: 3929
Location: Dallas area

PostPosted: Mon Sep 01, 2014 9:24 pm    Post subject: Reply with quote

what does "ifconfig -a" show
_________________
Asus m5a99fx, FX 8320 - nouveau, oss4, rx550 for qemu passthrough
Acer laptop E5-575, i3-7100u - i965, alsa
---both---
5.0.13 zen kernel, profile 17.0 (no-pie) amd64-no-multilib
gcc 8.2.0, eudev, openrc, openbox, palemoon
Back to top
View user's profile Send private message
crossroads1112
n00b
n00b


Joined: 31 Aug 2014
Posts: 11

PostPosted: Tue Sep 02, 2014 1:25 am    Post subject: Reply with quote

Just lo

Code:
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 48  bytes 10876 (10.6 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 48  bytes 10876 (10.6 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 7090
Location: Saint Amant, Acadiana

PostPosted: Tue Sep 02, 2014 1:30 am    Post subject: Reply with quote

Alright, what does lspci -nnk show for your network interface? Assuming it is a PCI device.
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
crossroads1112
n00b
n00b


Joined: 31 Aug 2014
Posts: 11

PostPosted: Tue Sep 02, 2014 2:00 am    Post subject: Reply with quote

Code:
00:00.0 Host bridge [0600]: Intel Corporation 3rd Gen Core processor DRAM Controller [8086:0154] (rev 09)
   Subsystem: Lenovo Device [17aa:3977]
   Kernel driver in use: ivb_uncore
00:02.0 VGA compatible controller [0300]: Intel Corporation 3rd Gen Core processor Graphics Controller [8086:0166] (rev 09)
   Subsystem: Lenovo Device [17aa:3902]
00:14.0 USB controller [0c03]: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller [8086:1e31] (rev 04)
   Subsystem: Lenovo Device [17aa:3977]
   Kernel driver in use: xhci_hcd
00:16.0 Communication controller [0780]: Intel Corporation 7 Series/C210 Series Chipset Family MEI Controller #1 [8086:1e3a] (rev 04)
   Subsystem: Lenovo Device [17aa:3977]
00:1a.0 USB controller [0c03]: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #2 [8086:1e2d] (rev 04)
   Subsystem: Lenovo Device [17aa:3977]
   Kernel driver in use: 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: Lenovo Device [17aa:3977]
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.1 PCI bridge [0604]: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 2 [8086:1e12] (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:1d.0 USB controller [0c03]: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #1 [8086:1e26] (rev 04)
   Subsystem: Lenovo Device [17aa:3977]
   Kernel driver in use: ehci-pci
00:1f.0 ISA bridge [0601]: Intel Corporation HM76 Express Chipset LPC Controller [8086:1e59] (rev 04)
   Subsystem: Lenovo Device [17aa:3977]
00:1f.2 SATA controller [0106]: Intel Corporation 7 Series Chipset Family 6-port SATA Controller [AHCI mode] [8086:1e03] (rev 04)
   Subsystem: Lenovo Device [17aa:3977]
   Kernel driver in use: ahci
00:1f.3 SMBus [0c05]: Intel Corporation 7 Series/C210 Series Chipset Family SMBus Controller [8086:1e22] (rev 04)
   Subsystem: Lenovo Device [17aa:3977]
02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller [10ec:8136] (rev 05)
   Subsystem: Lenovo Device [17aa:3975]
03:00.0 Network controller [0280]: Intel Corporation Centrino Wireless-N 2200 [8086:0891] (rev c4)
   Subsystem: Intel Corporation Centrino Wireless-N 2200 BGN [8086:4222]
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 7090
Location: Saint Amant, Acadiana

PostPosted: Tue Sep 02, 2014 2:19 am    Post subject: Reply with quote

You need to enable r8169 in your kernel configuration for your wired connection, iwlwifi for wireless.
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
crossroads1112
n00b
n00b


Joined: 31 Aug 2014
Posts: 11

PostPosted: Tue Sep 02, 2014 11:01 am    Post subject: Reply with quote

But the thing is, as I said in my original post, I'm booting off of my Arch kernel which when I boot in to arch, detects my network interfaces just fine
Back to top
View user's profile Send private message
mvaterlaus
Apprentice
Apprentice


Joined: 01 Oct 2010
Posts: 202
Location: Switzerland

PostPosted: Tue Sep 02, 2014 11:22 am    Post subject: Reply with quote

crossroads1112 wrote:

But the thing is, as I said in my original post, I'm booting off of my Arch kernel which when I boot in to arch, detects my network interfaces just fine


Yes, this is because you boot with different partitions as root partition in your kernel line. So if you boot gentoo, the arch kernel will not find the modules. So the arch kernel can not load the modules under gentoo and your gentoo install will have no network cards detected.
_________________
For calming down your eyes or clearing your mind: www.patrickwehli.ch
Back to top
View user's profile Send private message
crossroads1112
n00b
n00b


Joined: 31 Aug 2014
Posts: 11

PostPosted: Tue Sep 02, 2014 1:20 pm    Post subject: Reply with quote

Ah, I see thank you very much. I will compile a kernel. Thank you
Back to top
View user's profile Send private message
mvaterlaus
Apprentice
Apprentice


Joined: 01 Oct 2010
Posts: 202
Location: Switzerland

PostPosted: Tue Sep 02, 2014 1:33 pm    Post subject: Reply with quote

You could also copy the modules over from your arch install. In gentoo, they are located at
Code:
/lib64/modules/`uname -r`/...


This is for a 64 bit install. In a 32 bit install, the first directory is /lib/
_________________
For calming down your eyes or clearing your mind: www.patrickwehli.ch
Back to top
View user's profile Send private message
Anon-E-moose
Advocate
Advocate


Joined: 23 May 2008
Posts: 3929
Location: Dallas area

PostPosted: Tue Sep 02, 2014 1:41 pm    Post subject: Reply with quote

mvaterlaus wrote:
You could also copy the modules over from your arch install.


They might work and they might not or not work completely or the way one expects.

He's better off building the kernel and modules fresh, so he knows what he's got.
Arch's kernel and Gentoo's kernel can both co-exist on /boot (assuming /boot is a separatate partition).
I would make a separate grub/grub2/lilo entry for each system and keep them self contained.
_________________
Asus m5a99fx, FX 8320 - nouveau, oss4, rx550 for qemu passthrough
Acer laptop E5-575, i3-7100u - i965, alsa
---both---
5.0.13 zen kernel, profile 17.0 (no-pie) amd64-no-multilib
gcc 8.2.0, eudev, openrc, openbox, palemoon
Back to top
View user's profile Send private message
crossroads1112
n00b
n00b


Joined: 31 Aug 2014
Posts: 11

PostPosted: Tue Sep 02, 2014 1:42 pm    Post subject: Reply with quote

Indeed I could but I want to compile my own kernel. However, I'm having an issue with the kernel I'm compiling not supporting aes-xts-plain64 (the partition is encrypted with this algorithm). The post about it is here https://forums.gentoo.org/viewtopic.php?p=7610684#7610684
Back to top
View user's profile Send private message
mvaterlaus
Apprentice
Apprentice


Joined: 01 Oct 2010
Posts: 202
Location: Switzerland

PostPosted: Tue Sep 02, 2014 2:22 pm    Post subject: Reply with quote

Anon-E-moose wrote:
They might work and they might not or not work completely or the way one expects.


Yes, I know that. I gave him this advise, because he booted gentoo with the arch kernel and therefore I assumed that the modules where built for the arch kernel, so IMO the should work.
_________________
For calming down your eyes or clearing your mind: www.patrickwehli.ch
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum