On 10-Apr-2001 [EMAIL PROTECTED] wrote:
> 
> 
> On Tue, 10 Apr 2001, Marco Calistri wrote:
> 
>> Hello all,
>> I upgraded some packages of my Red Hat 6.2 preparing to pass
>> to the kernels 2.4.
>> Actually I'm still using kernel 2.2.18 with these upgraded
>> packages.
>>
>> After I installed new pppd [ppp-2.4.0-2]
>>
>> I get a lot of troubles to stop my connection if something
>> goes bad.
>>
>> I use rp3 to start/stop connection to my ISP,but if link
>> is not yet established and I try to stop it via rp3 command
>>
>> the link is stopped but after 5 seconds,pppd restarts
>> automatically attempting to make the connection again.
>>
>> Instead with the old ppp all the times I stopped
>> my connection with rp3,this never restart automatically.
>>
>> Any hints?
>>
> That sounds like the persist option to pppd - it hass been in previous
> versions of pppd, but it is newish, so maybe your old pppd didn't have
> it.  Take a look in /etc/ppp/options, ~/.ppprc, and the command
> that actually runs pppd, and changed the "persist" you will likely find
> there to "nopersist".  Oh, if it sees the "demand" option, pppd will
> persist even you don't tell it to, unless you tell it not to with
> "nopersist".
> Lawson
> 
> Linux giftie 2.4.3 #1 Fri Apr 6 18:33:18 EDT 2001 i586 unknown

Hello Lawson,many thanks for your instructions.

I never had a ~/.ppprc!

Looking into my /etc/ppp/options,I have not any line about "persist":

#/etc/ppp/options
crtscts
noipdefault
defaultroute
modem

instead I got it into my /etc/sysconfig/network-scripts:

[root@linux network-scripts]# cat ifcfg-ppp0
DEVICE=ppp0
NAME=myprovider
WVDIALSECT=myprovider
MODEMPORT=/dev/ttyS1
LINESPEED=115200
PAPNAME=myusername
USERCTL=true
ONBOOT=no
PERSIST=no
DNS1="hidden"
DNS2="hidden"
DEFROUTE=yes
BOOTPROTO=none
HARDFLOWCTL=yes
DEFABORT=yes
PEERDNS="yes"

I confirm that during the dialing,looking via tail -f /var/log/messages,
I see "dial-on-demand" but I actually don't know how to stop this:

Apr 11 20:11:17 linux kernel: PPP: version 2.3.7 (demand dialling)
Apr 11 20:15:59 linux pppd[872]: pppd 2.4.0 started by root, uid 0
Apr 11 20:16:00 linux WvDial: WvDial: Internet dialer version 1.41 
Apr 11 20:16:00 linux WvDial: Initializing modem. 
Apr 11 20:16:01 linux WvDial: Sending: ATZ 
Apr 11 20:16:01 linux WvDial: ATZ 
Apr 11 20:16:01 linux WvDial: OK 
Apr 11 20:16:01 linux WvDial: Sending: ATQ0 V1 E1 S0=0 &C1 &D2 S11=55 +FCLASS=0
Apr 11 20:16:01 linux WvDial: ATQ0 V1 E1 S0=0 &C1 &D2 S11=55 +FCLASS=0 
Apr 11 20:16:01 linux WvDial: OK 
Apr 11 20:16:01 linux WvDial: Sending: ATQ0 V1 E1 S0=0 &C1 &D2 S11=55 +FCLASS=0
Apr 11 20:16:01 linux WvDial: ATQ0 V1 E1 S0=0 &C1 &D2 S11=55 +FCLASS=0 
Apr 11 20:16:01 linux WvDial: OK 
Apr 11 20:16:01 linux WvDial: Sending: ATM1L1 
Apr 11 20:16:01 linux WvDial: ATM1L1 
Apr 11 20:16:01 linux WvDial: OK 
Apr 11 20:16:01 linux WvDial: Modem initialized. 
Apr 11 20:16:01 linux WvDial: Sending: ATX3DT 000000000 
Apr 11 20:16:01 linux WvDial: Waiting for carrier. 
Apr 11 20:16:01 linux WvDial: ATX3DT 000000000 
Apr 11 20:16:39 linux WvDial: CONNECT 115200 
Apr 11 20:16:39 linux WvDial: Carrier detected.  Starting PPP immediately. 
Apr 11 20:16:39 linux pppd[872]: Serial connection established.
Apr 11 20:16:39 linux pppd[872]: Using interface ppp0
Apr 11 20:16:39 linux pppd[872]: Connect: ppp0 <--> /dev/ttyS1
Apr 11 20:16:41 linux pppd[872]: Remote message: ^@
Apr 11 20:16:41 linux kernel: PPP BSD Compression module registered 
Apr 11 20:16:41 linux kernel: PPP Deflate Compression module registered 
Apr 11 20:16:41 linux pppd[872]: local  IP address 0.0.0.24
Apr 11 20:16:41 linux pppd[872]: remote IP address 0.0.0.54
Apr 11 20:16:41 linux pppd[872]: primary   DNS address 0.0.0.62

TKS!!
-- 
Regards,: Marco Calistri <[EMAIL PROTECTED]>
gpg key available on http://www.qsl.net/ik5bcu
Xfmail 1.4.7p2 on linux RedHat 6.2

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs

Reply via email to