View previous topic :: View next topic |
Author |
Message |
KingYes Tux's lil' helper


Joined: 17 Jan 2008 Posts: 142 Location: Israel
|
Posted: Tue Jul 26, 2011 2:26 pm Post subject: How start net.eth0 on the background? |
|
|
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 |
|
 |
pepoluan n00b


Joined: 28 Feb 2011 Posts: 43 Location: Jakarta, Indonesia
|
Posted: Tue Jul 26, 2011 2:36 pm Post subject: |
|
|
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 |
|
 |
KingYes Tux's lil' helper


Joined: 17 Jan 2008 Posts: 142 Location: Israel
|
Posted: Tue Jul 26, 2011 2:40 pm Post subject: |
|
|
I just want for net.eth0.. no for all.. _________________ Yakir. |
|
Back to top |
|
 |
pepoluan n00b


Joined: 28 Feb 2011 Posts: 43 Location: Jakarta, Indonesia
|
Posted: Tue Jul 26, 2011 2:45 pm Post subject: |
|
|
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 |
|
 |
krinn Watchman


Joined: 02 May 2003 Posts: 7471
|
Posted: Tue Jul 26, 2011 2:56 pm Post subject: |
|
|
well i was thinking it already fork into background itself. |
|
Back to top |
|
 |
KingYes Tux's lil' helper


Joined: 17 Jan 2008 Posts: 142 Location: Israel
|
Posted: Tue Jul 26, 2011 3:05 pm Post subject: |
|
|
How you know? Its stop my boot... _________________ Yakir. |
|
Back to top |
|
 |
danomac l33t


Joined: 06 Nov 2004 Posts: 881 Location: Vancouver, BC
|
Posted: Tue Jul 26, 2011 10:53 pm Post subject: |
|
|
emerge netplug or ifplug.
Edit: That's system-wide. I'm not aware of something for only net.eth0. |
|
Back to top |
|
 |
Etal Veteran


Joined: 15 Jul 2005 Posts: 1932
|
Posted: Wed Jul 27, 2011 2:29 am Post subject: |
|
|
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 |
|
 |
depontius Advocate

Joined: 05 May 2004 Posts: 3530
|
Posted: Wed Jul 27, 2011 12:18 pm Post subject: |
|
|
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 |
|
 |
Etal Veteran


Joined: 15 Jul 2005 Posts: 1932
|
Posted: Wed Jul 27, 2011 2:00 pm Post subject: |
|
|
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 |
|
 |
|