Discussion:
How/why always on-line?
(too old to reply)
A***@gmail.com
2012-07-16 23:26:15 UTC
Permalink
I'm using the same 10yr-old ppp-script as for my dial-up modem
on this wireless-modem [by: ln -s /dev/ttyUSB0 /dev/modem]

And it used to <cut off ppp> when I disconnected the USB to the
wireless-modem; as I wanted.

Something happened [when I had a crash and changes to my old
distro]. Now ppp won't die; nor by `kill -9 <ppp-pid>`.

And pppd won't reconnect without a re-boot.

Apparently pppd wants to be able to REpeatedly go on-line
automatically once it's started.

How can I get the previous/old control, that ppd went off-line
when I disconnected, but was able to go back on-line when
I re-connected and called the script?

== TIA.
Adam Przybyla
2012-07-17 05:40:14 UTC
Permalink
Post by A***@gmail.com
I'm using the same 10yr-old ppp-script as for my dial-up modem
on this wireless-modem [by: ln -s /dev/ttyUSB0 /dev/modem]
And it used to <cut off ppp> when I disconnected the USB to the
wireless-modem; as I wanted.
Something happened [when I had a crash and changes to my old
distro]. Now ppp won't die; nor by `kill -9 <ppp-pid>`.
And pppd won't reconnect without a re-boot.
Apparently pppd wants to be able to REpeatedly go on-line
automatically once it's started.
How can I get the previous/old control, that ppd went off-line
when I disconnected, but was able to go back on-line when
I re-connected and called the script?
... try add "nopersist" to your config. Regards
Adam Przybyla
A***@gmail.com
2012-07-19 12:15:49 UTC
Permalink
Post by A***@gmail.com
I'm using the same 10yr-old ppp-script as for my dial-up modem
on this wireless-modem [by: ln -s /dev/ttyUSB0 /dev/modem]
... ... try add "nopersist" to your config. Regards
Adam Przybyla
Good, thanks: after adding `demand nopersist`
I'm now able to `killall pppd`.
Which previously did NOT kill pppd.
And then I'm now able to pull-out the USB-line.
Which previously gave <kernel errors /problems> on this
knl 2.4*, since my knl 2.6* has crashed.

I don't trust the system/s.
Going on line, is like a rocket-launch or a taxi-journey:
when it's finished, I must disconnect.

== Chris Glur.

Loading...