From owner-freebsd-questions@FreeBSD.ORG Tue Jan 1 19:19:51 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 C955416A417 for ; Tue, 1 Jan 2008 19:19:51 +0000 (UTC) (envelope-from vdemart1@tin.it) Received: from smtp4.aruba.it (smtpd3.aruba.it [62.149.128.208]) by mx1.freebsd.org (Postfix) with SMTP id 2FCC913C468 for ; Tue, 1 Jan 2008 19:19:50 +0000 (UTC) (envelope-from vdemart1@tin.it) Received: (qmail 18228 invoked by uid 89); 1 Jan 2008 19:19:47 -0000 Received: by simscan 1.1.0 ppid: 18214, pid: 18221, t: 0.1062s scanners: clamav: 0.88.4/m:40/d:1722 Received: from unknown (HELO ?10.155.100.51?) (vittorio@de-martino.it@82.59.145.210) by smtp4.aruba.it with SMTP; 1 Jan 2008 19:19:47 -0000 From: vittorio To: freebsd-questions@freebsd.org Date: Tue, 1 Jan 2008 19:19:45 +0100 User-Agent: KMail/1.9.7 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200801011919.46247.vdemart1@tin.it> X-Spam-Rating: smtp4.aruba.it 1.6.2 0/1000/N Subject: 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: Tue, 01 Jan 2008 19:19:51 -0000 Context: Router ZyXEL ADSL+2 with dhcp up and running Laptop HP Pavillion Entertainment DV6000 intel centrino duo 2GB of memory hpbsd# uname -a =46reeBSD hpbsd.vic 7.0-BETA4 FreeBSD 7.0-BETA4 #0: Thu Dec 27 22:18:53 CET= 2007 =A0 =A0=20 root@hpbsd.vic:/usr/obj/usr/src/sys/HP03 =A0i386 hpbsd# all wpi's necessary devices are compiled in the kernel =A0=A0=A0=A0=A0=A0=A0=A0 =A0 device wpi =A0 =A0 =A0 =A0 =A0 =A0device pci =A0 =A0 =A0 =A0 =A0 =A0device wlan =A0 =A0 =A0 =A0 =A0 =A0device wlan_amrr =A0 =A0 =A0 =A0 =A0 =A0device firmware /var/log/messages kernel: wpi0: mem 0xd8000000-0xd8000fff irq= 16=20 at device 0.0 on pci2 kernel: wpi0: Ethernet address: 00:19:d2:99:e3:cb kernel: wpi0: [ITHREAD] kernel: wpi0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54M= bps kernel: wpi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps kernel: wpi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mb= ps=20 24Mbps 36Mbps 48Mbps 54Mbps the line=20 legal.intel_wpi.license_ack=3D1=20 is in /boot/loader.conf=20 BUT 1) it seems that sysctl is unable to find it and I have to set it via=20 kenv legal.intel_wpi.license_ack=3D1 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=20 makes wpi0 not associated to any AP) Here it is a session log hpbsd# sysctl -a|grep legal hpbsd# hpbsd# kenv legal.intel_wpi.license_ack=3D1 legal.intel_wpi.license_ack=3D"1" hpbsd# kenv legal.intel_wpi.license_ack 1 hpbsd# ifconfig wpi0 ssid "my_wireless" weptxkey 1 wepmode on wepkey=20 0x1f7b0a5a0d hpbsd# dhclient wpi0 DHCPDISCOVER on wpi0 to 255.255.255.255 port 67 interval 5 DHCPDISCOVER on wpi0 to 255.255.255.255 port 67 interval 12 DHCPDISCOVER on wpi0 to 255.255.255.255 port 67 interval 9 DHCPDISCOVER on wpi0 to 255.255.255.255 port 67 interval 18 DHCPDISCOVER on wpi0 to 255.255.255.255 port 67 interval 12 DHCPDISCOVER on wpi0 to 255.255.255.255 port 67 interval 5 No DHCPOFFERS received. No working leases in persistent database - sleeping. hpbsd# ifconfig wpi0 wpi0: flags=3D8843 metric 0 mtu 150= 0=20 =A0 =A0 =A0 =A0 ether 00:19:d2:99:e3:cb =A0 =A0 =A0 =A0 inet 0.0.0.0 netmask 0xff000000 broadcast 255.255.255.255 =A0 =A0 =A0 =A0 media: IEEE 802.11 Wireless Ethernet autoselect (OFDM/36Mbp= s) =A0 =A0 =A0 =A0 status: associated =A0 =A0 =A0 =A0 ssid my_wireless channel 6 (2437 Mhz 11g) bssid 00:02:cf:61= :81:fd =A0 =A0 =A0 =A0 authmode OPEN privacy ON deftxkey 1 wepkey 1:40-bit txpower= 50 =A0 =A0 =A0 =A0 bmiss 7 scanvalid 60 protmode CTS =A0 Even giving an ip fixed address to wpi0 doesn't seem to work, I cannot ping= =20 anything and for netstat -rn wpi0 doesn't seem to exist. =A0Please help Ciao from Rome =2D-=20 Vittorio