For anyone on an AC66U, use /bin/nvram instead
You can find out where your router's nvram command is by running 'which nvram' (sans quotes) from an SSH console session.
EDIT: Sorry for grave digging.. I was having a similar issue and stumbled upon this thread without checking the date.
Last edited: