🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: ahn.tech.linux
Article #1027

Re: dial-up on gnome

#1027
From: allan
Date: Sun, 18 Mar 2001 21:06
69 lines
3150 bytes
Kppp is a fine way to fire up your internet connection but if you want a
sure way (shell script) makes life easier when debugging your problems
follow .
from a command promt

all your connection files are located in /etc/ppp
once in there you are going to find a few files missing to create a shell
dialing script
update you locate search database by doing as root (updatedb) wait a few
moments and then do a search for
ppp-on
it should be found at
/usr/local/docs/share/ppp.x.x.x/scripts  or somewhere like the (just a
memory blank at the moment)
ok files you need to copy to etc are
ppp-on, ppp-off, ppp-on-dialer. copy them to /etc/ppp

once done you can start to configure you connection
 i'm hoping you installed pico a part of (pine) text editor

do "pico ppp-on" here you will find your connection settings change the user
passwd etc
and then at the bottom you'll see a script
it will call a dev called /dev/ttyS0 9600 \
ok change that to
/dev/modem 115200     \

and save the file crtl-x :)
now we edit ppp-on-dialer
all we have to do here is to remove the last to lines or strings (whatever
you'd like to call them)

this is so that PAP can auth by itself
 so do

# ogin:--ogin: $ACCOUNT                       \
# assword: $PASSWORD

or just remove those last to lines
and change the timeout from 30 to 60sec's this just gives PAP time to auth
on slower connections.
then save

ok now for the PAP-SECRETS file the format is as follows

(username)     ppp0    (password) with TAB spaces in between

ok save that

the options file is as such

user (TAB) (username)
then save

ok now to create a link to the modem in the /dev directory do the following

ln -s /dev/ttyS0 /dev/modem

or ttyS1
then we test the script with
/etc/ppp/ppp-on

make sure you have set the permissions correctly eg chmod 700 (to all of the
above files) this is to set them to root access only)
now watch you script dial with
tail -f /var/log/messages

i hope this helps a little Good Luck !!
Technical Details
Message-ID: <3ab522c3.80f4c@nancy.pacific.net.au>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!hermes2.visi.com!news-out.visi.com!hermes.visi.com!news-out.visi.com!europa.netcrusader.net!128.230.129.106!news.maxwell.syr.edu!surfnet.nl!news-x2.support.nl!newsfeed.zip.com.au!203.12.97.119.MISMATCH!nostril.pacific.net.au!not-for-mail
References: <98hcor$fb6a$1@news3.infoave.net>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11033e,1bf7a7ad4ede1089
X-Google-Attributes: gid11033e,public
X-Google-ArrivalTime: 2001-03-18 13:12:05 PST
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!hermes2.visi.com!news-out.visi.com!hermes.visi.com!news-out.visi.com!europa.netcrusader.net!128.230.129.106!news.maxwell.syr.edu!surfnet.nl!news-x2.support.nl!newsfeed.zip.com.au!203.12.97.119.MISMATCH!nostril.pacific.net.au!not-for-mail
From: "allan" <allanp@pacific.net.au>
Newsgroups: ahn.tech.linux
References: <98hcor$fb6a$1@news3.infoave.net>
Subject: Re: dial-up on gnome
Lines: 72
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
Organization: Pacific Internet (Australia)
Message-ID: <3ab522c3.80f4c@nancy.pacific.net.au>
Date: Mon, 19 Mar 2001 08:06:26 +1100
NNTP-Posting-Host: 61.8.0.7
X-Complaints-To: news@pacific.net.au
X-Trace: nostril.pacific.net.au 984949231 61.8.0.7 (Mon, 19 Mar 2001 08:00:31 EST)
NNTP-Posting-Date: Mon, 19 Mar 2001 08:00:31 EST