link beat not detected by ifplugd with hostap drivers

Norbert Preining preining
Thu Mar 10 03:17:24 PST 2005


Hi all!

I have the following problem with setting up the wlan interface with
ifplugd, as it cannot detect the link beat on the hostap interface:

debian/sid
kernel 2.6.11-mm1 with kernel hostap drivers
wpasupplicant  0.3.8-1

output of hostap_driver loading:
hostap_pci: CVS (Jouni Malinen <jkmaline at cc.hut.fi>)
ACPI: PCI interrupt 0000:02:04.0[A] -> GSI 10 (level, low) -> IRQ 10
hostap_pci: Registered netdevice wifi0
wifi0: Original COR value: 0x6d
prism2_hw_init: initialized in 263 ms
wifi0: NIC: id=0x8022 v1.0.0
wifi0: PRI: id=0x15 v1.1.1
wifi0: STA: id=0x1f v1.8.0
wifi0: Intersil Prism2.5 PCI: mem=0xf8000000, ir q=10

Here a typical session:
start wpa_supplicant:

Mar 10 12:05:25 gandalf vmunix: wifi0: LinkStatus=2 (Disconnected)
Mar 10 12:05:25 gandalf kernel: wifi0: LinkStatus: BSSID=44:44:44:44:44:44
Mar 10 12:05:25 gandalf vmunix: wifi0: LinkStatus=2 (Disconnected)
Mar 10 12:05:25 gandalf kernel: wifi0: LinkStatus: BSSID=44:44:44:44:44:44
Mar 10 12:05:25 gandalf vmunix: wifi0: LinkStatus=2 (Disconnected)
Mar 10 12:05:25 gandalf kernel: wifi0: LinkStatus: BSSID=44:44:44:44:44:44
Mar 10 12:05:25 gandalf vmunix: wifi0: LinkStatus=2 (Disconnected)
Mar 10 12:05:25 gandalf kernel: wifi0: LinkStatus: BSSID=44:44:44:44:44:44
Mar 10 12:05:25 gandalf vmunix: wlan0: Trying to join BSSID 00:06:25:c4:7c:57
Mar 10 12:05:25 gandalf kernel: wifi0: LinkStatus=1 (Connected)
Mar 10 12:05:25 gandalf vmunix: wifi0: LinkStatus: BSSID=00:06:25:c4:7c:57

ok, good, everything works

start ifplugd:

Mar 10 12:05:34 gandalf ifplugd(eth0)[6898]: ifplugd 0.26 initializing.
Mar 10 12:05:34 gandalf ifplugd(eth0)[6898]: Using interface eth0/00:C0:9F:1F:59:38 with driver <b44> (version: 0.95)
Mar 10 12:05:34 gandalf ifplugd(eth0)[6898]: Using detection mode: SIOCETHTOOL
Mar 10 12:05:34 gandalf ifplugd(eth0)[6898]: Initialization complete, link beat not detected.
Mar 10 12:05:34 gandalf ifplugd(wlan0)[6905]: ifplugd 0.26 initializing.
Mar 10 12:05:34 gandalf ifplugd(wlan0)[6905]: Using interface wlan0/00:02:8A:95:EE:C0 with driver <hostap> (version: CVS)
Mar 10 12:05:34 gandalf ifplugd(wlan0)[6905]: Using detection mode: wireless extension
Mar 10 12:05:34 gandalf ifplugd(wlan0)[6905]: Initialization complete, link beat not detected.

Ummm, no link on wlan0, why? do I have to do more than this? I don't
think so, because manually ifup wlan0 works:

Mar 10 12:05:48 gandalf dhclient: Internet Systems Consortium DHCP Client V3.0.1
Mar 10 12:05:48 gandalf dhclient: Copyright 2004 Internet Systems Consortium.
Mar 10 12:05:48 gandalf dhclient: All rights reserved.
Mar 10 12:05:48 gandalf dhclient: For info, please visit http://www.isc.org/products/DHCP
Mar 10 12:05:48 gandalf dhclient: 
Mar 10 12:05:48 gandalf dhclient: wifi0: unknown hardware address type 801
Mar 10 12:05:48 gandalf dhclient: eth2: unknown hardware address type 24
Mar 10 12:05:49 gandalf dhclient: wifi0: unknown hardware address type 801
Mar 10 12:05:49 gandalf dhclient: eth2: unknown hardware address type 24
Mar 10 12:05:49 gandalf dhclient: Listening on LPF/wlan0/00:02:8a:95:ee:c0
Mar 10 12:05:49 gandalf dhclient: Sending on   LPF/wlan0/00:02:8a:95:ee:c0
Mar 10 12:05:49 gandalf dhclient: Sending on   Socket/fallback
Mar 10 12:05:50 gandalf dhclient: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 3
Mar 10 12:05:50 gandalf dhclient: DHCPOFFER from 192.168.1.1
Mar 10 12:05:50 gandalf dhclient: DHCPREQUEST on wlan0 to 255.255.255.255 port 67
Mar 10 12:05:50 gandalf dhclient: DHCPACK from 192.168.1.1
Mar 10 12:05:50 gandalf dhclient: bound to 192.168.1.31 -- renewal in 41209 seconds.


Any suggestions?

Best wishes and thanks a lot

Norbert

-------------------------------------------------------------------------------
Norbert Preining <preining AT logic DOT at>                 Universit? di Siena
sip:preining at at43.tuwien.ac.at                             +43 (0) 59966-690018
gpg DSA: 0x09C5B094      fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
-------------------------------------------------------------------------------
it's at times like this, when
I'm trapped in a Vogon airlock with a man from Betelgeuse,
and about to die from asphyxiation in deep space that I
really wish I'd listened to what my mother told me when I
was young.'
`Why, what did she tell you?'
`I don't know, I didn't listen.'
                 --- Arthur coping with certain death as best as he could.
                 --- Douglas Adams, The Hitchhikers Guide to the Galaxy




More information about the Hostap mailing list