From owner-freebsd-questions Sun Oct 22 17:36: 1 2000 Delivered-To: freebsd-questions@freebsd.org Received: from smtp1b.mail.yahoo.com (smtp3.mail.yahoo.com [128.11.68.135]) by hub.freebsd.org (Postfix) with SMTP id 6696437B4C5 for ; Sun, 22 Oct 2000 17:35:58 -0700 (PDT) Received: from bd-a08.declera.com (HELO ais) (212.72.199.201) by smtp.mail.vip.suc.yahoo.com with SMTP; 23 Oct 2000 00:35:55 -0000 X-Apparently-From: Message-ID: <015501c03c89$2a57b0f0$0200a8c0@ais> From: "anton stamenov" To: References: <5.0.0.25.0.20001018144025.009e9100@mail.idealfasteners.com> Subject: Re: ppp dialup with natd for Internet share newbie one... Date: Mon, 23 Oct 2000 03:35:32 +0300 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > 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 > > > try use it this way ppp.conf... .... PACBELL: set phone 956-4566 set timeout 120 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 set authname test set authkey 123456 _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message