Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
etc/init.d/net.eth0 gone after update [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
cst
Apprentice
Apprentice


Joined: 24 Feb 2008
Posts: 203
Location: /proc

PostPosted: Tue Apr 15, 2008 7:03 pm    Post subject: etc/init.d/net.eth0 gone after update [solved] Reply with quote

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
View user's profile Send private message
zaai
Apprentice
Apprentice


Joined: 24 Jul 2004
Posts: 175

PostPosted: Tue Apr 15, 2008 7:11 pm    Post subject: Reply with quote

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
View user's profile Send private message
cst
Apprentice
Apprentice


Joined: 24 Feb 2008
Posts: 203
Location: /proc

PostPosted: Tue Apr 15, 2008 7:23 pm    Post subject: Reply with quote

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
View user's profile Send private message
zaai
Apprentice
Apprentice


Joined: 24 Jul 2004
Posts: 175

PostPosted: Tue Apr 15, 2008 8:15 pm    Post subject: Reply with quote

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:
Code:
hwclock --systohc


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
View user's profile Send private message
cst
Apprentice
Apprentice


Joined: 24 Feb 2008
Posts: 203
Location: /proc

PostPosted: Tue Apr 15, 2008 9:50 pm    Post subject: Reply with quote

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
View user's profile Send private message
zaai
Apprentice
Apprentice


Joined: 24 Jul 2004
Posts: 175

PostPosted: Wed Apr 16, 2008 2:09 am    Post subject: Reply with quote

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
View user's profile Send private message
cst
Apprentice
Apprentice


Joined: 24 Feb 2008
Posts: 203
Location: /proc

PostPosted: Wed Apr 16, 2008 9:18 am    Post subject: Reply with quote

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
View user's profile Send private message
doubledr
n00b
n00b


Joined: 23 Feb 2008
Posts: 23

PostPosted: Mon Apr 21, 2008 4:57 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security 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