Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Jan 1999 16:40:30 +1100
From:      "Leo Kliger" <leo@astea.com.au>
To:        "N. R.R." <robalama@hotmail.com>
Cc:        <freebsd-questions@FreeBSD.ORG>
Subject:   Re: user ppp dialin failure
Message-ID:  <199901040558.QAA11812@astea.com.au>

next in thread | raw e-mail | index | archive | help
frustrating as hell i now..... i spent much of the last couple of weeks
changing from my old modem access to isdn adapter using isdn......

finally got it working with the following and after dialling into an
alternate router on the isp end....... good luck......

isp:
 set line /dev/cuaa2 (in my case com3, use what is good for you)
 set phone ********
 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 25 \"\" ATZ OK-AT-OK
ATE1&Q3&B1 OK-AT-OK\\dATDT\\T TIMEOUT 70 CONNECT" (you will have to play
with you modem init string..... i had to)
 set timeout 0 (0 for infinite or whatever you want)
 set openmode active
 disable pap
 disable chap
 disable lqr
 disable vjcomp
 deny lqr
 deny vjcomp
 accept pap
 accept chap
 set authname ******
 set authkey ******
 set ifaddr *.*.*.* *.*.*.*
 add 0 0 *.*.*.*

anyway the above did it for me...... don't forget your ppp.linkup file as
well.....
i think the real trick was the disabling of pap and chap and then accepting
them....

IMPORTANT
by the way if you are actually using 127.1.1.1 (i'm assuming that you are
using numbers provided by your isp) then don't....... if you don't know the
ip numbers then it's best to use  
set ifaddr 10.0.0.1/0 10.0.0.2/0
because 127.0.0. if a reserved ranged for localhost loopback so you don't
actually ever give machines that number......

Leo 


----------
> From: N. R.R. <robalama@hotmail.com>
> To: freebsd-questions@FreeBSD.ORG
> Subject: user ppp dialin failure
> Date: Saturday, January 02, 1999 3:28 PM
> 
> 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
> 
> Here is a copy of my ppp.conf file:
> 
> default:
> set device /dev/cuaa1
> set speed 115200
> disable pred1
> deny pred1
> disable lqr
> deny lqr
> set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATE1Q0M0 
> OK-AT-OK\\dATDT\\T TIMEOUT 40 CONNECT"
> set redial 3 5
> #
> isp:
> set authname *username*
> set authkey *password*
> set phone *number*
> set timeout 300
> set openmode active
> accept chap
> #
> 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?
> 
> 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

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?199901040558.QAA11812>