[wellylug] Modem Problems...
Sam Cannell
sam at plaz.net.nz
Wed Feb 11 09:14:48 NZDT 2004
Pppd will not replace your current default route. It appears that you
already have a default gateway set for your network card.
To fix this, either:
* add the 'replacedefaultroute' configuration option to /etc/ppp/options
(see man pppd), or
* before dialing, run 'route delete -net default' as root, or
* after dialing, run 'route delete -net default', then 'route add -net
default dev ppp0'
If you don't ever use a machine on your local network as a gateway for
your laptop, it might be worth removing the route from that interface.
To do this in Debian, edit /etc/network/interfaces and remove the line
'gateway 192.168.0.1'. Other distributions will differ.
-----Original Message-----
From: wellylug-admin at lists.naos.co.nz
[mailto:wellylug-admin at lists.naos.co.nz] On Behalf Of Jethro Carr
Sent: Wednesday, 11 February 2004 8:03 a.m.
To: WellyLUG Mailing
Subject: [wellylug] Modem Problems...
hi,
I've just got a pcmcia modem. For some reason, when I use wvdial to
dial, it connects, but I can't ping anything except my ppp0 interface.
I found that my system isn't adding a default route into the route
table. When I manually add one, it works fine.
I looked at the output from pppd, and it simple says:
'not replacing existing default route to eth0 [192.168.0.1]'
Any ideas on how to fix this?
--
-- Jethro
dodocaptain at paradise.net.nz
http://homepages.paradise.net.nz/jethroc
http://homepages.paradise.net.nz/jethroc/CV/index.html
More information about the wellylug
mailing list