From owner-freebsd-questions Sat Nov 14 23:36:23 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA00335 for freebsd-questions-outgoing; Sat, 14 Nov 1998 23:36:23 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from cyclops.xtra.co.nz (cyclops.xtra.co.nz [202.27.184.96]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA00328 for ; Sat, 14 Nov 1998 23:36:16 -0800 (PST) (envelope-from junkmale@pop3.xtra.co.nz) Received: from wocker (210-55-210-87.ipnets.xtra.co.nz [210.55.210.87]) by cyclops.xtra.co.nz (8.9.1/8.9.1) with SMTP id UAA09875; Sun, 15 Nov 1998 20:35:20 +1300 (NZDT) Message-Id: <199811150735.UAA09875@cyclops.xtra.co.nz> From: "Dan Langille" Organization: DVL Software Limited To: Chris Johnson , freebsd-questions@FreeBSD.ORG Date: Sun, 15 Nov 1998 20:36:33 +1300 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: PPP pendantic primer misses a step? Reply-to: junkmale@xtra.co.nz CC: freebsd-questions@FreeBSD.ORG In-reply-to: <19981115022544.A29690@palomine.net> References: <199811150701.UAA16239@witch.xtra.co.nz>; from Dan Langille on Sun, Nov 15, 1998 at 08:02:56PM +1300 X-mailer: Pegasus Mail for Win32 (v3.01d) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 15 Nov 98, at 2:25, Chris Johnson wrote: > On Sun, Nov 15, 1998 at 08:02:56PM +1300, Dan Langille wrote: > > On 14 Nov 98, at 22:55, Jason C. Wells wrote: > > > > > On Sun, 15 Nov 1998, Dan Langille wrote: > > > > > > >Tonight I helped a chap out getting his network card running. He > > > >couldn't get ifconfig to show an IP address. He claimed to be doing > > > >everything in the manual. I suggested he do the following manually: > > > > > > > >ifconfig ed0 192.168.0.98 255.255.255.0 > > > > > > > >>From then, it worked. > > > > > > > >Is this a step which must be first done manually? > > > > > > It is done vi rc.conf on my box. > > > > Sorry. I omitted that point in my original post. The user had > > something like: > > > > ifconfig_ed1="inet 192.168.0.98 netmask 255.255.255.0" > > > > in /etc/rc.conf. But until the above mentioned step was done manually, > > ifconfig -a did not show an IP address. > > > > I admit my details are sketchy. I was helping someone on IRC and I > > probably do not have all the details. I also seem to recall being told > > that an ifconfig had to be done once, manually, to initialise things. > > > > Does any of this ring true to anyone? > > No. When the box is booted, "ifconfig ed1 inet 192.168.0.98 netmask > 255.255.255.0" is run from /etc/rc.network (given the line from > /etc/rc.conf you provided above), exactly as if you'd run it manually from > a shell prompt. > > Is the interface really ed1? I notice the command line you gave above is > for ed0. This would explain ed0 not being configured when the box is > booted up. No, the above are my typos. -- Dan Langille The FreeBSD Diary http://www.FreeBSDDiary.com/freebsd To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message