I did the following:
rm /etc/ipkg.conf
cp /rom/etc/ipkg.conf /etc
vi /etc/ipkg.conf
##########################################
src whiterussian http://downloads.openwrt.org/whiterussian/packages
src non-free http://downloads.openwrt.org/whiterussi … s/non-free
src florian http://openwrt.alphacore.net/
dest root /
dest ram /tmp
##########################################
ipkg update
ipkg install vpnc libgcrypt srelay kmod-tun
insmod tun
vi /etc/vpnc.conf
##########################################
Interface name myvpn
IPSec gateway 167.293.56.144
IPSec ID ipsec
IPSec secret cisco123
Xauth username myuser
Xauth password mypass
##########################################
vpnc
ifconfig
##########################################
...
vpnlink Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:157.193.29.145 P-t-P:157.193.29.145 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1412 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:10
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
##########################################
So far, so good. When I leave the device running everything works fine. But when I reboot, all changes are lost and I have a default firmware again. Is it possible to save changes, and if so, how. Is there some command to write the ram to rom?
The alternative is to make my own firmware version, but that is alot more work.
Regards,
Leen