Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] weird networking prob: must type "dhcpcd eth1&
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
warthog
Tux's lil' helper
Tux's lil' helper


Joined: 11 Aug 2003
Posts: 82
Location: Seattle (Eastside)

PostPosted: Sun May 15, 2005 12:32 am    Post subject: [SOLVED] weird networking prob: must type "dhcpcd eth1& Reply with quote

For some reason after upgrading some packages, my network stopped working. I went through my /etc/conf.d/net and everything looks fine:
Code:
iface_eth1="dhcp"


and when I type /etc/init.d/net.eth1 start I get:
Code:
/etc/init.d/net.eth1 start
 * Bringing eth1 up...                                                                    [ ok ]


however, when I attempt to ping, I get:
Code:
# ping 192.168.0.1
connect: Network is unreachable


and ifconfig yields only 'lo'

however, if I manually invoke dhcpcd like so:
Code:
 # dhcpcd eth1


my network comes up and works fine. What am I forgetting to do?


Last edited by warthog on Thu May 19, 2005 3:51 pm; edited 1 time in total
Back to top
View user's profile Send private message
slashdevslashtty
Tux's lil' helper
Tux's lil' helper


Joined: 29 Aug 2004
Posts: 119
Location: 97219

PostPosted: Sun May 15, 2005 1:29 am    Post subject: Reply with quote

Perhaps there is an unterminated string in your /etc/conf.d/net or other syntax error that stops Gentoo from knowing to do dhcp.
Back to top
View user's profile Send private message
warthog
Tux's lil' helper
Tux's lil' helper


Joined: 11 Aug 2003
Posts: 82
Location: Seattle (Eastside)

PostPosted: Sun May 15, 2005 1:37 am    Post subject: Reply with quote

slashdevslashtty wrote:
Perhaps there is an unterminated string in your /etc/conf.d/net or other syntax error that stops Gentoo from knowing to do dhcp.


None that I can see. I just cleaned out all unnecessary lines in my /etc/conf.d/net, but it didn't make any difference.

[EDIT] here is my /etc/conf.d/net

Code:

# /etc/conf.d/net: Global config file for net.* rc-scripts

# To use DHCP on eth0, simply uncomment the following line:
iface_eth1="dhcp"

# For passing custom options to dhcpcd use something like the following.  This
# example reduces the timeout for retrieving an address from 60 seconds (the
# default) to 10 seconds.  Note that this might be too short for some servers,
# so the default is encouraged unless you know what you're doing.
dhcpcd_eth1="-t 10 -Y -N"


It's so weird, typing dhcpcd eth1 on the command line works fine!
Back to top
View user's profile Send private message
warthog
Tux's lil' helper
Tux's lil' helper


Joined: 11 Aug 2003
Posts: 82
Location: Seattle (Eastside)

PostPosted: Thu May 19, 2005 3:52 pm    Post subject: Reply with quote

fix: I upgraded baselayout and associated dependences to ~x86. Now my eth1 is coming up as expected upon boot. I can only assume that something else I upgraded wasn't happy with the old baselayout, but the dependency wan't documented.... Grrr...
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