Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How start net.eth0 on the background?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
KingYes
Tux's lil' helper
Tux's lil' helper


Joined: 17 Jan 2008
Posts: 142
Location: Israel

PostPosted: Tue Jul 26, 2011 2:26 pm    Post subject: How start net.eth0 on the background? Reply with quote

Hey all..
How i can setup the rc-update to run the net.eth0 on the background (without stop)?

On Arch linux its just add @ to name service.. So is it possible on Gentoo atm?

Thanks.
_________________
Yakir.
Back to top
View user's profile Send private message
pepoluan
n00b
n00b


Joined: 28 Feb 2011
Posts: 39
Location: Jakarta, Indonesia

PostPosted: Tue Jul 26, 2011 2:36 pm    Post subject: Reply with quote

Not really. But you can have the initscripts run in parallel.

vi /etc/rc.conf and set rc_parallel="YES" (it's near the top of the file)

Prepare a bootable CD to re-set rc_parallel to "NO" if it somehow messes up your system. (Never had a problem with mine -- touch wood!)
_________________
Nobody is Perfect.
I am Nobody.
Back to top
View user's profile Send private message
KingYes
Tux's lil' helper
Tux's lil' helper


Joined: 17 Jan 2008
Posts: 142
Location: Israel

PostPosted: Tue Jul 26, 2011 2:40 pm    Post subject: Reply with quote

I just want for net.eth0.. no for all..
_________________
Yakir.
Back to top
View user's profile Send private message
pepoluan
n00b
n00b


Joined: 28 Feb 2011
Posts: 39
Location: Jakarta, Indonesia

PostPosted: Tue Jul 26, 2011 2:45 pm    Post subject: Reply with quote

KingYes wrote:
I just want for net.eth0.. no for all..

Hmmm... I don't think that's possible...
_________________
Nobody is Perfect.
I am Nobody.
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 6855

PostPosted: Tue Jul 26, 2011 2:56 pm    Post subject: Reply with quote

well i was thinking it already fork into background itself.
Back to top
View user's profile Send private message
KingYes
Tux's lil' helper
Tux's lil' helper


Joined: 17 Jan 2008
Posts: 142
Location: Israel

PostPosted: Tue Jul 26, 2011 3:05 pm    Post subject: Reply with quote

How you know? Its stop my boot...
_________________
Yakir.
Back to top
View user's profile Send private message
danomac
l33t
l33t


Joined: 06 Nov 2004
Posts: 871
Location: Vancouver, BC

PostPosted: Tue Jul 26, 2011 10:53 pm    Post subject: Reply with quote

emerge netplug or ifplug.

Edit: That's system-wide. I'm not aware of something for only net.eth0.
Back to top
View user's profile Send private message
Etal
Veteran
Veteran


Joined: 15 Jul 2005
Posts: 1675

PostPosted: Wed Jul 27, 2011 2:29 am    Post subject: Reply with quote

If you just use dhcp, you can also remove "net.eth0" and add the "dhcpcd" service.
_________________
“And even in authoritarian countries, information networks are helping people discover new facts and making governments more accountable.”– Hillary Clinton, Jan. 21, 2010
Back to top
View user's profile Send private message
depontius
Advocate
Advocate


Joined: 05 May 2004
Posts: 3350

PostPosted: Wed Jul 27, 2011 12:18 pm    Post subject: Reply with quote

One other benefit of netplug or ifplugd is that they handle carrier detect, and don't even try a wired connection if it isn't plugged in. I'm under the impression that newer dhcpcd clients handle carrier detect as well, though I haven't verified it.

How does adding dhcpcd to rc-update handle unplugged wired interfaces?
If I've added dhcpcd to rc-update, how do I tell it what interfaces to control?
How does dhcpcd handle the rf-kill switch, for the wireless side?
_________________
.sigs waste space and bandwidth
Back to top
View user's profile Send private message
Etal
Veteran
Veteran


Joined: 15 Jul 2005
Posts: 1675

PostPosted: Wed Jul 27, 2011 2:00 pm    Post subject: Reply with quote

depontius wrote:
One other benefit of netplug or ifplugd is that they handle carrier detect, and don't even try a wired connection if it isn't plugged in. I'm under the impression that newer dhcpcd clients handle carrier detect as well, though I haven't verified it.

They do indeed! :)

depontius wrote:
How does adding dhcpcd to rc-update handle unplugged wired interfaces?

As soon as you unplug, it switches to wireless, and once you plug back in, it switches to wired.

depontius wrote:
If I've added dhcpcd to rc-update, how do I tell it what interfaces to control?

It controls all the physical interfaces.

depontius wrote:
How does dhcpcd handle the rf-kill switch, for the wireless side?

Unfortunately, it's wpa_supplicant that does not handle it well and needs to be (re)started. That can be fixed with a simple udev rule.
_________________
“And even in authoritarian countries, information networks are helping people discover new facts and making governments more accountable.”– Hillary Clinton, Jan. 21, 2010
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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