Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
host not found
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
Dennis Bolser
n00b
n00b


Joined: 23 Aug 2005
Posts: 57

PostPosted: Sun Sep 18, 2005 4:38 am    Post subject: host not found Reply with quote

i have my /etc/conf.d/net setup as:

config_eth0=( "192.168.0.201 netmask 255.255.255.0" )
route_eht0=( "default gw 192.168.0.2" )

and when i boot into my gentoo installation, i do ping -c 3 www.yahoo.com i get "host not found"

but when i do

ifconfig eth0 192.168.0.201 broadcast 192.168.1.255 netmask 255.255.255.0 up
route add default gw 192.168.0.2

and then ping yahoo, it works. how can i make it work on its own?
Back to top
View user's profile Send private message
thoughtform
l33t
l33t


Joined: 24 May 2004
Posts: 600

PostPosted: Sun Sep 18, 2005 4:53 am    Post subject: Reply with quote

hmm. also rc-update add net.eth0 default

# Here's how todo routing if you need it - the below sets the default gateway
routes_eth0=(
"default via 192.168.0.2"
)
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