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> Date: Sat, 23 May 2015 16:48:41 +0000 Message-ID: <87r3q79r4m.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) Cancel-Lock: sha1:y7v4eDM/by739m0mSKFV0Qi++Uk= MIME-Version: 1.0 Content-Type: text/plain Lines: 68 Organization: SunSITE.dk - Supporting Open source NNTP-Posting-Host: 151.34.196.143 X-Trace: news.sunsite.dk DXC=>\:4_4nB>XeE`KPf6Y4mAkYSB=nbEKnkk=6@CdJ2VjdkDJ@`_]lSHg`85LmgVBF4dbLcLQd[U<83h:hoCG[P2e[hMii`HkFdZ3gG1_[6[o[Gin X-Complaints-To: staff@sunsite.dk Xref: csiph.com comp.protocols.ppp:101 Anssi Saari writes: > Rodolfo Medina writes: > >> During ppp connection, very often it happens that it sticks, i.e. it's still >> open but it's not possibile navigate, browser can't open pages. Then I do >> `C-c' from command line and the connection stops showing the above message. > > Well, that's what C-c does, it sends signal number 2 aka INT aka > interrupt to the pppd process which then dutifully quits. Exactly as > documented too. > > If reconnecting helps then you could add the persist option for ppp and > send SIGHUP to it (guessing Linux, that'd be killall -HUP pppd) which > will cause pppd to restart the connection. For ppp configuration, I have two files, that I called both `motorola': one in /etc/ppp/peers: hide-password noauth connect "/usr/sbin/chat -v -s -f /etc/chatscripts/motorola" debug -crtscts /dev/ttyUSB0 460800 defaultroute noipdefault remotename motorola ipparam motorola nodetach , and another in /etc/chatscripts: ABORT BUSY ABORT 'NO CARRIER' ABORT VOICE ABORT 'NO DIALTONE' ABORT 'NO DIAL TONE' ABORT 'NO ANSWER' ABORT DELAYED '' ATZ OK-AT-OK AT+CGDCONT=1,"IP","internet.wind" OK-AT-OK AT+CGQREQ=1,2,4,3,6,31 OK-AT-OK AT+CGQMIN=1,2,4,3,6,31 OK-AT-OK AT+CGATT=1 OK-AT-OK ATD*99# CONNECT '' . Moreover, in /etc, I have resolv.conf: nameserver 193.70.152.25 nameserver 193.70.192.25 . According to what you suggest, how should I edit those files? > Your modem is presumably cellular so that sticking issue may be due to > the modem itself or the cellular network. For example, the network might > prioritize voice calls. Not much you can do from your end in other > words except reconnect. . But I use the sim card that's inside the device only to naviate in internet, not also for voice calls. Thanks indeed, Rodolfo