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

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



Christian Perrier wrote:
> Quoting Robert Edmonds (edmonds@debian.org):
> 
> > 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.
> 
> Ready to implement this in netcfg? :-)

maybe.  it's python, right?  where is the trunk?

> PS: that would probably need some debconf stuff to implement a dialog
> saying something like "Waiting for the network link...".

and some sort of error message if the default gateway doesn't respond
after a long time.

and it would have to be conditional on a default gateway being
configured.  i guess there is a pathological case where you could do a
net install with servers that are all on the local network.

> I'd suggest to add such a detection *after* the first attempt to use
> the network fails...

why?  it's not optional for the gateway router to ignore ARP (unlike
ICMP echo), or else it couldn't function as a router, so the check must
succeed 100% of the time.  and the attempts to use the network could
fail for other reasons.

-- 
Robert Edmonds
edmonds@debian.org

Attachment: signature.asc
Description: Digital signature


Reply to: