<div>und was?<br> ausser dass du das openvpn-webif seine probleme mit 1.7.x hat, </div><div>und dass du nun das bestehende tcpdump durch ein anderes ersetzt hast, <br>wolltest du uns allen nun sagen?<br></div><div><br></div>
<div>lg Markus</div><div><br></div><div>p.s. ich hab absolut nix gegen gründlichen (debug)output,..</div><div>aber zumindest kommentieren warum man ihn postet sollte man imho schon,.. (-;</div><br><div class="gmail_quote">
2010/12/2 Petr Koval <span dir="ltr"><<a href="mailto:peerco@gmail.com">peerco@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><a href="http://ipkg.funkfeuer.at/autoupdate/freifunk-openwrt-autoupdate-1.7.4.8-0xff-markit-full.trx" target="_blank">http://ipkg.funkfeuer.at/autoupdate/freifunk-openwrt-autoupdate-1.7.4.8-0xff-markit-full.trx</a><br>
<br>
<br>
Software:<br>
<br>
<br>
ip<br>
wl<br>
wificonf<br>
kernel<br>
base-files<br>
freifunk-webadmin<br>
freifunk-upload<br>
freifunk-mtdkill<br>
freifunk-rdate<br>
freifunk-olsrd<br>
dropbear<br>
freifunk-webadmin-0xff<br>
0xff-olsr<br>
freifunk-recommended-de<br>
xyssl<br>
freifunk-dnsmasq<br>
libncurses<br>
horst<br>
iptraf<br>
libpcap<br>
freifunk-tcpdump<br>
zlib<br>
librrd1<br>
rrdcgi1<br>
rrdtool1<br>
rrdcollect<br>
freifunk-statistics-de<br>
wl-adv<br>
netperfbin<br>
freifunk-netperf-de<br>
xrelayd<br>
freifunk-secureadmin-de<br>
webif-nettools<br>
<br>
<br>
Install:<br>
openvpn-nossl<br>
<br>
<br>
Verwaltung: Software 2<br>
<br>
Downloading<br>
<a href="http://ipkg.funkfeuer.at/ipkg/freifunk/packages/kmod-tun_2.4.30-brcm_mipsel.ipk" target="_blank">http://ipkg.funkfeuer.at/ipkg/freifunk/packages/kmod-tun_2.4.30-brcm_mipsel.ipk</a><br>
...<br>
<br>
kmod-tun_2.4.30-brcm 0% | | 0<br>
--:-- ETA<br>
kmod-tun_2.4.30-brcm 100% |*****************************| 5246<br>
00:00 ETA<br>
Connecting to <a href="http://ipkg.funkfeuer.at" target="_blank">ipkg.funkfeuer.at</a>[193.238.157.7]:80<br>
Done.<br>
Unpacking kmod-tun...Done.<br>
Configuring kmod-tun...Done.<br>
<br>
Downloading<br>
<a href="http://ipkg.funkfeuer.at/ipkg/freifunk/packages/openvpn-nossl_2.1.1_mipsel.ipk" target="_blank">http://ipkg.funkfeuer.at/ipkg/freifunk/packages/openvpn-nossl_2.1.1_mipsel.ipk</a><br>
...<br>
<br>
openvpn-nossl_2.1.1_ 0% | | 0<br>
--:-- ETA<br>
openvpn-nossl_2.1.1_ 1% | | 1024<br>
01:11 ETA<br>
openvpn-nossl_2.1.1_ 1% | | 1024<br>
02:25 ETA<br>
openvpn-nossl_2.1.1_ 1% | | 1024<br>
03:35 ETA<br>
openvpn-nossl_2.1.1_ 22% |****** | 16896<br>
00:13 ETA<br>
openvpn-nossl_2.1.1_ 28% |******** | 21504<br>
00:12 ETA<br>
openvpn-nossl_2.1.1_ 69% |******************** | 52224<br>
00:02 ETA<br>
openvpn-nossl_2.1.1_ 100% |*****************************| 74665<br>
00:00 ETA<br>
Connecting to <a href="http://ipkg.funkfeuer.at" target="_blank">ipkg.funkfeuer.at</a>[193.238.157.7]:80<br>
Done.<br>
Unpacking openvpn-nossl...Done.<br>
Configuring openvpn-nossl...Done.<br>
<br>
<br>
Install:<br>
0xff-openvpn-webif<br>
<br>
<br>
ipkg_depends: Warning: openvpn-nossl-nolzo mentioned in dependency but no<br>
package found in /usr/lib/ipkg/lists<br>
<br>
Downloading<br>
<a href="http://ipkg.funkfeuer.at/ipkg/freifunk/packages/busybox-awk_1.0.1_mipsel.ipk" target="_blank">http://ipkg.funkfeuer.at/ipkg/freifunk/packages/busybox-awk_1.0.1_mipsel.ipk</a><br>
...<br>
<br>
busybox-awk_1.0.1_mi 0% | | 0<br>
--:-- ETA<br>
busybox-awk_1.0.1_mi 22% |****** | 5120<br>
00:03 ETA<br>
busybox-awk_1.0.1_mi 22% |****** | 5120<br>
00:07 ETA<br>
busybox-awk_1.0.1_mi 28% |******** | 6656<br>
00:07 ETA<br>
busybox-awk_1.0.1_mi 28% |******** | 6656<br>
00:09 ETA<br>
busybox-awk_1.0.1_mi 55% |*************** | 12800<br>
00:04 ETA<br>
busybox-awk_1.0.1_mi 55% |*************** | 12800<br>
00:04 ETA<br>
busybox-awk_1.0.1_mi 100% |*****************************| 23086<br>
00:00 ETA<br>
Connecting to <a href="http://ipkg.funkfeuer.at" target="_blank">ipkg.funkfeuer.at</a>[193.238.157.7]:80<br>
Done.<br>
Unpacking busybox-awk...Done.<br>
Configuring busybox-awk...Done.<br>
<br>
Downloading<br>
<a href="http://ipkg.funkfeuer.at/ipkg/freifunk/packages/busybox-crontab_1.0.1_mipsel.ipk" target="_blank">http://ipkg.funkfeuer.at/ipkg/freifunk/packages/busybox-crontab_1.0.1_mipsel.ipk</a><br>
...<br>
<br>
busybox-crontab_1.0. 0% | | 0<br>
--:-- ETA<br>
busybox-crontab_1.0. 100% |*****************************| 6687<br>
00:00 ETA<br>
Connecting to <a href="http://ipkg.funkfeuer.at" target="_blank">ipkg.funkfeuer.at</a>[193.238.157.7]:80<br>
Done.<br>
Unpacking busybox-crontab...Done.<br>
Configuring busybox-crontab...Done.<br>
<br>
Downloading<br>
<a href="http://ipkg.funkfeuer.at/ipkg/freifunk/packages/freifunk-iptables-missing_1.7.4_mipsel.ipk" target="_blank">http://ipkg.funkfeuer.at/ipkg/freifunk/packages/freifunk-iptables-missing_1.7.4_mipsel.ipk</a><br>
...<br>
<br>
freifunk-iptables-mi 0% | | 0<br>
--:-- ETA<br>
freifunk-iptables-mi 100% |*****************************| 6484<br>
00:00 ETA<br>
Connecting to <a href="http://ipkg.funkfeuer.at" target="_blank">ipkg.funkfeuer.at</a>[193.238.157.7]:80<br>
Done.<br>
Unpacking freifunk-iptables-missing...Done.<br>
Configuring freifunk-iptables-missing...Done.<br>
<br>
Downloading<br>
<a href="http://ipkg.funkfeuer.at/ipkg/freifunk/packages/freifunk-openwrt-compat_1.7.4_mipsel.ipk" target="_blank">http://ipkg.funkfeuer.at/ipkg/freifunk/packages/freifunk-openwrt-compat_1.7.4_mipsel.ipk</a><br>
...<br>
<br>
freifunk-openwrt-com 0% | | 0<br>
--:-- ETA<br>
freifunk-openwrt-com 14% |**** | 14336<br>
00:05 ETA<br>
freifunk-openwrt-com 29% |******** | 28672<br>
00:04 ETA<br>
freifunk-openwrt-com 41% |*********** | 40448<br>
00:04 ETA<br>
freifunk-openwrt-com 49% |************** | 47616<br>
00:04 ETA<br>
freifunk-openwrt-com 56% |**************** | 54784<br>
00:03 ETA<br>
freifunk-openwrt-com 82% |*********************** | 79872<br>
00:01 ETA<br>
freifunk-openwrt-com 90% |************************** | 87040<br>
00:00 ETA<br>
freifunk-openwrt-com 94% |*************************** | 91648<br>
00:00 ETA<br>
freifunk-openwrt-com 100% |*****************************| 96634<br>
00:00 ETA<br>
Connecting to <a href="http://ipkg.funkfeuer.at" target="_blank">ipkg.funkfeuer.at</a>[193.238.157.7]:80<br>
Done.<br>
Unpacking freifunk-openwrt-compat...Done.<br>
Configuring freifunk-openwrt-compat...Done.<br>
<br>
Downloading<br>
<a href="http://ipkg.funkfeuer.at/ipkg/freifunk/packages/tcpdump_3.9.4-1_mipsel.ipk" target="_blank">http://ipkg.funkfeuer.at/ipkg/freifunk/packages/tcpdump_3.9.4-1_mipsel.ipk</a><br>
...<br>
<br>
tcpdump_3.9.4-1_mips 0% | | 0<br>
--:-- ETA<br>
tcpdump_3.9.4-1_mips 8% |** | 23040<br>
00:10 ETA<br>
tcpdump_3.9.4-1_mips 16% |**** | 43520<br>
00:09 ETA<br>
tcpdump_3.9.4-1_mips 21% |****** | 56320<br>
00:10 ETA<br>
tcpdump_3.9.4-1_mips 22% |****** | 57856<br>
00:13 ETA<br>
tcpdump_3.9.4-1_mips 28% |******** | 73728<br>
00:12 ETA<br>
tcpdump_3.9.4-1_mips 35% |********** | 90112<br>
00:11 ETA<br>
tcpdump_3.9.4-1_mips 39% |*********** | 98 KB<br>
00:10 ETA<br>
tcpdump_3.9.4-1_mips 50% |************** | 128 KB<br>
00:07 ETA<br>
tcpdump_3.9.4-1_mips 55% |*************** | 139 KB<br>
00:07 ETA<br>
tcpdump_3.9.4-1_mips 55% |*************** | 139 KB<br>
00:08 ETA<br>
tcpdump_3.9.4-1_mips 59% |***************** | 150 KB<br>
00:07 ETA<br>
tcpdump_3.9.4-1_mips 63% |****************** | 160 KB<br>
00:06 ETA<br>
tcpdump_3.9.4-1_mips 70% |******************** | 176 KB<br>
00:05 ETA<br>
tcpdump_3.9.4-1_mips 75% |********************* | 189 KB<br>
00:04 ETA<br>
tcpdump_3.9.4-1_mips 79% |********************** | 199 KB<br>
00:03 ETA<br>
tcpdump_3.9.4-1_mips 81% |*********************** | 205 KB<br>
00:03 ETA<br>
tcpdump_3.9.4-1_mips 86% |************************ | 216 KB<br>
00:02 ETA<br>
tcpdump_3.9.4-1_mips 89% |************************* | 225 KB<br>
00:02 ETA<br>
tcpdump_3.9.4-1_mips 98% |**************************** | 246 KB<br>
00:00 ETA<br>
tcpdump_3.9.4-1_mips 100% |*****************************| 251 KB<br>
00:00 ETA<br>
Connecting to <a href="http://ipkg.funkfeuer.at" target="_blank">ipkg.funkfeuer.at</a>[193.238.157.7]:80<br>
Done.<br>
Unpacking tcpdump...Done.<br>
Configuring tcpdump...Done.<br>
<br>
Downloading<br>
<a href="http://ipkg.funkfeuer.at/ipkg/1.6/0xff-openvpn-webif_1.5.3_mipsel.ipk" target="_blank">http://ipkg.funkfeuer.at/ipkg/1.6/0xff-openvpn-webif_1.5.3_mipsel.ipk</a> ...<br>
<br>
0xff-openvpn-webif_1 0% | | 0<br>
--:-- ETA<br>
0xff-openvpn-webif_1 100% |*****************************| 5816<br>
00:00 ETA<br>
Connecting to <a href="http://ipkg.funkfeuer.at" target="_blank">ipkg.funkfeuer.at</a>[193.238.157.7]:80<br>
Done.<br>
ipkg_depends: Warning: openvpn-nossl-nolzo mentioned in dependency but no<br>
package found in /usr/lib/ipkg/lists<br>
Unpacking 0xff-openvpn-webif...Done.<br>
Configuring 0xff-openvpn-webif...Done.<br>
<br>
<br>
Software:<br>
<br>
<br>
ip<br>
wl<br>
wificonf<br>
kernel<br>
base-files<br>
freifunk-webadmin<br>
freifunk-upload<br>
freifunk-mtdkill<br>
freifunk-rdate<br>
freifunk-olsrd<br>
dropbear<br>
freifunk-webadmin-0xff<br>
0xff-olsr<br>
freifunk-recommended-de<br>
xyssl<br>
freifunk-dnsmasq<br>
libncurses<br>
horst<br>
iptraf<br>
libpcap<br>
freifunk-tcpdump<br>
zlib<br>
librrd1<br>
rrdcgi1<br>
rrdtool1<br>
rrdcollect<br>
freifunk-statistics-de<br>
wl-adv<br>
netperfbin<br>
freifunk-netperf-de<br>
xrelayd<br>
freifunk-secureadmin-de<br>
webif-nettools<br>
kmod-tun<br>
openvpn-nossl<br>
busybox-awk<br>
busybox-crontab<br>
freifunk-iptables-missing<br>
freifunk-openwrt-compat<br>
tcpdump<br>
0xff-openvpn-webif<br>
<br>
<br>
Vor der Änderung:<br>
<br>
<br>
login as: root<br>
<a href="mailto:root@192.168.137.2">root@192.168.137.2</a>'s password:<br>
<br>
<br>
BusyBox v1.01 (2010.08.29-10:07+0000) Built-in shell (ash)<br>
Enter 'help' for a list of built-in commands.<br>
<br>
_______ ________ __<br>
( ).-----.-----.-----.) ) ) ).----.) )<br>
( - )) _ ) -__) )) ) ) )) _)) _)<br>
(_______)) __)_____)__)__))________))__) )____)<br>
)__) F R E I F U N K F I R M W A R E<br>
<br>
root@gru3ost:~# cat /etc/init.d/S42openvpn<br>
#!/bin/sh -e<br>
<br>
DAEMON=/usr/sbin/openvpn<br>
CONFIG_DIR=/var/etc/openvpn<br>
VPN_IF=tap0<br>
test -x $DAEMON || exit 0<br>
test -d $CONFIG_DIR || mkdir $CONFIG_DIR<br>
<br>
start_vpn () {<br>
<br>
ff_openvpn_active="$(nvram get ff_openvpn_active)"<br>
ff_openvpn_host="$(nvram get ff_openvpn_host)"<br>
ff_openvpn_proto="$(nvram get ff_openvpn_proto)"<br>
ff_openvpn_port="$(nvram get ff_openvpn_port)"<br>
ff_openvpn_secret="$(nvram get ff_openvpn_secret)"<br>
ff_openvpn_ip="$(nvram get ff_openvpn_ip)"<br>
ff_openvpn_netmask="$(nvram get ff_openvpn_netmask)"<br>
ff_openvpn_noolsr="$(nvram get ff_openvpn_noolsr)"<br>
<br>
if [ ! "$ff_openvpn_active" = "1" ]; then<br>
echo -n " OpenVPN not activated"<br>
echo<br>
exit 0<br>
fi<br>
<br>
test -z "$ff_openvpn_host" && exit 0<br>
test -z "$ff_openvpn_port" && exit 0<br>
test -z "$ff_openvpn_ip" && exit 0<br>
test -z "$ff_openvpn_netmask" && exit 0<br>
<br>
#create OpenVPN config<br>
<br>
cat>$CONFIG_DIR/$VPN_IF.conf<<EOM<br>
dev $VPN_IF<br>
proto $ff_openvpn_proto<br>
remote $ff_openvpn_host<br>
port $ff_openvpn_port<br>
ifconfig $ff_openvpn_ip $ff_openvpn_netmask<br>
route-up /etc/openvpn/openvpn-webif-route-up.sh<br>
up /etc/openvpn/openvpn-webif-if-up.sh<br>
down /etc/openvpn/openvpn-webif-if-down.sh<br>
up-restart<br>
verb 3<br>
EOM<br>
<br>
if [ "$ff_openvpn_secret" = "1" ] && [ -f /etc/openvpn/$VPN_IF.secret ]; then<br>
cat>>$CONFIG_DIR/$VPN_IF.conf<<EOM<br>
secret /etc/openvpn/$VPN_IF.secret"<br>
auth sha1<br>
cipher none<br>
EOM<br>
fi<br>
<br>
#create OLSRd config<br>
<br>
if [ "$ff_openvpn_noolsr" = "1" ]; then<br>
echo > /tmp/etc/local.olsrd.conf-openvpn<br>
else<br>
<br>
ff_ip4broad=$(nvram get ff_ip4broad)<br>
test -n "$ff_ip4broad" && ff_ip4broad="Ip4Broadcast $(nvram get<br>
ff_ip4broad)"<br>
<br>
ff_openvpn_lq="$(nvram get ff_openvpn_lq)"<br>
test -n "$ff_openvpn_lq" && ff_lqmult="LinkQualityMult default<br>
$ff_openvpn_lq"<br>
<br>
SPEED=$(nvram get ff_olsrspeed)<br>
test -z "$SPEED" && SPEED=5<br>
<br>
if [ "0" != "$(nvram get ff_fisheye)" ];then<br>
TCINT=$(( 2 * SPEED / 3 ))<br>
else<br>
TCINT=$(( 2 * SPEED ))<br>
fi<br>
<br>
cat>/tmp/etc/local.olsrd.conf-openvpn<<EOM<br>
# this file is automatically generated by openvpn-webif,<br>
# to define your own settings use /etc/local.olsrd.conf<br>
Interface "$VPN_IF"<br>
{<br>
HelloInterval $(( 1 * SPEED )).0<br>
HelloValidityTime $(( 25 * SPEED )).0<br>
TcInterval $TCINT.0<br>
TcValidityTime $(( 75 * SPEED )).0<br>
MidInterval $(( 5 * SPEED )).0<br>
MidValidityTime $(( 75 * SPEED )).0<br>
HnaInterval $(( 5 * SPEED )).0<br>
HnaValidityTime $(( 75 * SPEED )).0<br>
$ff_ip4broad<br>
$ff_lqmult<br>
}<br>
EOM<br>
fi<br>
<br>
<br>
$DAEMON --daemon --writepid /var/run/openvpn.$VPN_IF.pid --config<br>
$CONFIG_DIR/$VPN_IF.conf --cd $CONFIG_DIR || echo -n " FAILED->"<br>
<br>
echo -n " $VPN_IF"<br>
}<br>
<br>
<br>
stop_vpn () {<br>
kill `cat /var/run/openvpn.$VPN_IF.pid` || true<br>
rm /var/run/openvpn.$VPN_IF.pid<br>
}<br>
<br>
case "$1" in<br>
start)<br>
echo -n "Starting openvpn:"<br>
<br>
start_vpn<br>
<br>
echo "."<br>
;;<br>
<br>
stop)<br>
echo -n "Stopping openvpn:"<br>
<br>
if test -e /var/run/openvpn.$VPN_IF.pid ; then<br>
stop_vpn<br>
echo -n " $VPN_IF"<br>
else<br>
echo -n " not running: $VPN_IF"<br>
fi<br>
echo "."<br>
;;<br>
<br>
restart)<br>
$0 stop<br>
sleep 1<br>
$0 start<br>
;;<br>
*)<br>
echo "Usage: $0 {start|stop|restart}" >&2<br>
exit 1<br>
;;<br>
esac<br>
<br>
exit 0<br>
root@gru3ost:~#<br>
<br>
<br>
Nach der Änderung:<br>
<br>
<br>
login as: root<br>
<a href="mailto:root@192.168.137.2">root@192.168.137.2</a>'s password:<br>
<br>
<br>
BusyBox v1.01 (2010.08.29-10:07+0000) Built-in shell (ash)<br>
Enter 'help' for a list of built-in commands.<br>
<br>
_______ ________ __<br>
( ).-----.-----.-----.) ) ) ).----.) )<br>
( - )) _ ) -__) )) ) ) )) _)) _)<br>
(_______)) __)_____)__)__))________))__) )____)<br>
)__) F R E I F U N K F I R M W A R E<br>
<br>
root@gru3ost:~# cat /etc/init.d/S42openvpn<br>
#!/bin/sh -e<br>
<br>
DAEMON=/usr/sbin/openvpn<br>
CONFIG_DIR=/var/etc/openvpn<br>
VPN_IF=tap0<br>
test -x $DAEMON || exit 0<br>
test -d $CONFIG_DIR || mkdir $CONFIG_DIR<br>
<br>
start_vpn () {<br>
<br>
ff_openvpn_active="$(nvram get ff_openvpn_active)"<br>
ff_openvpn_host="$(nvram get ff_openvpn_host)"<br>
ff_openvpn_proto="$(nvram get ff_openvpn_proto)"<br>
ff_openvpn_port="$(nvram get ff_openvpn_port)"<br>
ff_openvpn_secret="$(nvram get ff_openvpn_secret)"<br>
ff_openvpn_ip="$(nvram get ff_openvpn_ip)"<br>
ff_openvpn_netmask="$(nvram get ff_openvpn_netmask)"<br>
ff_openvpn_noolsr="$(nvram get ff_openvpn_noolsr)"<br>
<br>
if [ ! "$ff_openvpn_active" = "1" ]; then<br>
echo -n " OpenVPN not activated"<br>
echo<br>
exit 0<br>
fi<br>
<br>
test -z "$ff_openvpn_host" && exit 0<br>
test -z "$ff_openvpn_port" && exit 0<br>
test -z "$ff_openvpn_ip" && exit 0<br>
test -z "$ff_openvpn_netmask" && exit 0<br>
<br>
#create OpenVPN config<br>
<br>
cat>$CONFIG_DIR/$VPN_IF.conf<<EOM<br>
dev $VPN_IF<br>
proto $ff_openvpn_proto<br>
remote $ff_openvpn_host<br>
port $ff_openvpn_port<br>
ifconfig $ff_openvpn_ip $ff_openvpn_netmask<br>
route-up /etc/openvpn/openvpn-webif-route-up.sh<br>
up /etc/openvpn/openvpn-webif-if-up.sh<br>
down /etc/openvpn/openvpn-webif-if-down.sh<br>
up-restart<br>
comp-lzo<br>
script-security 2<br>
verb 3<br>
EOM<br>
<br>
if [ "$ff_openvpn_secret" = "1" ] && [ -f /etc/openvpn/$VPN_IF.secret ]; then<br>
cat>>$CONFIG_DIR/$VPN_IF.conf<<EOM<br>
secret /etc/openvpn/$VPN_IF.secret"<br>
auth sha1<br>
cipher none<br>
EOM<br>
fi<br>
<br>
#create OLSRd config<br>
<br>
if [ "$ff_openvpn_noolsr" = "1" ]; then<br>
echo > /tmp/etc/local.olsrd.conf-openvpn<br>
else<br>
<br>
ff_ip4broad=$(nvram get ff_ip4broad)<br>
test -n "$ff_ip4broad" && ff_ip4broad="Ip4Broadcast $(nvram get<br>
ff_ip4broad)"<br>
<br>
ff_openvpn_lq="$(nvram get ff_openvpn_lq)"<br>
test -n "$ff_openvpn_lq" && ff_lqmult="LinkQualityMult default<br>
$ff_openvpn_lq"<br>
<br>
SPEED=$(nvram get ff_olsrspeed)<br>
test -z "$SPEED" && SPEED=5<br>
<br>
if [ "0" != "$(nvram get ff_fisheye)" ];then<br>
TCINT=$(( 2 * SPEED / 3 ))<br>
else<br>
TCINT=$(( 2 * SPEED ))<br>
fi<br>
<br>
cat>/tmp/etc/local.olsrd.conf-openvpn<<EOM<br>
# this file is automatically generated by openvpn-webif,<br>
# to define your own settings use /etc/local.olsrd.conf<br>
Interface "$VPN_IF"<br>
{<br>
HelloInterval $(( 1 * SPEED )).0<br>
HelloValidityTime $(( 25 * SPEED )).0<br>
TcInterval $TCINT.0<br>
TcValidityTime $(( 75 * SPEED )).0<br>
MidInterval $(( 5 * SPEED )).0<br>
MidValidityTime $(( 75 * SPEED )).0<br>
HnaInterval $(( 5 * SPEED )).0<br>
HnaValidityTime $(( 75 * SPEED )).0<br>
$ff_ip4broad<br>
$ff_lqmult<br>
}<br>
EOM<br>
fi<br>
<br>
<br>
$DAEMON --daemon --writepid /var/run/openvpn.$VPN_IF.pid --config<br>
$CONFIG_DIR/$VPN_IF.conf --cd $CONFIG_DIR || echo -n " FAILED->"<br>
<br>
echo -n " $VPN_IF"<br>
}<br>
<br>
<br>
stop_vpn () {<br>
kill `cat /var/run/openvpn.$VPN_IF.pid` || true<br>
rm /var/run/openvpn.$VPN_IF.pid<br>
}<br>
<br>
case "$1" in<br>
start)<br>
echo -n "Starting openvpn:"<br>
<br>
start_vpn<br>
<br>
echo "."<br>
;;<br>
<br>
stop)<br>
echo -n "Stopping openvpn:"<br>
<br>
if test -e /var/run/openvpn.$VPN_IF.pid ; then<br>
stop_vpn<br>
echo -n " $VPN_IF"<br>
else<br>
echo -n " not running: $VPN_IF"<br>
fi<br>
echo "."<br>
;;<br>
<br>
restart)<br>
$0 stop<br>
sleep 1<br>
$0 start<br>
;;<br>
*)<br>
echo "Usage: $0 {start|stop|restart}" >&2<br>
exit 1<br>
;;<br>
esac<br>
<br>
exit 0<br>
root@gru3ost:~#<br>
<br>
<br>
Geändert:<br>
<br>
im Bereich<br>
<br>
#create OpenVPN config<br>
<br>
comp-lzo<br>
script-security 2<br>
<br>
hinzugefügt.<br>
<br>
<br>
Jan 1 00:00:07 (none) <a href="http://kern.info" target="_blank">kern.info</a> kernel: Universal TUN/TAP device driver<br>
1.5 (C)1999-2002 Maxim Krasnyansky<br>
Jan 1 00:00:13 (none) kern.notice openvpn[443]: OpenVPN 2.1.1<br>
mipsel-linux [LZO2] [EPOLL] built on Aug 29 2010<br>
Jan 1 00:00:13 (none) kern.warn openvpn[443]: NOTE: the current<br>
--script-security setting may allow this configuration to call<br>
user-defined scripts<br>
Jan 1 00:00:13 (none) kern.warn openvpn[443]: ******* WARNING *******:<br>
OpenVPN built without OpenSSL -- encryption and authentication features<br>
disabled -- all data will be tunnelled as cleartext<br>
Jan 1 00:00:13 (none) kern.notice openvpn[443]: LZO compression initialized<br>
Jan 1 00:00:13 (none) kern.notice openvpn[443]: TUN/TAP device tap0 opened<br>
Jan 1 00:00:13 (none) kern.notice openvpn[443]: TUN/TAP TX queue length<br>
set to 100<br>
Jan 1 00:00:13 (none) kern.notice openvpn[443]: /usr/sbin/ip link set dev<br>
tap0 up mtu 1500<br>
Jan 1 00:00:13 (none) kern.notice openvpn[443]: /usr/sbin/ip addr add dev<br>
tap0 <a href="http://78.41.112.211/24" target="_blank">78.41.112.211/24</a> broadcast 78.41.112.255<br>
Jan 1 00:00:13 (none) kern.notice openvpn[443]:<br>
/etc/openvpn/openvpn-webif-if-up.sh tap0 1500 1533 78.41.112.211<br>
255.255.255.0 init<br>
Jan 1 00:00:14 (none) kern.notice openvpn[443]: Data Channel MTU parms [<br>
L:1533 D:1450 EF:1 EB:135 ET:32 EL:0 AF:14/1 ]<br>
Jan 1 00:00:14 (none) kern.notice openvpn[501]: Socket Buffers:<br>
R=[32767->65534] S=[32767->65534]<br>
Jan 1 00:00:14 (none) kern.notice openvpn[501]: UDPv4 link local (bound):<br>
[undef]:5012<br>
Jan 1 00:00:14 (none) kern.notice openvpn[501]: UDPv4 link remote:<br>
<a href="http://78.41.115.228:5012" target="_blank">78.41.115.228:5012</a><br>
<br>
Jan 1 00:00:22 (none) user.notice olsr/init: olsr/system: Starting olsrd...<br>
Dec 31 12:00:01 (none) <a href="http://kern.info" target="_blank">kern.info</a> olsrd[928]: Writing '1' (was 1) to<br>
/proc/sys/net/ipv4/ip_forward<br>
Dec 31 12:00:01 (none) <a href="http://kern.info" target="_blank">kern.info</a> olsrd[928]: Writing '0' (was 0) to<br>
/proc/sys/net/ipv4/conf/all/send_redirects<br>
Dec 31 12:00:01 (none) <a href="http://kern.info" target="_blank">kern.info</a> olsrd[928]: Writing '0' (was 0) to<br>
/proc/sys/net/ipv4/conf/eth1/send_redirects<br>
Dec 31 12:00:01 (none) <a href="http://kern.info" target="_blank">kern.info</a> olsrd[928]: Writing '0' (was 1) to<br>
/proc/sys/net/ipv4/conf/eth1/rp_filter<br>
Dec 31 12:00:01 (none) <a href="http://kern.info" target="_blank">kern.info</a> olsrd[928]: Adding interface eth1<br>
Dec 31 12:00:01 (none) <a href="http://kern.info" target="_blank">kern.info</a> olsrd[928]: New main address: 78.41.113.100<br>
Dec 31 12:00:01 (none) <a href="http://kern.info" target="_blank">kern.info</a> olsrd[928]: Writing '0' (was 0) to<br>
/proc/sys/net/ipv4/conf/vlan1/send_redirects<br>
Dec 31 12:00:01 (none) <a href="http://kern.info" target="_blank">kern.info</a> olsrd[928]: Writing '0' (was 1) to<br>
/proc/sys/net/ipv4/conf/vlan1/rp_filter<br>
Dec 31 12:00:01 (none) <a href="http://kern.info" target="_blank">kern.info</a> olsrd[928]: Adding interface vlan1<br>
Dec 31 12:00:01 (none) <a href="http://kern.info" target="_blank">kern.info</a> olsrd[928]: Writing '0' (was 0) to<br>
/proc/sys/net/ipv4/conf/tap0/send_redirects<br>
Dec 31 12:00:01 (none) <a href="http://kern.info" target="_blank">kern.info</a> olsrd[928]: Writing '0' (was 1) to<br>
/proc/sys/net/ipv4/conf/tap0/rp_filter<br>
Dec 31 12:00:01 (none) <a href="http://kern.info" target="_blank">kern.info</a> olsrd[928]: Adding interface tap0<br>
Dec 31 12:00:01 (none) <a href="http://kern.info" target="_blank">kern.info</a> olsrd[928]: <a href="http://olsr.org" target="_blank">olsr.org</a> -<br>
0.6.1-git_da798d9-hash_d41d8cd98f00b204e9800998ecf8427e - successfully<br>
started<br>
<br>
Dec 31 12:00:08 (none) kern.notice openvpn[501]: Peer Connection Initiated<br>
with <a href="http://78.41.115.228:5012" target="_blank">78.41.115.228:5012</a><br>
Dec 31 12:00:08 (none) kern.notice openvpn[501]: Initialization Sequence<br>
Completed<br>
<br>
Nachbarn:<br>
...<br>
tap0 tunnel kryptavpn 0.00 1.000 1.000 1.000<br>
<br>
<br>
<br>
lg Petr<br>
<font color="#888888"><br>
--<br>
Wien mailing list<br>
<a href="mailto:Wien@lists.funkfeuer.at">Wien@lists.funkfeuer.at</a><br>
<a href="http://lists.funkfeuer.at/mailman/listinfo/wien" target="_blank">http://lists.funkfeuer.at/mailman/listinfo/wien</a><br>
</font></blockquote></div><br>