euglug.org

Ubuntu/wireless problem ( was Re: [Eug-lug] Schwag!)

작성자

카테고리:



Quentin HartmanThu Dec 15 16:23:37 PST 2005

On 12/15/05, larry price <laprice at gmail.com> wrote:
>
> On 12/15/05, Matthew Jarvis <mattj at bikefriday.com> wrote:
> > Ubuntu still takes a ghastly long time to log in and present the GUI. On
> > the other hand, once I'm in I can go to System/Admin/Networking and play
> > with the config for the card.
>
> Ubuntu's Default boot sequence seems to have been built on
> the assumption that it would be running on a networked PC
> so it will wait for dhcp to time out on any ethernet interfaces
> (even if the ethernet interface is not active)
>
> you can disable dhcp probing by changing the configuration in
> /etc/network/interfaces


An alternative (and perhaps more appropriate, depending on your use case)
solution is to change the DHCP timeout in
/etc/dhcp3/dhclient.conf to a more sane value. The default is to wait a
minute, which imho is pretty asanine. In my experience, DHCP answers in less
than 10 seconds (usually 5 is even safe...) if it is going to answer at all.
So, that is one of the first things I change on pretty much every Linux
machine I work on. That way, you still get auto-config of networking on boot
99% of the time, but don't have terrible boot times when you are
disconnected. Best of both worlds.

-Quentin-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.euglug.org/pipermail/euglug/attachments/20051215/5df35b2e/attachment.htm