From owner-freebsd-questions Mon Jun 22 17:29:25 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAB02370 for freebsd-questions-outgoing; Mon, 22 Jun 1998 17:29:25 -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 RAA02311 for ; Mon, 22 Jun 1998 17:29:10 -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 BAA27055; Tue, 23 Jun 1998 01:13:16 +0100 (BST) (envelope-from brian@gate.lan.awfulhak.org) Message-Id: <199806230013.BAA27055@awfulhak.org> X-Mailer: exmh version 2.0.1 12/23/97 To: robert@chalmers.com.au cc: freebsd-questions , Brian Somers Subject: Re: tun0 interface and routing - boot time messages and downed links In-reply-to: Your message of "Tue, 23 Jun 1998 09:48:40 +1000." <358EED58.56506CF8@chalmers.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 23 Jun 1998 01:13:16 +0100 From: Brian Somers Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Sounds like you're kicking off ppp twice at startup and one of them is dying (probably because it can't configure the interface as it's already configured). This would also cause the uu_unlock error. What does the log say ? The log should also show why ppp is exiting at 4:50 (is that what you mean by ``hung'' ?). > Hi, > Two problems here. Probably related. > > Firstly: > > On boot up, on the console display I get; > ........... > Using interface tun0 > Warning: add route failed: 0.0.0.0 errno" Network is unreachable > tun0 flags=8011 mtu 1500 > tun0 flags=8011 mtu 1500 > .......... > > However, upon start up, everything connects fine, and ifconfig tun0 shows only > one instance running? > Somewhere the is a route it cant find. > > In sysconfig I have > > network_interfacees="lo0 ed0 tun0" > ... > ifconfig_tun0= > > and in start_if.tun0 I have > ppp -ddial isp > > Now, on far to many mornings, the link will go down, usually around 4:50 a.m, > and I come out to find the system hung, with this error showing; > > alert: deflink: Can't unlock uu_unlock /var/run/cuaa0_if > > As i can't find what is actually blocking this, I have to re-boot. Surely > there is a more gracefull way of doing this? > > > cheers > Robert > > > > > > -- > Support Whirled Peas. Business in China? China House > robert@chalmers.com.au ph:61 7 49440357 fx:61 7 49578425 > China House Uses Webposition to ensure Top Spot in Searches > http://www.chalmers.com.au/ChinaHouse/Business/webposition > -- 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