View previous topic :: View next topic |
Author |
Message |
Mr. Pig n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 03 Dec 2006 Posts: 14
|
Posted: Sun Dec 03, 2006 7:36 pm Post subject: SSH DHCP'ing Disabled Adapter [Solved] |
|
|
I'm trying to get sshd to launch, however, when ever I run /etc/init.d/sshd start it says the following:
- Starting eth0
- Configuration not set for eth0 - assuming DHCP
- Bringing up eth0
- dhcp
- Running dhcpcd ...
*wait 2 min*
Error, timed out waiting for a valid DHCP server response [!!]
-Error: Problem starting needed service net.eth0 sshd was not started
I have two adapters:
eth0 is the onboard LAN adapter that has nothing plugged into it
eth1 is a wireless PCMCIA adapter
eth1 is configured and working - I want the SSH server to listen on that adapter.
What's the problem? _________________ Get cash $.
Last edited by Mr. Pig on Mon Dec 04, 2006 11:28 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
cyrillic Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/8174739453e52fd5e9aef6.jpg)
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Sun Dec 03, 2006 10:12 pm Post subject: |
|
|
Take a look at /etc/conf.d/rc
You might have set RC_NET_STRICT_CHECKING="yes"
This is what I have
Code: | # RC_NET_STRICT_CHECKING allows some flexibility with the 'net' service.
# The following values are allowed:
# none - The 'net' service is always considered up.
# no - This basically means that at least one net.* service besides net.lo
# must be up. This can be used by notebook users that have a wifi and
# a static nic, and only wants one up at any given time to have the
# 'net' service seen as up.
# lo - This is the same as the 'no' option, but net.lo is also counted.
# This should be useful to people that do not care about any specific
# interface being up at boot.
# yes - For this ALL network interfaces MUST be up for the 'net' service to
# be considered up.
RC_NET_STRICT_CHECKING="no" |
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Mr. Pig n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 03 Dec 2006 Posts: 14
|
Posted: Sun Dec 03, 2006 11:16 pm Post subject: |
|
|
No, it's on "no".
ifconfig knows that the adapter is not operational... it's just SSHD _________________ Get cash $. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Mr. Pig n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 03 Dec 2006 Posts: 14
|
Posted: Mon Dec 04, 2006 9:16 pm Post subject: |
|
|
^bump^ Any ideas? _________________ Get cash $. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
UberLord Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
![](images/avatars/16007251014200867ea775c.gif)
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Mr. Pig n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 03 Dec 2006 Posts: 14
|
Posted: Mon Dec 04, 2006 11:27 pm Post subject: |
|
|
Thanks. _________________ Get cash $. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
cyrillic Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/8174739453e52fd5e9aef6.jpg)
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Tue Dec 05, 2006 1:05 am Post subject: |
|
|
If the sshd startup script is trying to start net.eth0 , then that means that net.eth1 has not started either.
Take a look at
If you want to run sshd without starting any network interfaces (not very useful IMO), then you need to set RC_NET_STRICT_CHECKING="none" |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|