🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.linux.networking
Article #343

ip-up script not working

#343
From: Tony Langdon
Date: Sun, 05 May 1996 00:00
30 lines
1685 bytes
It's 04 May 96  02:15,
We'll return to ic@deakin.edu.au and All's
discussion of ip-up script not working

 ic> I set my routes up with the default route always pointing at ppp0 and
 ic> the local network addresses pointing at eth0.

I just let pppd define the default route dynamically, by using the
'defaultroute' option.  When the link's down, attempting to access any
address outside the Ethernet results in "network unreachable", and the
process aborts quickly and cleanly. :-)

No need to run route either.  pppd will look after it all. :-)

 ic> I figure anything outside my home network will fail when ppp0 is down
 ic> anyway.

It will, but having the default route entry removed when the link goes
down is a bit cleaner. :-)


... So I'm offtopic, what ya gonna do abou@#$^ NO CARRIER
--
| Fidonet:  Tony Langdon 3:632/367.2
| Internet: tlang@freeway.DIALix.oz.au
|
| Freeway Internet Gateway, Melbourne, Australia.  For information about
| our services and conditions of use, e-mail:
| info@freeway.DIALix.oz.au, to receive a copy of the FAQ.
Technical Details
Message-ID: <297_9605051110@freeway.DIALix.oz.au>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <4lg05j$vn8@gidora.kralizec.net.au> <ic.32.000F4312@deakin.edu.au>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10669a,9b64798996fc2445
X-Google-Attributes: gid10669a,public
X-Google-Thread: 102983,9b64798996fc2445
X-Google-Attributes: gid102983,public
From: tlang@freeway.DIALix.oz.au (Tony Langdon)
Subject: ip-up script not working
Date: 1996/05/05
Message-ID: <297_9605051110@freeway.DIALix.oz.au>
X-Deja-AN: 153049178
references: <4lg05j$vn8@gidora.kralizec.net.au> <ic.32.000F4312@deakin.edu.au>
organization: Fidonet: Freeway Usenet <=> FTN gateway 
newsgroups: comp.os.linux.networking,aus.computers.linux
x-ftn-to: ic@deakin.edu.au