Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
SSH DHCP'ing Disabled Adapter [Solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Mr. Pig
n00b
n00b


Joined: 03 Dec 2006
Posts: 14

PostPosted: Sun Dec 03, 2006 7:36 pm    Post subject: SSH DHCP'ing Disabled Adapter [Solved] Reply with quote

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
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7313
Location: Groton, Massachusetts USA

PostPosted: Sun Dec 03, 2006 10:12 pm    Post subject: Reply with quote

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
View user's profile Send private message
Mr. Pig
n00b
n00b


Joined: 03 Dec 2006
Posts: 14

PostPosted: Sun Dec 03, 2006 11:16 pm    Post subject: Reply with quote

No, it's on "no".

ifconfig knows that the adapter is not operational... it's just SSHD
_________________
Get cash $.
Back to top
View user's profile Send private message
Mr. Pig
n00b
n00b


Joined: 03 Dec 2006
Posts: 14

PostPosted: Mon Dec 04, 2006 9:16 pm    Post subject: Reply with quote

^bump^ Any ideas?
_________________
Get cash $.
Back to top
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Mon Dec 04, 2006 9:22 pm    Post subject: Reply with quote

emerge netplug
_________________
Use dhcpcd for all your automated network configuration needs
Use dhcpcd-ui (GTK+/Qt) as your System Tray Network tool
Back to top
View user's profile Send private message
Mr. Pig
n00b
n00b


Joined: 03 Dec 2006
Posts: 14

PostPosted: Mon Dec 04, 2006 11:27 pm    Post subject: Reply with quote

Thanks.
_________________
Get cash $.
Back to top
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7313
Location: Groton, Massachusetts USA

PostPosted: Tue Dec 05, 2006 1:05 am    Post subject: Reply with quote

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
Code:
# rc-status -a


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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum