Open GoogleCodeExporter opened 8 years ago
17201版确实有bug,如果你是atheros芯片可以联系我QQ:741451@163.com
,我给你一个15778版的,dd-wrt官方给的源码很难编译出完整固
件的,svn拖下来也没啥用
Original comment by q741...@gmail.com
on 30 Sep 2011 at 4:57
呵呵,多谢多谢!
Original comment by weihua.z...@gmail.com
on 30 Sep 2011 at 7:35
已经收到固件,非常感谢!
Openwrt的配置比较麻烦,而且发现dd的固件,下载最高速度能��
�10M/s,以前用openwrt只能到8M/s,照理说不会啊,呵呵,反正现
在用起来很爽了,家里和办公室可以相互远程了:)
感谢!
Original comment by weihua.z...@gmail.com
on 4 Oct 2011 at 4:19
15778版本可能有不稳定的情况,办公室带的机器较多,30台左�
��,学校实验室,锐捷认证那种,不到24小时会死机,换回1720
1版本就没有问题。看来还得等dd官方升级了,呵呵!
多谢!
Original comment by weihua.z...@gmail.com
on 7 Oct 2011 at 3:24
写了个脚本实现3322.org的更新
WAN_IP=`nvram show | grep 'wan_ipaddr=\([0-9]\{1,3\}\.\)\{3\}[0-9]\{1,3\}'`
WANIP=`echo ${WAN_IP/wan_ipaddr=/}`
echo "Connecting 3322.org, setting ddns to: $WANIP"
UID=''
PWD=''
HOSTNAME=''
wget -q -O ipupdate
"http://$UID:$PWD@members.3322.org/dyndns/update?&hostname=$HOSTNAME&myip=$WANIP
"
ret=`awk '{if($1~/good/ || $1~/nochg/) print $1}' ipupdate|sed -n '1p'`
if [ "$ret"="good" -o "$ret"="nochg" ]; then
echo "update internet ip $ret: $WANIP"
logger "update internet ip $ret: $WANIP"
else
echo "update internet ip failure!"
logger "update internet ip failure!"
fi
Original comment by weihua.z...@gmail.com
on 21 Oct 2011 at 11:18
因为好多机器没有jffs,脚本没法存入,在开机命令中写了一�
��脚本,开机生成3322更新脚本到/tmp/root供开机和定时更新(cr
ontab)
sleep 30
# start up mentohust
mentohust -uXXXXXX -pXXXXXX -neth0 -a1 -d2 -b1
sleep 5
# generate 3322.sh
echo "" > /tmp/root/3322.sh
echo "WAN_IP=\`nvram show | grep
'wan_ipaddr=\([0-9]\{1,3\}\.\)\{3\}[0-9]\{1,3\}'\`" >> /tmp/root/3322.sh
echo "WANIP=\`echo \${WAN_IP/wan_ipaddr=/}\`" >> /tmp/root/3322.sh
echo "echo \"Connecting 3322.org, setting ddns to: \$WANIP\"" >>
/tmp/root/3322.sh
echo "" >> /tmp/root/3322.sh
echo "UID='XXXXXX'" >> /tmp/root/3322.sh
echo "PWD='XXXXXX'" >> /tmp/root/3322.sh
echo "HOSTNAME='XXXXXX.3322.org'" >> /tmp/root/3322.sh
echo "" >> /tmp/root/3322.sh
echo "wget -q -O ipupdate
\"http://\$UID:\$PWD@members.3322.org/dyndns/update?&hostname=\$HOSTNAME&myip=\$
WANIP\"" >> /tmp/root/3322.sh
echo "ret=\`awk '{if(\$1~/good/ || \$1~/nochg/) print \$1}' ipupdate|sed -n
'1p'\`" >> /tmp/root/3322.sh
echo "if [ \"\$ret\"=\"good\" -o \"\$ret\"=\"nochg\" ]; then" >>
/tmp/root/3322.sh
echo " echo \"update internet ip \$ret: \$WANIP\"" >> /tmp/root/3322.sh
echo " logger \"update internet ip \$ret: \$WANIP\"" >> /tmp/root/3322.sh
echo "else" >> /tmp/root/3322.sh
echo " echo \"update internet ip failure!"\" >> /tmp/root/3322.sh
echo " logger \"update internet ip failure!"\" >> /tmp/root/3322.sh
echo "fi" >> /tmp/root/3322.sh
chmod 777 /tmp/root/3322.sh
# refresh ddns 3322.org
/tmp/root/3322.sh
Original comment by weihua.z...@gmail.com
on 21 Oct 2011 at 11:19
Original issue reported on code.google.com by
weihua.z...@gmail.com
on 29 Sep 2011 at 2:40