From owner-freebsd-questions Wed May 20 19:19:08 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA14451 for freebsd-questions-outgoing; Wed, 20 May 1998 18:37:07 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from awfulhak.org (awfulhak.force9.co.uk [195.166.136.63]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA14301 for ; Wed, 20 May 1998 18:36:17 -0700 (PDT) (envelope-from brian@Awfulhak.org) Received: from gate.lan.awfulhak.org (localhost [127.0.0.1]) by awfulhak.org (8.8.8/8.8.8) with ESMTP id CAA12059; Thu, 21 May 1998 02:35:58 +0100 (BST) (envelope-from brian@gate.lan.awfulhak.org) Message-Id: <199805210135.CAA12059@awfulhak.org> X-Mailer: exmh version 2.0.1 12/23/97 To: styih cc: Brian Somers , freebsd-questions@FreeBSD.ORG Subject: Re: [Help]:Problems with PPP dialin Server with mgetty ... In-reply-to: Your message of "Wed, 20 May 1998 14:52:37 +0800." <35627DB4.6AC91EE8@mail.3pstudio.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 21 May 1998 02:35:58 +0100 From: Brian Somers Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > > Brian Somers wrote: > > > [.....] > > > May 18 20:44:00 theatre ppp[173]: tun0: LCP: OsLinkup: 210.66.235.121 > > > May 18 20:44:00 theatre ppp[173]: tun0: Command: MYADDR: delete ALL > > > May 18 20:44:00 theatre ppp[173]: tun0: Command: MYADDR: add 0 0 HISADDR > > > > > > May 18 20:44:00 theatre ppp[173]: tun0: Warning: Add route failed: > > > 0.0.0.0 already exists > > [.....] > > > > Don't specify a default route in /etc/rc.conf. > > -- > > Brian , , > > > > Don't _EVER_ lose your sense of humour.... > > I tried it , > Now I can use ppp to access my company's LAN ,all 210.66.235.* > but I can't get connection to outside , such as http://www.freebsd.org or > http://www.Awfulhak.org > When I use MS-DOS windows to "ping www.freebsd.org" ...it failed.... > > And then I tried to use "ping" on my ppp server > the answer is "no route to host" > > What should I do ??? Don't add a default route to your company... Sounds like you want your previous default route in /etc/rc.conf and a ``add 210.66.235.0 255.255.255.0 hisaddr'' in ppp.linkup. -- Brian , , Don't _EVER_ lose your sense of humour.... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message