static vs. DHCP - and wireless vs. wired
Anyone have tips for setting up a laptop for static vs. DHCP?
I've always run static IPs on my home lan. But I'll be using DHCP at
hotels and conferences. I don't have a DHCP server to test with, so I'm
looking for example configs.
I assume the best way is to use LILO and append= to set a flag for
static/DHCP, and then select static or DHCP at boot, but I'm not sure then
what needs to be done, or if there is a specific Debian config.
I see "mappings" described in man interfaces, but don't really get how to
make use of them.
Also, I've managed to get my wireless working, but the wrong way. I
managed to just duplicate my eth0 /etc/network/interfaces as eth1 and when
I insert the card eth1 is brought up. I then ifdown eth0 and it works.
I realize I should be setting up /etc/pcmcia/network.opts, but not entirely
clear on that setup and how to automatically bring down or up eth0 on card
change.
BTW -- I've got an Aironet 532. Should I be setting options in wireless.opts?
Thanks,
--
Bill Moseley
mailto:moseley@hank.org
--
To UNSUBSCRIBE, email to debian-laptop-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: