From owner-freebsd-questions@FreeBSD.ORG Wed Jan 2 09:41:19 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 73BB716A419 for ; Wed, 2 Jan 2008 09:41:19 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id CB47913C467 for ; Wed, 2 Jan 2008 09:41:18 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) by smtp.infracaninophile.co.uk (8.14.2/8.14.2) with ESMTP id m029fB5I051911; Wed, 2 Jan 2008 09:41:12 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.4.1 smtp.infracaninophile.co.uk m029fB5I051911 Authentication-Results: smtp.infracaninophile.co.uk; dkim=hardfail (SSP) header.i=unknown Message-ID: <477B5C37.1000004@infracaninophile.co.uk> Date: Wed, 02 Jan 2008 09:41:11 +0000 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.9 (X11/20071122) MIME-Version: 1.0 To: vittorio References: <200801011919.46247.vdemart1@tin.it> In-Reply-To: <200801011919.46247.vdemart1@tin.it> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (smtp.infracaninophile.co.uk [IPv6:::1]); Wed, 02 Jan 2008 09:41:13 +0000 (GMT) X-Virus-Scanned: ClamAV 0.92/5338/Wed Jan 2 03:46:29 2008 on happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-3.0 required=5.0 tests=AWL,BAYES_00,NO_RELAYS autolearn=ham version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on happy-idiot-talk.infracaninophile.co.uk Cc: freebsd-questions@freebsd.org Subject: Re: Intel 3945 wpi driver doesn't seem to work ('cause of license problems???) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jan 2008 09:41:19 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 vittorio wrote: > legal.intel_wpi.license_ack=1 > > is in /boot/loader.conf > > BUT > 1) > it seems that sysctl is unable to find it and I have to set it via > kenv legal.intel_wpi.license_ack=1 > > Shouldn't this variable be set by sysctl or by loader.conf? > > 2) > dhclient is unable to get an IP address (trying to set wpi0 up with a fixed IP > makes wpi0 not associated to any AP) Hmmm.... I have a similar setup. In my case, it's a Dell D800 using iwi: % grep iwi /var/run/dmesg.boot iwi0: mem 0xfafee000-0xfafeefff irq 9 at device 3.0 on pci2 [...] and a ZyXEL 660HW router: Menu 24.2.1 - System Maintenance - Information Name: gate.infracaninophile.co.uk Routing: IP ZyNOS F/W Version: V3.40(ACI.7) | 10/18/2006 ADSL Chipset Vendor: DMT FwVer: 3.4.1.0_A_TC, HwVer: T14F7_+ Standard: Multi-Mode However I have no problems setting legal.intel_iwi.license_ack=1 from /boot/loader.conf -- it could be something as stupid as no newline at end of file. Try running 'od -c /boot/loader.conf' or 'cat -e /boot/loader.conf' to verify. On the question of the DHCP service provided by this combination router and wlan hardware, and indeed the whole performance at providing wireless lan connectivity -- I'm not particularly impressed. I'd restart the laptop and everything would be fine for a few hours, but leave it running overnight and it would lose the lease and end up without an IPv4 address. IPv6 addresses autoconfigured with rtadvd and rtsol seem quite a lot more stable but I've seen every combination of being able or not to ping or ping6 the laptop from a wired machine. In the end I found that setting the ZyXEL to do DHCP Relay and running isc-dhcpd on a FBSD box with the lease times increased as so: default-lease-time 3600; # 1 hour max-lease-time 86400; # 1 day plus moving the laptop to within about 2m of the ZyXEL seems to have made quite an improvement. Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHe1w38Mjk52CukIwRCLkmAJ9VIYUgB1SHW+AUkvE7949OFnlbgACfUf4V r8g3taRYYcBHLv9GIdOsKmc= =+AU+ -----END PGP SIGNATURE-----