From owner-freebsd-questions Sun Oct 6 17:12:11 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id RAA21125 for questions-outgoing; Sun, 6 Oct 1996 17:12:11 -0700 (PDT) Received: (from jmb@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id RAA21118; Sun, 6 Oct 1996 17:12:09 -0700 (PDT) From: "Jonathan M. Bresler" Message-Id: <199610070012.RAA21118@freefall.freebsd.org> Subject: Re: ppp.conf for iij To: wb2oyc@cyberenet.net Date: Sun, 6 Oct 1996 17:12:09 -0700 (PDT) Cc: root@gemini.gouverneur.com, questions@freebsd.org In-Reply-To: from "wb2oyc@cyberenet.net" at Oct 5, 96 12:27:27 pm X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk wb2oyc@cyberenet.net wrote: > > > On 04-Oct-96 Charlie Root wrote: > >>I would really like to make use of the ppp.conf for tun0 but > >I can't get my modem to dial using it. I have a USR 14.4 Sportster. > >I can call out manually, but I prefer the script method. Any > >suggestions. > > Well, they say misery loves company, so I thought I'd let you > know that I'm waiting to see some answer to this one myself! I > can't get the damn thing to dial either, and haven't been able > to with three different installations. All have different modems, > and ports, etc, but on all of them I have to use 'term' mode and > manually dial/login to my ISP. There is some magic involved to > make it work apparently, and its not intuitively obvious to the > most casual observer... :) Linux PPP, with all its problems with > it being a moving target is far superior to this as far as I can > see. are you using iijppp or kernel ppp? if you are using iijppp you can use the ppp.conf and ppp.linkup below. i have included modem settings modem settings: ati3 Sportster 14,400/FAX RS Rev. 1.5 ati4 USRobotics Sportster 14400 Fax Settings... B0 E1 F1 M1 Q0 V1 X0 Y0 BAUD=57600 PARITY=N WORDLEN=8 DIAL=TONE ON HOOK &A3 &B1 &C1 &D2 &G0 &H1 &I0 &K1 &M4 &N0 &P0 &R2 &S1 &T5 &Y1 S00=000 S01=000 S02=043 S03=013 S04=010 S05=008 S06=002 S07=060 S08=002 S09=006 S10=014 S11=070 S12=050 S13=000 S15=000 S16=000 S18=000 S19=000 S21=010 S22=017 S23=019 S25=005 S27=000 S28=008 S29=020 S36=014 S38=000 ti7 Configuration Profile... Product type US/Canada External Options V32 Fax Options Class 1 Clock Freq 24.0Mhz Eprom 128k Ram 32k EPROM date 5/18/95 DSP date 5/18/95 EPROM rev 1.5 DSP rev 1.5 ati9 (1.0USR0000\\Modem\no driver ID\Sportster 14.4 FAX EXT)FF /etc/ppp.conf # # BEWARE: a blank line is a separator! # it ENDS a configuration # and begins an unlabeled configuration # # # settings listed as default are always used. # they may be overridden by settings for a particular site # default: set debug phase lcp chat lqm # set debug phase set device /dev/cua01 set speed 57600 set timeout 18000 disable lqr deny lqr disable pred1 deny pred1 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATE1Q0X0 OK-AT-OK \\dATDT\\T TIMEOUT 40 CONNECT" # # assume that we will be talking to rimmer correct later in ppp.linkup as needed # accept any address assigned to us # atinc: set phone aaabbbcccc set login "TIMEOUT 10 mmer>-\\r-mmer>-\\r-mmer> set\\sppp" set ifaddr 207.2.166.205/24 207.2.166.21/24 # add 0 0 198.138.38.21 # set ifaddr 198.138.38.205 198.138.38.21 add 0 255.255.255.0 207.2.166.21 ppp.linkup # 1) At first, IP address assigned into our side is serched and execute # associated command. # # 2) If it didn't found, then label name specified at startup time is # searched. # # 3) If given label name is not found, then label MYADDR is serched. # # if connecting to A&T delete existing routing entries # add peer as default gateway # atinc: # delete _ALL NEVER use delete ALL with X or xdm running # server will disconnect from keyboard # # DID NOT MATTER still locked up after ppp link was established! # add 0 0 HISADDR MYADDR: add 0 0 HISADDR jmb -- Jonathan M. Bresler FreeBSD Postmaster jmb@FreeBSD.ORG FreeBSD--4.4BSD Unix for PC clones, source included. http://www.freebsd.org/ PGP 2.6.2 Fingerprint: 31 57 41 56 06 C1 40 13 C5 1C E3 E5 DC 62 0E FB