Re: Best way to start eth0 without address
In Slink you can look at
/usr/doc/sysvinit/examples/network
what it shows is how the
/etc/init.d/network
file is set up when configuring the network during the Slink installation
process. I don't know if it is the same in unstable or not.
hth,
kent
----- Original Message -----
From: Marshal Kar-Cheung Wong <masee@usa.net>
To: Robb Aley Allan <rallan@helical.com>
Cc: <debian-user@lists.debian.org>
Sent: Monday, March 20, 2000 7:26 PM
Subject: Re: Best way to start eth0 without address
> >>>>> "Robb" == Robb Aley Allan <rallan@helical.com> writes:
>
> > For what it's worth, I sometimes use ifconfig eth0 0.0.0.0
> > netmask 255.255.255.0 up
>
> > and it seems to work.
>
> I guess the questions is in what file did you put it. I could comment
> out the line below in interfaces and put ifconfig ... in
> /etc/init.d/networking, but I'm looking to see if there is a more
> cleaner way... Thanks though.
>
> > Marshal Kar-Cheung Wong writes:
> >> Hey everyone.
> >>
> >> I'm using unstable, and I was wondering what would be the best
> >> way to start up eth0 without a network address assigned to it?
> >> I need this, so that pppoe will work correctly. Currently, I
> >> have the following in /etc/networks/interfaces:
> >>
> >> iface eth0 inet static address 0.0.0.0 netmask 255.255.255.0
> >>
> >> But on boot up, it complains like so
> >>
> >> SIOCSIFNETMASK: Cannot assign requested address
> >>
> >> There is no problem, since this does what I want, but I was
> >> wondering whether there is a cleaner way to do this.
> >>
> >> Thanks
> >>
> >> Marshal
> >>
> >>
Reply to: