ppp0 not replacing existing default route

April 5, 2009...... at 6:19 pm | Posted in geek | 1 Comment

If your modem is telling you that it is not replacing the default route and as a result your internet only works if you disconnect from the LAN then what you need to do is add the following two lines to the options file:

sudo nano /etc/ppp/options

defaultroute
replacedefaultroute

Ctl-x,Y

This will cause the pppd to send all non lan traffic to the ppp0 interface rather than the eth0 interface.

route -n will list your routes

Advertisements

1 Comment »

RSS feed for comments on this post. TrackBack URI

  1. Thanks! Worked great!


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Blog at WordPress.com.
Entries and comments feeds.

%d bloggers like this: