赞
踩
1、配置menuconfig支持luci
2、修改防火墙firewall文件配置:
option forward REJECT -> option forward ACCEPT
path: openwrt_widora/package/network/config/firewall/files/firewall.config 文件
- config zone
- option name lan
- list network 'lan'
- option input ACCEPT
- option output ACCEPT
- option forward ACCEPT
-
以上两点设置了即可。浏览器中输入:192.168.8.1
另外如果需要支持开发板与ubuntu之间的ssh命令登录,需要在firewall.config添加如下规则:
firewall.config 文件中添加如下规则:
- #配置允许ssh登录
-
- config rule
-
- option name Allow-SSH
- option target ACCEPT
- option src wan
- option dest_port 22
- option proto tcp
- option family ipv4
如下图:ssh登录到了ubuntu。
scp拷贝ubuntu上相应文件到开发板:
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。