Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


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

network config with two network cards as route to gateway



On Wed, 2004-07-07 at 07:31, Jerry Feldman wrote:

> I actually have that situation on my laptop where I plug in at home with
> a static IP, or I use wireless, or I'm at NEU where I use DHCP ...
> The first thing I did was to set up profiles. You can do this through
> YaST or use scpm(8) from the command line. I also have Grub configured
> to load the appropriate profile on startup. 

I used to do something similar, although I had rolled my own scripts 
for switching realms. But now I don't bother. Rather than configure 
my laptop with a static address when I'm at home, I just added the 
MAC address of my pcmcia ethernet card to /etc/dhcpd.conf and assigned 
it a static address there, so my dhcp server at home always gives my 
laptop that same address. This completely eliminates the hassle. 

-- 
John Abreau / Executive Director, Boston Linux & Unix
Email jabr at blu.org / WWW http://www.abreau.net / PGP-Key-ID 0xD5C7B5D9
PGP-Key-Fingerprint 72 FB 39 4F 3C 3B D6 5B E0 C8 5A 6E F1 2C BE 99

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 307 bytes
Desc: This is a digitally signed message part
URL: <http://lists.blu.org/pipermail/discuss/attachments/20040707/0dbb3d6c/attachment.sig>



BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org