From owner-freebsd-questions Fri Oct 20 8:33:49 2000 Delivered-To: freebsd-questions@freebsd.org Received: from pop.hccnet.nl (pop.hccnet.nl [193.172.127.94]) by hub.freebsd.org (Postfix) with ESMTP id 6C16F37B4D7 for ; Fri, 20 Oct 2000 08:33:45 -0700 (PDT) Received: from parmenides.utp.net by pop.hccnet.nl via uds90-123.dial.hccnet.nl [193.173.123.90] with ESMTP id RAA01676 (8.8.5/1.13); Fri, 20 Oct 2000 17:33:38 +0200 (MET DST) Received: from localhost (janko@localhost) by parmenides.utp.net (8.9.3/8.9.3) with ESMTP id RAA01081; Fri, 20 Oct 2000 17:33:54 +0200 (CEST) (envelope-from janko@compuserve.com) X-Authentication-Warning: parmenides.utp.net: janko owned process doing -bs Date: Fri, 20 Oct 2000 17:33:54 +0200 (CEST) From: Janko van Roosmalen X-Sender: janko@parmenides.utp.net To: Kurtis Smith Cc: freebsd-questions@FreeBSD.ORG Subject: Re: ppp dialup with natd for Internet share newbie one... In-Reply-To: <5.0.0.25.0.20001019085507.009f0c30@mail.idealfasteners.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Try first to get ppp working. Labels in ppp.conf must be positioned on the first position of the line, directives on the second position. On line 21 the "set" directive is interpreted as a label. default: # # blah blah blah "device" references... blah blah # set device /dev/cuaa1 set log Phase Chat LCP IPCP CCP tun command set speed 115200 set dial "abort blah blah..." set timeout set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 add default HISADDR enable dns papchap: PACBELL: set phone 956-4566 set authname test set authkey 123456 ===Janko van Roosmalen - Vught - Netherlands=== On Thu, 19 Oct 2000, Kurtis Smith wrote: > > 4.0 Release Custome Kernel... > > Hi, > > Here goes my question again for you guru's and not so guru's that have > this setup and functioning for your small web servers and email servers. > > I have gotten regular ppp to work just fine dial out and what not... I am > having a problem ever since I recompiled the kernel with pseudo device tun1. > > here is my ppp.conf > > 1. default: > 2. > 3. # > 4. # blah blah blah "device" references... blah blah > 5. # > 6. > 7. set device /dev/cuaa1 > 8. set log Phase Chat LCP IPCP CCP tun command > 9. set speed 115200 > 10. set dial "abort blah blah..." > 11. set timeout > 12. set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 > 13.add default HISADDR > 14.enable dns > 15. > 16.papchap: > 17. > 18.PACBELL: > 19. > 20.set phone 956-4566 > 21.set authname test > 22.set authkey 123456 > > this is what I do... > > hotshoppe# ppp -auto PACBELL > > working in auto mode > Using interface: tun0 > Warning: Bad label in /etc/ppp/ppp.conf (line 21) -missing colon > > ... so on ... error again with date... > > Now I do have DHCPD running on de0. I also have ipfirewall and ipdivert in > kernel I try to load natd but it does not come up since there is no active > connection.... > > Can someone point me to a how to or give me some info dam starting to pull > hair out because I had it working fine earlier today now its 3pm already > heheh.... > > Mind you this worked as is just like this before I recompiled kernel and also > did not have ipdivert or ipfirewall or change psuedo device tun 1 instead > of blank. > > Thanks, > > -Kurt > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message