[NTLUG:Discuss] PPP and LAN
MadHat
madhat at unspecific.com
Thu Nov 2 13:16:37 CST 2000
"James L. Skidmore" wrote:
>
> Why not just have your script do a ifconfig down for your lan when PPP
> starts and ifconfig up when PPP goes down?
>
That is what it does now. It is just a pain in the .... to debug and
work on, since I can't check the outcome until the script re-enables
eth0, and if the script dies, I have to go to the machine, which sucks
if I am at home, because that means a 30min drive there and 30min back,
assuming no traffic.
> --
> ============================================================
> James L. Skidmore james at linux-guy.com
> http://linux-guy.com helpline: metro 817-516-7170
> Linux - Consulting - Training - Security - Networks
> ============================================================
>
> MadHat wrote:
> >
> > I know there is an easy answer here, but I can't find it....
> > I have a box on a lan, and I want to get that box to dial out to connect
> > to an ISP and get some data. But to get it to dial out I have to shut
> > off the LAN first. This is very anoying if I am not sitting in front of
> > that machine and want to test the scipts I am using. 2.2.x kernel,
> > using pppd and chat in a script to connect (not ppp-up or kppp or
> > anything like that).
> >
> > Everything appears to work fine, except the connection will die unless
> > the LAN is taken down first (no error messages any the logs). I am
> > looking through the HOWTOs and searching, but do not see an answer,
> > though I now it is out there.
--
MadHat at unspecific.com
"The 3 great virtues of a programmer:
Laziness, Impatience, and Hubris."
--Larry Wall
More information about the Discuss
mailing list