mkdir tmp
cd tmp
tar -xvf /path/zum/Firmware.pat hda1.tgz
# dann entpackst du daraus dein gesuchtes File
tar -xvf ./hda1.tgz usr/syno/bin/synovpnc --strip-components 3
cp /volume1/public/synovpnc /usr/syno/bin
ls -l /usr/syno/etc/synovpnclient/pptp
ls -l /usr/syno/etc/synovpnclient/pptp
BusyBox v1.16.1 (2014-03-06 14:27:52 CST) built-in shell (ash)
Enter 'help' for a list of built-in commands.
DS413> ls -l /usr/syno/etc/synovpnclient/pptp
-rw-r--r-- 1 root root 154 Mar 11 16:44 connect_p1382567679
-rw-r--r-- 1 root root 153 Mar 11 16:44 options_p1382567679.pptp
-rw-r--r-- 1 root root 151 Mar 11 16:44 pptpclient.conf
-rw-r--r-- 1 root root 96 Aug 23 2013 wvdial
-rw-r--r-- 1 root root 75 Aug 23 2013 wvdial-pipe
#!/bin/sh
if [ -f /usr/syno/etc/synovpnclient/vpnc_connecting ]
then
synovpnc connect --id=connect_p1382567679
synovpnc get_conn
else
touch usr/syno/etc/synovpnclient/vpnc_connecting
echo "conf_id=1382567679" >>vpnc_connecting
echo "conf_name=andazweho" >>vpnc_connecting
echo "proto=pptp" >>vpnc_connecting
synovpnc connect --id=connect_p1382567679
synovpnc get_conn
fi
BusyBox v1.16.1 (2014-03-06 14:27:52 CST) built-in shell (ash)
Enter 'help' for a list of built-in commands.
DS413> #!/bin/sh
DS413>
DS413> if [ -f /usr/syno/etc/synovpnclient/vpnc_connecting ]
> then
> synovpnc connect --id=connect_p1382567679
> synovpnc get_conn
> else
> touch usr/syno/etc/synovpnclient/vpnc_connecting
> echo "conf_id=p1382567679" >>vpnc_connecting
> echo "conf_name=andazweho" >>vpnc_connecting
> echo "proto=pptp" >>vpnc_connecting
> synovpnc connect --id=connect_p1382567679
> synovpnc get_conn
> fi
touch: usr/syno/etc/synovpnclient/vpnc_connecting: No such file or directory
get arguemnt id: connect_p1382567679
No connection!!
DS413>
#!/bin/sh
if [ -f /usr/syno/etc/synovpnclient/vpnc_connecting ]
then
synovpnc connect --id=p1382567679
synovpnc get_conn
else
touch usr/syno/etc/synovpnclient/vpnc_connecting
echo "conf_id=p1382567679" >>vpnc_connecting
echo "conf_name=andazweho" >>vpnc_connecting
echo "proto=pptp" >>vpnc_connecting
synovpnc connect --id=p1382567679
synovpnc get_conn
fi
#!/bin/sh
if [ -f /usr/syno/etc/synovpnclient/vpnc_connecting ]
then
synovpnc connect --id=p1382567679
synovpnc get_conn
else
touch /usr/syno/etc/synovpnclient/vpnc_connecting
echo "conf_id=p1382567679" >>vpnc_connecting
echo "conf_name=andazweho" >>vpnc_connecting
echo "proto=pptp" >>vpnc_connecting
synovpnc connect --id=p1382567679
synovpnc get_conn
fi
#!/bin/sh
PFAD=/usr/syno/etc/synovpnclient
if [ -f $PFAD/vpnc_connecting ] ; then
synovpnc connect --id=p1382567679
synovpnc get_conn
else
touch $PFAD/vpnc_connecting
echo "conf_id=p1382567679" >>$PFAD/vpnc_connecting
echo "conf_name=andazweho" >>$PFAD/vpnc_connecting
echo "proto=pptp" >>$PFAD/vpnc_connecting
synovpnc connect --id=p1382567679
synovpnc get_conn
fi
#!/bin/sh
#
echo 1 > /usr/syno/etc/synovpnclient/vpnc_connecting
synovpnc reconnect --protocol=pptp --name=andazweho
#!/bin/sh
PFAD=/usr/syno/etc/synovpnclient
if [ -f $PFAD/vpnc_connecting ] ; then
synovpnc connect --id=p1382567679
synovpnc get_conn
else
touch $PFAD/vpnc_connecting
echo "conf_id=p1382567679" >>$PFAD/vpnc_connecting
echo "conf_name=VPNNAS" >>$PFAD/vpnc_connecting
echo "proto=openvpn" >>$PFAD/vpnc_connecting
synovpnc connect --id=p1382567679
synovpnc get_conn
fi
ls -l /usr/syno/etc/synovpnclient/openvpn
#!/bin/sh
#
echo 1 > /usr/syno/etc/synovpnclient/vpnc_connecting
synovpnc reconnect --protocol=openvpn --name=ZIEL
Wenn du das Forum hilfreich findest oder uns unterstützen möchtest, dann gib uns doch einfach einen Kaffee aus.
Als Dankeschön schalten wir deinen Account werbefrei.