其它 - TL WR941N 刷 OpenWrt

https://archive.openwrt.org/snapshots/trunk/ar71xx/generic/ 搜索openwrt-ar71xx-generic-tl-wr941nd-v4-squashfs-factory.bin,
下载然后刷入路由器。因为没有自带没有图形界面,所以只能进行ssh登录。

1
ssh root@192.168.1.1

OpenWrt 默认没有开启无线网络,需要手动修改/etc/config/wireless文件, 最好备份下文件:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
config wifi-device  radio0
option type mac80211
option channel 11
option hwmode 11ng
option path 'pci0000:00/0000:00:00.0'
option htmode HT20
list ht_capab SHORT-GI-40
list ht_capab TX-STBC
list ht_capab RX-STBC1
list ht_capab DSSS_CCK-40
# REMOVE THIS LINE TO ENABLE WIFI:
# option disabled 1 (删除或注释这一行)

config wifi-iface
option device radio0
option network lan
option mode ap
option ssid OpenWrt
option encryption wpa2
option key xxxxxxxxx

重启路由网络:

1
/etc/init.d/network restart

配置 PPPoE,vi /etc/config/network:

1
2
3
4
5
6
config interface 'wan'
option ifname 'eth1'
option proto pppoe
option username 1234567
option password 7654321
option macaddr xx:xx:xx:xx:xx:xx (克隆路由器网卡地址)

再次重启路由网络进行拨号。

安装 LuCI web 界面,这样就可以在浏览器操作路由:

1
2
3
4
opkg update
opkg install luci
/etc/init.d/uhttpd enable
/etc/init.d/uhttpd start]

现在就可以通过 http://192.168.1.1 修改路由器配置。