🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: demon.tech.unix
Article #43

Re: have to re-boot to connect net !!??

#43
From: Stefan Davids
Date: Mon, 07 Aug 2000 00:00
38 lines
2292 bytes
>>>>> "Geoff" == Geoff Cox <geoff.cox@cableinet.co.uk> wrote:

Geoff> I am using Stefan Davids notes to connect to the Internet using
Geoff> Redhat 6.0 .....  Odd! - I reboot the computer and use "pppd
Geoff> call green" as per his notes and can connect to Demon (ISP) and
Geoff> all works fine...

Geoff> The only way I can disconnect though is by typing ps and
Geoff> getting say 661 tty1 00:00:00:00

killall pppd 

should work, as should 

kill `cat /var/run/ppp0.pid`

Geoff> I then do kill -9 661 and after a few seconds the line drops.

Don't use -9 unless more subtle measures have failed.  SIGKILL is
necessarily terminal so the receiving process can't do any cleaning
up...

Geoff> Whilst on-line ifconfig gives me info for eth0, lo and ppp0

Geoff> If I now re-connect I get a line but cannot get on the Internet and
Geoff> ifconfig shows eth0, lo, ppp0 and ppp1 !!! 

...which pppd needs to do in order for you to reconnect.

Geoff> I have to re-boot in order to connect correctly...!!!

Geoff> Any ideas?

killall pppd or kill `cat /var/run/ppp0.pid` to disconnect.  Give
processes a chance to behave before you SIGKILL them.

Stefan
Technical Details
Message-ID: <m3g0ogpvkm.meow@ory.netscum.org.uk>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <akotos0ikqc71g7l5g62n89pb17f4mgndn@4ax.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111240,5d7080cd9c55ba1d
X-Google-Attributes: gid111240,public
X-Google-Thread: 10f12e,5d7080cd9c55ba1d
X-Google-Attributes: gid10f12e,public
X-Google-Thread: fac57,5d7080cd9c55ba1d
X-Google-Attributes: gidfac57,public
X-Google-Thread: 108f6a,5d7080cd9c55ba1d
X-Google-Attributes: gid108f6a,public
From: Stefan Davids <stefan+usenet@netscum.org.uk>
Subject: Re: have to re-boot to connect net !!??
Date: 2000/08/07
Message-ID: <m3g0ogpvkm.meow@ory.netscum.org.uk>
X-Deja-AN: 655602724
References: <akotos0ikqc71g7l5g62n89pb17f4mgndn@4ax.com>
Mail-Copies-To: never
Content-Type: text/plain; charset=us-ascii
X-Trombone: Creole
X-Complaints-To: Someone who cares
Organization: St. James Infirmary
X-URL: http://www.netscum.org.uk
X-Attribution: SMD
User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.4
Mime-Version: 1.0
Cancel-Lock: sha1:20IN8YVSctPJb1/GRmCy8rLHLgw=
Reply-To: stefan@netscum.org.uk
NNTP-Posting-Date: 7 Aug 2000 22:15:07 GMT
Newsgroups: demon.tech.unix,demon.ip.support.unix,linux.redhat.ppp,linux.redhat.misc