Removing auto dhcp on startup for Puppy Linux

May 29, 2007

In Puppy Linux, when you select “Auto DHCP”, the interface will ask if you want to save the configuration. Unfortunately, one side effect or this is when you boot up and you are not near a network, your machine will hang until it times-out on DHCP (though you can press OK to bypass). How do you undo that auto dhcp on startup?

When you save configuration, the file is saved to a file name /etc/{interface}mode. The interface name you can get by running Puppy Network Setup. On my machine, the interface for my wireless is rausb0, so the interface file is /etc/rausb0mode. When you startup Puppy, it runs /etc/rc.network, which calls all of the /etc/*mode files.

To fix the problem, edit the script to remove the dhcp or delete it entirely. In my case, I just deleted the /etc/{interface}mode file.

Entry Filed under: Puppy Linux, linux. .

Leave a Comment

Required

Required, hidden

Some HTML allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Trackback this post  |  Subscribe to the comments via RSS Feed


Calendar

May 2007
M T W T F S S
« Apr   Jun »
 123456
78910111213
14151617181920
21222324252627
28293031  

Most Recent Posts