PPP & SLACKWARE 96

PPP & SLACKWARE 96

Post by af » Sun, 13 Oct 1996 04:00:00



Hi all

After get work fine software Kermit and Minicom under my Linux Box
(Linux 2.0.0 - Pentium 133 mhz - disk boot ), I am actually trying
make PPP work too.

Here my problem start.....

- If I try use:  /usr/sbin/chat -v /dev/cua2  "ATDP2210100"
nothing happened. After more ou less 2 minutes the prompt return with
no errors message.
- If I try use: /usr/sbin/pppd connect "chat -v (or other argument)
ATZ Ok ATDP2210100"  I get the errors message: - V (or other
argument): unrecognized command.

HOWEVER if I use MINICOM to connect to my server PPP and after the
login e password I jump to use: pppd -d -detach /dev/cua2 & everything
works fine and I can make ping in my and int the server PPP IP adress
(how indicates de PPP How To).

Is there any good soul to help me ?????

Thanks in Advance

Ademar

 
 
 

PPP & SLACKWARE 96

Post by Ed Vonck » Tue, 15 Oct 1996 04:00:00


: - If I try use:  /usr/sbin/chat -v /dev/cua2  "ATDP2210100"
: nothing happened. After more ou less 2 minutes the prompt return with
: no errors message.

It  looks  like  you  forgot  to  set  a lock on the port. AFAIK, 'chat'
supports  a  UUCP-style  locking  mechanism.  I  myself  let pppd do the
locking  (BTW,  I  must use UUCP-stype locking because I'm using UUCP as
well). Here are the scripts I use:

========= /usr/local/bin/ppp ===============
# first delete the default route we might have
/sbin/route del default

# fire up pppd - check for authentication
  /usr/sbin/pppd connect "/usr/sbin/chat -f /usr/local/etc//ppp/isp.ppp" \
    /dev/ttyS1 115200 crtscts modem lock defaultroute

========= /usr/local/etc/isp.ppp ===============
ABORT BUSY ABORT 'NO CARRIER' '' ATZ OK ATDTxxxxxxxxxx CONNECT ''
 ogin:-BREAK-ogin: xxxxxxxxxx assword: xxxxxxxxx

[should be one long line, not two lines]

Instead  of  the 'xxxxxxxxx' you would have to fill in the phone number,
user name and password for PPP access.

Hope this helps.

--
Groetjes,
    Ed.
.------------------------=---------------------------------------------------.

|                        | student and employee of Eindhoven University,     |
|                        | and all people residing within 20 miles of campus.|
`------------------------=---------------------------------------------------'

 
 
 

PPP & SLACKWARE 96

Post by Al Longye » Wed, 16 Oct 1996 04:00:00



>It  looks  like  you  forgot  to  set  a lock on the port. AFAIK, 'chat'
>supports  a  UUCP-style  locking  mechanism.

Chat does not support UUCP style locking mechanism. It does not support
any locking mechanism at all.

Chat only talks to the stdin and stdout files. It expects that the
parent has configured the device to the correct rate, parity, stop bits,
and has done any needed locking.

Quote:>I  myself  let pppd do the locking

That is the only reliable method. Only then does pppd obey the locking
and does the locking before it attempts to configure the tty line.

--

 
 
 

PPP & SLACKWARE 96

Post by Christopher T. Fora » Wed, 16 Oct 1996 04:00:00


I have the same problem as the original person.  It appears to have
something funky to do with root permissions.  If I logon as root,
ppp-on works.  However, there is something interesting going on
because if I su to root then try ppp-on, it doesn't work....

Any other insight?  I'd love to get this working properly.

A friend told me that SUDO might help, but I didn't install it....

Chris Forand



>: - If I try use:  /usr/sbin/chat -v /dev/cua2  "ATDP2210100"
>: nothing happened. After more ou less 2 minutes the prompt return with
>: no errors message.

>It  looks  like  you  forgot  to  set  a lock on the port. AFAIK, 'chat'
>supports  a  UUCP-style  locking  mechanism.  I  myself  let pppd do the
>locking  (BTW,  I  must use UUCP-stype locking because I'm using UUCP as
>well). Here are the scripts I use:

>========= /usr/local/bin/ppp ===============
># first delete the default route we might have
>/sbin/route del default

># fire up pppd - check for authentication
>  /usr/sbin/pppd connect "/usr/sbin/chat -f /usr/local/etc//ppp/isp.ppp" \
>    /dev/ttyS1 115200 crtscts modem lock defaultroute

>========= /usr/local/etc/isp.ppp ===============
>ABORT BUSY ABORT 'NO CARRIER' '' ATZ OK ATDTxxxxxxxxxx CONNECT ''
> ogin:-BREAK-ogin: xxxxxxxxxx assword: xxxxxxxxx

>[should be one long line, not two lines]

>Instead  of  the 'xxxxxxxxx' you would have to fill in the phone number,
>user name and password for PPP access.

>Hope this helps.

>--
>Groetjes,
>    Ed.
>.------------------------=---------------------------------------------------.

>|                        | student and employee of Eindhoven University,     |
>|                        | and all people residing within 20 miles of campus.|
>`------------------------=---------------------------------------------------'

 
 
 

PPP & SLACKWARE 96

Post by olb.. » Thu, 17 Oct 1996 04:00:00


: Hi all
:
: After get work fine software Kermit and Minicom under my Linux Box
: (Linux 2.0.0 - Pentium 133 mhz - disk boot ), I am actually trying
: make PPP work too.
:
: Here my problem start.....
:
: - If I try use:  /usr/sbin/chat -v /dev/cua2  "ATDP2210100"
: nothing happened. After more ou less 2 minutes the prompt return with
: no errors message.

what about (because chat uses stdin/stdout):

/usr/sbin/chat "ATDP2210100" >/dev/cua2 </dev/cua2

: - If I try use: /usr/sbin/pppd connect "chat -v (or other argument)
: ATZ Ok ATDP2210100"  I get the errors message: - V (or other
: argument): unrecognized command.
:

I seem to remember that this was a problem with a pre 2.2.0f version of
pppd. Get the latest one.

---------------------------------------------------------------------------

Onsala Space Observatory | tel: +46-31-7725507 (work) +46-300-10778 (home)
S-43992 Onsala, SWEDEN   | fax: +46-31-7725590
-------------------- This quote left blank intentionally ------------------

 
 
 

1. PPP & SLACKWARE 96 (Linux 2.0.0)

Hi all

After get work fine software Kermit and Minicom under my Linux Box
(Linux 2.0.0 - Pentium 133 mhz - disk boot ), I am actually trying
make PPP work too.

Here my problem start.....

- If I try use:  /usr/sbin/chat -v /dev/cua2  "ATDP2210100"
nothing happened. After more ou less 2 minutes the prompt return with
no errors message.
- If I try use: /usr/sbin/pppd connect "chat -v (or other argument)
ATZ Ok ATDP2210100"  I get the errors message: - V (or other
argument): unrecognized command.

HOWEVER if I use MINICOM to connect to my server PPP and after the
login e password I jump to use: pppd -d -detach /dev/cua2 & everything
works fine and I can make ping in my and int the server PPP IP adress
(how indicates de PPP How To).

Is there any good soul to help me ?????

Thanks in Advance

Ademar

2. problems with spaces in directory names

3. PPP & SLACKWARE 96 PART III

4. Fragile file system

5. FAQ: Opinions Requested

6. chat and ppp for Slackware 96

7. XFree86 and ColorDepth

8. Slackware 96 - PPP - Not getting to the modem

9. PPP Problem using Slackware 96

10. Linux Slackware 96 PPP bug ??? (for pppd)

11. DIAL-PPP script failure in slackware '96

12. Dialback PPP with Slackware 96 (Kernel 2.0.0)