View previous topic :: View next topic |
Author |
Message |
Dennis Bolser n00b
Joined: 23 Aug 2005 Posts: 57
|
Posted: Sun Sep 18, 2005 4:38 am Post subject: host not found |
|
|
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 |
|
|
thoughtform l33t
Joined: 24 May 2004 Posts: 600
|
Posted: Sun Sep 18, 2005 4:53 am Post subject: |
|
|
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 |
|
|
|