Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 May 97 15:26:38 -0400
From:      Patrick Gardella <pgardella@geocities.com>
To:        "Joseph Stein" <joes@spiritone.com>, <questions@freebsd.org>
Subject:   Re: PPP Setup
Message-ID:  <199705181916.MAA03209@geocities.com>

next in thread | raw e-mail | index | archive | help
>> I am trying to setup PPP (user process) on my FreeBSD box (2.2.1).  I
>> have been able to get the modems to connect in the Term mode of PPP but
>> I cannot get ppp to start.  I also does not work as ppp dial papsite.
>> 
>
>Try this for your /etc/ppp.conf Make appropriate changes.
>
>---cut here---
>ppp.conf removed from here.  :)
>---cut here---
>> Both of them use the kind of system that if you dial in as a
>> terminal, you can login and use their resources.  If you dial in as a
>> PPP (on Mac or Win95), it works fine.  I tried using Username: ppp It
>> does not work.
>
>To try this, you might try removing the 'set login' line.  That would/should
>only be used if you need to authenticate before starting ppp; There is also
>an option (set openmode active) that will make your side start the ppp 
>process
>with LCP.

Thanks for the note Joseph.

I am beginning to think that this is a modem problem again.  When I am in 
term mode, I have to hit RETURN twice to get the result code.  The 
display is always one character behind, as well.  So if I type ath, I can 
only see at until I hit return.  Then I can see ath, but I have to hit 
return again to display the result code.  

When I do connect, (using PPP term or seyon).  I have to hit return to 
see what the other computer is sending to me.  It doesn't just flow 
across the screen like it should.  It comes in chunks (like 12 characters 
at a time) as I hit random characters to make it display.  

This is confirmed in the PPP log (See below).  It sends AT expecting an 
OK in return.  It gets nothing.  It sends the atdt command, and in return 
it gets the OK it was expecting for the AT.  When it connects, the script 
doesn't see anything, becuase it hasn't sent a character to make it see 
it.  So it can't go on!  I've tried fiddling with the CR/LF setup to no 
avail.

Does this ring a bell with anyone?

Patrick

Log file:

05-18 09:00:33 [201] Using interface: tun0
05-18 09:00:33 [201] PPP Started.
05-18 09:01:02 [201] Expecting 
05-18 09:01:02 [201] sending: AT&F&C1&D2
05-18 09:01:02 [201] Expecting OK-AT-OK
05-18 09:01:02 [201] Wait for (5): OK --> OK
05-18 09:01:07 [201] got: ECT 14400/REL-LA
05-18 09:01:07 [201] can't get (5).
05-18 09:01:07 [201] sending: AT
05-18 09:01:07 [201] Wait for (5): OK --> OK
05-18 09:01:12 [201] got: PM V.42 BIS
05-18 09:01:12 [201] can't get (5).
05-18 09:01:15 [201] Expecting 
05-18 09:01:15 [201] sending: AT&F&C1&D2
05-18 09:01:15 [201] Expecting OK-AT-OK
05-18 09:01:15 [201] Wait for (5): OK --> OK
05-18 09:01:20 [201] can't get (5).
05-18 09:01:20 [201] sending: AT
05-18 09:01:20 [201] Wait for (5): OK --> OK
05-18 09:01:21 [201] Phone: 2522113
05-18 09:01:21 [201] sending: ATDT2522113
05-18 09:01:21 [201] Expecting CONNECT
05-18 09:01:21 [201] Wait for (40): CONNECT --> CONNECT
05-18 09:02:01 [201] got: 
T

OK
05-18 09:02:01 [201] can't get (40).



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199705181916.MAA03209>