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
>>
>>
>> -- 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
> -- Unsubscribe? mail -s unsubscribe
> debian-user-request@lists.debian.org < /dev/null
Reply to: