Date: Tue, 23 Nov 1999 09:37:34 +0000 (GMT) From: Patrick Mackeown <pgm@NS4.HELP-DESK.CO.UK> To: "Rafael A. Reta Rodriguez" <rafareta@icave.com.mx> Cc: questions@FreeBSD.ORG Subject: Re: PPP server Message-ID: <199911230937.JAA01684@NS4.HELP-DESK.CO.UK> In-Reply-To: <3839F612.769A84BE@icave.com.mx> from "Rafael A. Reta Rodriguez" at "Nov 22, 1999 08:04:02 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
> Could someone be kind enouf to lead me to some documentation to setup a > ppp server? > I want to setup a modem backup link and I think this is the best way. > > Thanks in advance. > > RafaReta > Telecommunications, ICAVE > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > look in /etc/ppp from memory I think you need 3 files and one directory which is already there /etc/ppp the files are /etc/ppp/ppp.conf /etc/remote and /etc/modems you use the executable ppp and it will auto select /etc/ppp/ppp.conf if you type dial it will dial what ever you configured in /etc/ppp/ppp.conf using username and password you put in there. If I haven't forgotten anything, this was once a working setup :-) pat #begin /etc/ppp/ppp.conf default: set timeout 120 set redial 12 10 set log Phase Chat tun command set device /dev/cuaa1 set speed 57600 set ifaddr 194.222.243.144 158.152.1.222 255.255.255.0 0.0.0.0 set login "login: madeupname Password: Yeh-right! Protocol: ppp" set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" AT OK-AT-OKATE1Q0OK \\dA TDT08450798666 TIMEOUT 40 CONNECT" add default HISADDR enable dns #End /etc/ppp/ppp.conf #Begin /etc/modems # $FreeBSD: src/etc/modems,v 1.3.2.1 1999/08/29 14:18:48 peter Exp $ # @(#)modems 3/24/95 # # modems -- modem configuration data base file # see tip(1), modems(5) # # dial_command AT command to dial up remote # echo_off_command AT command to turn off command echo # escape_guard_time Shroud escape sequence with specified delay (ms) # escape_sequence Return to command escape sequence # hangup_command AT command to hangup modem # hw_flow_control Enable RTS/CTS flow control between DTE/DCE # intercharacter_delay Delay between characters sent to modem when issuing # commands # intercommand_delay Minimum delay between commands to modem # init_string AT command to initialize modem before dialing out # lock_baud Use fixed DTE / DCE bit rate # reset_delay Delay required by modem for reset # sportster|st|US Robotics Sportster 14.4K:dial_command=ATDT%s\r:hangup_command=ATH\r:\ :echo_off_command=ATE0\r:reset_command=AT&F1\r:\ :init_string=AT&B1&H1&R2&C1&D2\r:\ :escape_sequence=+++:hw_flow_control:lock_baud:intercharacter_delay#50:\ :intercommand_delay#250:escape_guard_time#500:reset_delay#2000: mt932|multitech|mt|Multitech 932:dial_command=ATDT%s\r:hangup_command=ATH\r:\ :echo_off_command=ATE0\r:reset_command=ATZ\r:\ :init_string=AT$BA0$SB38400&E1&E4&E13&E15Q0V1X4E0S0=0\r:\ :escape_sequence=+++:hw_flow_control:lock_baud:intercharacter_delay#50:\ :intercommand_delay#250:escape_guard_time#500:reset_delay#2000: generic|Generic AT command modem (use defaults): #End /etc/modems #begin /etc/remote # $FreeBSD: src/etc/remote,v 1.9.2.1 1999/08/29 14:19:00 peter Exp $ # # @(#)remote 5.2 (Berkeley) 6/30/90 # # remote -- remote host description file # see tip(1), remote(5) # # dv device to use for the tty # el EOL marks (default is NULL) # du make a call flag (dial up) # pn phone numbers (@ =>'s search phones file; possibly taken from # PHONES environment variable) # at ACU type # ie input EOF marks (default is NULL) # oe output EOF string (default is NULL) # cu call unit (default is dv) # br baud rate (defaults to 300) # fs frame size (default is BUFSIZ) -- used in buffering writes on # receive operations # tc to continue a capability # Systems definitions netcom|Netcom Unix Access:\ :pn=\@:tc=unix1200: omen|Omen BBS:\ :pn=\@:tc=dos1200: # UNIX system definitions unix1200|1200 Baud dial-out to a UNIX system:\ :el=^U^C^R^O^D^S^Q:ie=%$:oe=^D:tc=dial1200: unix300|300 Baud dial-out to a UNIX system:\ :el=^U^C^R^O^D^S^Q:ie=%$:oe=^D:tc=dial300: # DOS system definitions dos1200|1200 Baud dial-out to a DOS system:\ :el=^U^C^R^O^D^S^Q:ie=%$:oe=^Z:pa=none:tc=dial1200: # General dialer definitions used below # # COURIER switch settings: # switch: 1 2 3 4 5 6 7 8 9 10 # setting: D U D U D D U D U U # Rackmount: U U D U D U D D U D # dial2400|2400 Baud Hayes attributes:\ :dv=/dev/cuaa0:br#2400:cu=/dev/cuaa0:at=hayes:du: dial1200|1200 Baud Hayes attributes:\ :dv=/dev/cuaa0:br#1200:cu=/dev/cuaa0:at=hayes:du: # Hardwired line cuaa0b|cua0b:dv=/dev/cuaa0:br#2400:pa=none: cuaa0c|cua0c:dv=/dev/cuaa0:br#9600:pa=none: #Random shit for tip tip115200|Dial any phone number at 115200 bps:\ :dv=/dev/cuaa0:br#115200:at=sportster:pa=none:du: tip57600|Dial any phone number at 57600 bps:\ :dv=/dev/cuaa1:br#57600:at=sportster:pa=none:du: #end /etc/remote 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?199911230937.JAA01684>