Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Mar 2007 21:35:06 +0600
From:      "wDevil wDevil" <wwdevil@gmail.com>
To:        freebsd-mobile@freebsd.org
Subject:   iwi, FreeBSD 6.1 Release on Acer Aspire 1640z.
Message-ID:  <31ee4d090703100735j3b4698a4sb7d0fdfe3f82bfc2@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Kernel
device wlan
device iwi
device wlan_tkip
device wlan_acl
device wlan_ccmp
device wlan_wep

kldstat
[root@]# kldstat
Id Refs Address    Size     Name
 1   15 0xc0400000 3c5288   kernel
 2    1 0xc07c6000 7160     if_rl.ko
 3    1 0xc07ce000 246c8    sound.ko
 4    1 0xc07f8000 60f94    acpi.ko
 5    1 0xc34d6000 2000     msdosfs_iconv.ko
 6    1 0xc34d8000 3000     libiconv.ko
 7    1 0xc3509000 e000     msdosfs.ko
 8    1 0xc35f7000 18000    linux.ko


/usr/ports/net/iwi-firmware (2.4_2) installed.
[root@]# pkg_info -L iwi*
Information for iwi-firmware-2.4_2:

Files:
/usr/share/man/man8/iwicontrol.8.gz
//usr/sbin/iwicontrol
/boot/firmware/LICENSE.iwi
/boot/firmware/iwi-boot.fw
/boot/firmware/iwi-bss.fw
/boot/firmware/iwi-ucode-bss.fw
/boot/firmware/iwi-ibss.fw
/boot/firmware/iwi-ucode-ibss.fw
/boot/firmware/iwi-sniffer.fw
/boot/firmware/iwi-ucode-sniffer.fw
//etc/rc.d/iwi


rc.conf
iwi_enable="YES"
ifconfig_iwi0="WPA DHCP"

/etc/wpa_supplicant.conf
ctrl_interface_group=0
eapol_version=1
ap_scan=1
fast_reauth=1

network={
ssid="wDevil"
key_mgmt=WPA-PSK
proto=WPA
pairwise=TKIP
group=TKIP
psk="zzzzz"
}


dmesg
wlan: mac acl policy registered
iwi0: <Intel(R) PRO/Wireless 2200BG> mem 0xb0101000-0xb0101fff irq 17 at device
4.0 on pci6
iwi0: Ethernet address: 00:13:ce:e6:c2:d7
 wpa_supplicant already running? (pid=211).
DHCPDISCOVER on iwi0 to 255.255.255.255 port 67 interval 6
DHCPDISCOVER on iwi0 to 255.255.255.255 port 67 interval 13
send_packet: Network is down
DHCPDISCOVER on iwi0 to 255.255.255.255 port 67 interval 9
send_packet: Network is down
iwi0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        inet 0.0.0.0 netmask 0xff000000 broadcast 255.255.255.255
        ether 00:13:ce:e6:c2:d7
        media: IEEE 802.11 Wireless Ethernet autoselect
        status: no carrier
        ssid "" channel 10
        authmode WPA1+WPA2/802.11i privacy ON deftxkey UNDEF txpowmax 100
        protmode CTS roaming MANUAL

iwicontrol iwi0 -r
Radio is OFF

sysctl -a |grep iwi
net.wlan.0.%parent: iwi0
dev.iwi.0.%desc: Intel(R) PRO/Wireless 2200BG
dev.iwi.0.%driver: iwi
dev.iwi.0.%location: slot=4 function=0
dev.iwi.0.%pnpinfo: vendor=0x8086 device=0x4220 subvendor=0x8086
subdevice=0x2701 class=0x028000
dev.iwi.0.%parent: pci6
dev.iwi.0.radio: 0
dev.iwi.0.dwell: 100
dev.iwi.0.bluetooth: 1
dev.iwi.0.antenna: 0

The led on the computer is not on.
[root@]# sysctl dev.iwi.0.radio=1
sysctl: oid 'dev.iwi.0.radio' is read only

In http://damien.bergamini.free.fr/ipw/iwi-freebsd.html i  found:
"If your adapter radio transmitter is off (=0), use your laptop switch
to turn it on and re-run the above command to see if it has some
effect. If your radio transmitter is still off, it is likely that your
laptop uses a software switch that requires additionnal drivers to
work. Unfortunately, not all those laptops are supported at this time.
"
Don't work.

[root@]# sysctl net.wlan.debug=-1
[root@]# sysctl net.wlan.0.debug=-1
[root@]# /etc/rc.d/wpa_supplicant stop iwi0
Stopping wpa_supplicant.
Waiting for PIDS: 211^[[A.
[root@]# /etc/rc.d/wpa_supplicant start iwi0
Starting wpa_supplicant.

/var/log/messages
kernel: iwi0: _ieee80211_crypto_delkey: NONE keyix 65535 flags 0x3 rsc
0 tsc 0 len 0
last message repeated 3 times
kernel: iwi0: ieee80211_node_table_reset scan table
kernel: iwi0: ieee80211_free_allnodes_locked: free all nodes in scan table


[root@]# wpa_supplicant  -i iwi0 -c/etc/wpa_supplicant.conf -d
Initializing interface 'iwi0' conf '/etc/wpa_supplicant.conf' driver
'default' ctrl_interface 'N/A'
Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant.conf'
ctrl_interface_group=0
eapol_version=1
ap_scan=1
fast_reauth=1
Priority group 0
   id=0 ssid='wDevil'
Initializing interface (2) 'iwi0'
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: KEY_RX entering state NO_KEY_RECEIVE
EAPOL: SUPP_BE entering state INITIALIZE
EAP: EAP entering state DISABLED
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
Own MAC address: 00:13:ce:e6:c2:d7
wpa_driver_bsd_set_wpa: enabled=1
wpa_driver_bsd_set_wpa_internal: wpa=3 privacy=1
wpa_driver_bsd_del_key: keyidx=0
wpa_driver_bsd_del_key: keyidx=1
wpa_driver_bsd_del_key: keyidx=2
wpa_driver_bsd_del_key: keyidx=3
wpa_driver_bsd_set_countermeasures: enabled=0
wpa_driver_bsd_set_drop_unencrypted: enabled=1
Setting scan request: 0 sec 100000 usec
Added interface iwi0
State: DISCONNECTED -> SCANNING
Starting AP scan (broadcast SSID)

^CCTRL-EVENT-TERMINATING - signal 2 received
Removing interface iwi0
State: SCANNING -> DISCONNECTED
No keys have been configured - skip key clearing
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
wpa_driver_bsd_set_wpa: enabled=0
wpa_driver_bsd_set_wpa_internal: wpa=0 privacy=0
wpa_driver_bsd_set_drop_unencrypted: enabled=0
wpa_driver_bsd_set_countermeasures: enabled=0
No keys have been configured - skip key clearing
wpa_driver_bsd_set_wpa_internal: wpa=0 privacy=0
Cancelling scan request

After "Starting AP scan (broadcast SSID)" nothing... ctrl+c.

Ideas?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?31ee4d090703100735j3b4698a4sb7d0fdfe3f82bfc2>