It took me a while but I was finally able to get my wireless working. I had an older version of TC that I was using, and when I downloaded the new version it solved most of my worldly wifi issues.
Now I have a working solution, but I am not sure I like how it works, which makes me think that I am not doing it right.
I created a /opt/wlan0.sh file with the following:
pkill udhcpc
sleep 13
iwconfig wlan0 essid xxx mode managed key xxxx
ifconfig wlan0 up
udhcpc -i wlan0
I then added this file to the filetool.lst so that it would be backed up.
So now I have 2 questions:
- What file is loading the /opt/wlan0.sh, as I did not see it in /mnt/sdc1/tce/onboot.lst?
- Also, I added the sleep 13 as I could not get wlan0.sh to work unless I added in a timeout. I tried bumping it down to 5 seconds but it still would not get an IP, so then I tried 10 and it worked most of the time, so then I settled on 13 seconds and it has worked everytime so far. Is there another way that I should be setting up the persistence?
I just don't like using sleeps because I am just adding an arbitrary amount of loading time, I believe I should either check for a process to complete or just load in the proper order.
Any advice?
Once again sorry about the quote's rather than the code, I am not allowed to use code yet as it states I cannot post external links.