TP-Link WR1041N OpenWrt 安装全攻略

TP-Link WR1041N  OpenWrt 安装全攻略

 

 


1. 首先到以下网址下载最新版本的固件:
下载这个是中文的
http://downloads.openwrt.org.cn/zjhzzyf_img/TL-WR1041Nv2/openwrt-ar71xx-generic-tl-wr1041n-v2-squashfs-factory.rar
添加luci的web管理界面
1.。固件默认中文
2.。.默认用户名 root 密码admin
3.。添加按钮复位功能,方便大家折腾,配置错误后还能救回来。
4.。其它功能未添加


这个是官方的(建议用这个)
1、下载地址:
http://downloads.openwrt.org/snapshots/trunk/ar71xx/   


WR1041N是8MB Flash,,建议下载此版本: openwrt-ar71xx-generic-tl-wr1041n-v2-squashfs-factory.bin

2. 登录WR1041N的升级界面,上传刚才下载的openwrt固件升级。这里不详细讲过程了。升级过程比较慢,建议通过打开DOS窗口,执行:

    ping 192.168.1.1 -t

 

直到最终看到稳定的结果才代表升级成功。


3. 升级结束后,大家发现 http://192.168.1.1 不能访问。不是的。因为官方版本没有内置Web管理界面的。怎么办?下面教大家。

打开TELNET工具(secureCRT),输入地址:192.168.1.1 类型选择:telnet (如果忘记了,默认是SSH。你也可以试试会出现什么画面)。然后确认,这时出现以下界面:

=== IMPORTANT ============================

  Use 'passwd' to set your login password

  this will disable telnet and enable SSH

------------------------------------------

 

 

BusyBox v1.19.4 (2012-05-28 11:39:51 PDT) built-in shell (ash)

Enter 'help' for a list of built-in commands.

 

  _______                     ________        __

|       |.-----.-----.-----.|  |  |  |.----.|  |_

|   -   ||  _  |  -__|     ||  |  |  ||   _||   _|

|_______||   __|_____|__|__||________||__|  |____|

          |__| W I R E L E S S   F R E E D O M

-----------------------------------------------------

ATTITUDE ADJUSTMENT (Bleeding Edge, r31954)

-----------------------------------------------------

  * 1/4 oz Vodka      Pour all ingredients into mixing

  * 1/4 oz Gin        tin with ice, strain into glass.

  * 1/4 oz Amaretto

  * 1/4 oz Triple sec

  * 1/4 oz Peach schnapps

  * 1/4 oz Sour mix

  * 1 splash Cranberry juice

-----------------------------------------------------

root@OpenWrt:/#passwd

Changing password for root

New password:

Retype password:

Password for root changed by root

(我们先重置一次密码(需要输入2次),然后我们用 vi 文本编辑程序先拨号把网络连上。记住,进入 vi 后,先按键盘的【Insert】键,编辑以下项目:)

root@OpenWrt:/# vi /etc/config/network

 

 

        config interface 'wan'

        option ifname 'eth0.2'

        option proto 'pppoe'

        option username '你的ADSL帐号'

        option password '你的ADSL密码'

 

然后我们开始拨号,更新可选工具包,安装Luci管理界面,安装Luci 中文包,multiwan多拨管理,启动管理界面:

本帖隐藏的内容
root@OpenWrt:/#/etc/init.d/network restart

root@OpenWrt:/#opkg update

root@OpenWrt:/#opkg install luci

root@OpenWrt:/#opkg install luci-i18n-chinese

root@OpenWrt:/#opkg install luci-app-multiwan

root@OpenWrt:/#/etc/init.d/uhttpd enable

root@OpenWrt:/#/etc/init.d/uhttpd start

 

 

 

 

刷OPEN WRT 后WIFI故障解决  
 
 

vi /etc/config/wireless   #删除或注释掉option disabled 1这句

只要执行这一句就可以一般的话

如果不行的话


root@OpenWrt:~# rm /etc/config/wireless   #重建无线配置文件
root@OpenWrt:~# wifi detect >  /etc/config/wireless
root@OpenWrt:~# vi /etc/config/wireless   #删除或注释掉option disabled 1这句 (如果看)
root@OpenWrt:~# wifi up
 \

 

看看运行日志

 

 === IMPORTANT ============================
  Use 'passwd' to set your login password
  this will disable telnet and enable SSH
 ------------------------------------------


BusyBox v1.19.4 (2013-07-11 10:30:19 PDT) built-in shell (ash)
Enter 'help' for a list of built-in commands.

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |  
  • 0
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值