On 18 Jul 2008, at 17:10, Jason Carson wrote:

Yeah, I read the the HOWTO WAP but I am confused. It said to go to another
article when using MADWIFI which told be to use the command...

ifconfig ath0 down
wlanconfig ath0 destroy
wlanconfig ath0 create wlandev wifi0 wlanmode ap

Right. I didn't see that when reading the HOWTO today, but it is the same command as I gave in my message.

Which I did, but now when I try to startup net.ath0 I get the following...

penguin init.d # /etc/init.d/net.ath0 start
* Starting ath0
* Starting wpa_supplicant on ath0 ...
ioctl[SIOCSIWMODE]: Invalid argument
Could not configure driver to use managed mode [ ok ]
* Starting wpa_cli on ath0 ... [ ok ]
* Backgrounding ...

This..

ioctl[SIOCSIWMODE]: Invalid argument
Could not configure driver to use managed mode [ ok ]

...was not there before, what do I do?

Give fuller information.

What does `dmesg` say?
What does /var/log/messages (or whatever) say?
What do wpa-supplicant logs say?

I believe it's possible to compile wpa-supplicant with / without madwifi support, so you should check that. I'd also imagine it might be possible to compile madwifi with or without mastermode support, so you may need show that relevant kernel options have been compiled.

I believe that "ioctl" errors are generally associated with trying to tell hardware to do stuff it can't do. So drivers may be the cause here and I would certainly expect `dmesg` to be more verbose.

I would STRONGLY advise you to get the access-point working in master mode UNENCRYPTED before continuing to WEP or WPA configuration. Making *incremental* changes help isolate the problem.

Finally, unlike some, I have no objection to top-posting. What pisses me off immensely is *changing* the quoting-method of the thread. If you are the first person to reply to a post then by all means top- post; subsequent replies top-posted may be logical and readable. But if someone has replied by bottom-posting then top-posting breaks the continuity of the message. I have to read one level of quoting at the top of the message and another level at the bottom. Leaving aside any other debates about top- versus bottom-posting this does not make any sense AT ALL. Please do not do it!

Stroller.

--
[email protected] mailing list

Reply via email to