View previous topic :: View next topic |
Author |
Message |
jhon987 Apprentice
Joined: 18 Nov 2013 Posts: 297
|
Posted: Mon Nov 18, 2013 1:43 am Post subject: networkmanager / eth0 on systemd, gnome 3.8? |
|
|
hi, it's my first time installing gentoo and I knew it wouldn't be easy, I heard alot of people saying it takes approximately 3 days, and I think I'm beginning to understand why...
anyway, I've installed everything by the book, but my network just wont start! I spent about 10 hours googling and trying stuff but to no avail. it's now almost 4 am, here and I'm desperately going to sleep.
if someone could be kind to help please...
my kernel is configured to support r8169 driver, ifconfig shows only lo. while ifconfig -a shows: lo. + sit0 both are virtual and there is no PCI reference (I tried ls grep something - can't remember right now).
I'm writing this through EndOfTheWorld live DVD, so I can't copy paste dmesg or other stuff
both dhcpd and NetworkManager are installed but when I go into network settings there is no eth0?? + there's a symlink to net.lo inside /etc/init.d...
so basically as you can see everything is OK with my hardware because I'm using the same machine to write this, but something about the installation - I have no idea what is not working
please help |
|
Back to top |
|
|
John R. Graham Administrator
Joined: 08 Mar 2005 Posts: 10589 Location: Somewhere over Atlanta, Georgia
|
Posted: Mon Nov 18, 2013 11:40 am Post subject: |
|
|
Hi, jhon987. Welcome to Gentoo.
Let's start by checking some facts. From the LiveDVD, could you open a terminal window and post the output of Code: | lspci | grep Ethernet | please?
- John _________________ I can confirm that I have received between 0 and 499 National Security Letters. |
|
Back to top |
|
|
jhon987 Apprentice
Joined: 18 Nov 2013 Posts: 297
|
Posted: Mon Nov 18, 2013 11:52 am Post subject: |
|
|
John R. Graham wrote: | Hi, jhon987. Welcome to Gentoo.
Let's start by checking some facts. From the LiveDVD, could you open a terminal window and post the output of Code: | lspci | grep Ethernet | please?
- John |
finally! someone respondes, Thank you for helping, I'm half dead without my internet...
Code: | gentoo # lspci | grep Ethernet
07:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 06) |
|
|
Back to top |
|
|
jhon987 Apprentice
Joined: 18 Nov 2013 Posts: 297
|
Posted: Mon Nov 18, 2013 11:55 am Post subject: |
|
|
before you're going to ask I have enabled [*] r8169 in: make menuconfig, and make && make install...
but I don't see any reference for trying to load eth0 when I boot... |
|
Back to top |
|
|
John R. Graham Administrator
Joined: 08 Mar 2005 Posts: 10589 Location: Somewhere over Atlanta, Georgia
|
Posted: Mon Nov 18, 2013 12:08 pm Post subject: |
|
|
You won't see any reference to it being loaded unless it's a module (although you may see chatter about its initialization). Actually, it's usually recommended to compile network drivers as modules. Could you try going into your kernel configuration (make menuconfig) and change the [*] to a [M] for that driver and then rebuild the kernel? Then, of course, save the configuration and Code: | make
make modules_install | and install the kernel into /boot. (Don't forget to mount /boot).
After that, you can reboot into your environment. You should see something very similar to Code: | [ 19.260345] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
[ 19.260535] r8169 0000:03:00.0: irq 44 for MSI/MSI-X
[ 19.260647] r8169 0000:03:00.0 eth0: RTL8168d/8111d at 0xf8c7e000, 00:30:67:12:66:ca, XID 081000c0 IRQ 44
[ 19.260650] r8169 0000:03:00.0 eth0: jumbo features [frames: 9200 bytes, tx checksumming: ko]
[ 29.972674] r8169 0000:03:00.0 eth1: unable to load firmware patch rtl_nic/rtl8168d-1.fw (-2)
[ 29.985315] r8169 0000:03:00.0 eth1: link down
[ 29.985333] r8169 0000:03:00.0 eth1: link down
[ 31.573323] r8169 0000:03:00.0 eth1: link up | in your dmsg.
Just curious about one other thing. You did mean before that you ran "make modules_install" before and not "make install"? (Both have meaning; just checking how close to "by the book" you've been.)
- John
P.S.: [code] tags appreciated. _________________ I can confirm that I have received between 0 and 499 National Security Letters. |
|
Back to top |
|
|
jhon987 Apprentice
Joined: 18 Nov 2013 Posts: 297
|
Posted: Mon Nov 18, 2013 12:18 pm Post subject: |
|
|
John R. Graham wrote: | You won't see any reference to it being loaded unless it's a module (although you may see chatter about its initialization). Actually, it's usually recommended to compile network drivers as modules. Could you try going into your kernel configuration (make menuconfig) and change the [*] to a [M] for that driver and then rebuild the kernel? Then , of course Code: | make
make modules_install | and install the kernel into /boot. (Don't forget to mount /boot).
After that, you can reboot into your environment. You should see something very similar to Code: | 19.260345] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
[ 19.260535] r8169 0000:03:00.0: irq 44 for MSI/MSI-X
[ 19.260647] r8169 0000:03:00.0 eth0: RTL8168d/8111d at 0xf8c7e000, 00:30:67:12:66:ca, XID 081000c0 IRQ 44
[ 19.260650] r8169 0000:03:00.0 eth0: jumbo features [frames: 9200 bytes, tx checksumming: ko]
[ 29.972674] r8169 0000:03:00.0 eth1: unable to load firmware patch rtl_nic/rtl8168d-1.fw (-2)
[ 29.985315] r8169 0000:03:00.0 eth1: link down
[ 29.985333] r8169 0000:03:00.0 eth1: link down
[ 31.573323] r8169 0000:03:00.0 eth1: link up | in your dmsg.
Just curious about one other thing. You did mean before that you ran "make modules_install" before and not "make install"? (Both have meaning; just checking how close to "by the book" you've been.)
- John |
have already tried [M] because I saw it in another thread with a problem like mine (which I can't seem to find again), but I'll give another shot, I'll be back in a few short moments... |
|
Back to top |
|
|
jhon987 Apprentice
Joined: 18 Nov 2013 Posts: 297
|
Posted: Mon Nov 18, 2013 12:21 pm Post subject: |
|
|
wait how do I install the kernel into /boot? (I have only one / partition BTW + swap) |
|
Back to top |
|
|
jhon987 Apprentice
Joined: 18 Nov 2013 Posts: 297
|
Posted: Mon Nov 18, 2013 12:46 pm Post subject: |
|
|
John R. Graham wrote: | You won't see any reference to it being loaded unless it's a module (although you may see chatter about its initialization). Actually, it's usually recommended to compile network drivers as modules. Could you try going into your kernel configuration (make menuconfig) and change the [*] to a [M] for that driver and then rebuild the kernel? Then, of course, save the configuration and Code: | make
make modules_install | and install the kernel into /boot. (Don't forget to mount /boot).
After that, you can reboot into your environment. You should see something very similar to Code: | [ 19.260345] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
[ 19.260535] r8169 0000:03:00.0: irq 44 for MSI/MSI-X
[ 19.260647] r8169 0000:03:00.0 eth0: RTL8168d/8111d at 0xf8c7e000, 00:30:67:12:66:ca, XID 081000c0 IRQ 44
[ 19.260650] r8169 0000:03:00.0 eth0: jumbo features [frames: 9200 bytes, tx checksumming: ko]
[ 29.972674] r8169 0000:03:00.0 eth1: unable to load firmware patch rtl_nic/rtl8168d-1.fw (-2)
[ 29.985315] r8169 0000:03:00.0 eth1: link down
[ 29.985333] r8169 0000:03:00.0 eth1: link down
[ 31.573323] r8169 0000:03:00.0 eth1: link up | in your dmsg.
Just curious about one other thing. You did mean before that you ran "make modules_install" before and not "make install"? (Both have meaning; just checking how close to "by the book" you've been.)
- John
P.S.: [code] tags appreciated. |
f*ck man, f*uck! I just can't believe this sh*t. I've been sitting in this for almost 18 hours (with counting my sleep) and here you are solving this with a simple reply!!!!
first of all Thank U Thank U and again Thank U!!!!
second, I think the problem was I didn't copy my bzImage before, as the book says:
"Code Listing 2.10: Installing the kernel
# cp arch/x86/boot/bzImage /boot/kernel-3.3.8-gentoo"
I knew it has something to do with making the new compiled kernel needs to be connected to my boot but I didn't see what, then your reply enlightened me!
thanks again!
now I'm gonna post a new topic about - can't accessing my ntfs (windows) partition, it says something about:
`mount "/media/windows"' exited with non-zero exit status 21: fuse: device not found, try 'modprobe fuse' first, but that doesn't help. hope you (or someone else) could help me with that too... |
|
Back to top |
|
|
|
|
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
|
|