Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Why do I have to keep doing this?
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
whaase
n00b
n00b


Joined: 20 Nov 2003
Posts: 69

PostPosted: Wed Dec 10, 2003 12:33 am    Post subject: Why do I have to keep doing this? Reply with quote

I've edited my resolv.conf to reflect my name server, but, everytime I reboot I have to enter the following for networking to work..

route add -net default gw 192.168.1.1 netmask 0.0.0.0 metric 1 eth0


Any ideas?

Walter
Back to top
View user's profile Send private message
BradN
Advocate
Advocate


Joined: 19 Apr 2002
Posts: 2391
Location: Wisconsin (USA)

PostPosted: Wed Dec 10, 2003 12:37 am    Post subject: Reply with quote

your gateway probably isn't set in /etc/conf.d/net - look way at the bottom

good luck
Back to top
View user's profile Send private message
whaase
n00b
n00b


Joined: 20 Nov 2003
Posts: 69

PostPosted: Wed Dec 10, 2003 12:38 am    Post subject: Reply with quote

I think I just answered my own question. Edit 'net' and enter gateway="eth0/192.168.1.1"? I'll have to wait for my emerge to finish then reboot and see what happens...

Walter
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