Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail From: Rodolfo Medina Newsgroups: comp.protocols.ppp Subject: Re: `Terminating on signal 2' References: <87383ch8xq.fsf@gmail.com> <87r3q79r4m.fsf@gmail.com> Date: Wed, 27 May 2015 10:52:13 +0000 Message-ID: <87iobe5m3m.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) Cancel-Lock: sha1:ELiOGtIaSB+G2/huRy9u2+8lguU= MIME-Version: 1.0 Content-Type: text/plain Lines: 43 Organization: SunSITE.dk - Supporting Open source NNTP-Posting-Host: 151.46.65.82 X-Trace: news.sunsite.dk DXC=W\8iI[LTaH=\:k25BLkF8;YSB=nbEKnk;=@ADJ@`_]lSHg085LmgVBF4d2LcLQd[U<8380F@A_b:[X36U\?Cn37 writes: > with <87r3q79r4m.fsf@gmail.com> Rodolfo Medina wrote: >> Anssi Saari writes: >>> Rodolfo Medina writes: > > *SKIP* > >> . According to what you suggest, how should I edit those files? > > Let me get it straight. You start connection with pon(1), but it > (pon(1)) never terminates because of 'nodetach' in peers. Then pppd(8) > and pon(1) together keep your spare terminal forever. If my > understanding is correct then you have two options: > > AFAIR (I'm not doing pon(1) for years now) that's not the way to use > pon(1). Drop 'nodetach' from peers, start connection with pon(1), then > terminate it with poff(1). You can give it (poff(1)) a try right away > -- just do it from other spare terminal. Also, you most probably should > drop '-s' option of chat(8) from 'connect' line. syslog(7) is fine too. > > Other way is to drop pon(1) and use pppd(8) directly. That's obvious, > you must do it as root then. > > As a suboption of second option you can switch to ifup(8)/ifdown(8). > And, if you can afford it (I'm UMTS myself, I know what I'm talking > about) you can configure pppd(8) to be permanently ready however > disconnected from interwebs. Then whenever you need them you just > attempt to use them, then pppd(8) will obey (after some minimal time, > it's unavoidable) (sometimes that "minimal time" may take couple of > hours). > > However, if I misinterpreted contents of your first message, then please > explain what you're doing. Thanks. As you suggest, I dropped `nodetach' and `-s' option from peers, but the problem persists: the internet browser sticks and can't open pages. Then I have to `poff' and then `pon' again. This every five, ten minutes. Cheers, Rodolfo