Newbie: Setting up PPP in 4.0 stable

Brian Somers brian at Awfulhak.org
Wed Aug 16 15:26:27 BST 2000


> When I do:
> 
> ppp
> * term
> * atd9,08450798888
> 
> all seems fine (connection established, login accepted, dynamic IP address).
> But I can't get PPP or Kernel PPP to dial up.
> 
> For PPP, my /etc/ppp/ppp.conf is:
> 
> default:
> 
>  #
>  # Make sure that "device" references the correct serial port
>  # for your modem. (cuaa0 = COM1, cuaa1 = COM2)
>  #
> 
>  set device /dev/cuaa1
> 
> # set log Phase Chat LCP IPCP CCP tun command
>  set speed 115200
>  set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT"
>  set login "TIMEOUT 5 login:-\\r-login: ppp word: netcom"
>  set timeout 120
>  set ifaddr 0 0
>  add default HISADDR
>  enable dns
> 
> papchap:
> 
>  #
>  # edit the next three lines and replace the items in caps with
>  # the values which have been assigned by your ISP.
>  #
>  accept chap
>  accept pap
>  disable pap
>  disable chap
> ISP:
> 
>  set phone 9,08450798888
>  set authname whatever1
>  set authkey whatever2
> 
> But when I do:
> 
> ppp
> * dial netcom OR dial whatever1
> 
> nothing dials

You need to ``dial'' one of your config entries, or you can even 
specify it on the command line...  It looks like you want

$ ppp papchap ISP

so that you load both profiles, then

ppp ON machine> dial

to make the connection.  If you use ``dial something'', that's the 
equivalent of  ``load something'' then ``dial'' (or ``open'').  
Remember, logging is your friend.  To get a feel for things, try

$ ppp
ppp ON machine> set log local phase command lcp ipcp tun
ppp ON machine> load papchap
blah blah blah
ppp ON machine> load ISP
blah blah blah
ppp ON machine> open
blah blah blah


> Thanks,
> 
> Tony.

Cheers.

-- 
Brian <brian at Awfulhak.org>                        <brian@[uk.]FreeBSD.org>
      <http://www.Awfulhak.org>                   <brian@[uk.]OpenBSD.org>
Don't _EVER_ lose your sense of humour !






More information about the Ukfreebsd mailing list