View previous topic :: View next topic |
Author |
Message |
sk8harddiefast Guru
Joined: 15 Feb 2009 Posts: 335 Location: athens
|
Posted: Thu Apr 03, 2014 7:11 pm Post subject: None network after fresh install |
|
|
Hi. I make a try to put gentoo on my Laptop for second time (and I hope the last). I made a fresh install but after reboot shows me only loopback. I feel like my Ethernet module is not loaded for some reason and I don't know which is exactly. I know that is Realtek (8105 if I am not wrong). What I should do to make it work? My laptop is a Lenovo p400 touchscreen. Thank's for advanced _________________ Compile The Universe |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Thu Apr 03, 2014 8:45 pm Post subject: |
|
|
boot cd, run tell us the exact name of the NIC and what is listed as Driver in use: _________________ Defund the FCC. |
|
Back to top |
|
|
sk8harddiefast Guru
Joined: 15 Feb 2009 Posts: 335 Location: athens
|
Posted: Thu Apr 03, 2014 8:53 pm Post subject: |
|
|
Ok. I got it. Says Realtek RTL8101E/RTL8102E, Kernel driver in use r8169. Now what to do? I used once upon a time gentoo. I remember that then had a Gui installer. From then until now I use FreeBSD. I don't know how Linux works and after all this years, I am starting it from the beginning. I remember on previous setup enp1s0 was automatically loaded. This time doesn't I remember that I made exactly all handbook said and for now I build a generic kernel will all modules. _________________ Compile The Universe |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Thu Apr 03, 2014 9:52 pm Post subject: |
|
|
needs to have support enabled in kernel. how did you make kernel, genkernel or manual? enter chroot, If genkernel: Code: | genkernel --menuconfig all | If manual: Code: | cd /usr/src/linux;make menuconfig | edit menuconfig to include
Code: | Device Drivers
[*] Network device support --->
[*] Ethernet driver support --->
[*] Realtek devices
<M> Realtek 8169 gigabit ethernet support | recompile, recopy, reboot _________________ Defund the FCC. |
|
Back to top |
|
|
sk8harddiefast Guru
Joined: 15 Feb 2009 Posts: 335 Location: athens
|
Posted: Fri Apr 04, 2014 1:56 am Post subject: |
|
|
After
Code: | make
make modules_install
make install |
I copy my bzimage to /boot and rename it as vmlinuz-3.12.13-gentoo
I run
Code: | mount /boot
grub2-mkconfig -o /boot/grub/grub.cfg |
Rebooted but nothing changed
I remember that during install my kernel was the simple generic. to build it I run:
Code: | emerge genkernel
genkernell all |
_________________ Compile The Universe |
|
Back to top |
|
|
sk8harddiefast Guru
Joined: 15 Feb 2009 Posts: 335 Location: athens
|
Posted: Fri Apr 04, 2014 4:03 am Post subject: |
|
|
Οk. I made it using
Code: | genkernel --menuconfig all |
But tells me eth0 instead of enp1s0.
PS. Now eth0 works and I am connected to internet but why is not telling enp1s0?
PS2: Thank's alot! Gentoo is really hard but at least forum is friendly and helps! _________________ Compile The Universe |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Fri Apr 04, 2014 4:32 am Post subject: |
|
|
keep an eye on the name it may change
current default is the longer en... name assigned by udev. udev is supposed to change the kernel assigned name which is eth0 .. eth1 .. etc
theoretically you had to take action to prevent udev renaming so there is a mystery still _________________ Defund the FCC.
Last edited by DONAHUE on Fri Apr 04, 2014 4:39 am; edited 1 time in total |
|
Back to top |
|
|
sk8harddiefast Guru
Joined: 15 Feb 2009 Posts: 335 Location: athens
|
Posted: Fri Apr 04, 2014 4:35 am Post subject: |
|
|
Ok. And one last question. My static ip works perfect but takes too long to bring up interface on boot. Why? _________________ Compile The Universe |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Fri Apr 04, 2014 5:47 pm Post subject: |
|
|
how long is too long? _________________ Defund the FCC. |
|
Back to top |
|
|
sk8harddiefast Guru
Joined: 15 Feb 2009 Posts: 335 Location: athens
|
Posted: Sat Apr 05, 2014 11:29 am Post subject: |
|
|
About 30 seconds but I have a strange activity. After Code: | rc-update add udev boot | now boots as enp1s0 almost immediately but as dhcp. Seems like ignores my static ip _________________ Compile The Universe |
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21633
|
Posted: Sat Apr 05, 2014 3:20 pm Post subject: |
|
|
sk8harddiefast wrote: | About 30 seconds but I have a strange activity. After Code: | rc-update add udev boot | now boots as enp1s0 almost immediately but as dhcp. Seems like ignores my static ip | What configuration directives do you have for interface enp1s0? |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Sat Apr 05, 2014 3:22 pm Post subject: |
|
|
you deleted symlink /etc/init.d/net.eth0 and created /etc/init.d/net.enp1s0?
Code: | cd /etc/init.d
rm net.eth0
ln -s net.lo net./enp1s0 |
edited /etc/conf.d/net to globally replace eth0 with enp1s0 ?
if above are done and problems persist post /etc/conf.d/net _________________ Defund the FCC. |
|
Back to top |
|
|
|