Re: modem and default gw

2007-05-25 Thread remigio
Are you saying that when not using your modem, you have a route to the internet via the NIC? Why use the modem then. If not, why set a default gateway on the NIC in the first place? The answer for your questions is: because I'm using a notebook and, when I am in my office I can use the lan

Re: modem and default gw

2007-05-25 Thread remigio
For security reasons, pppd does not change the default gateway if you already have a default gateway (at least if you use the noauth option, as far as I know). You need to explicitely allow this using the replacedefaultroute option in /etc/ppp/peers/kppp or /etc/ppp/options. Thank you

Re: modem and default gw

2007-05-25 Thread remigio
On 25 Mag, 02:00, Marko Randjelovic [EMAIL PROTECTED] wrote: remigio wrote: Hi, on my pc I have installed a network pci card and an internal softmodem. Both them work fine but I have a problem with the default gateway. In /etc/network/interfaces is defined a gateway that is used by the

Re: modem and default gw

2007-05-25 Thread remigio
On 25 Mag, 02:00, Marko Randjelovic [EMAIL PROTECTED] wrote: remigio wrote: Hi, on my pc I have installed a network pci card and an internal softmodem. Both them work fine but I have a problem with the default gateway. In /etc/network/interfaces is defined a gateway that is used by the

Re: modem and default gw

2007-05-25 Thread remigio
You need to explicitely allow this using the replacedefaultroute option in /etc/ppp/peers/kppp or /etc/ppp/options. Tried in /etc/ppp/peers/kppp-options. It works fine! Thank you very much! Remigio - visit www.sacraspina.it -- To UNSUBSCRIBE, email to [EMAIL

modem and default gw

2007-05-24 Thread remigio
Hi, on my pc I have installed a network pci card and an internal softmodem. Both them work fine but I have a problem with the default gateway. In /etc/network/interfaces is defined a gateway that is used by the nic, and the command ip route shows this defgw. When I use Kppp and the modem to

Re: modem and default gw

2007-05-24 Thread Douglas Allan Tutty
On Thu, May 24, 2007 at 12:42:10PM -0700, remigio wrote: on my pc I have installed a network pci card and an internal softmodem. Both them work fine but I have a problem with the default gateway. In /etc/network/interfaces is defined a gateway that is used by the nic, and the command ip route

Re: modem and default gw

2007-05-24 Thread Andreas Janssen
remigio ([EMAIL PROTECTED]) wrote: on my pc I have installed a network pci card and an internal softmodem. Both them work fine but I have a problem with the default gateway. In /etc/network/interfaces is defined a gateway that is used by the nic, and the command ip route shows this defgw.

Re: modem and default gw

2007-05-24 Thread Marko Randjelovic
remigio wrote: Hi, on my pc I have installed a network pci card and an internal softmodem. Both them work fine but I have a problem with the default gateway. In /etc/network/interfaces is defined a gateway that is used by the nic, and the command ip route shows this defgw. When I use Kppp