[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: how to ifup -a an addressless interface

On Thursday 18 June 2009 17.36.29 Osamu Aoki wrote:
> Hi,
> On Thu, Jun 18, 2009 at 09:18:33AM +0200, LEVAI Daniel wrote:
> > Hi!
> >
> > Can I somehow just edit my interfaces file, so when I run ifup -a, it
> > will only bring up the device, without any addresses configured?
> > (I can not use the static keyword, because then I must provide an address
> > and whatnot, and I can not use the manual keyword either, because then
> > ifup won't bring up the device).
Ah, tricky (didn't see this example mentioned in interfaces(5), however):
 pre-up /sbin/ifconfig eth0 up

> http://www.debian.org/doc/manuals/debian-reference/ch05.en.html
just for the record, more precisely in: 

Thanks for the pointer!


LÉVAI Dániel
PGP key ID = 0x4AC0A4B1
Key fingerprint = D037 03B9 C12D D338 4412  2D83 1373 917A 4AC0 A4B1

Reply to: