1827879 Members
1406 Online
109969 Solutions
New Discussion

Re: Help with pppd

 
Stefan Saliba
Trusted Contributor

Help with pppd

My problem is this. I have a linux box which I use to connect to an ADSL connection and I also have a ppp dial-in account on the same machine.

So when the ADSL connection is up and a ppp dial-in account user is logged in I have 2 instances of pppd running.

My problem is this. When a dial-up user tries to disconnect he will manage but it will leave the pppd deamon still running and does not re-spawn the mgetty process and hence no user will login again. The interface goes down but pppd stays up. I will need to kill it manually.



Anyone knows why this happens ?
6 REPLIES 6
Paul R. Dittrich
Esteemed Contributor

Re: Help with pppd

I had the impression that the pppd was only for dial-ups and that ADSL used a separate process (pppoe) instead.

Paul
Stefan Saliba
Trusted Contributor

Re: Help with pppd

I am using pptp with an Alcatel Speedtouch and this uses pptp and pppd


Stefan
Liran Cohen
New Member

Re: Help with pppd

Thats the way it should work , I guess it i should be polished ..


look here: http://www.rhapsodyk.net/adsl/HOWTO/#s3.5



TheOg
TheOg
Bill Thorsteinson
Honored Contributor

Re: Help with pppd

I would expect the pppd to stay up if you don't have
the hangup passed by the modem
to the pppd.

You likely want different parameters for the dial-up and
ADLS connections. You can have separarate or adddtional
configuration files by using
the device name as a suffix
for the configuration files.
Check the examples directory.
Stefan Saliba
Trusted Contributor

Re: Help with pppd

Yes but the problem is that when ADSL disconnects it does "killall pppd" and so it kills both it's session and the dial-up session
Bill Thorsteinson
Honored Contributor

Re: Help with pppd

I would expect the pppd to stay up if you don't have
the hangup passed by the modem
to the pppd.

You likely want different parameters for the dial-up and
ADLS connections. You can have separarate or adddtional
configuration files by using
the device name as a suffix
for the configuration files.
Check the examples directory.

If your dail-up user gets the ADSL connection it may retry
on hangup rather than exit
so that mgetty can take the
line back.