[arch-general] netcfg2: background running
Do your great devs plan to add support of background running capability (adding @ like in the rc.conf daemon section) for netcfg2 (net-profile), I have set a ethernet-static and adsl internet connection when booting up, but if adsl got some trouble to connect, which makes my computer waiting for it like ages. Thanks.
On Thu, May 8, 2008 at 11:21 PM, gan lu <rhythm.gan@gmail.com> wrote:
Do your great devs plan to add support of background running capability (adding @ like in the rc.conf daemon section) for netcfg2 (net-profile), I have set a ethernet-static and adsl internet connection when booting up, but if adsl got some trouble to connect, which makes my computer waiting for it like ages. Thanks.
Couldn't you just reorder the profiles so that the ethernet starts (and possibly fails) first, then the adsl connection is tried?
On Fri, May 9, 2008 at 1:41 PM, Aaron Griffin <aaronmgriffin@gmail.com> wrote:
On Thu, May 8, 2008 at 11:21 PM, gan lu <rhythm.gan@gmail.com> wrote:
Do your great devs plan to add support of background running capability (adding @ like in the rc.conf daemon section) for netcfg2 (net-profile), I have set a ethernet-static and adsl internet connection when booting up, but if adsl got some trouble to connect, which makes my computer waiting for it like ages. Thanks.
Couldn't you just reorder the profiles so that the ethernet starts (and possibly fails) first, then the adsl connection is tried?
No, no, my ethernet is OK, but sometimes with ISP problem it will take quite some time to get connected. Thanks for your reply.
On Fri, May 9, 2008 at 11:21 AM, gan lu <rhythm.gan@gmail.com> wrote:
Do your great devs plan to add support of background running capability (adding @ like in the rc.conf daemon section) for netcfg2 (net-profile), I have set a ethernet-static and adsl internet connection when booting up, but if adsl got some trouble to connect, which makes my computer waiting for it like ages. Thanks.
I'm starting netcfg2 in the background since ages.
On Fri, May 9, 2008 at 7:08 PM, Emmanuel Benisty <benisty.e@gmail.com> wrote:
On Fri, May 9, 2008 at 11:21 AM, gan lu <rhythm.gan@gmail.com> wrote:
Do your great devs plan to add support of background running capability (adding @ like in the rc.conf daemon section) for netcfg2 (net-profile), I have set a ethernet-static and adsl internet connection when booting up, but if adsl got some trouble to connect, which makes my computer waiting for it like ages. Thanks.
I'm starting netcfg2 in the background since ages.
How please? with net-profile in the rc.conf (as simple as adding @ )?
Yep. Actually the deamon name is net-profiles, so it should be @net-profiles . On Sat, May 10, 2008 at 4:13 PM, gan lu <rhythm.gan@gmail.com> wrote:
On Fri, May 9, 2008 at 7:08 PM, Emmanuel Benisty <benisty.e@gmail.com> wrote:
On Fri, May 9, 2008 at 11:21 AM, gan lu <rhythm.gan@gmail.com> wrote:
Do your great devs plan to add support of background running capability (adding @ like in the rc.conf daemon section) for netcfg2 (net-profile), I have set a ethernet-static and adsl internet connection when booting up, but if adsl got some trouble to connect, which makes my computer waiting for it like ages. Thanks.
I'm starting netcfg2 in the background since ages.
How please? with net-profile in the rc.conf (as simple as adding @ )?
-- Philippe
On Sat, May 10, 2008 at 10:35 PM, Philippe Miron <philippemiron@gmail.com> wrote:
Yep. Actually the deamon name is net-profiles, so it should be @net-profiles .
I tried and failed (not be recognized) unless you mean I should add net-profile in the deamon section(never tried).
On Sat, May 10, 2008 at 4:13 PM, gan lu <rhythm.gan@gmail.com> wrote:
On Fri, May 9, 2008 at 7:08 PM, Emmanuel Benisty <benisty.e@gmail.com> wrote:
On Fri, May 9, 2008 at 11:21 AM, gan lu <rhythm.gan@gmail.com> wrote:
Do your great devs plan to add support of background running capability (adding @ like in the rc.conf daemon section) for netcfg2 (net-profile), I have set a ethernet-static and adsl internet connection when booting up, but if adsl got some trouble to connect, which makes my computer waiting for it like ages. Thanks.
I'm starting netcfg2 in the background since ages.
How please? with net-profile in the rc.conf (as simple as adding @ )?
-- Philippe
On 10/05/2008, gan lu <rhythm.gan@gmail.com> wrote:
On Sat, May 10, 2008 at 10:35 PM, Philippe Miron <philippemiron@gmail.com> wrote:
Yep. Actually the deamon name is net-profiles, so it should be @net-profiles . I tried and failed (not be recognized) unless you mean I should add net-profile in the deamon section(never tried).
The relevant bits from /etc/rc.conf: HOSTNAME="dublin" #eth0="eth0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255" #INTERFACES=(eth0) NETWORKS=(eth) DAEMONS=(syslog-ng @cpufreq @net-profiles @hal @alsa @crond @cups @mpd @ntpd @sshd) Note that the INTERFACES array is commented out, as is the eth0 setting itself. Now, my eth profile as defined in /etc/network.d/eth: # /etc/network.d/eth CONNECTION="ethernet" DESCRIPTION="A very basic ethernet profile, using dhcp" INTERFACE=eth0 IP="dhcp" DHCP_TIMEOUT=10 I also have separate profiles for the various wifi networks I connect to. Hope this helps.
On Sun, May 11, 2008 at 1:35 AM, Thayer Williams <thayer@archlinux.org> wrote:
On 10/05/2008, gan lu <rhythm.gan@gmail.com> wrote:
On Sat, May 10, 2008 at 10:35 PM, Philippe Miron <
philippemiron@gmail.com>
wrote:
Yep. Actually the deamon name is net-profiles, so it should be @net-profiles . I tried and failed (not be recognized) unless you mean I should add net-profile in the deamon section(never tried).
The relevant bits from /etc/rc.conf:
HOSTNAME="dublin" #eth0="eth0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255" #INTERFACES=(eth0) NETWORKS=(eth) DAEMONS=(syslog-ng @cpufreq @net-profiles @hal @alsa @crond @cups @mpd @ntpd @sshd)
Note that the INTERFACES array is commented out, as is the eth0 setting itself.
Now, my eth profile as defined in /etc/network.d/eth:
# /etc/network.d/eth CONNECTION="ethernet" DESCRIPTION="A very basic ethernet profile, using dhcp" INTERFACE=eth0 IP="dhcp" DHCP_TIMEOUT=10
I also have separate profiles for the various wifi networks I connect to.
Hope this helps.
Ooh, I see your way, you put net-profile in the background process (@net-profiles) in the daemon section. It make sense, I originally think to do it that way in net profile itself, saying: NET-PROFILE=(ethernet-static @adsl-home) so we can easily see if and which net profile fails when booting up.but if it's hard to implement so forget it. Thanks very much.
participants (5)
-
Aaron Griffin
-
Emmanuel Benisty
-
gan lu
-
Philippe Miron
-
Thayer Williams