Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Feb 1999 22:17:15 -0300
From:      Gustavo Vieira G C Rios <grios@netshell.vicosa.com.br>
To:        freebsd-questions@freebsd.org
Subject:   PPP connection
Message-ID:  <36D2019B.DAA58E3D@netshell.vicosa.com.br>

next in thread | raw e-mail | index | archive | help
i am writing to get my box connect to internet from my home!
i would like to set a ppp user to perform this task!

i set my file conf, here they go:
#/etc/ppp/ppp.conf

default:
 set device /dev/cuaa2
 set speed 115200
 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATE1Q0 OK-AT-OK
\\dATDT\\T TIMEOUT 40 CONNECT"

ISP:
 set phone 8916101
 set login "TIMEOUT 5 login:-\\r-login: ppp word: qqq"
 set TIMEOUT 120
 set ifaddr 0 0
 accept chap
 deny pap
 disable chap
 disable pap
 set authname anyuser
 set key anykey


#/etc/ppp/ppp.linkup

MYADDR:
 delete 0
 add 0 0 HISADDR



Is that ok ?
there is two aways to perfom a connection:
1) the first one i type "ppp" at prompt and then "term" 
   i can connect perfectly (there is a err mesg, but things work)

here go my output:

Script started on Mon Feb 22 21:45:33 1999
myname# ppp
Working in interactive mode
Using interface: tun0
ppp ON myname> term
deflink: Entering terminal mode on /dev/cuaa2
Type `~?' for help

atdt8916101

CONNECT 31200/ARQ/V34/LAPM/V42BIS




               ------------------------------------------------
               | Cyclades-PathRAS Version V_1.1.9g(Jun/26/98) |
               | Copyright (C) 1992,1998 CYCLADES Corporation |
               ------------------------------------------------


Username: grios
Password: *******
Entering PPP mode.
Your IP address is 200.236.148.200À!}!@} }2}!}$}&@}"}&} }*} }
}'}"}(}"to~Warning: Del route failed: 0.0.0.0: Non-existent

Packet mode detected.

PPP ON myname> 
PPP ON myname> quit
myname# exit
Script done on Mon Feb 22 21:48:52 1999

How can i fix the warging mesg above ?

The second way is:
2) I type "ppp" at prompt and them "dial ISP"

here goes my output:

Script started on Mon Feb 22 21:50:02 1999
myname# ppp
Working in interactive mode
Using interface: tun0
ppp ON myname> dial ISP
ppp ON myname> Warning: Chat script failed
ppp ON myname> dial ISP
ppp ON myname> Warning: Chat script failed
ppp ON myname> quit
myname# exit
Script done on Mon Feb 22 21:51:15 1999



Please, can any body help me?
Thank you for your time and cooperation,
	Gustavo Rios


-- 
I use UNIX because reboots are for hardware upgrades.
You use windowze because the guy on TV told you to ...
Gustavo Rios - UNIX System Admin. - UIN 27456973
+---------------------------------------------------+




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?36D2019B.DAA58E3D>