I'm trying to set my wireless card to adhoc mode after the system starts. I have created a shell script following this guide:
If I execute the script manually, everything works fine. However if I add it to the init.d as described here:
or if I set it as a cron job triggered at "@reboot", the wireless interface doesn't seem to start.
I'm guessing that I can configure the card to start directly into the adhoc mode with /etc/network but I don't really know how.
Can anybody point me in the right direction?