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: YoYo Siska <yoyo@...>
Subject: Re: wireless and service dependencies
Date: Sat, 14 Apr 2007 15:17:21 +0200
On Fri, Apr 13, 2007 at 08:19:20AM -0500, Fabio A Correa wrote:
> -----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
> }
> 

...

> > 
> > This behaviour is fine, to certain extent, because if net.eth0 comes up
> > I'd be happy to have sshd and ntpd start.


Is there a specific reason why you have to restart sshd after you
restart/change network services? I don't know about ntpd and cupsd
because I start them only in some places, but I have sshd running all
the time (with RC_NET_STRICT_CHECKING="lo" in /etc/conf.d/rc) it works
correctly (it listens on 0.0.0.0 so any ip changes don't affect it).
I suppose cupsd and ntpd should be the same (well maybe they would have
to be configured to listen on 0.0.0.0, if they are listening on the ip
from an interface by default...)

yoyo


-- 
      _
      |            icq: 177861806                    jabber: yoyo@...
YoYo () Siska      web: http://people.ksp.sk/~yoyo/

-- 
gentoo-laptop@g.o mailing list


Replies:
Re: wireless and service dependencies
-- Will Briggs
References:
wireless and service dependencies
-- Will Briggs
Re: wireless and service dependencies
-- Fabio A Correa
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.