[NTLUG:Discuss] PPP and LAN
MadHat
madhat at unspecific.com
Fri Nov 3 11:01:00 CST 2000
Bug Hunter wrote:
>
> AFAIK, this is due to a default route in your routing table. If your
> script simply deletes the default route before bringing up ppp, and then
> resets the default route after taking ppp down, everthing should work just
> fine.
>
Right, figured that out a little later. seems to me that pppd should be
able to overwrite the default route once connected... oh well.
> On Thu, 2 Nov 2000, 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.
> >
> > Thanks
--
MadHat at unspecific.com
"The 3 great virtues of a programmer:
Laziness, Impatience, and Hubris."
--Larry Wall
More information about the Discuss
mailing list