Laptop without a network connection

Karl Hegbloom hegbloom at
Wed Jun 15 18:41:37 UTC 2005

On Tue, 2005-06-14 at 11:34 -0400, Mike Procario wrote:
> I sometimes run my laptop without a network connection. It takes
> forever for the "* Configuring network interfaces" step of the boot up
> to time out. Is there a way to either pass a boot parameter to skip
> that step or shorten the timeout?

I comment off the 'auto eth0' in /etc/network/interfaces, and then:

 aptitude install ifplugd resolvconf dnsmasq

My /etc/default/ifplugd looks like this:

 ARGS="-q -f -u0 -d10 -w -I"

/etc/hosts has:

 # Note: Use 'localise-queries' in dnsmasq.conf
 #  journeyhawk    localhost
 192.168.XXX.XXX  journeyhawk

... and I've added the 'localise-queries' (watch the spelling; s not z)
option to 'dnsmasq.conf', so that when a DNS query comes in over, it get answered with that entry.  When it comes in over any
other interface, it should get the other entry.

My WRT54G (running OpenWRT) has dnsmasq on it also, and is my LAN DNS
server.  I've a static intra-net IP for my laptop's MAC.  For
out-of-the-house, I can use dyndns if I need it, otherwise, anonymous
works just fine.

I have:

 send host-name "journeyhawk";

... in /etc/dhcp3/dhclient.conf, so hopefully I'll be given a name on a
LAN that supports dynamic DNS with DHCP, if I jack into a LAN or WLAN
that has that feature.  (dnsmasq does it, afaik).

Karl Hegbloom <hegbloom at>

More information about the ubuntu-users mailing list