Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Dec 1995 17:56:36 -0900 (AKST)
From:      "Gary B. Corell" <corellg@bravo.imagi.net>
To:        FreeBSD Questions <questions@freebsd.org>
Subject:   addendum to previous
Message-ID:  <Pine.BSD/.3.91.951217174021.10230B-100000@bravo.imagi.net>

next in thread | raw e-mail | index | archive | help
Dear whomsoever:
the folowwing is in addendum to my question regarding ppp, telnet and 
adding the desired port number (23) ie. telnet imagi.net 23
My permanent ip is 204.119.24.203 his side varies between 204.119.24.20 and
204.119.2.21
#  	PPP  Sample Configuration File    ppp.conf
#	  Written by Toshiharu OHNO
# ppp.conf.sample,v 1.3 1995/04/22 17:14:21 amurai Exp
# Default setup. Executed always when PPP is invoked.
#
default:
 set device /dev/cuaa2
 set speed 115200
 disable lqr
 deny lqr
 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATE1Q0 OK-AT-OK \\dATDT\\T TIMEOUT 40 CONNECT"
#
# Example with login script
< some part deleted>
#   this is my "simple site" section. haven't tried it lately
qqq:
 set phone *704557667
 set login "TIMEOUT 5 login:-\\r-login: ppp word: ppp"
 set timeout 600
 set ifaddr 0 204.119.24.21/24
 add 0 0 204.119.2.21/24
#
# On demand dialup example
#  ex. % ppp -auto ondemand
#
ond:
 set phone *704557667
 #set login "TIMEOUT 5 login:-\\r-login: ppp word: ppp"
 set login "TIMEOUT 5 login:-\\r-login: corellg word: xxxxx
 set timeout 600
 set ifaddr 204.119.24.203 204.119.24.21/24
 add 204.119.24.203 255.255.255.0 204.119.24.21/24
 dial
#
# Another on demand example
#  this selection stays to permit testing and keep a working one
pmd:
 set phone *704557667
 set login "TIMEOUT 5 login:-\\r-login: corellg word: xxxxxx"
 set timeout 600
 dial
 set ifaddr 204.119.24.203  204.119.24.21
 add 204.119.24.203  255.255.255.0 204.119.24.21
#
# Example for PPP/TELNET and PPP/TCP. Read doc for further details
# ****************** I read the docs for this but am still confused*********
ppptelnet:
 set escape 0xff
ppptcp:
 set device 204.119.24.21/24:2400
______________________________________
***** This last section I'm confused about ( ppptelnet & ppptcp) ie. what 
is the :2400 for? I haven't seen a clue. maybe I've either overlooked it 
or didn't look far enough.
I appologize for doing this in 2 parts. 
---
Gary B. Corell				Powered by FreeBSD
corellg@imagi.net			Bato Bato sa langit
					ang tamaay huag kang magagalit




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSD/.3.91.951217174021.10230B-100000>