View previous topic :: View next topic |
Author |
Message |
growse Apprentice
Joined: 24 Jan 2003 Posts: 154 Location: Sunny UK
|
Posted: Sun Jan 26, 2003 11:43 am Post subject: Minor routing problem |
|
|
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 |
|
|
garo Bodhisattva
Joined: 15 Jul 2002 Posts: 860 Location: Edegem,BELGIUM
|
Posted: Sun Jan 26, 2003 2:02 pm Post subject: |
|
|
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 |
|
|
|