Subject: Re: iwi device stops working
To: None <tls@rek.tjls.com>
From: Berndt Josef Wulf <wulf@ping.net.au>
List: tech-net
Date: 10/12/2005 06:56:29
--nextPart1588197.7pcTb8AdUh
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

On Mon, 3 Oct 2005 06:55, Thor Lancelot Simon wrote:
> On Mon, Oct 03, 2005 at 06:46:25AM +0930, Berndt Josef Wulf wrote:
> > On Sun, 2 Oct 2005 23:57, Nick Hudson wrote:
> > > On Sunday 02 October 2005 12:49, Berndt Josef Wulf wrote:
> > > > G'day,
> > > >
> > > > My laptop has a iwi device which is extensively used at home. It us=
es
> > > > dhcp to acquire its IP address and other network related information
> > > > from a local server. The problem with this device is that it stops
> > > > working for no apparent reason.  It also seems to be having a small=
er
> > > > range when compared with its operation under XP. Since it works und=
er
> > > > Windows it may be assumed that there is no hardware problem. Has
> > > > anyone come across this and found a fix? It's a rather annoying fau=
lt
> > > > as it requires me to reboot the system for it to come up again.
> > > >
> > > > Sysinfo: Dell Inspiron 9300, NetBSD-3.99.8
> > >
> > > Update - I've committed a few fixes recently. Let me know how you get
> > > on.
> > >
> > > Nick
> >
> > This didn't fix. It's still loosing the connection. It appears to
> > coincide with the renewal of the IP address lease.
>
> This is a bug in both iwi *and* in dhclient, one which has been fixed in
> many other network interface drivers.
>
> Dhclient should not ifconfig the interface up and down -- or, in fact,
> touch it with ifconfig *at all* -- if the IP address remains the same
> on renewal of the DHCP lease.
>
> Network interface drivers, on the other hand, have no business whatsoever
> resetting the interface -- which presumably causes the loss of your
> authentication keys, and other interface state -- when all that is done
> to them is an address change ioctl.

Is someone working on this or should I file a PR so it doesn't slip through=
=20
the cracks?

cheerio Berndt

--nextPart1588197.7pcTb8AdUh
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (NetBSD)

iD8DBQBDTC4JcUIHpeIRpjERAlxXAJ40wDbphMzX7OkUoLSL/rAYGqqRgQCfUKNi
WX3NuizptKP7Sx1cEOnL5Zo=
=5JMg
-----END PGP SIGNATURE-----

--nextPart1588197.7pcTb8AdUh--