From owner-freebsd-questions Thu Jul 27 22:13:19 2000 Delivered-To: freebsd-questions@freebsd.org Received: from giroc.albury.net.au (giroc.albury.NET.AU [203.15.244.13]) by hub.freebsd.org (Postfix) with ESMTP id 46DEA37B63D for ; Thu, 27 Jul 2000 22:13:16 -0700 (PDT) (envelope-from nicks@giroc.albury.net.au) Received: (from nicks@localhost) by giroc.albury.net.au (8.9.3/8.9.3) id PAA70273; Fri, 28 Jul 2000 15:12:41 +1000 (EST) Date: Fri, 28 Jul 2000 15:12:41 +1000 From: Nick Slager To: Vitaminoid Cc: FreeBSD-questions Subject: Re: ifconfig problem Message-ID: <20000728151241.A49511@albury.net.au> References: <142188152729.20000728155041@royal.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.4i In-Reply-To: <142188152729.20000728155041@royal.net>; from vitaminoid@royal.net on Fri, Jul 28, 2000 at 03:50:41PM +1100 X-Homer: Whoohooooooo! Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Thus spake Vitaminoid (vitaminoid@royal.net): > the following commands: > ifconfig rl0 inet 10.0.1.105 netmask 255.255.255.0 > and the same on ed0 make interfaces work right, pinging is ok for both > > but when i make the same things in the rc.conf: > > hostname="free.stm" > network_interfaces="lo0 rl0 ed0" > ifconfig_lo0="inet lo0 127.0.0.1" > ifconfig_rl0="inet rl0 10.0.1.105 -netmask 255.255.255.0" > ifconfig_ed0="inet ed0 132.124.12.10 -netmask 255.255.255.0" ^^^^^^^^ There's your problem. Incorrect syntax for the ifconfig lines in /etc/rc.conf. > and! when i get interfaces up manually, defaultrouter doesn't work.. > what's wrong? Make sure your interfaces are up and running, then add your default route. > also i don't have /etc/resolv.conf.. should i make it manually? At this stage it would be easiest to add it manually. Regards, Nick. -- From a Sun Microsystems bug report (#4102680): "Workaround: don't pound on the mouse like a wild monkey." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message