[wellylug] Modem Problems...
Jethro Carr
dodocaptain at paradise.net.nz
Wed Feb 11 17:41:03 NZDT 2004
On Wed, 2004-02-11 at 22:14, Sam Cannell wrote:
> Pppd will not replace your current default route. It appears that you
> already have a default gateway set for your network card.
>
Yes. My system sometimes connects through the other.
> To fix this, either:
>
> * add the 'replacedefaultroute' configuration option to /etc/ppp/options
> (see man pppd), or
currently enabled.
>
> * before dialing, run 'route delete -net default' as root, or
>
> * after dialing, run 'route delete -net default', then 'route add -net
> default dev ppp0'
>
I want to be able to run the dialup program as a normal user, and not
worry about logging in or sudoing as root
> 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.
In case this is helpfull, here's a copy of the route output:
Destination Gateway Genmask Flags Metric Ref Use
Iface
This line appears when I dialup:
ras7-a-ltwg-loo * 255.255.255.255 UH 0 0 0
ppp0
This is my network:
192.168.0.0 * 255.255.255.0 U 0 0 0
eth0
This is the line I added to connect to the web:
default 210-246-18-232. 0.0.0.0 UG 0 0 0
This is my other default gateway
default Bob 0.0.0.0 UG 1 0 0
eth0
It appears that ppp is adding a gateway, but giving a bizare name, and
destination.
>
> -----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
--
-- Jethro
dodocaptain at paradise.net.nz
http://homepages.paradise.net.nz/jethroc
http://homepages.paradise.net.nz/jethroc/CV/index.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.wellylug.org.nz/pipermail/wellylug/attachments/20040211/65fec563/attachment.pgp
More information about the wellylug
mailing list