From: Will Briggs <will@burnieanglican.org.au>
To: gentoo-laptop@lists.gentoo.org
Subject: Re: [gentoo-laptop] wireless and service dependencies
Date: Fri, 13 Apr 2007 11:07:58 +1000 [thread overview]
Message-ID: <461ED7EE.70002@burnieanglican.org.au> (raw)
In-Reply-To: <461ED220.4050505@bellsouth.net>
david wrote:
> 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.
>>
> Did you;
> # ln -s net.lo /etc/init.d/net.eth1
Yes. (Well, on checking it wasn't /etc/init.d/net.eth1 -> net.lo but
/etc/init.d/net.eth1 -> /etc/init.d/net.lo. I've changed that but I
suspect it makes no difference having the path in the symlink)
> # rc-update add net.eth1 default
>
No - but deliberately. I think this may be where I, or the system is
confused. Because unlike a desktop it's not just a matter of bringing
up the /etc/init.d/net.* scripts. I don't want DHCP timeouts etc. when
booting off-line.
net.eth0 is brought up by netplug
net.eth1 is brought up by as I understand it, the ipw3945 module being
loaded which runs the ipw3945 daemon, which runs wpa_supplicant, which
runs the init script (maybe those last two steps are vice versa)
So, currently:
/etc/init.d/net.eth0 status
* status: inactive
(which is fine, the wire isn't plugged in)
/etc/init.d/net.eth1 status
* status: started
which is fine, but I want sshd and ntpd to have recognised this
In the end I want the services brought up when either or both of
net.eth0 or net.eth1 are started (by cables being plugged in or wireless
networks coming up etc.)
Thanks for the response,
W.
--
gentoo-laptop@gentoo.org mailing list
next prev parent reply other threads:[~2007-04-13 1:09 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-12 23:34 [gentoo-laptop] wireless and service dependencies Will Briggs
2007-04-13 0:43 ` david
2007-04-13 1:07 ` Will Briggs [this message]
2007-04-13 11:49 ` Mike Benson
2007-04-13 12:13 ` Will Briggs
2007-04-13 13:19 ` Fabio A Correa
2007-04-14 0:32 ` Will Briggs
2007-04-14 13:17 ` YoYo Siska
2007-04-15 9:19 ` Will Briggs
-- strict thread matches above, loose matches on Subject: below --
2007-04-14 2:13 Master Control Program
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=461ED7EE.70002@burnieanglican.org.au \
--to=will@burnieanglican.org.au \
--cc=gentoo-laptop@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox