-----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
|