之前由于在静态路由下加了条错误的路由,造成网络故障,直接导致那台 OpenWrt 软路由失联无法访问,问题也很好解决,
vi /etc/config/netowork
删除那条错误的路由即可
重启网卡
service network restart
网络恢复
Gcod
人生若只如初见,何事秋风悲画扇
uci set network.your_route='route' uci set network.your_route.interface='lan' uci set network.your_route.target='10.244.96.0' uci set network.your_route.netmask='255.255.255.0' uci set network.your_route.gateway='10.244.100.254' uci commit network
Δ
文章评论
uci set network.your_route='route'
uci set network.your_route.interface='lan'
uci set network.your_route.target='10.244.96.0'
uci set network.your_route.netmask='255.255.255.0'
uci set network.your_route.gateway='10.244.100.254'
uci commit network