manually starting network in Hoary

James Gray james at grayonline.id.au
Sat Jun 4 04:14:33 UTC 2005


On Sat, 4 Jun 2005 01:00 pm, David Coldrick wrote:
> I find the network startup on boot very slow, as I have both a wired
> port and a wireless, and am almost always using only one of the two.
> In my previous system, I hacked something to make the network startup
> manual, so a) I didn't have that long pause, and b) I just needed to
> do "sudo ifup eth0" or "sudo ifup wlan0" to start the network I wanted
> to use.
>
> I appear not to have documented what I did - musta seemed obvious at
> the time :-)
>
> Can someone give me a hint?

/etc/network/interfaces:
auto lo eth0 wlan0

iface eth0 inet dhcp

iface wlan0 inet dhcp
 wireless-essid foo
 wireless-wep   1234abcd

Remove the interfaces that you DON'T want to start automatically from the 
line starting with "auto".  You can leave the "iface" configurations in 
there so you can simply "sudo ifup eth0/wlan0/etc" when you need them :)

HTH,

James
-- 
A strong conviction that something must be done is the parent of many
bad measures.
  -- Daniel Webster
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20050604/0a64e077/attachment.sig>


More information about the ubuntu-users mailing list