From owner-freebsd-questions Wed Aug 5 22:22:57 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA29817 for freebsd-questions-outgoing; Wed, 5 Aug 1998 22:22:57 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from super-g.inch.com (super-g.com [207.240.140.161]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA29811 for ; Wed, 5 Aug 1998 22:22:53 -0700 (PDT) (envelope-from spork@super-g.com) Received: from localhost (localhost [127.0.0.1]) by super-g.inch.com (8.8.8/8.8.5) with SMTP id BAA28762; Thu, 6 Aug 1998 01:22:36 -0400 (EDT) Date: Thu, 6 Aug 1998 01:22:35 -0400 (EDT) From: spork X-Sender: spork@super-g.inch.com To: charlespeters@chickenbean.com cc: questions@FreeBSD.ORG Subject: Re: gateway, ppp -alias, netstat -nr output and ifconfig -a output --- ongoing problem getting gateway to run stabelly In-Reply-To: <001701bdbf5e$ee8a1620$20710418@ci1000971-c.sptnbrg1.sc.home.c om> 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 Hi, Let me take a stab at this, I just started playing with ppp. First, I'd recommend grabbing the latest ppp from www.awfulhak.org, and also go over some of the FAQ pointers there... I had some problems with -alias go away when I upgraded. > Also, I often (once or twice daily) have to shutdown -r now and then during > the reboot, turn of the power for a few seconds to reset the modem. This is > also a pain in the ass, as I am not always there to reset the machine for my > users. The system works fine for our application when it works, but it > locks up too often. What is locking up? Just the modem? What brand modem is this? It kind of sounds like it's not smart enough to drop the line when dtr goes low, this should be able to be fixed with the correct init string. Was this taken while the link was up? If so, the default route is wrong. Looking at my machine, my default points to the far end of the tunnel interface. Also, do you have "Gateway=YES" in your rc.conf? That's about all I can think of. I can give you a little more info when I'm at my ppp-running machine... Charles > $ netstat -nr > Routing tables > > Internet: > Destination Gateway Flags Refs Use Netif > Expire > default 10.0.0.2 UGSc 6 7607 tun0 > 127.0.0.1 127.0.0.1 UH 0 0 lo0 > 192.168 link#1 UC 0 0 > 192.168.0.1 0:c0:f0:30:86:f6 UHLW 1 26 lo0 > 192.168.0.48 0:c0:f0:30:9d:7 UHLW 1 864 de0 > 838 > 192.168.0.255 ff:ff:ff:ff:ff:ff UHLWb 0 235 de0 > 206.139.129.5 206.139.129.135 UH 0 0 tun0 > $ > > > $ ifconfig -a > de0: flags=8843 mtu 1500 > inet 192.168.0.1 netmask 0xffffff00 broadcast 192.168.0.255 > ether 00:c0:f0:30:86:f6 > media: autoselect (10baseT/UTP) status: active > lp0: flags=8810 mtu 1500 > tun0: flags=8051 mtu 1500 > inet 206.139.129.135 --> 206.139.129.5 netmask 0xffffff00 > sl0: flags=c010 mtu 552 > ppp0: flags=8010 mtu 1500 > lo0: flags=8049 mtu 16384 > inet 127.0.0.1 netmask 0xff000000 > $ > > > > Let me know if more information is required. > > Thanks in advance. > > Charles > > > > > > 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