I'm working with a small cluster running off of BCCD, and need to set up the wireless adapter to act as a wireless access point (master mode, but ad-hoc may work) to allow other systems near it to SSH to it and execute commands. A "wireless hotspot" is being used for simplicity's sake, as the users probably won't be too proficient with Unix.
About a week ago, I had some success using the follow code I found after extensive Google searches:
ifconfig wlan0 (IP) netmask 255.255.255.0 broadcast (IP) up
iwconfig wlan0 essid cluster mode master
(Where (IP) is the system's IP)
This worked the first time I've used it, in both master and ad-hoc modes. Every wi-fi enabled device I tried managed to connect, and I called it a day.
Now, using the same system as before, using the above code in master mode gives the error:
Error for wireless request "Set Mode" (8B06) :
SET failed on device wlan0 ; Invalid argument.
Of course, no devices can connect. Ad-hoc mode doesn't return an error, but the only device out of a few notebooks and smartphones that can connect is an iPod Touch (which does me no good).
My question is: Does anyone know of anything I may be blatantly doing wrong here? Also, are there any other methods that may accomplish what I need?