[ltp] fyi: booting without network
Norman Levin
linux-thinkpad@www.bm-soft.com
Sun, 7 Jul 2002 08:29:52 -0500
Dale P. Smith wrote:
>>
>> I'm using Debian (sid) with ifup/ifdown on a t21. I use my laptop
>> all over the place, some places with dhcp, some with fixed addresses,
>> different printers, different dns issues. What I did was to take
>> advantage of the "mapping" function in /etc/network/interfaces.
>>
>> I keep a different printcap file for each place: /etc/printcap.PLACE
>> and /etc/printcap is just a symlink to it. I have scripts in
>> /etc/network/if-{pre-up,up,down,post-down}.d/ that do the symlinking
>> and handle starting/stopping lpd.
>>
>> Also in there, I have scripts that preserve what was in
>> /etc/resolv.conf before dhcp stomps all over it. Basically, it
>> wraps what dhcp (I'm using pump) want to put in there with "# eth0
>> begin" and "# eth0 end" pairs.
>>
>> I also have a bit of python that pops up a list of all the schemes
>> and allows you to ifup/down your interface and select which scheme
>> to use. I usually have this tied to a button on gkrellm.
>>
>> It's not automatic, but it's a very useful system.
>>
>> I can send the mess to anyone that's interested.
>>
>> -Dale
Dale, this sounds very useful. Do you have it in a RPM form? or tarball?
Also, how will this help the ethernet timeout problem at boot up time?
Or do you at the end of a day activate a "no network" scheme so on boot
there are no network checks?
norm (usually at a different site each week) levin
----- The Linux ThinkPad mailing list -----
The linux-thinkpad mailing list home page is at:
http://www.bm-soft.com/~bm/tp_mailing.html