[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: pppconfig



    Hello Hammack,

It's pretty easy to see problems here. Looking at your script, I see 
"> OK-AT-OK ATDTreplace_with_number3750771', this is not a good
thing :) When you use pppconfig, you have to BACKSPACE out the 
text that is there and enter your local information that your ISP gave
you - like the correct telephone number, your username and your
user password. Oviously, don't send in your password to the list, just
replace it with 'xxxx' and we will understand.

I have used and loved pppconfig, but I know it has a problem and will
leave wrong password in other files - and will screw up the dialup. So, 
to make sure it doesn't happen here is what I do.

1. make a dialup called 'provider'. provider is default on debian systems.
2. If I already have a provider script, I manually delete the old ones:
   b> save a backup copy of /etc/ppp/pap-secrets to /etc/ppp/pap-secrets.bak
   a> remove any reference of provider at the bottom of 
       /etc/ppp/pap-secrets file as root using an editor (like vi) .
   c> delete file /etc/ppp/peers/provider
   d> delete file /etc/chatscripts/provider
3. go back to step 1 :)

Become root - 'su -'
Now to test it, I use two consoles (xterms), in one, I type "plog -f" and in
the other, I type 'pon' to start the link. then I go back to plog and watch
as it attempts to log in to the ISP. If it has problems, this is a good place
to find what problems and correct them.  Notice that I didn't type
'pon provider', since provider is default.  You can make more accounts
for other ISP's, just give them a unique name for each one when using
pppconfig.

I would just leave your symlink to /dev/modem. On my system, I just specify
the port (dev/ttyS3) manually instead of using the autodetect that pppconfig
offers now.

Common problems is flaky performance. The fix seems to be to drop the
speed from 115200 to 56000, and I don't know why and never had to 
change mine from 115200 on any of my systems, but others have had
to.

If you entered the right info and your ISP servers work, you should now
have a usable link to the internet via your dial up modem.

pppconfig offers advanced stuff too. read up on it. I really like the
demand dialing. Very handy. Don't worry about this until you get a
working dialup though:)

IHTH
Regards


On Tuesday 27 February 2001 08:20, hammack wrote:
> I still have a problem establishing a connection to my ISP.  I would like
> to establish email and connect my Netscape/StarOffice to the net.  I have
> run pppconfig and ran "pon ridgenet" but nothing happens.  I noted that I
> didn't have a "/dev/modem" so I created the following:  ln -sf  /dev/ttyS2
> /dev/modem.  Was I correct in creating the link?  My desire is to call up
> Netscape and or StarOffice and send/receive email and browse the web.  Is
> this the route to firing up my Netscape/StarOffice and send and receive
> email and use either for a web browser??  thanks John_Hammack@ridgenet.net
>
>  The following are a few of the selection in the pppconfig setup.
>             Speed     115200               Port speed
>             Com       /dev/ttyS2           Modem com port
>             Method    PAP                  Authentication method
> The ISP claims PAP is the proper method, and I have tried the other
> schemes.
>
> Script from :  /etc/chatscripts/providerridgenet
>
> # This chatfile was generated by pppconfig 2.0.5.
> # Please do not delete any of the comments.  Pppconfig needs them.
> #
> # ispauth PAP
> # abortstring
> ABORT BUSY ABORT 'NO CARRIER' ABORT VOICE ABORT 'NO DIALTONE' ABORT 'NO
> DIAL TONE' ABORT 'NO ANSWER' # modeminit
> '' ATZ
> # ispnumber
> OK-AT-OK ATDTreplace_with_number3750771
> # ispconnect
> CONNECT \d\c
> # prelogin
> # ispname
> # isppassword
> # postlogin
> # end of pppconfig stuff
>
>
> Script from:  /etc/ppp/peers/providerridgenet
>
> # This optionfile was generated by pppconfig 2.0.5.
> #
> #
> hide-password
> noauth
> connect "/usr/sbin/chat -v -f /etc/chatscripts/providerridgenet"
> debug
> /dev/ttyS2
> 115200
> defaultroute
> noipdefault
> user replace_with_your_login_namehammack
>
> ipparam providerridgenet
> remotename providerridgenet

----------------------------------------
Content-Type: text/html; charset="iso-8859-1"; name="Attachment: 1"
Content-Transfer-Encoding: quoted-printable
Content-Description: 
----------------------------------------

-- 

Jaye Inabnit, ARS ke6sls     e-mail: ke6sls@arrl.net
707-442-6579 h/m                     707-268-4074
http://www.qsl.net/ke6sls            ICQ# 12741145
This mail composed with kmail on kde on X on linux warped by debian
If it's stupid, but works, it ain't stupid.




Reply to: