From owner-freebsd-questions Fri Apr 17 15:02:15 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA11563 for freebsd-questions-outgoing; Fri, 17 Apr 1998 15:02:15 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from mail.apc.net (mail.inhousecorp.com [207.113.177.8] (may be forged)) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id WAA11371 for ; Fri, 17 Apr 1998 22:01:54 GMT (envelope-from dima@apc.net) Received: from icg-apc-pr1-p11.apc.net (icg-apc-pr1-p11.apc.net [207.211.76.165]) by mail.apc.net (NTMail 3.03.0013/1d.aag5) with ESMTP id ba812995 for ; Fri, 17 Apr 1998 15:01:45 -0700 Message-Id: <3.0.5.32.19980417145834.0097b7b0@mail.apc.net> X-Sender: dima@mail.apc.net X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.5 (32) Date: Fri, 17 Apr 1998 14:58:34 -0700 To: freebsd-questions@FreeBSD.ORG From: Dima Dorfman Subject: Re: Fed up with PPP Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Ok I got it to work (finally :-) The problem was the fact that tun0 wasn't compiled into the kernel(wired error message?) Now, it's dialing in, and it says Dial OK! login OK! I also get the following message when I start PPP: ... Warning: Add route failed: 0.0.0.0: errno: Network is unreachable ... along with everything else However, I can't pnig a remote host. Below is part of my ppp.conf file: apc: set phone 9300502 # set login "TIMEOUT 5 login::dima password::***" set timeout 120 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0 delete ALL add 0 0 HISADDR dial If I uncomment the "set login..." line, it will have a message in the ppp.log file that says that it expect "28000/AQ?^M" and didn't get it. See below for the whole log file. Since the ppp.conf and ppp.log files are huge (at least mine are), I've decided to put them up on the web rather than have everyone download them. :-) They can be found at: http://www.apc.net/dima/fbsd/ppp.conf http://www.apc.net/dima/fbsd/ppp.log At 03:58 PM 4/16/98 -0700, you wrote: >On Thu, 16 Apr 1998, Dima Dorfman wrote: > >> >If it says the modem is locked, check >> > >> >1. Permissions. You may have to be in group `dialer'. >> >> no such group > >Odd. Do a `ls -l /dev/cu*' and post it. > >> >2. /var/spool/lock for a stale LCK..cuaa1 file. >> >> no such file (that's good, right?) > >Should be. I assume the directory exists? > >> >Generally, exact error messages are preferred. >> >> /var/log/ppp.log >> >> Apr 15 21:27:32 zserver ppp[1462]: Phrase: Using interface: tun0 >> Apr 15 21:27:32 zserver ppp[1462]: Phrase: PPP Started. >> Apr 15 21:27:32 zserver ppp[1462]: Phrase: Modem /dev/cuaa1 is in use: >> uu_lock: creat error: No suck file or directory >> Apr 15 21:27:32 zserver ppp[1462]: Phrase: Modem /dev/cuaa1 is in use: >> uu_lock: creat error: No suck file or directory > >Odd. (how did s/such/suck/ happen?) Make sure that /var/spool/lock >exists and is writable. > >Doug White | University of Oregon >Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant >http://gladstone.uoregon.edu/~dwhite | Computer Science Major > > > --- Dima Dorfman (dima@apc.net) "640k ought to be enough for anybody." - Bill Gates, 1981 Micro$oft $ucks! FreeBSD Rules! http://www.freebsd.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message