PPP-Setup util & SuSE distro.

PPP-Setup util & SuSE distro.

Post by John Misl » Thu, 11 Dec 1997 04:00:00



Confused is an understatement in my situation here trying to get a PPP
connection that sets up in 15 minutes in win95 by supplying the DNS
Primary + mail + news #s .
This is for a single user, me !
My ISP asks for :

Login  (my username)
Password  (my password)
Command (ppp)
just to show that it is not Chap or pap .

trouble is that I was frustated by failers to get PPP working , so
after reading this newsgroup , I decided to try the PPPSetup program
that is often recomended .

Everything worked as expected , but scripts still fail .

here is a readout from debug err messages :

Dec  6 02:37:26 Basslake pppd[1045]: pppd 2.2.0 started by root, uid 0
Dec  6 02:37:27 Basslake chat[1047]: timeout set to 10 seconds
Dec  6 02:37:27 Basslake chat[1047]: abort on (ERROR)
Dec  6 02:37:27 Basslake chat[1047]: abort on (BUSY)
Dec  6 02:37:27 Basslake chat[1047]: abort on (NO CARRIER)
Dec  6 02:37:27 Basslake chat[1047]: abort on (NO DIALTONE)
Dec  6 02:37:27 Basslake chat[1047]: report (CARRIER)
Dec  6 02:37:27 Basslake chat[1047]: report (CONNECT)
Dec  6 02:37:27 Basslake chat[1047]: send (AT&F1^M)   ? may be bad in$
Dec  6 02:37:28 Basslake chat[1047]: expect (OK)              
Dec  6 02:37:38 Basslake chat[1047]: alarm      ????What alarm
Dec  6 02:37:38 Basslake pppd[1045]: Connect script failed    ?Bummer?
Dec  6 02:37:38 Basslake pppd[1045]: Exit.     ??Back to win95 :<(
Dec  6 02:37:38 Basslake chat[1047]: Failed    ?? HELP !!!!
<><><><><><><><><><><><><><><><><><>
minicom has no problem with dialing out using /dev/modem
ttyS2  (com 3) irq 5

In the debug errmsg you see lines
AT&F1^M
expect (OK)
 alarm
Connect script failed

I used the basic initialization string that the US Robotics manual
suggested .

There is no connect noise from the modem (seems that scripts fail to
contact the modem )

May be it is because of the initialization string ?

Also my SuSE distrobution of Linux seems to have had some critical
files in different directories than the PPP Faq , PPP HOW-TO docs have
as standard .

one of which is the  'dialogue' file that PPPSetup says is a necessary
file to have for things to work right .

I found it in /usr/sbin , instead of /sbin  so I just made a symbolic
link to where PPPSetup expects it to be - hope that was OK to do.

Seems to me that setting this up should be a little more 'people
freindly' than it is ,causing things to keep mounting to a mass of
confusion , especially to users NEW to Linux like myself. Aside from
my less than perfect health , (emphysema) ,
I am still a determined person , but not a *.

Still I really like Linux but definately need a little help
any help will be reflected back as I gain experience
with Linux .
thanks for any help
JohnWM .

 
 
 

PPP-Setup util & SuSE distro.

Post by Kent Robott » Fri, 12 Dec 1997 04:00:00



> Confused is an understatement in my situation here trying to get a PPP
> connection that sets up in 15 minutes in win95 by supplying the DNS
> Primary + mail + news #s .
> This is for a single user, me !
> My ISP asks for :
> Login  (my username)
> Password  (my password)
> Command (ppp)
> just to show that it is not Chap or pap .
> trouble is that I was frustated by failers to get PPP working , so
> after reading this newsgroup , I decided to try the PPPSetup program
> that is often recomended .
> Everything worked as expected , but scripts still fail .
> here is a readout from debug err messages :

> Dec  6 02:37:26 Basslake pppd[1045]: pppd 2.2.0 started by root, uid 0
> Dec  6 02:37:27 Basslake chat[1047]: timeout set to 10 seconds
> Dec  6 02:37:27 Basslake chat[1047]: abort on (ERROR)
> Dec  6 02:37:27 Basslake chat[1047]: abort on (BUSY)
> Dec  6 02:37:27 Basslake chat[1047]: abort on (NO CARRIER)
> Dec  6 02:37:27 Basslake chat[1047]: abort on (NO DIALTONE)
> Dec  6 02:37:27 Basslake chat[1047]: report (CARRIER)
> Dec  6 02:37:27 Basslake chat[1047]: report (CONNECT)
> Dec  6 02:37:27 Basslake chat[1047]: send (AT&F1^M)   ? may be bad in$
> Dec  6 02:37:28 Basslake chat[1047]: expect (OK)              
> Dec  6 02:37:38 Basslake chat[1047]: alarm      ????What alarm
> Dec  6 02:37:38 Basslake pppd[1045]: Connect script failed    ?Bummer?
> Dec  6 02:37:38 Basslake pppd[1045]: Exit.     ??Back to win95 :<(
> Dec  6 02:37:38 Basslake chat[1047]: Failed    ?? HELP !!!!
> <><><><><><><><><><><><><><><><><><>
> minicom has no problem with dialing out using /dev/modem
> ttyS2  (com 3) irq 5

Pppsetup makes /dev/modem a link to /dev/cua?, do you have
cua? devices in /dev.

Put /dev/modem in the /etc/ppp/options file.

Make sure /dev/modem is a link to the actual device i.e. ttyS2 or cua2.

~# ln -sf /dev/ttyS2 /dev/modem

Maybe the problem is the modem init string, try "AT\&F1".

- Show quoted text -

Quote:> In the debug errmsg you see lines
> AT&F1^M
> expect (OK)
>  alarm
> Connect script failed
> I used the basic initialization string that the US Robotics manual
> suggested .
> There is no connect noise from the modem (seems that scripts fail to
> contact the modem )
> May be it is because of the initialization string ?
> Also my SuSE distrobution of Linux seems to have had some critical
> files in different directories than the PPP Faq , PPP HOW-TO docs have
> as standard .
> one of which is the  'dialogue' file that PPPSetup says is a necessary
> file to have for things to work right .
> I found it in /usr/sbin , instead of /sbin  so I just made a symbolic
> link to where PPPSetup expects it to be - hope that was OK to do.

It doesn't matter where the 'dialog' program is as long as it's
in your path.

Quote:> Seems to me that setting this up should be a little more 'people
> freindly' than it is ,causing things to keep mounting to a mass of
> confusion , especially to users NEW to Linux like myself. Aside from
> my less than perfect health , (emphysema) ,
> I am still a determined person , but not a *.

> Still I really like Linux but definately need a little help
> any help will be reflected back as I gain experience
> with Linux .
> thanks for any help
> JohnWM .

--
ftp://wauug.erols.com/pub/people/kent-robotti/doslinux/index.html
ftp://wauug.erols.com/pub/people/kent-robotti

PPPsetup is a bash shell script for creating a chat script
to make a ppp connection.

pppsetup-1.66.tar.gz

 
 
 

PPP-Setup util & SuSE distro.

Post by John Misl » Fri, 12 Dec 1997 04:00:00



Some annotations to preveous post follow  :


>> Confused is an understatement in my situation here trying to get a PPP
>> connection that sets up in 15 minutes in win95 by supplying the DNS
>> Primary + mail + news #s .
>> This is for a single user, me !
>> My ISP asks for :

>> Login  (my username)
>> Password  (my password)
>> Command (ppp)
>> just to show that it is not Chap or pap .

>> trouble is that I was frustated by failers to get PPP working , so
>> after reading this newsgroup , I decided to try the PPPSetup program
>> that is often recomended .

>> Everything worked as expected , but scripts still fail .

>> here is a readout from debug err messages :

>> Dec  6 02:37:26 Basslake pppd[1045]: pppd 2.2.0 started by root, uid 0
>> Dec  6 02:37:27 Basslake chat[1047]: timeout set to 10 seconds                    ### I tryed increasing this to 30     Dec. 10 , 22.00  JWM
>> Dec  6 02:37:27 Basslake chat[1047]: abort on (ERROR)
>> Dec  6 02:37:27 Basslake chat[1047]: abort on (BUSY)
>> Dec  6 02:37:27 Basslake chat[1047]: abort on (NO CARRIER)               ### I think this script is fine , there is just something keeping the modem from starting
>> Dec  6 02:37:27 Basslake chat[1047]: abort on (NO DIALTONE)
>> Dec  6 02:37:27 Basslake chat[1047]: report (CARRIER)
>> Dec  6 02:37:27 Basslake chat[1047]: report (CONNECT)
>> Dec  6 02:37:27 Basslake chat[1047]: send (AT&F1^M)   ? may be bad in$      ### I also tryed using the default in. $ from the pppsetup program there was no
>> Dec  6 02:37:28 Basslake chat[1047]: expect (OK)                                           ### difference in the debug readout - and script still failed !  Dec. 10 22.00 JWM
>> Dec  6 02:37:38 Basslake chat[1047]: alarm      ????What alarm
>> Dec  6 02:37:38 Basslake pppd[1045]: Connect script failed    ?Bummer?
>> Dec  6 02:37:38 Basslake pppd[1045]: Exit.     ??Back to win95 :<(
>> Dec  6 02:37:38 Basslake chat[1047]: Failed    ?? HELP !!!!
>> <><><><><><><><><><><><><><><><><><>                                ### pppsetup started and said it found my modem ttyS2 and wrote the script to /dev/modem
>> minicom has no problem with dialing out using /dev/modem           ### I understand that /dev/cua  was for remote and /dev/tty was for local soon to be set to        
>> ttyS2  (com 3) irq 5                                                                           ### /dev/tty  for both by next year . but there still may be remaining links that need to be fixed
>                                                                                                           ### I have both in my device directory , but have tryed to stay with just using /dev/tty .
>Pppsetup makes /dev/modem a link to /dev/cua?, do you have
>cua? devices in /dev.                                                                         ------ YES

>Put /dev/modem in the /etc/ppp/options file.               .......................I think pppsetup has done this already but I will check again to be sure  !! Thanks  

>Make sure /dev/modem is a link to the actual device i.e. ttyS2 or cua2.

>~# ln -sf /dev/ttyS2 /dev/modem             ............###........... I'll try placing the link again to be sure.  I did -s not -sf though ? what is the f part not a hard
>                                                                                                              link is it ?
>Maybe the problem is the modem init string, try "AT\&F1".       ### I tryed using the default in. $ from the pppsetup program
>                                                                                                 ### there was no difference in the debug readout and script still failed !
>> In the debug errmsg you see lines
>> AT&F1^M
>> expect (OK)
>>  alarm
>> Connect script failed

>> I used the basic initialization string that the US Robotics manual      ### Sportster 33600 Fax Pc Plug and Play ( UART NS 16550 AN )
>> suggested .                                                                                       ###  Dials out using minicom on ttyS2  but do dialout using pppd & Scripts ??????

>> There is no connect noise from the modem (seems that scripts fail to
>> contact the modem )

>> May be it is because of the initialization string ?                              

>> Also my SuSE distrobution of Linux seems to have had some critical
>> files in different directories than the PPP Faq , PPP HOW-TO docs have
>> as standard .

>> one of which is the  'dialog' file that PPPSetup says is a necessary
>> file to have for things to work right .

>> I found it in /usr/sbin , instead of /sbin  so I just made a symbolic
>> link to where PPPSetup expects it to be - hope that was OK to do.

>It doesn't matter where the 'dialog' program is as long as it's
>in your path.                                        ..............................        ### Something not in my path could be the key to problems. I will have to try and check this also.

>> Seems to me that setting this up should be a little more 'people
>> freindly' than it is ,causing things to keep mounting to a mass of
>> confusion , especially to users NEW to Linux like myself. Aside from
>> my less than perfect health , (emphysema) ,
>> I am still a determined person , but not a *.

>> Still I really like Linux but definately need a little help
>> any help will be reflected back as I gain experience
>> with Linux .
>> thanks for any help
>> JohnWM .

>--
>ftp://wauug.erols.com/pub/people/kent-robotti/doslinux/index.html
>ftp://wauug.erols.com/pub/people/kent-robotti

>PPPsetup is a bash shell script for creating a chat script
>to make a ppp connection.

>pppsetup-1.66.tar.gz

 
 
 

1. Need for ppp setup util?

Hello:

I have received permission from the fellow that wrote the PPPSetup
utility for linux, to modify it so that it will work in FreeBSD as
well.  All he asks is that I send him a copy when I am done.  This
script is written in perl, however, I have run out of time and do not
have the proper knowledge of perl to finish it off.  Does anybody else
think that we need a script like that badly enough to want to work on
it??

Darren Wiebe

2. Realtel RTL 8029 Ethernet For Linux

3. ppp && PPPoE && ADSL && net && buffer(s)

4. connecting two servers using serial ports

5. S.u.S.E. 5.3 & ISDN & PPP: pppd not functioning!

6. Solaris 2.5 & CDE

7. ppp setup in SuSE 6.2

8. How can I create a portable (Unix, DOS) NULL-stream/-file that I can write to using fprintf in standard C?

9. SuSE 6.0 PPP-server: require setup assistance

10. PPP setup with T-Online ISDN and SUSE 6.1

11. help, SuSE Linux 6 and ppp setup

12. ppp setup in SuSE 6.2

13. Summary of PAP (PPP) setup on Linux SuSE 6.2