Best way to start eth0 without address
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.
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
>
>
> --
> Unsubscribe? mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null
>
--
Robb Aley Allan
rallan@helical.com rallan@minskoff.com allanr@acm.org
Helical Design Myron A. Minskoff, Inc. ACM
Reply to: