Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-laptop
Navigation:
Lists: gentoo-laptop: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-laptop@g.o
From: Fabio A Correa <facorread@...>
Subject: Re: wireless and service dependencies
Date: Fri, 13 Apr 2007 08:19:20 -0500
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

Study /etc/conf.d/net.example and write a postup() function in /etc/conf.d/net ; Postup is my
preferred way of starting sshd and ntpd, because my wireless network is managed by
wpa_supplicant. Then, when I move my laptop from an access point to another, such services must
be restarted. Nothing better than having Gentoo restarting such services for you.

Here goes an example:

postup () {
  /etc/init.d/ntpd restart
  /etc/init.d/sshd restart
  /etc.init.d/cupsd restart
}

For a more complicated example, including dhcp services on a per-AP basis, email me!

Good day.

Will Briggs wrote:
> G'day all,
> 
> I'm having this problem.  During startup both sshd and ntpd are not
> started with a warning: "scheduled to start when net.eth0 is started"
> 
> eth0 is my wired network interface, eth1 is my wireless interface.
> 
> I rarely used a wired network, often use the wireless network.
> 
> This behaviour is fine, to certain extent, because if net.eth0 comes up
> I'd be happy to have sshd and ntpd start.
> 
> However, I also want them to start if and when net.eth1 comes up.
> 
> I have searched for a dependency setting somewhere but can't find. Can
> anyone point me in the right direction?
> 
> Cheers,
> 
> W.


- --
Fabio A. Correa D.

Physics Dept, Universidad Nacional, Bogota, Colombia
facorread@...
ffaaccdd@...         facorread@...
My webpage and OpenPGP key at http://facorread.150m.com
facorread@... is not working anymore!!!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGH4NYYOZCB4zf2uQRApknAJ4zcAC+S0ZjbeZX3Ux2LChBK8sV0wCfcjW9
tm6mzQzEWOP2Xwfg6xrT/YY=
=zRDp
-----END PGP SIGNATURE-----
-- 
gentoo-laptop@g.o mailing list


Replies:
Re: wireless and service dependencies
-- YoYo Siska
Re: wireless and service dependencies
-- Will Briggs
References:
wireless and service dependencies
-- Will Briggs
Navigation:
Lists: gentoo-laptop: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: wireless and service dependencies
Next by thread:
Re: wireless and service dependencies
Previous by date:
Re: wireless and service dependencies
Next by date:
Re: wireless and service dependencies


Updated Jun 17, 2009

Summary: Archive of the gentoo-laptop mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.