UI-like “Apply Settings” via nvram on Router DDWRT

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












I am automating the enablement of OpenVPN on my ddwrt router (Buffalo Airstation). I'm able to change parameters on the router by SSH-ing into it and then nvram whatever field I want to change. E.g.:



nvram set openvpncl_enable=1


On the UI I can see the changes are well done, however the changes are not in effect unless I manually click "Apply Settings".



I have tried doing an nvram commit after making all the changes but this command doesn't return anything and doesn't seem to make any effect.










share|improve this question























  • Done, after nvram commit I basically don't get a response and it doesn't apply the changes.
    – Victor
    Sep 25 at 1:22










  • perhaps a reboot is required after the nvram commit .... or a restart of the vpn service
    – jsotola
    Sep 25 at 1:24











  • I ran a reboot command after nvram commit but the changes still don't get apply until I click Apply Settings
    – Victor
    Sep 26 at 0:47














up vote
0
down vote

favorite












I am automating the enablement of OpenVPN on my ddwrt router (Buffalo Airstation). I'm able to change parameters on the router by SSH-ing into it and then nvram whatever field I want to change. E.g.:



nvram set openvpncl_enable=1


On the UI I can see the changes are well done, however the changes are not in effect unless I manually click "Apply Settings".



I have tried doing an nvram commit after making all the changes but this command doesn't return anything and doesn't seem to make any effect.










share|improve this question























  • Done, after nvram commit I basically don't get a response and it doesn't apply the changes.
    – Victor
    Sep 25 at 1:22










  • perhaps a reboot is required after the nvram commit .... or a restart of the vpn service
    – jsotola
    Sep 25 at 1:24











  • I ran a reboot command after nvram commit but the changes still don't get apply until I click Apply Settings
    – Victor
    Sep 26 at 0:47












up vote
0
down vote

favorite









up vote
0
down vote

favorite











I am automating the enablement of OpenVPN on my ddwrt router (Buffalo Airstation). I'm able to change parameters on the router by SSH-ing into it and then nvram whatever field I want to change. E.g.:



nvram set openvpncl_enable=1


On the UI I can see the changes are well done, however the changes are not in effect unless I manually click "Apply Settings".



I have tried doing an nvram commit after making all the changes but this command doesn't return anything and doesn't seem to make any effect.










share|improve this question















I am automating the enablement of OpenVPN on my ddwrt router (Buffalo Airstation). I'm able to change parameters on the router by SSH-ing into it and then nvram whatever field I want to change. E.g.:



nvram set openvpncl_enable=1


On the UI I can see the changes are well done, however the changes are not in effect unless I manually click "Apply Settings".



I have tried doing an nvram commit after making all the changes but this command doesn't return anything and doesn't seem to make any effect.







linux dd-wrt






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Sep 25 at 0:27

























asked Sep 24 at 23:18









Victor

1011




1011











  • Done, after nvram commit I basically don't get a response and it doesn't apply the changes.
    – Victor
    Sep 25 at 1:22










  • perhaps a reboot is required after the nvram commit .... or a restart of the vpn service
    – jsotola
    Sep 25 at 1:24











  • I ran a reboot command after nvram commit but the changes still don't get apply until I click Apply Settings
    – Victor
    Sep 26 at 0:47
















  • Done, after nvram commit I basically don't get a response and it doesn't apply the changes.
    – Victor
    Sep 25 at 1:22










  • perhaps a reboot is required after the nvram commit .... or a restart of the vpn service
    – jsotola
    Sep 25 at 1:24











  • I ran a reboot command after nvram commit but the changes still don't get apply until I click Apply Settings
    – Victor
    Sep 26 at 0:47















Done, after nvram commit I basically don't get a response and it doesn't apply the changes.
– Victor
Sep 25 at 1:22




Done, after nvram commit I basically don't get a response and it doesn't apply the changes.
– Victor
Sep 25 at 1:22












perhaps a reboot is required after the nvram commit .... or a restart of the vpn service
– jsotola
Sep 25 at 1:24





perhaps a reboot is required after the nvram commit .... or a restart of the vpn service
– jsotola
Sep 25 at 1:24













I ran a reboot command after nvram commit but the changes still don't get apply until I click Apply Settings
– Victor
Sep 26 at 0:47




I ran a reboot command after nvram commit but the changes still don't get apply until I click Apply Settings
– Victor
Sep 26 at 0:47















active

oldest

votes











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f471203%2fui-like-apply-settings-via-nvram-on-router-ddwrt%23new-answer', 'question_page');

);

Post as a guest



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes















 

draft saved


draft discarded















































 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f471203%2fui-like-apply-settings-via-nvram-on-router-ddwrt%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

Peggy Mitchell

The Forum (Inglewood, California)

Palaiologos