Working on the Pi just from the bash prompt as root, how do I set the
routing table (etc.) to connect directly to the DSL modem? The routing
table on my router currently shows:
# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
77.219.160.1 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 br0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 br0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 77.219.160.1 0.0.0.0 UG 0 0 0 ppp0
Here's the Pi's current routing table:
Destination Gateway Genmask Flags Metric Ref Use
Iface
0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 eth0
10.10.0.0 0.0.0.0 255.255.255.0 U 0 0 0 wlan0
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
To plug the Pi directly into the modem, I think I'm going to need to run
ppp and then run some commands to temporarily set the IP address of the
ethernet port (eth0) and the routing table. I much prefer to do all
this without changing config files so that when I reboot the Pi, the
settings go back to their original. What do I need to 'apt-get' for the
ppp executables?