Posted: Fri Dec 23, 2022 0:24 Post subject: Need help with startup commands
My Linksys EA6300 with Asus RT-AC68U dd-wrt firmware has some strange bug:
It boots up with disabled USB and opened 2.4G WiFi.
Going through the GUI and just hitting Save/Apply Changes - fixes this issue, after bootup. But I'd like not to do it manually after each router reboot.
Seems the best option is just to add/save some startup commands. Yet I can't find proper commands for:
1) Enable Core USB Support
startservice usb / usbcore - doesn't work. seems this service has some other name
2) Somehow reapply 2.4G WiFi settings so it become protected with already set password again.
Last edited by Boundless on Fri Dec 23, 2022 6:29; edited 1 time in total
I think you are using a Linksys EA6300 with alternative XVortex CFE to solve the 32 K NVRAM bug?
What buildnumber are you using, maybe it is already corrected
Current build is 51043, See the forum guidelines with helpful pointers about how to research your router, where and what firmware to download, where and how to post and many other helpful tips:
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
Not quite sure about XVortex, because I've updated my router with that Asus dd-wrt firmware a long time ago. Since then I just occasionally update it with latest builds for Asus RT-AC68U. And it works like a charm, except those 2 issues that I've mentioned.
Build-number:
DD-WRT v3.0-r51043 std (12/19/22)
With older builds (even r4xxxx) this bug was still present.
So I think it's not about finding that perfect firmware. Much easier to fix this issue with startup commands.
Even with your correction, I see nothing about using RT-AC68U firmware anywhere. You either use EA6300 or you use EA6350, dependent on version markings.
https://forum.dd-wrt.com/wiki/index.php/Linksys_EA6300 _________________ "The woods are lovely, dark and deep,
But I have promises to keep,
And miles to go before I sleep,
And miles to go before I sleep." - Robert Frost
"I am one of the noticeable ones - notice me" - Dale Frances McKenzie Bozzio
Thanks, this commands are something in a correct direction.
I've made it this way in startup commands:
nvram set usb_enable=1
nvram set wl0_wpa_psk=password
nvram commit
Yet it seems that apply missing. Because router boots up, then USB becomes enabled in UI, but it still doesn't work and WiFi is still opened. After I hit "Apply Settings" in the UI - everything goes ok.
Any hint how to "Apply Settings" via command, but not via reboot command?
Thanks, this commands are something in a correct direction.
I've made it this way in startup commands:
nvram set usb_enable=1
nvram set wl0_wpa_psk=password
nvram commit
Yet it seems that apply missing. Because router boots up, then USB becomes enabled in UI, but it still doesn't work and WiFi is still opened. After I hit "Apply Settings" in the UI - everything goes ok.
Any hint how to "Apply Settings" via command, but not via reboot command?
IMHO You should really look what's wrong with your devices nvram..