[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Preventing default route being wrongly attached


robert fernando (<robert.fernando@ntlworld.com>) wrote:
> Andreas Janssen (<andreas.janssen@bigfoot.com>) wrote:
>> robert fernando (<robert.fernando@ntlworld.com>) wrote:
>>>Q1 How do I reconfigure a Debian 3.x system 2.2.20-idepci so that
>>>the default route is not tied to the sl0 / slip device.
>>>eth0 is setup to be connected to a 3c509 ethernert card.
>>>Why do I need to do this.
>>>It appears that having sl0 atached to the default route before
>>>doing a dial up which uses ppp cause ppp to login correctly, but
>>>then fail on sending of packet data / ping data nothing is sent.
>>>Do I need sl0 /slip  support to be active if want to support dial
>>>too my pc and dialout to a isp that supports ppp. If not how do I
>>>prevent slip support from loading.
>> You do not need slip to use ppp. To make sure you don't have
>> problems you can:
>> - remove the slip entry from /etc/network/interfaces or
>> - remove the gateway entry for slip in /etc/network/interfaces or
>> - put a script in /etc/ppp/ip-up.d that sets the default route to
>> the ppp connection (using the route program)
> Which entry do I need to remove from /etc/network/interfaces ?
> my file version looks like this
> # /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
> # The loopback interface
> auto lo
> iface lo inet loopback
> # The first network card - this entry was created during the Debian
> installation
> # (network, broadcast and gateway are optional)
> auto eth0
> iface eth0 inet static
>      address
>      netmask
>      network
>      broadcast

Well, there isn't any entry for slip devices. What do

route -n


best regards
        Andreas Janssen

Andreas Janssen <andreas.janssen@bigfoot.com>
PGP-Key-ID: 0xDC801674
Registered Linux User #267976

Reply to: