I am running raspbian and I can access anything on my lan through ethO but cannot ping an internet address. route -n says the following:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
then I run sudo /sbin/route add -net 0.0.0.0 gw 192.168.1.1 eth0 followed by route -n and get
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
And everything works. So, how do I make this permanent so I don't have to run the route command everytime I boot the PI?