Intel 3945 wpi driver doesn't seem to work ('cause of license problems???)

vittorio vdemart1 at tin.it
Tue Jan 1 11:19:51 PST 2008


Context:
Router ZyXEL ADSL+2 with dhcp up and running

Laptop HP Pavillion Entertainment DV6000 intel centrino duo 2GB of memory
hpbsd# uname -a
FreeBSD hpbsd.vic 7.0-BETA4 FreeBSD 7.0-BETA4 #0: Thu Dec 27 22:18:53 CET 2007     
root at hpbsd.vic:/usr/obj/usr/src/sys/HP03  i386
hpbsd#
all wpi's necessary devices are compiled in the kernel
           device wpi
           device pci
           device wlan
           device wlan_amrr
           device firmware

/var/log/messages
kernel: wpi0: <Intel(R) PRO/Wireless 3945ABG> mem 0xd8000000-0xd8000fff irq 16 
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 54Mbps
kernel: wpi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
kernel: wpi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 
24Mbps 36Mbps 48Mbps 54Mbps

the line 

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)

Here it is a session log

<SNIP>
hpbsd# sysctl -a|grep legal
hpbsd#
hpbsd# kenv legal.intel_wpi.license_ack=1
legal.intel_wpi.license_ack="1"
hpbsd# kenv legal.intel_wpi.license_ack
1

hpbsd# ifconfig wpi0 ssid "my_wireless" weptxkey 1 wepmode on wepkey 
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=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 
        ether 00:19:d2:99:e3:cb
        inet 0.0.0.0 netmask 0xff000000 broadcast 255.255.255.255
        media: IEEE 802.11 Wireless Ethernet autoselect (OFDM/36Mbps)
        status: associated
        ssid my_wireless channel 6 (2437 Mhz 11g) bssid 00:02:cf:61:81:fd
        authmode OPEN privacy ON deftxkey 1 wepkey 1:40-bit txpower 50
        bmiss 7 scanvalid 60 protmode CTS

 </SNIP>

Even giving an ip fixed address to wpi0 doesn't seem to work, I cannot ping 
anything and for netstat -rn wpi0 doesn't seem to exist.


 Please help
Ciao from Rome
-- 
Vittorio


More information about the freebsd-questions mailing list