View previous topic :: View next topic |
Author |
Message |
cst Apprentice
Joined: 24 Feb 2008 Posts: 203 Location: /proc
|
Posted: Tue Apr 15, 2008 7:03 pm Post subject: etc/init.d/net.eth0 gone after update [solved] |
|
|
after an update my networking stopped working:( there is no net.eth0 anymore. I emerged baselayout and openrc and none gives it, can someone tell me how to get it? or how to deal with this problem _________________ i7 3930K @ 4GHz
MSI X79A-GD45 (8D)
32GB 1600 MHz DDR3 Samsung
Samsung 840 PRO, 2xSamsung HD502HJ in RAID 1
MSI GTX 980Ti
latest gentoo-sources on x86_64 Fluxbox (amd64)
best render farm: www.GarageFarm.NET
Last edited by cst on Wed Apr 16, 2008 9:15 am; edited 1 time in total |
|
Back to top |
|
|
zaai Apprentice
Joined: 24 Jul 2004 Posts: 175
|
Posted: Tue Apr 15, 2008 7:11 pm Post subject: |
|
|
Yeah, hate it when that happens.
To create net.eth0 create a softlink from net.eth0 to net.lo:
As root:
Code: |
cd /etc/init.d
ln -s net.lo net.eth0
|
_________________ * most bugs can be reduced to either dependency or state *
Athlon64 X2 4800+ on Asus M2N SLI deluxe with 4GB Dual channel
video nVidia GForce 7300 GS 512MB (snail); xorg-7.2
kernel 2.6.24-gentoo-r3 |
|
Back to top |
|
|
cst Apprentice
Joined: 24 Feb 2008 Posts: 203 Location: /proc
|
Posted: Tue Apr 15, 2008 7:23 pm Post subject: |
|
|
thx that worked but there is another problem despite of this: while booting i get "caching service dependencies" after each service and its really anoying and takes time:( any solution? _________________ i7 3930K @ 4GHz
MSI X79A-GD45 (8D)
32GB 1600 MHz DDR3 Samsung
Samsung 840 PRO, 2xSamsung HD502HJ in RAID 1
MSI GTX 980Ti
latest gentoo-sources on x86_64 Fluxbox (amd64)
best render farm: www.GarageFarm.NET |
|
Back to top |
|
|
zaai Apprentice
Joined: 24 Jul 2004 Posts: 175
|
Posted: Tue Apr 15, 2008 8:15 pm Post subject: |
|
|
Caching service dependencies is done when one of the files in /etc/conf.d or /etc/init.d has a timestamp newer than the cache file. Normally happens once after installing a package that modifies init.d or conf.d.
If it persistently keeps caching service dependencies on boot then two possible causes are:
1. your hardware clock is set in the past
To fix this. Make sure your time is correct and run as root:
2. one of the files in /etc/conf.d/ or /etc/init.d/ is set in the future.
Easiest fix for 2) is (as root):
Code: | touch /etc/conf.d/*
touch /etc/init.d/*
|
_________________ * most bugs can be reduced to either dependency or state *
Athlon64 X2 4800+ on Asus M2N SLI deluxe with 4GB Dual channel
video nVidia GForce 7300 GS 512MB (snail); xorg-7.2
kernel 2.6.24-gentoo-r3 |
|
Back to top |
|
|
cst Apprentice
Joined: 24 Feb 2008 Posts: 203 Location: /proc
|
Posted: Tue Apr 15, 2008 9:50 pm Post subject: |
|
|
thx a lot! did the trick _________________ i7 3930K @ 4GHz
MSI X79A-GD45 (8D)
32GB 1600 MHz DDR3 Samsung
Samsung 840 PRO, 2xSamsung HD502HJ in RAID 1
MSI GTX 980Ti
latest gentoo-sources on x86_64 Fluxbox (amd64)
best render farm: www.GarageFarm.NET |
|
Back to top |
|
|
zaai Apprentice
Joined: 24 Jul 2004 Posts: 175
|
Posted: Wed Apr 16, 2008 2:09 am Post subject: |
|
|
cst wrote: | thx a lot! did the trick |
Great,
Can you put [Solved] behind the topic title please? That way others know its a solved issue. _________________ * most bugs can be reduced to either dependency or state *
Athlon64 X2 4800+ on Asus M2N SLI deluxe with 4GB Dual channel
video nVidia GForce 7300 GS 512MB (snail); xorg-7.2
kernel 2.6.24-gentoo-r3 |
|
Back to top |
|
|
cst Apprentice
Joined: 24 Feb 2008 Posts: 203 Location: /proc
|
Posted: Wed Apr 16, 2008 9:18 am Post subject: |
|
|
Yes, this time i forgot to do it:) _________________ i7 3930K @ 4GHz
MSI X79A-GD45 (8D)
32GB 1600 MHz DDR3 Samsung
Samsung 840 PRO, 2xSamsung HD502HJ in RAID 1
MSI GTX 980Ti
latest gentoo-sources on x86_64 Fluxbox (amd64)
best render farm: www.GarageFarm.NET |
|
Back to top |
|
|
doubledr n00b
Joined: 23 Feb 2008 Posts: 23
|
Posted: Mon Apr 21, 2008 4:57 am Post subject: |
|
|
Today I did an update too. The net.eth0 was disappeared too and I followed the command in this thread to create it. It worked. However, I used command "rc-update add net.eth0 default" to add eth0 to default run level. And when I rebooted my computer, the net.eth0 script didn't get executed! I had to login as root and start the service manually. What happens here?! I saw one line in the boot screen "device initiated services: net.eth0 udev-postmount", it is related?
EDIT: lol, I fixed it now. Actually I shouldn't run the command "rc-update add net.eth0 default" |
|
Back to top |
|
|
|