Help on ppp connections( I have read the How-to's please help!!)

Help on ppp connections( I have read the How-to's please help!!)

Post by Mindsprin » Tue, 10 Aug 1999 04:00:00



Hey I would really appreciate some help debugging my ppp connection...  When
I start minicom I type ATDT###-#### the first time I tried this it logged me
in and asked for a username and password,  after supplying those it said ppp
packet enabled and it froze up.... I had to kill minicom and when I tried it
again it said my modem was locked... I have read all the ppp-howtos I could
get my hands on and I would really appreciate it if someone would help me
out with this...I must be a dumbass or something because I have been trying
to make this work for a week or so... And I don't have a winmodem either...
I checked and double check that....

Thanks for any and all help ahead of time.......

Stonethrower

 
 
 

Help on ppp connections( I have read the How-to's please help!!)

Post by Chan Chung Hang Christophe » Wed, 11 Aug 1999 04:00:00



> Hey I would really appreciate some help debugging my ppp connection...  When
> I start minicom I type ATDT###-#### the first time I tried this it logged me
> in and asked for a username and password,  after supplying those it said ppp
> packet enabled and it froze up.... I had to kill minicom and when I tried it
> again it said my modem was locked... I have read all the ppp-howtos I could
> get my hands on and I would really appreciate it if someone would help me
> out with this...I must be a dumbass or something because I have been trying
> to make this work for a week or so... And I don't have a winmodem either...
> I checked and double check that....

> Thanks for any and all help ahead of time.......

> Stonethrower

mind telling us what distribution you are using?

 
 
 

Help on ppp connections( I have read the How-to's please help!!)

Post by Mindsprin » Wed, 11 Aug 1999 04:00:00


RedHat 6.0 sorry
 
 
 

Help on ppp connections( I have read the How-to's please help!!)

Post by Henrik Carlqvis » Wed, 11 Aug 1999 04:00:00



> I start minicom I type ATDT###-#### the first time I tried this it
> logged me in and asked for a username and password,  after supplying
> those it said ppp packet enabled and it froze up.... I had to kill
> minicom

Couldn't you do ctrl-a z x ?

Quote:> and when I tried it again it said my modem was locked...

As you killed minicom it wasn't able to remove it's lock-file (stupid
solution with a lock file when the OS has support for flock). You will
probably be able to remove the lockfile yourself with

rm /var/lock/LCK..modem

Quote:> I have read all the ppp-howtos I could get my hands on and I would
> really appreciate it if someone would help me

minicom is not used to get a ppp connection but might be useful to find
out how to make your chat script. Remember what you had to type and at
which prompts and enter these to your chatscript.

Your distribution might also have som script to make setting up ppp
easier. In slackware this script is called ppp-setup.

regards Henrik
--
spammer strikeback:


 
 
 

Help on ppp connections( I have read the How-to's please help!!)

Post by lostin_sp.. » Thu, 12 Aug 1999 04:00:00




Quote:> Hey I would really appreciate some help debugging my ppp connection...

Minicom is not what you use to establish a ppp connection. It is a
simple modem program suitable for calling bulletin boards.
Here is a set of shell scripts I use to automate making a ppp connection
to a dial up account with an internet service provider. Create the
following four files using your editor of choice:

1. /etc/resolv.conf:

nameserver xxx.xxx.xxx.xxx
nameserver xxx.xxx.xxx.xxx
search localhost

In the above file, replace the two lines "xxx.xxx.xxx.xxx" with the
domain name server addresses which you can obtain from your internet
service provider. Also, if you already are able to dial up your internet
service provider from windows 95/98, this information is buried
somewhere in one of the menus/submenus under "dial-up networking".

2. /bin/pppon:

/usr/sbin/pppd connect \
'usr/sbin/chat -t 45 -v ABORT BUSY "" ATDTzzzzzzz CONNECT "" Username:
xxxxxxxx Password:  yyyyyyyy' \
/dev/ttyS1 115200 noipdefault modem defaultroute crtscts

In the above file, replace zzzzzzzz with the phone number you use to
call your internet service provider. Replace xxxxxxxx with your
username. Replace yyyyyyyy with your password. Also, you may need to
replace the words "Username:" and "Password:" with whatever your
internet service provider prompts you with when you call in  using
minicom. The chat program looks for a prompt from the internet service
provider and when it sees it, it sends the appropriate text in response.
So you also need to make sure to enter a colon if that is part of the
prompt, and a space after the colon if that is also part of the prompt.
Usually "Password:" is always "Password:", but "Username:" could be
something like "User:", "Accountid:", etc. So call up your provider
using minicom and carefully note what it prompts you for, and
substitute  the appropriate wording into the above file, as needed.Also,
where it says ttyS1, you may need to change the 1 to 0, 2, or 3
depending on which serial port your modem uses. ttyS1 is the same port
as COM2 in windows.

3. /bin/pppof:

#!/bin/sh
kill `ps -A | grep pppd | grep -v grep | cut -b 1-6`

4. /bin/www:

pppon
/usr/bin/netscape-communicator
pppof

Make sure your current directory is /bin/, and make files 2, 3, and 4
executable as follows:

chmod u+x pppon
chmod u+x pppof
chmod u+x www

To connect to your service provider, open a terminal window from
whatever desktop environment you are using, and run www by typing in
"www". This will start pppd, generate the call to your service provider,
log in after you connect, and start Netscape. When you exit Netscape,
you will be automatically disconnected.
If you are using Gnome or KDE, you can make a new launcher on your
desktop, assign the Netscape logo for an icon, and use www for the
command. This way, all you need to do is click the icon to connect and
log on.
   The pppon script will not work as written if your service provider is
ATT Worldnet, since they use CHAP.

Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.

 
 
 

Help on ppp connections( I have read the How-to's please help!!)

Post by Mister Homicid » Sat, 14 Aug 1999 04:00:00


I'm also a Linux newbie who's read the how-tos and faqs, but can't
figure out a PPP problem.

Redhat 6.0, USR Sportster v.90 on ttyS2.

I can get the modem to dial inside Linuxconf's PPP area, but cannot
get the scripts from ppp-2.3.7 or the scripts below to dial. I have
pppd and chat in /usr/sbin, and both sets of scripts are executable by
all users.

Kppp will also dial out on ttyS2, so I dunno what's going on here.

Any pointers will be graciously accepted...




>> Hey I would really appreciate some help debugging my ppp connection...

>Minicom is not what you use to establish a ppp connection. It is a
>simple modem program suitable for calling bulletin boards.
>Here is a set of shell scripts I use to automate making a ppp connection
>to a dial up account with an internet service provider. Create the
>following four files using your editor of choice:

>1. /etc/resolv.conf:

>nameserver xxx.xxx.xxx.xxx
>nameserver xxx.xxx.xxx.xxx
>search localhost

>In the above file, replace the two lines "xxx.xxx.xxx.xxx" with the
>domain name server addresses which you can obtain from your internet
>service provider. Also, if you already are able to dial up your internet
>service provider from windows 95/98, this information is buried
>somewhere in one of the menus/submenus under "dial-up networking".

>2. /bin/pppon:

>/usr/sbin/pppd connect \
>'usr/sbin/chat -t 45 -v ABORT BUSY "" ATDTzzzzzzz CONNECT "" Username:
>xxxxxxxx Password:  yyyyyyyy' \
>/dev/ttyS1 115200 noipdefault modem defaultroute crtscts

>In the above file, replace zzzzzzzz with the phone number you use to
>call your internet service provider. Replace xxxxxxxx with your
>username. Replace yyyyyyyy with your password. Also, you may need to
>replace the words "Username:" and "Password:" with whatever your
>internet service provider prompts you with when you call in  using
>minicom. The chat program looks for a prompt from the internet service
>provider and when it sees it, it sends the appropriate text in response.
>So you also need to make sure to enter a colon if that is part of the
>prompt, and a space after the colon if that is also part of the prompt.
>Usually "Password:" is always "Password:", but "Username:" could be
>something like "User:", "Accountid:", etc. So call up your provider
>using minicom and carefully note what it prompts you for, and
>substitute  the appropriate wording into the above file, as needed.Also,
>where it says ttyS1, you may need to change the 1 to 0, 2, or 3
>depending on which serial port your modem uses. ttyS1 is the same port
>as COM2 in windows.

>3. /bin/pppof:

>#!/bin/sh
>kill `ps -A | grep pppd | grep -v grep | cut -b 1-6`

>4. /bin/www:

>pppon
>/usr/bin/netscape-communicator
>pppof

>Make sure your current directory is /bin/, and make files 2, 3, and 4
>executable as follows:

>chmod u+x pppon
>chmod u+x pppof
>chmod u+x www

>To connect to your service provider, open a terminal window from
>whatever desktop environment you are using, and run www by typing in
>"www". This will start pppd, generate the call to your service provider,
>log in after you connect, and start Netscape. When you exit Netscape,
>you will be automatically disconnected.
>If you are using Gnome or KDE, you can make a new launcher on your
>desktop, assign the Netscape logo for an icon, and use www for the
>command. This way, all you need to do is click the icon to connect and
>log on.
>   The pppon script will not work as written if your service provider is
>ATT Worldnet, since they use CHAP.

>Sent via Deja.com http://www.deja.com/
>Share what you know. Learn what you don't.

 
 
 

Help on ppp connections( I have read the How-to's please help!!)

Post by Peter T. Breu » Sat, 28 Aug 1999 04:00:00


: Minicom is not what you use to establish a ppp connection. It is a
: simple modem program suitable for calling bulletin boards.

Hey! Such slander! *I* use it to establish ppp. My modem is so flakey
that I use minicom to dial in at 1200baud and set up a callback, which
I take with minicom after switching to 38.4Kbaud. It's easy to script
"/usr/sbin/pppd" in minicom!

Peter

 
 
 

1. Help with ppp....I've read all the How-to's .....

Hey I would really appreciate some help debugging my ppp connection...  When
I start minicom I type ATDT###-#### the first time I tried this it logged me
in and asked for a username and password,  after supplying those it said ppp
packet enabled and it froze up.... I had to kill minicom and when I tried it
again it said my modem was locked... I have read all the ppp-howtos I could
get my hands on and I would really appreciate it if someone would help me
out with this...I must be a dumbass or something because I have been trying
to make this work for a week or so... And I don't have a winmodem either...
I checked and double check that....

Thanks for any and all help ahead of time.......

Stonethrower

2. KDE only works correct under root-login.

3. PPP - Please no ppp how-to's

4. RH5.1 install - cannot detect harddrive

5. I can't keep a PPP connection, please help!!!!

6. assus PCI/I-P55TP4XE - linux - 70ns non-edo ram

7. Still having PPP ,isp connect problems, please help me !!

8. 96 MB memory != 64 MB

9. I'm having problem with minicom.Please help me.

10. 'serial line is looped back' causes ppp connection to drop - help...

11. HELP: 'LCP: timeout' during ppp connection

12. please help - 'Read Timeout' on R4 install

13. Please: I can't automate my dialup-connection, PPP doesn't start