[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#537271: marked as done (debian-installer: network may not be usable as soon as link is up)



Your message dated Mon, 7 Feb 2011 09:39:33 +1100
with message-id <20110206223933.GE24798@hezmatt.org>
and subject line This is done, regardless of the reason
has caused the Debian Bug report #537271,
regarding debian-installer: network may not be usable as soon as link is up
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
537271: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=537271
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: debian-installer
Version: 20090123lenny1

hi,

the debian-installer seems to assume that the network is usable as soon
as the link comes up, which may not be the case if the 802.1d spanning
tree protocol is in use, in which case it can be up to ~30 seconds
before the switch port will forward ethernet frames.

i've noticed that trying to preseed a network install on a machine
attached to an STP-enabled switch usually fails since as soon as the
network link is up, d-i attempts to perform a reverse DNS lookup and
fetch the preseed.cfg file via HTTP, both of which timeout and fail
before the switch port the machine is attached to enters the forwarding
state.

a nice strategy to detect if the network is usable might be to send ARP
requests for the default gateway's IP address and consider the network
"up" only after the default gateway is reachable.  it looks like there
is a busybox version of the arping utility that could help accomplish
this.

-- 
Robert Edmonds
edmonds@debian.org

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
Version: 1.60

Given that there is no possible way to detect that the network link is up
but unuseable, the improved DHCP configuration, whereby DHCP DISCOVER packets
are sent every second, is the best possible fix for this (coupled with the
ability to preseed whatever length of DHCP timeout you want).



--- End Message ---

Reply to: