From owner-freebsd-questions Sat Nov 14 23:26:08 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA29548 for freebsd-questions-outgoing; Sat, 14 Nov 1998 23:26:08 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from shemp.palomine.net (shemp.palomine.net [205.198.88.200]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id XAA29541 for ; Sat, 14 Nov 1998 23:26:07 -0800 (PST) (envelope-from cjohnson@palomine.net) Received: (qmail 29713 invoked by uid 1000); 15 Nov 1998 07:25:44 -0000 Message-ID: <19981115022544.A29690@palomine.net> Date: Sun, 15 Nov 1998 02:25:44 -0500 From: Chris Johnson To: junkmale@xtra.co.nz Cc: freebsd-questions@FreeBSD.ORG Subject: Re: PPP pendantic primer misses a step? References: <199811150605.TAA05897@witch.xtra.co.nz> <199811150701.UAA16239@witch.xtra.co.nz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: <199811150701.UAA16239@witch.xtra.co.nz>; from Dan Langille on Sun, Nov 15, 1998 at 08:02:56PM +1300 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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. Chris To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message