Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 02 Jan 1999 11:23:56 +0000
From:      Mark Ovens <marko@uk.radan.com>
To:        "N. R.R." <robalama@hotmail.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: user ppp dialin failure
Message-ID:  <368E01CC.F0C76D2A@uk.radan.com>
References:  <19990102041354.25540.qmail@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help


"N. R.R." wrote:
> 
> Hello there,
> 
> I have been trying to get User PPP going all day and have just recently
> had time to mess with it.  My problem is that when I have the modem set
> on COM2 (cuaa1) I get this.
> 
>      #ppp
>      User Process PPP. Written by Toshiharu OHNO.
>      Using interface: tun0
>      Interactive mode
>      ppp ON myname>dial isp
> 
> and then this immediately pops up on the screen, like a second later:
> 
>      Dial attempt 1 of 1
>      dial OK!
>      login OK!
>      ppp ON myname>packet mode.
> 
> I know that I am not online as the telephone still has a dialtone and
> the ppp is not capitalized.
> Also, I am running 2.2.5
> 

The first thing I would suggest is to get the latest sources from Brian
Sommers Website (http://www.awfulhak.org). Brian's done a lot of work on
it since 2.2.5.

Secondly, I'd make the ppp.conf as simple as possible until you get
connected, then try adding the other bits if you find you actually need
them.

> Here is a copy of my ppp.conf file:
> 
> default:
> set device /dev/cuaa1
> set speed 115200
> disable pred1
> deny pred1
> disable lqr

Remove the 3 lines above, but leave ``deny lqr below

> deny lqr
> set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATE1Q0M0
> OK-AT-OK\\dATDT\\T TIMEOUT 40 CONNECT"

Try changing the init string to just AT&F, which usually sets the modem
to factory defaults (you could add M1 to that to ensure the modem
speaker is on so that yu can hear if it picks up the line)

> set redial 3 5

Remove the line above

> #
> isp:
> set authname *username*
> set authkey *password*
> set phone *number*
> set timeout 300
> set openmode active
> accept chap

Remove the 2 lines above

> #
> demand:
> set authname *username*
> set authkey *password*
> set phone *number*
> set timeout 300
> set openmode active
> accept chap
> set ifaddr 127.1.1.1/0 127.2.2.2/0 255.255.255.0
> add 0 0 127.2.2.2
> #
> #End of file
> 
> Can you see anything I may be missing or misconfigured?
> 

Also you could try the following. At the ``ppp ON myname>'' prompt type
``term'', then type AT - the modem should respond ``OK''. Then type
``AT&FM1'', again it should respond ``OK''. Finally type
``ATDT<phone_number>'' and check that the modem dials, your ISP answers
and you get prompted for your username and password. If all this works
you _should_ be able to type ``~p'' to flip it into packet mode and then
use your browser etc.


HTH

Happy New Year.

Mark

> Thanks for your time.
> 
> Neill RR4
> 
> ______________________________________________________
> Get Your Private, Free Email at http://www.hotmail.com
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message

-- 
  Trust the computer industry to shorten Year 2000 to Y2K. It
  was this thinking that caused the problem in the first place.

Mark Ovens, CNC Applications Engineer, Radan Computational Ltd
Sheet Metal CAD/CAM Solutions
mailto:marko@uk.radan.com    http://www.radan.com



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



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