> -----Original Message----- > From: news [mailto:[EMAIL PROTECTED] 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