From owner-freebsd-questions Wed Jun 19 18:16:35 2002 Delivered-To: freebsd-questions@freebsd.org Received: from protactinium.btinternet.com (protactinium.btinternet.com [194.73.73.176]) by hub.freebsd.org (Postfix) with ESMTP id 0947637B407 for ; Wed, 19 Jun 2002 18:16:29 -0700 (PDT) Received: from host62-7-98-22.in-addr.btopenworld.com ([62.7.98.22] helo=btinternet.com) by carbon with esmtp (Exim 3.22 #8) id 17KnWC-0007RT-00; Wed, 19 Jun 2002 23:01:36 +0100 Message-ID: <3D10FF3F.3040605@btinternet.com> Date: Wed, 19 Jun 2002 23:01:35 +0100 From: Jonathan Heaney User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.1a) Gecko/20020611 X-Accept-Language: en MIME-Version: 1.0 To: barbish@a1poweruser.com, freebsd questions Subject: Re: ppp demand dialling broke after 4.5 -> 4.6 upgrade + more info References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Only one slight problem, I needed net access last night so reverted to 4.5 :-( I should have looked at the logs, I realise that now, I was a bit hasty. Modem is an external serial, I have tried opening a connection to it with ppp manually and it worked, so the modem is being seen OK with 4.6. Forgot to mention this as well, the fbsd box is used by two other systems to access the net, one running Debian Woody (serving an smb raid array), which periodically attempts to access the web - I've never got around to finding out what was doing this, I just switched my modem off - and the fbsd box dialled in - I could ping etc from the freebsd box OK but after it disconnected it wouldn't re-dial. This only happened once, and I can't be sure it was the Debian box that triggered it to be fair. Jonathan Joe & Fhe Barbish wrote: >You did a very good job of describing your problem, except you left out >the most important part, no ppp.log. >Please post your /var/log/ppp.log containing just the last test. >Also review your /var/run/dmesg.boot log to verify your modem is found. >The probe process has changed for internal modems > >-----Original Message----- >From: owner-freebsd-questions@FreeBSD.ORG >[mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Jonathan Heaney >Sent: Wednesday, June 19, 2002 3:35 PM >To: freebsd questions >Subject: ppp demand dialling broke after 4.5 -> 4.6 upgrade > >Hi, > >After re-installing fbsd 4.5 on Saturday after a hard drive failure >(Fujitsu), I was pretty annoyed ;-) to find 4.6 had been released when I >got to work on Monday. Anyway I got the iso's and went to upgrade when >I got home. I've tried both an upgrade over 4.5 and a fresh install, >and each time, as the subject says, ppp demand dialling stops working >with 4.6 using the exact same config as I have with 4.4 then 4.5 (clean >install). > >Has anything changed? > >The FreeBSD box is set up as a straightforward gateway/firewall, using >howtos etc. on the fbsd website, and I am setting it up in stages (1. >get ppp working form the fbsd box, 2. get natd working, 3. recompile >kernel and enable ipfw). It's the first stage 4.6 is having trouble >with. Here are therelevant ppp config files I'm using - > >/etc/ppp/ppp.conf :- > >default: > set log Phase Chat LCP IPCP CCP tun command > ident user-ppp VERSION (built COMPILATIONDATE) > #set log +tcp/ip > > # Ensure that "device" references the correct serial port > # for your modem. (cuaa0 = COM1, cuaa1 = COM2) > # > set device /dev/cuaa1 > set speed 115200 > disable pred1 > deny pred1 > disable lqr > deny lqr > set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" AT \OK-AT-OK >ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT" > set redial 5 5 > # set timeout 180 # 3 minute idle timer (the default) > enable dns # request DNS info (for resolv.conf) > >interactive: > set phone xxxxxx > set login > set authname xxxxxx > set authkey xxxxxx > set timeout 300 > set openmode active > accept chap > allow users jon > >demand: > set phone xxxxxx > set login > set authname xxxxxx > set authkey xxxxxx > set timeout 300 > set openmode active > accept chap > set ifaddr 127.1.1.1/0 127.2.2.2/0 255.255.255.0 > add 0 0 127.2.2.2 > allow users jon > > >and here's /etc/ppp/ppp.linkup :- > >demand: > delete ALL > add 0 0 HISADDR > >MYADDR: > add 0 0 HISADDR > >the relevant section of /etc/rc.conf looks like this :- > >ppp_enable="YES" >ppp_mode="auto" >ppp_nat="NO" >ppp_profile="demand" > > >All I have to do then (on 4.4 / 4.5 at least) is create a starter >/etc/resolv.conf with dns servers from my ISP and it dials OK e.g. when >I ping an internet ftp site. The exact same process does not work with >4.6, when I ping as before it just sits there, does not dial, but also >does not give me the 'could not resolve' error I get if I don't create a >starter resolv.conf file. Essentially my configuration was set up on >fbsd 4.4, then carried over to 4.5, and now it's broken with 4.6. > >I don't profess to be an expert but I can't see anything obviously >wrong, I've looked at the 4.6 release notes, and checked the mailing >list archives for mention of this, but can't find anything. Help would >be appreciated! > >Thanks, > >Jonathan > > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-questions" in the body of the message > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message