首先,用ssh登录路由(可用putty等软件)。
确保路由连上网。
——————————配置PPPOE上网————————————
参考:openwrt命令行配置PPPOE上网的方法:
1.vi /etc/config/network
(编辑network网络配置文件)
2.如果无法编辑,按a进入编辑模式。
3.输入以下内容:
config 'interface' 'wan'
option ifname 'wan'
option proto 'pppoe'
option username 'xxxxxxx' (xxxxxxx表示是你的pppoe帐号)