I'd like to be able to have hot plug behavior with my ethernet cable. At the moment, I'm using dhcpcd along with the BLFS bootscripts. This means that the computer runs dhcpcd for a fixed period of time, trying to get an IP address. If it succeeds (like when the ethernet cable is plugged in), it continues on its merry way and you have network access. If it fails, then after that fixed period of time, it declares failure and continues on its merry way and you DON'T have network access.
What I want is to have network access whenever the ethernet cable is plugged in (and of course no access when its not) - including the ability to plug and unlpug the device multiple times since the computer has booted, regardless of whether the cable was plugged in when it was booted. My initial attempt was to give dhcpcd the -t flag with an enormous number, but since it isn't in the background, that just means that if you don't have the cable plugged in, you sit around forever waiting for the computer to finish booting (and effectively it never will). My successive attempts have not been any better. To get the appropriate hotplug behavior, do I need to get dhcpcd in the background somehow, or do I need to change certain values in the bootscripts, or do I need a separate program (such as d-bus or HAL or something)? Any help from those that know how to do deal with this problem would be appreciated. Thanks. - Jonathan Davis _______________________________________________ Clfs-support mailing list [email protected] http://lists.cross-lfs.org/cgi-bin/mailman/listinfo/clfs-support
