On Thu, 22 Nov 2001, Jeff Boutet wrote: > I know this is more a sys admin thing. But it is somewhat relavent. > > My company is currently in the process of replacing all the Linux > development desktops for laptops, as to increase our developers > mobility. Thus the laptop will have to perform in 3 modes no network, > our network, someone else's network (using DHCP). Other than custom > scripts, run levels, rysc, anyone have any idea's?
Sure. The `whereami' package is a *great* way to achieve this sort of mobility. I have it configured to: * use the CRT or LCD based on monitor attachment * work out where I am via DHCP * auto-discover SOCKS servers on the network[1] * set mail to queue or deliver based on network connection * kick-start a couple of daemons when going from connected to roaming All of this can be done by writing some trivial shell scripts; whereami simply provides a framework for doing it. It's *really* easy to configure to do this stuff. There are a number of other packages that deal with the network discovery; whereami tries to address the issue of configuration as well. Other package, such as divine, are actually useful as *part* of the whereami system -- they can find what network you are on without needing a DHCP server running. Oh, and the last time I advertised his package here, the author asked if there were more features desired, which made me feel all loved and stuff. ;) Daniel Footnotes: [1] via hostname probe only, but you could extend this. :) -- The true way to overcome the evil of class distinctions is not to denounce them as revolutionists denounce them, but to ignore them as children ignore them. -- Charles Dickens