On Mon, Apr 23, 2001 at 09:30:11PM -0400, Matt Pepper wrote: > Hi - > > I have a Dell laptop I am endeavoring to put Debian on however I have a > query I'd like to get answered first. Does anyone know if there is a way of > handling multiple hardware profiles in Debian similar to the concept within > Windows? I ask because when I am at home I have the laptop docked which > means not only the PCMCIA ethernet port is present but also an ethernet card > within the port replicator is present. When I am at work only the PCMCIA > ethernet port is available. Does anyone see any problem with this? Any way > to handle the two configurations gracefully? > I can think of one if you like kernel modules:
Note: I don't know pcmcia-cs Write a script that switches the /etc/modules files based on detecting the docking port from whatever /proc file shows it. It really won't hurt anything to have both loaded... Do you want to change other things based on being un/docked? Do you use dhcp in both instances, what exactly do you want to change based on the hardware available. In your example, you'll have ethernet on both... Mike