Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Nov 1998 20:36:33 +1300
From:      "Dan Langille" <junkmale@xtra.co.nz>
To:        Chris Johnson <cjohnson@palomine.net>, freebsd-questions@FreeBSD.ORG
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: PPP pendantic primer misses a step?
Message-ID:  <199811150735.UAA09875@cyclops.xtra.co.nz>
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 %2B1300

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199811150735.UAA09875>