Hi there, Hi there, I''m trying to run kismet-200508.r1 on a FreeBSD 5.4-RELEASE-p7 (PC-BSD). When i''m starting ''kismet'' I get the an error: [...] # kismet Server options: none Client options: none Starting server... Waiting for server to start before starting UI... Will drop privs to glr (1001) gid 1001 No specific sources given to be enabled, all will be enabled. Enabling channel hopping. Enabling channel splitting. Source 0 (ipw2200): Enabling monitor mode for radiotap_bsd_ab source interface iwi0 channel 6... FATAL: iwi0: cannot set ifmedia: Device not configured [...] I''ve configured following source in kismet.conf: source=radiotap_bsd_ab,iwi0,ipw2200,6 Here is my output from ''ifconfig iwi0'': # ifconfig iwi0 iwi0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500 ether 00:0e:35:a9:16:b6 media: IEEE 802.11 Wireless Ethernet autoselect status: no carrier ssid "" channel -1 authmode OPEN powersavemode OFF powersavesleep 100 rtsthreshold 2312 protmode CTS txpower 100 wepmode OFF weptxkey 1 thanks in advance Richard
[snip]> Here is my output from ''ifconfig iwi0'': > # ifconfig iwi0 > iwi0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500 > ether 00:0e:35:a9:16:b6 > media: IEEE 802.11 Wireless Ethernet autoselect > status: no carrier > ssid "" > channel -1 authmode OPEN powersavemode OFF powersavesleep 100 > rtsthreshold 2312 protmode CTS txpower 100 > wepmode OFF weptxkey 1 > > thanks in advance > Richard >Seems like your iwi0 is not configured properly. Check if you have enabled the wireless. My laptop has a button for switching it on. Then load the firm-ware, I''ve intel card so I loaded the iwi-firmware from ports. Finally use /etc/rc.d/netif start. That should find the Wi-Fi network and it should be configured. After that you can use kismet. Regards, www.VijayKiran.com
On Thu, 2005-12-01 at 15:33 +0530, Vijay Kiran wrote:> [snip] > > Here is my output from ''ifconfig iwi0'': > > # ifconfig iwi0 > > iwi0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500 > > ether 00:0e:35:a9:16:b6 > > media: IEEE 802.11 Wireless Ethernet autoselect > > status: no carrier > > ssid "" > > channel -1 authmode OPEN powersavemode OFF powersavesleep 100 > > rtsthreshold 2312 protmode CTS txpower 100 > > wepmode OFF weptxkey 1 > > > > thanks in advance > > Richard > > > Seems like your iwi0 is not configured properly. Check if you have > enabled the wireless. My laptop has a button for switching it on.On my laptop (Fujitsu-siemens c1110 Lifebook), the switch for wireless is on.> Then load the firm-ware, I''ve intel card so I loaded the iwi-firmware > from ports.Firmware is also installed: # pkg_info | grep iwi iwi-firmware-2.3_1 Intel PRO/Wireless 2100 Driver Firmware> Finally use /etc/rc.d/netif start.I''ve rebooted FreeBSD.> That should find the Wi-Fi network > and it should be configured. After that you can use kismet.When is start kismet, the problem still exists ;-( # kismet Server options: none Client options: none Starting server... Waiting for server to start before starting UI... Will drop privs to glr (1001) gid 1001 No specific sources given to be enabled, all will be enabled. Enabling channel hopping. Enabling channel splitting. Source 0 (ipw2200): Enabling monitor mode for radiotap_bsd_ab source interface iwi0 channel 6... FATAL: iwi0: cannot set ifmedia: Device not configured Here are my entries in /etc/rc.conf: iwi_enable="YES" iwi_interfaces="iwi0" iwi_mod_iwi0="bss" What do I''m missing ?> Regards, > www.VijayKiran.comthanks Richard
> > Firmware is also installed: > # pkg_info | grep iwi > iwi-firmware-2.3_1 Intel PRO/Wireless 2100 Driver FirmwareLoad the firmware using iwicontrol iwi0 -d /usr/local/share/iwi-firmware -m bss> > Finally use /etc/rc.d/netif start. >manually start the netif /etc/rc.d/netif start then you should see something like this: DHCPDISCOVER on iwi0 to 255.255.255.255 port 67 interval 5 DHCPDISCOVER on iwi0 to 255.255.255.255 port 67 interval 6 DHCPDISCOVER on iwi0 to 255.255.255.255 port 67 interval 9 DHCPOFFER from 192.168.1.1 DHCPREQUEST on iwi0 to 255.255.255.255 port 67 DHCPACK from 192.168.1.1 bound to 192.168.2.188 -- renewal in 300 seconds. iwi0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 inet6 fe80::212:f0ff:fe0e:dabf%iwi0 prefixlen 64 scopeid 0x3 inet 192.168.2.188 netmask 0xfffffc00 broadcast 192.168.3.255 ether 00:12:f0:0e:da:bf media: IEEE 802.11 Wireless Ethernet autoselect (DS/1Mbps) status: associated Regards, www.VijayKiran.com
Hi Richard, May be you should start over. I''ll try to explain how I configured my wifi. 1. Switched the Wireless on. (And checked in Windows :P). 1a. Made sure that I''ve intel wireless chipset. 2. Added following line to /boot/loader.conf if_iwi_load="YES" 3. Installed iwicontrol port 4. Reboot 5. and then the command, which will be just silent iwicontrol iwi0 -d /usr/local/share/iwi-firmware -m bss 6. sysinstall - configured iwi0 interface to use DHCP, no IPV6. You can do it from gnome -> Desktop Menu -> Administration -> Networking -> selecting iwi0 adapter and in the properties configured it to use DHCP. 6. Start the interfaces /etc/rc.d/netif start Which will check for the DHCP offers. Also "dmesg | grep iw" gives me iwi0: <Intel(R) PRO/Wireless 2200BG> mem 0xffdfd000-0xffdfdfff irq 9 at device 12.0 on pci2 iwi0: Ethernet address: 00:12:f0:0e:da:bf iwi0: Please load firmware Finally after configuration shire# ifconfig iwi0 iwi0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 inet6 fe80::212:f0ff:fe0e:dabf%iwi0 prefixlen 64 scopeid 0x3 inet 192.168.2.188 netmask 0xfffffc00 broadcast 192.168.3.255 ether 00:12:f0:0e:da:bf media: IEEE 802.11 Wireless Ethernet autoselect (OFDM/24Mbps) status: associated ssid foss.in channel 11 bssid 00:0f:cb:a1:cd:ff authmode OPEN privacy OFF txpowmax 100 protmode CTS bintval 100 Ofcourse the status is associated because there''s a wireless access point. Also check these links: http://www.freebsdmall.com/~loader/en_US.ISO8859-1/articles/wireless/article.html http://lists.freebsd.org/pipermail/freebsd-questions/2005-October/101207.html Regards, www.VijayKiran.com