View Single Post
  #37  
Old 19th January 2006, 07:45
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
Default

If setting the gateway doesn't work for you, you can put the line
Code:
/sbin/route add -net 0.0.0.0 gw 192.168.2.1 eth0
at the end of the start section in your network init script in /etc/init.d.
Then you should have an internet connection even after a reboot.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote