On Wed, 2004-05-12 at 08:55, Greg Cockburn wrote:
> add
> iface eth0 inet dhcp
If you add a line:
auto eth0
Then it will come up on reboot too (or when you do an
/etc/init.d/networking start|restart)
Even cooler, you can add stanzas in that file and instead of giving it
the name eth0 you can use a name like "work" e.g.
iface work inet dhcp
and
iface home inet static
address 10.0.0.1
...etc...
Which means you can do
ifup eth0=work
and it will bring up the work definition and
ifup eth0=home
and it will bring up the home definition.
Cool!
--
Simon Wong <[EMAIL PROTECTED]>
Wongy.org
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html