Date: Tue, 14 Oct 1997 17:42:29 +0000 From: "Hai T. Le" <hai@flash.net> To: freebsd-questions@freebsd.org Subject: [Fwd: Re: HELP] Message-ID: <3443AF05.25A8@flash.net>
next in thread | raw e-mail | index | archive | help
Return-Path: <jkh@time.cdrom.com>
Received: from time.cdrom.com (time.cdrom.com [204.216.27.226])
by centurion.flash.net (8.8.5/8.8.5) with ESMTP id CAA29088
for <hai@flash.net>; Tue, 14 Oct 1997 02:00:38 -0500 (CDT)
Received: from time.cdrom.com (localhost.cdrom.com [127.0.0.1]) by time.cdrom.com (8.8.7/8.6.9) with ESMTP id AAA21176 for <hai@flash.net>; Tue, 14 Oct 1997 00:00:36 -0700 (PDT)
To: "Hai T. Le" <hai@flash.net>
Subject: Re: HELP
In-reply-to: Your message of "Mon, 13 Oct 1997 20:41:18 -0000."
<3442876E.9E4@flash.net>
Date: Tue, 14 Oct 1997 00:00:35 -0700
Message-ID: <21172.876812435@time.cdrom.com>
From: "Jordan K. Hubbard" <jkh@time.cdrom.com>
Actually, this email address is used for reporting problems to the FAQ
and only reaches two people. What you want is the
freebsd-questions@freebsd.org mailing list. Thanks!
> This is a multi-part message in MIME format.
>
> --------------286D37C53B25
> Content-Type: text/plain; charset=us-ascii
> Content-Transfer-Encoding: 7bit
>
> Hi:
>
> I recently purchased the Complete FreeBSD Handbook with release version
> 2.2.2 (just my luck since you guys just released another version).
> Anyway I am extremely happy with my current setup, except one thing: I
> CANNOT GET FREEBSD TO DIALOUT TO MY ISP!!!
>
> I am so frustrated. I've got everything working except for this (cdrom,
> dos partition, X sever). I looked at your online handbook, your FAQ,
> and even susbcribed to (sorry) Linux newsgroups to try to get help. My
> problem is that after setting up every thing stated in the handbook, I
> would type 'ppp' and then 'dial provider', I would get a 'attempt 1 of
> 1' message, but that's it. Everything just freezes. The same thing
> happens when I type 'ppp' and 'term'.
>
> I also tried minicom to attempt to have it dial out, but I just get
> numerous re-tries. I try to put up my phone line to see if the modem
> had been initialized, but I still had a dialtone.
>
> I included the ppp.conf file that I simply copied from your example
> ppp.conf.sample, and made changes to my ISP and stuff. I don't believe
> that that is the problem, however. I simply don't think that my FreeBSD
> can find my modem.
>
> I would appreciate any help you can give me. I am very happy with the
> support you have given me thus far. Oh, and if you need any other
> information or files, please let me know.....
>
>
> -- Hai T. Le
>
> --------------286D37C53B25
> Content-Type: text/plain; charset=us-ascii; name="ppp_conf.con"
> Content-Transfer-Encoding: 7bit
> Content-Disposition: inline; filename="ppp_conf.con"
>
> #################################################################
> #
> # PPP Sample Configuration File
> #
> # Written by Toshiharu OHNO
> #
> # $Id: ppp.conf.sample,v 1.5.2.6 1997/05/12 14:08:52 brian Exp $
> #
> #################################################################
>
> # Default setup. Always executed when PPP is invoked.
> #
> default:
> set device /dev/cuaa1
> set speed 115200
> disable lqr
> deny lqr
> set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATE1Q0 OK-AT-OK \\dAT
DT\\T TIMEOUT 40 CONNECT"
>
> # Example with login script
> # o From PPP prompt,
> # ppp> dial simplesite
> # automatically dials and performs the login script.
> #
> # ppp> load simplesite
> # loads and executes commands, but doesn't dial.
> #
> # o From shell, invoke as
> # % ppp simplesite
> # to load commands associated with the 'simplesite' label. Use,
> # ppp> dial
> # to establish the connection.
> #
> provider:
> set phone 5240526
> set login "TIMEOUT 5 login:-\\r-login: hai word: 31273 ocol: ppp"
> set timeout 120
>
> # Multi-phone example
> #
> multiphone:
> set phone 12345678:12345679:12345670:12345671
> set login "TIMEOUT 5 login:-\\r-login: ppp word: ppp ocol: ppp"
>
> # If the peer requires to use CHAP, don't forget to supply authname
> # and authkey.
> #
> # If you'd like to use CHAP to authenticate with the peer, comment out
> # the line ``enable chap'' below. You also need to prepare /etc/ppp.secret.
> #
> # If the remote system sends its system name within the CHAP packet and it
> # is found in /etc/ppp.secret, then the secret key is taken from that file
> # and value of authkey specified here is ignored.
> #
> chapsite:
> set phone 5240526
> set login "TIMEOUT 5 login:-\\r-login: hai word: 31273"
> deny pap
> accept chap
> # enable chap
> set authname MySystemName
> set authkey OurSecretKey
>
> # Speaking PAP is like speaking CHAP
> #
> papsite:
> set phone 5240526
> set login "TIMEOUT 5 login:-\\r-login: ppp word: ppp"
> deny chap
> accept pap
> # enable pap
> set authname MyUserName
> set authkey MyPassword
>
> # On demand dialup example
> # Here, we assume that local side use 192.244.185.226 and
> # remote side use 192.244.176.44 as their IP address.
> # You must supply -auto option to invoke PPP.
> #
> # $ ppp -auto ondemand
> #
> ondemand:
> set phone 5240526
> set login "TIMEOUT 5 login:-\\r-login: hai word: 31273"
> set timeout 120
> set ifaddr 192.244.185.226 192.244.176.44 255.255.255.0
> add 0 0 192.244.176.44
>
> # Another on demand example
> # If the peer assigns us an arbitrary IP and we can't predict what their
> # IP will be either, take a wild guess at an some IPs that you can't
> # currently route to. Ensure that the "delete" and "add" lines are also
> # present in ppp.linkup so that when we connect, things will be put straight
.
> # Note that it is illegal to use HISADDR here - HISADDR is only available
> # in ppp.linkup (after the value has been established).
> #
> # The /0 bit says that we insist on 0 bits of the specified IP actually
> # being correct, therefore, the other side can assign any IP numbers.
> #
> # We also set openmode active - this makes us initiate ppp negotiation.
> # The default is to wait for the server to start talking.
> #
> pmdemand:
> set phone 1234567
> set login "TIMEOUT 5 login:-\\r-login: ppp word: ppp"
> set timeout 120
> set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0
> delete ALL
> add 0 0 10.0.0.2
> set openmode active
>
> # Examples to connect using a null-modem cable from one machine to another.
> # The important thing here is to allow the lqr packets on both sides.
> # Without them enabled, we can't tell if the line's dropped - there
> # should always be carrier on a direct connection.
> # Here, the server sends lqr's every 10 seconds and quits if three in a
> # row fail.
> #
> # Make sure you don't have "deny lqr" in your default: on the client !
> #
> direct-client:
> set dial ""
> set line /dev/cuaa0
> set sp 115200
> set timeout 900
> set debug Phase Chat LQM
> set login "TIMEOUT 5 -\\r-login:-\\r-login: ppp word: ppp HELLO"
> set ifaddr 10.0.4.2 10.0.4.1
> add 10.0.4.2 255.255.255.255 127.0.0.1
>
> direct-server:
> set timeout 900 10 3
> set debug Phase LQM
> set ifaddr 10.0.4.1 10.0.4.2
> add 10.0.4.1 255.255.255.255 127.0.0.1
>
> # Example to validate incoming user with CHAP
> # Invoke as ``ppp -direct users'' from login script. User's system name
> # and secret-key must be registered into /etc/ppp.secret.
> # IP address assigned to peer is registered in ppp.secret, then that
> # value is used and value in ``ifaddr'' command has no effect.
> #
> users:
> disable pap
> enable chap
> enable proxy
> set authname ppp-server
> set ifaddr 192.244.176.44 292.244.184.31
>
> # Example of Callback Request
> #
> # Here, we assume that peer will hangup the line and initiates a callback
> # after successful authentication. We simply use chat script capability
> # and wait for a "NO CARRIER" response from our modem.
> #
> # $ ppp callback
> #
> callback:
> set phone 0312345678
> set login "ABORT NO\\sCARRIER TIMEOUT 5 login:-\\r-login: MyName word: MySec
ret TIMEOUT 20 DUMMY"
> set debug phase chat
> dial
> quit
>
> # Example for PPP/TELNET and PPP/TCP. Read doc for further details
> #
> ppptelnet:
> set escape 0xff
>
> ppptcp:
> set device 192.244.191.33:2400
>
> --------------286D37C53B25--
>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3443AF05.25A8>
