So, having compiled an image - though I had to walk through the diffs in release/src/router/Makefile VERY carefully and throw out anything I did not understand to get it to build... It would seem there are some sloppy dependancies here which decide whether httpd does or does not get rebuild and per my prior posts and their corresponding responses, it seems that httpd CANNOT be built from source as it is incomplete...
Any tips on how to replace the "missing" files from 2.0.4.x would be appreciated...
Anyway...
So, now on to the nvram
1. My "Non-Volitile Ram" seems somewhat more "volitile" than I would have hoped it to be - that is, when I issue "nvram set openvpn_enable=1", I would have presumed that a router reboot would leave that value in nvram... It does not, the router comes back up and openvpn_enable is nowhere to be found (nvram get openvon_enable returns blank).
2. from the telnet command line, openvpn runs (both with the cmeerw.bin and the image I manged to compiled), but returns immediately with no error message - it is not running (ps aux shows no process). I had hoped to get some more info from openvon --verb 11, but no such luck, it shuts down right away with no output...
Any thoughts on how to get openvpn to tell me why it is failing? with verb 11 on a normal machine, I get pretty much anything I need to debug its operation.
/mike

nvram write
hitting "save settings" on the gui seems to really commit nvram changes...
I guess will dig through the .asp code to figure out what that does to "fix" nvram writes...
/mike
nvram
1. the "secret" command is "nvram commit"
2. AFAIK openvpn only logs via syslog, so you will have to enable syslog support (and watch /var/log/messages)