Also once I get this working do I need to do the rest of the settings that torguard wants me to do IE vpn/deamon on ect. Im assuming I do everything but paste the script in the command line. (that goes on the jump drive) ? Im also wondering if I made the partition to small and that's my issue?
Joined: 13 Mar 2014 Posts: 856 Location: Montreal, QC
Posted: Fri Feb 13, 2015 6:57 Post subject:
Biller007 wrote:
Also once I get this working do I need to do the rest of the settings that torguard wants me to do IE vpn/deamon on ect. Im assuming I do everything but paste the script in the command line. (that goes on the jump drive) ? Im also wondering if I made the partition to small and that's my issue?
Thanks for all the help
I would assume so as well. Your just moving the scripts location so it doesn't take up nvram
Okay so I fixed the error msg there was not enough room on the flash drive. I re formatted with a 4Gig I can now add files and directories. The VPN script they want me to use in the commands start up I put on the directory you said. Jffs/etc/config called it vpn.startup. I still can not get it to work. It will work as a script in commands start up but puts me at 35k and blows out the radio. Any ideas?
Joined: 19 Jan 2018 Posts: 1 Location: Atlanta, GA
Posted: Fri Feb 16, 2018 21:04 Post subject: NVRAM 32K bug script gives errors?
I'm resurrecting this thread because I bought an old EA6500 V2
and am encountering the 32K RAM limit bug.
I get the error:
Quote:
/tmp/.wxjWGUxQ: line 5: syntax error: bad substitution
...when trying to execute the good old init/shutdwn script:
Code:
for line in 'nvram show | grep = $'
do
var=${line%*=}
nvram unset $var
done
nvram commit
I'm almost certain that the error is referring to the "var =..." line. (As far as I could tell: I put a blank line above each line, in turn, until the line number in the error changed on execution)
(I omitted the semicolons, since the script would halt wherever it encountered the first one...)
Any idea if there's a clear problem and how I might rectify that? Thanks heaps in advance!