John I forgot to mention I got the router running again by changing all the GB back to EU and everything went back to normal.
If I just enter the nvram commands in putty (like I did before) will that resolve it?
Then would I need to create a script (or not)?
Thankyou for all the useful information provided. And once again sorry for the continuous questions.
EDIT: If you create the script file using winSCP, will that be ok?
First, if you got things up and running switching back to EU, you are fine. Sometimes when people tried to change the country code, it would get 'stuck', and you had to delete some nvram values (the 'unset' commands) to free things up.
From there to increase the channels/power, you may want to start with this thread and look for the entries that change things to #a.
http://forums.smallnetbuilder.com/showthread.php?t=16595&highlight=channels
I've been trying to think how to answer your the rest of your question, but I'm having trouble figuring out how to give a high level unix tutorial in just a couple of words....
At a high level, the basic steps would be.....
- Have a place to put the script (like enabling jffs on the router)...maybe make a jffs/scripts directory
- Either edit directly or copy from an accessible storage location to create the script (connect via Putty,vi editor/copy or WinSCP)
- Make sure the script has the correct permissions (it's marked as executable with the chmod command or WinSCP right click Properties)
- Run the script and hope it works!
I did a quick search and here are a couple of links that may help you navigate around the unix environment. I didn't go through them in depth, but they looked reasonable.
http://www.ee.surrey.ac.uk/Teaching/Unix/
http://www.cs.colostate.edu/helpdocs/vi.html