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


Groups > comp.protocols.ppp > #101

Re: `Terminating on signal 2'

From Rodolfo Medina <rodolfo.medina@gmail.com>
Newsgroups comp.protocols.ppp
Subject Re: `Terminating on signal 2'
References <87383ch8xq.fsf@gmail.com> <vg3a8x01uu0.fsf@coffee.modeemi.fi>
Date 2015-05-23 16:48 +0000
Message-ID <87r3q79r4m.fsf@gmail.com> (permalink)
Organization SunSITE.dk - Supporting Open source

Show all headers | View raw


Anssi Saari <as@sci.fi> writes:

> Rodolfo Medina <rodolfo.medina@gmail.com> 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

Back to comp.protocols.ppp | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

`Terminating on signal 2' Rodolfo Medina <rodolfo.medina@gmail.com> - 2015-05-04 11:35 +0000
  Re: `Terminating on signal 2' Anssi Saari <as@sci.fi> - 2015-05-19 17:54 +0300
    Re: `Terminating on signal 2' Rodolfo Medina <rodolfo.medina@gmail.com> - 2015-05-23 16:48 +0000
      Re: `Terminating on signal 2' Eric Pozharski <whynot@pozharski.name> - 2015-05-24 11:22 +0300
        Re: `Terminating on signal 2' Rodolfo Medina <rodolfo.medina@gmail.com> - 2015-05-27 10:52 +0000
          Re: `Terminating on signal 2' Eric Pozharski <whynot@pozharski.name> - 2015-05-29 12:02 +0300
      Re: `Terminating on signal 2' Anssi Saari <as@sci.fi> - 2015-05-28 17:07 +0300

csiph-web