|
发表于 2024-1-18 18:39:27
|
显示全部楼层
本帖最后由 sdwfwmj 于 2024-1-19 10:05 编辑
. b) }7 @6 [/ c7 ?. q* p) O+ K1 J+ q1 {0 h
我一般不远程,如果你还能进入telnet,那么可以试一下下面我提供的方式,前提是你还能进saf。/ b5 g8 @7 C" t; Y2 M' {
shell后 saf-huawei console回车,upt回车,如果正常的话会进入一个带目录提示的命令提示符窗口。cd /etc回车,vi rc.local回车,将光标放到# Put your custom commands here that should be executed once
( w" v C+ K' a" v: [7 a# the system init finished. By default this file does nothing.后键入i 将下面三句复制粘贴) f# `5 r3 r3 w& l* X
[ ! -L /opt/apps/ctsgw.log ] && rm -fr /opt/apps/ctsgw.log && ln -s /dev/null /opt/apps/ctsgw.log
- z6 m7 k' x9 R8 }; G b. L[ ! -L /mnt/jffs2/plug/apps/apps/tmp/.uci/u01.log ] && rm -fr /mnt/jffs2/plug/apps/apps/tmp/.uci/u01.log && ln -s /dev/null /mnt/jffs2/plug/apps/apps/tmp/.uci/u01.log' Q& _, E' l6 g
exit 0
% B: k- v% b% h' i最后按esc,按:后输入wq回车
! j% ~3 o) K5 J! K8 @输入exit回车
0 k! N2 U& Y# J) Y9 L0 ]然后ctrl+a1 [7 t% s; U# q# e5 f' w4 E$ c" o
q' p/ T+ t5 W" y3 Z
这样就退出了saf,输入reboot回车重启光猫。
$ P$ Y# W, J, k看这样还有问题没。5 Q" ~( {6 h/ o4 R
以上先决条件是还能用saf,并且你每次重置中间件都会失效,需要重新操作。 |
|