您的位置:首页 > 运维架构

WR703N路由器安装OpenWRT并运行连接校园网

2016-03-11 14:27 1086 查看

1 : 下载OpenWRT针对WR703N的版本

openwrt

2 : WR703N安装上OpenWRT

3 : 浏览器输入192.168.1.1进入luci

设置路由器密码并开启ssh

4 : 用putty或xshell登陆路由器

编辑/etc/config下的network,输入命令:

vi /etc/config/network

将”config interface ‘lan’”下的“option ifname ‘eth0’”这一行用”#”注释掉

并且在文件最末尾加上:

config interface 'wan'
option ifname 'eth0'
option proto 'dhcp'


重启路由器:

reboot && exit


5 : 安装njit8021xclien及依赖libpcap_1.1

正确的调用格式例子如下:

njit-client username password
njit-client username password eth0
njit-client username password eth1


(注:若不指明网卡,默认情况下将使用eth0)



参考网站

ipk链接
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  路由器 openwrt 网络