From owner-freebsd-questions Fri Apr 17 16:08:28 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA00631 for freebsd-questions-outgoing; Fri, 17 Apr 1998 16:08:28 -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 XAA00530 for ; Fri, 17 Apr 1998 23:08:08 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 za813045 for ; Fri, 17 Apr 1998 16:07:36 -0700 Message-Id: <3.0.5.32.19980417160456.0094a300@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 16:04:56 -0700 To: Brian Somers From: Dima Dorfman Subject: Re: Fed up with PPP Cc: freebsd-questions@FreeBSD.ORG In-Reply-To: <199804172244.XAA15433@awfulhak.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At 11:44 PM 4/17/98 +0100, you wrote: >> 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 > >Read the section on the ``add'' command in the man page. > >> 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. > >So, you want to wait for the other side to say "login::dima", and >when they send that, you send "password::***". I suspect this is not >what you mean. That is what I mean. > >> 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 shouldn't be huge. It would be best to just include the >ppp.conf sections that are relevant - delete everything else, it's >just confusing. > >You really need to interpret the logs yourself. From the looks of >the above dial string, you haven't got a chance of logging in. The >man page suggests using ``term'' to connect the first time. After >you've established what you need to do, set up your login script and >enable ``chat'' logging so that you can see if it's doing what you >expect. I tried 'term', but I don't know how to start ip :-(. I don't know how to enabled chat logging either :-( > >> They can be found at: >> http://www.apc.net/dima/fbsd/ppp.conf >> http://www.apc.net/dima/fbsd/ppp.log >[.....] > >You're making it too difficult for people to help.... you need to >present the relevant facts (as far as you can tell) and see if people >say "we need this piece of info". > >> --- >> Dima Dorfman (dima@apc.net) >[.....] > >-- >Brian , , > >Don't _EVER_ lose your sense of humour.... > > > --- 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