LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (http://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   hostap doesnt bring up wlan0 (http://www.linuxquestions.org/questions/linux-wireless-networking-41/hostap-doesnt-bring-up-wlan0-374376/)

chuck2 10-18-2005 04:02 PM

hostap doesnt bring up wlan0
 
Hi, I just reinstalled slackware 10.1. I have a SMC 2532w-b that was working when I was using the 2.4.x kernel, I upgraded to the newest 2.6 kernel, installed hostap again, and it stopped working. I installed the wlan-ng drivers and they work, but they are so hard to deal with, and they are not what I want to use anyway.

I had hostap drivers on this laptop before with a 2.6 kernel and they worked fine.
-I get no install errors
-lsmod reveals that hostap_cs and hostap drivers are loaded when I insert the card
-here is my dmesg
Code:

cs: IO port probe 0xc00-0xcff: clean.
cs: IO port probe 0x820-0x8ff: clean.
cs: IO port probe 0x800-0x80f: clean.
cs: IO port probe 0x3e0-0x4ff: clean.
cs: IO port probe 0x100-0x3af: excluding 0x200-0x207 0x220-0x22f 0x2f8-0x2ff 0x330-0x337 0x388-0x38f
cs: IO port probe 0xa00-0xaff: clean.
cs: memory probe 0xa0000000-0xa0ffffff: clean.
hostap_crypt: registered algorithm 'NULL'
hostap_cs: 0.3.9 - 2005-06-10 (Jouni Malinen <jkmaline@cc.hut.fi>)
pcmcia: hostap_cs lacks a requisite callback function
hostap_cs: setting Vcc=33 (constant)
hostap_cs: Driver unloaded
hostap_crypt: unregistered algorithm 'NULL' (deinit)
hostap_crypt: registered algorithm 'NULL'
hostap_cs: 0.3.9 - 2005-06-10 (Jouni Malinen <jkmaline@cc.hut.fi>)
pcmcia: hostap_cs lacks a requisite callback function
hostap_cs: setting Vcc=33 (constant)

-here is the output of cat /var/log/messages
Code:

Oct 18 15:47:49 tacobell cardmgr[6039]: watching 1 socket
Oct 18 15:47:49 chuck2 kernel: cs: IO port probe 0xc00-0xcff: clean.
Oct 18 15:47:49 chuck2 kernel: cs: IO port probe 0x820-0x8ff: clean.
Oct 18 15:47:49 chuck2 kernel: cs: IO port probe 0x800-0x80f: clean.
Oct 18 15:47:49 chuck2 kernel: cs: IO port probe 0x3e0-0x4ff: clean.
Oct 18 15:47:49 chuck2 kernel: cs: IO port probe 0x100-0x3af: excluding 0x200-0x207 0x220-0x22f 0x2f8-0x2ff 0x330-0x337 0x388-0x38f
Oct 18 15:47:49 chuck2 kernel: cs: IO port probe 0xa00-0xaff: clean.
Oct 18 15:47:53 chuck2 kernel: cs: memory probe 0xa0000000-0xa0ffffff: clean.
Oct 18 15:47:53 chuck2 cardmgr[6040]: socket 0: SMC2532W-B EliteConnect Wireless Adapter
Oct 18 15:47:53 chuck2 kernel: hostap_cs: 0.3.9 - 2005-06-10 (Jouni Malinen <jkmaline@cc.hut.fi>)
Oct 18 15:48:00 chuck2 kernel: hostap_cs: Driver unloaded
Oct 18 15:48:06 chuck2 cardmgr[6040]: socket 0: SMC2532W-B EliteConnect Wireless Adapter
Oct 18 15:48:07 chuck2 kernel: hostap_cs: 0.3.9 - 2005-06-10 (Jouni Malinen <jkmaline@cc.hut.fi>)

iwconfig and ifconfig do not show any wlan0 or wifi0 when the card is inserted.
the driver just seems to get stuck, and not spit out any error messages. The card works in windows and wlan-ng, and like I said, worked with hostap and 2.6 with a previuos installation.
I am so stuck at this point :(

chuck2 10-20-2005 09:31 PM

I hate letting posts go unresoved, especially sine I may be the one looking for this info again.
I reinstalled slack, only this time I used 10.2. I upgraded to the 2.6.13.4 kernel, and still coundlnt get hostap to work, my solution: was to use 2.4 series of kernels, even though i like 2.6 way better

smoka 10-29-2005 03:58 PM

hy,
had exactly the same problem some minutes ago, but i could fix it.

my configuration:

name -r
2.6.13-gentoo-r3

wlan-card: ASUS Spacelink WL100

cardctl ident:
product info: "ASUS", "802_11b_PC_CARD_25", "Version 01.00", ""
manfid: 0x02aa, 0x0002

PCMCIA in kernel-tree

hotplug version : 20040923-r1

what i did:

because gentoo packet hostap-driver
did not work 4 me because it made no hostap_cs.ko
i used latest stable hostap-driver-0.3.9 from http://hostap.epitest.fi
then i got your error-message:
hostap_cs lacks a requisite callback function ...

no interface at this time

solution:
i used hostap-driver-0.4.5
in Makefile i had to change KERNEL_PATH to KERNEL_PATH=/usr/src/linux
do 'make'
'make install'
and now i have my wlan0-interface :-)

gl,
-smoka-


All times are GMT -5. The time now is 11:33 AM.