Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mr11u #2

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions README

This file was deleted.

18 changes: 18 additions & 0 deletions README.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
使用说明
=========================
1、使用mr11u-v2.bin升级固件(仅适用于mr11u v2版本,以下方法也适用于wr703n与mr11u v1的路由器,固件大家可以自行寻找)
2、修改network文件中wan的ipaddr、gateway、hostname、macaddr
3、修改wireless文件中wifi-iface的ssid、key
4、修改start.sh文件中的学号、密码、IP地址、网关
5、将文件拷贝到路由器中:
$scp m2 network rc.local start.sh wireless [email protected]:~
6、登录路由器网页管理,设置默认密码,然后在终端中拷贝配置文件:
$ssh [email protected]
#cp rc.local /etc/rc.local
#cp network /etc/config/network
#cp wireless /etc/config/wireless
#chmod +x start.sh
#chmod +x m2
6、测试,先插上网线,然后再终端中执行:#./start.sh,稍等片刻看电脑能否上网
如果6能上网则表示配置完成!

162 changes: 0 additions & 162 deletions conf/default.script

This file was deleted.

26 changes: 0 additions & 26 deletions conf/dhcp

This file was deleted.

34 changes: 0 additions & 34 deletions conf/network

This file was deleted.

Binary file added m2
Binary file not shown.
Binary file removed mentohust/mento
Binary file not shown.
Binary file removed mentohust/mentohust/8021x.exe
Binary file not shown.
Binary file removed mentohust/mentohust/SuConfig.dat
Binary file not shown.
Binary file removed mentohust/mentohust/W32N55.dll
Binary file not shown.
49 changes: 0 additions & 49 deletions mentoinit.sh

This file was deleted.

Binary file added mr11u-v2.bin
Binary file not shown.
26 changes: 26 additions & 0 deletions network
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@

config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'

config interface 'lan'
option type 'bridge'
option proto 'static'
option ipaddr '192.168.1.1'
option netmask '255.255.255.0'
option ifname 'eth0'

config interface 'wan'
option ifname 'eth0'
option _orig_ifname 'eth0'
option _orig_bridge 'false'
option proto 'static'
option ipaddr 'Your IP ADDRESS'
option netmask '255.255.255.0'
option gateway 'Your Gateway'
option dns '8.8.8.8'
option hostname 'Your Hostname'
option macaddr 'Your MAC ADDRESS'

Binary file removed packages/libpcap.ipk
Binary file not shown.
5 changes: 5 additions & 0 deletions rc.local
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Put your custom commands here that should be executed once
# the system init finished. By default this file does nothing.

/root/start.sh &
exit 0
2 changes: 2 additions & 0 deletions start.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ifup wan
/root/m2 -uѧ�� -p���� -neth0 -iIP��ַ -m255.255.255.0 -g���� -a1 -b0
23 changes: 23 additions & 0 deletions wireless
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@

config wifi-device 'radio0'
option type 'mac80211'
option channel '11'
option phy 'phy0'
option hwmode '11ng'
option htmode 'HT40-'
option noscan '1'
list ht_capab 'SHORT-GI-20'
list ht_capab 'SHORT-GI-40'
list ht_capab 'RX-STBC1'
list ht_capab 'DSSS_CCK-40'
option txpower '27'
option country 'US'

config wifi-iface
option device 'radio0'
option network 'lan'
option mode 'ap'
option ssid 'Your SSID'
option encryption 'psk2'
option key 'Your AP's password,at least 8 character'