Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.networking > #1511 > unrolled thread

How/why always on-line?

Started byAvoid9Pdf@gmail.com
First post2012-07-16 23:26 +0000
Last post2012-07-19 12:15 +0000
Articles 3 — 2 participants

Back to article view | Back to comp.os.linux.networking


Contents

  How/why always on-line? Avoid9Pdf@gmail.com - 2012-07-16 23:26 +0000
    Re: How/why always on-line? Adam Przybyla <adam@rybnik.pl> - 2012-07-17 05:40 +0000
      Re: How/why always on-line? Avoid9Pdf@gmail.com - 2012-07-19 12:15 +0000

#1511 — How/why always on-line?

FromAvoid9Pdf@gmail.com
Date2012-07-16 23:26 +0000
SubjectHow/why always on-line?
Message-ID<ju27uc$fh7$1@dont-email.me>
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.

[toc] | [next] | [standalone]


#1512

FromAdam Przybyla <adam@rybnik.pl>
Date2012-07-17 05:40 +0000
Message-ID<ju2tru$j6h$1@polsl.pl>
In reply to#1511
In comp.protocols.ppp Avoid9Pdf@gmail.com wrote:
> 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

[toc] | [prev] | [next] | [standalone]


#1524

FromAvoid9Pdf@gmail.com
Date2012-07-19 12:15 +0000
Message-ID<ju8tpe$9ok$1@dont-email.me>
In reply to#1512
In article <ju2tru$j6h$1@polsl.pl>, Adam Przybyla <adam@rybnik.pl> wrote: 

> In comp.protocols.ppp Avoid9Pdf@gmail.com wrote:
> > 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.

[toc] | [prev] | [standalone]


Back to top | Article view | comp.os.linux.networking


csiph-web