* [gentoo-user] How to get sshd to start on boot?
@ 2007-03-16 15:39 Grant Edwards
2007-03-16 15:47 ` Nelson, David (ED, PAR&D)
2007-03-16 16:42 ` [gentoo-user] " Neil Bothwick
0 siblings, 2 replies; 5+ messages in thread
From: Grant Edwards @ 2007-03-16 15:39 UTC (permalink / raw
To: gentoo-user
How do I configure sshd to start at boot time?
When I boot up with eth0 (hard-wired ethernet) connected, sshd
starts. If I boot up with just a wireless network
(wpa-supplicant), sshd refuses to start because eth0 isn't
configured:
Mar 16 09:27:59 ThinkGrant rc-scripts: ERROR: cannot start netmount as net.eth0 could not start
Mar 16 09:28:00 ThinkGrant rc-scripts: ERROR: cannot start sshd as net.eth0 could not start
If I start sshd manually after the wireless link comes up, it
works fine, but the startup script seems to think it's smarter
than I am.
What's the proper way to configure sshd so that it starts even
when I'm on a wireless network instead of a wired one?
--
Grant Edwards
grante@visi.com
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: [gentoo-user] How to get sshd to start on boot?
2007-03-16 15:39 [gentoo-user] How to get sshd to start on boot? Grant Edwards
@ 2007-03-16 15:47 ` Nelson, David (ED, PAR&D)
2007-03-16 15:59 ` Xavier Parizet
2007-03-16 16:42 ` [gentoo-user] " Neil Bothwick
1 sibling, 1 reply; 5+ messages in thread
From: Nelson, David (ED, PAR&D) @ 2007-03-16 15:47 UTC (permalink / raw
To: gentoo-user
> -----Original Message-----
> From: news [mailto:news@sea.gmane.org]On Behalf Of Grant Edwards
> Sent: 16 March 2007 15:39
> To: gentoo-user@lists.gentoo.org
> Subject: [gentoo-user] How to get sshd to start on boot?
>
>
> How do I configure sshd to start at boot time?
>
> When I boot up with eth0 (hard-wired ethernet) connected, sshd
> starts. If I boot up with just a wireless network
> (wpa-supplicant), sshd refuses to start because eth0 isn't
> configured:
>
> Mar 16 09:27:59 ThinkGrant rc-scripts: ERROR: cannot start
> netmount as net.eth0 could not start
> Mar 16 09:28:00 ThinkGrant rc-scripts: ERROR: cannot start
> sshd as net.eth0 could not start
>
> If I start sshd manually after the wireless link comes up, it
> works fine, but the startup script seems to think it's smarter
> than I am.
>
> What's the proper way to configure sshd so that it starts even
> when I'm on a wireless network instead of a wired one?
>
I believe there is some setting in the sshd script that tells it only to start if X, Y and Z are running. If I recall correctly you need to either tell it that it doesn't need eth0 but can use wlan0 or eth1 or ra0 or whatever your wireless card is called. Alternatively there may be a way to make sure sshd doesnt try to start until after your wireless is up and running.
Someone will likely chime in in a bit with a full and concise explanation but this may give you a starting point if you want to have a rummage. I don't have a Gentoo rig in front of me at the moment otherwise I'd have a poke around for you :).
Cheers
--
djn
I do not represent anyone else in emails I send to this list.
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] How to get sshd to start on boot?
2007-03-16 15:47 ` Nelson, David (ED, PAR&D)
@ 2007-03-16 15:59 ` Xavier Parizet
2007-03-16 20:03 ` [gentoo-user] " Grant Edwards
0 siblings, 1 reply; 5+ messages in thread
From: Xavier Parizet @ 2007-03-16 15:59 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 2045 bytes --]
Hi !
Check to what the RC_NET_STRICT_CHECKING variable in /etc/conf.d/rc is set.
Try to set it with RC_NET_STRICT_CHECKING="none" or
RC_NET_STRICT_CHECKING="no".
Regards.
Le Friday 16 March 2007 16:47:48 Nelson, David (ED, PAR&D), vous avez écrit :
> > -----Original Message-----
> > From: news [mailto:news@sea.gmane.org]On Behalf Of Grant Edwards
> > Sent: 16 March 2007 15:39
> > To: gentoo-user@lists.gentoo.org
> > Subject: [gentoo-user] How to get sshd to start on boot?
> >
> >
> > How do I configure sshd to start at boot time?
> >
> > When I boot up with eth0 (hard-wired ethernet) connected, sshd
> > starts. If I boot up with just a wireless network
> > (wpa-supplicant), sshd refuses to start because eth0 isn't
> > configured:
> >
> > Mar 16 09:27:59 ThinkGrant rc-scripts: ERROR: cannot start
> > netmount as net.eth0 could not start
> > Mar 16 09:28:00 ThinkGrant rc-scripts: ERROR: cannot start
> > sshd as net.eth0 could not start
> >
> > If I start sshd manually after the wireless link comes up, it
> > works fine, but the startup script seems to think it's smarter
> > than I am.
> >
> > What's the proper way to configure sshd so that it starts even
> > when I'm on a wireless network instead of a wired one?
>
> I believe there is some setting in the sshd script that tells it only to
> start if X, Y and Z are running. If I recall correctly you need to either
> tell it that it doesn't need eth0 but can use wlan0 or eth1 or ra0 or
> whatever your wireless card is called. Alternatively there may be a way to
> make sure sshd doesnt try to start until after your wireless is up and
> running.
>
> Someone will likely chime in in a bit with a full and concise explanation
> but this may give you a starting point if you want to have a rummage. I
> don't have a Gentoo rig in front of me at the moment otherwise I'd have a
> poke around for you :).
>
> Cheers
>
> --
> djn
>
> I do not represent anyone else in emails I send to this list.
--
Xavier Parizet
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* [gentoo-user] Re: How to get sshd to start on boot?
2007-03-16 15:59 ` Xavier Parizet
@ 2007-03-16 20:03 ` Grant Edwards
0 siblings, 0 replies; 5+ messages in thread
From: Grant Edwards @ 2007-03-16 20:03 UTC (permalink / raw
To: gentoo-user
On 2007-03-16, Xavier Parizet <blackhawk@linuxant.fr> wrote:
> Check to what the RC_NET_STRICT_CHECKING variable in /etc/conf.d/rc is set.
> Try to set it with RC_NET_STRICT_CHECKING=3D"none" or=20
> RC_NET_STRICT_CHECKING=3D"no".
It's "no" already, which means that at least one interface
besides "lo" must be up. Changing it to "lo" should do the
trick...
--
Grant Edwards
grante@visi.com
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] How to get sshd to start on boot?
2007-03-16 15:39 [gentoo-user] How to get sshd to start on boot? Grant Edwards
2007-03-16 15:47 ` Nelson, David (ED, PAR&D)
@ 2007-03-16 16:42 ` Neil Bothwick
1 sibling, 0 replies; 5+ messages in thread
From: Neil Bothwick @ 2007-03-16 16:42 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 473 bytes --]
On Fri, 16 Mar 2007 15:39:00 +0000 (UTC), Grant Edwards wrote:
> When I boot up with eth0 (hard-wired ethernet) connected, sshd
> starts. If I boot up with just a wireless network
> (wpa-supplicant), sshd refuses to start because eth0 isn't
> configured:
emerge ifplugd, then eth0 can start up even though it is not enabled.
This is enough to keep the sshd init script happy.
--
Neil Bothwick
Nixon's Principal: If 2 wrongs don't make a right, try 3.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2007-03-16 20:10 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-16 15:39 [gentoo-user] How to get sshd to start on boot? Grant Edwards
2007-03-16 15:47 ` Nelson, David (ED, PAR&D)
2007-03-16 15:59 ` Xavier Parizet
2007-03-16 20:03 ` [gentoo-user] " Grant Edwards
2007-03-16 16:42 ` [gentoo-user] " Neil Bothwick
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox