Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Minor routing problem
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
growse
Apprentice
Apprentice


Joined: 24 Jan 2003
Posts: 154
Location: Sunny UK

PostPosted: Sun Jan 26, 2003 11:43 am    Post subject: Minor routing problem Reply with quote

I'm connected to the internet via a router. However, every time I log on I have to do a route add command to tell it where the router is. Everything works fine after that.

Is it possible to get it to do the route automatically at boot?
_________________
Getting there....
Back to top
View user's profile Send private message
garo
Bodhisattva
Bodhisattva


Joined: 15 Jul 2002
Posts: 860
Location: Edegem,BELGIUM

PostPosted: Sun Jan 26, 2003 2:02 pm    Post subject: Reply with quote

In the file "/etc/conf.d/net" change the last line :
Code:
#gateway="eth0/192.168.0.1"
to :
Code:
gateway="eth0/192.168.0.1"
if your router is connected to eth0 and the ip of your router is 192.168.0.1.

OR

add the route command to /etc/conf.d/local.start
_________________
My favorite links this month:
- Surf Random
- Web-based SSH
- Stop Spam
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