After the router brushes openwrt, connected to the computer, wireless cable can be.
Routing LAN ports and computers with a network cable connection,
The computer opens CMD,
Enter Telnet 192.168.1.1 carriage return
If you are prompted that Telnet is not an executable command, you need to
Control Panel-Programs-programs and features-turn Windows features on or off,
The Telnet server and Telnet client are checked, determined,
After executing the above command, we will login to the route, we set the password,
Input
passwd root
Tips
Changing password for root
New Password:
Enter the password, the attention here, you enter the screen will not react, enter the password to return just,
Tips
Retype Password:
Enter the password again, enter the return,
Although the network can be configured in Telnet, but I recommend the use of WINSCP to configure, clearer, more convenient to operate,
Download WINSCP, run,
Host name Fill 192.168.1.1
Port default 22
User name Root
Password Enter the password you just set,
Protocol set to SCP
Click Login,
You may be prompted for a group error, OK, no impact,
Point..
This icon goes back to the parent folder,
Into the/etc/config/folder, you can configure the
Start configuration
1. Open/etc/config/wireless file, add
config wifi-iface option device radio0 #如果是USB外置网卡改为radio1 option network lan1 option ifname ath1 option mode ap option ssid nodogsplash
2. Open/etc/config/network file, add
config ‘interface‘ ‘lan1‘ option ‘ifname‘ ‘ath1‘ option ‘proto‘ ‘static‘ option ‘macaddr‘ ‘01:1B:24:D3:1F:37‘ option ‘ipaddr‘ ‘192.168.9.1‘ option ‘netmask‘ ‘255.255.255.0‘
3. Open/etc/config/dhcp, join
config dhcp lan1 option interface lan1 option start 100 option limit 150 option leasetime 12h
4. Open/etc/nodogsplash/nodogsplash.conf, modify
GatewayInterface ath1 #在第九行。ClientForceTimeout 360 #验证过期时间,单位分钟。RedirectURL #登录后强制跳转地址。
5. Customizing Web pages in/etc/nodogsplash/htdocs
6. Start-up entry/etc/init.d/nodogsplash start restart Connect to the SSID to open any Web page to see the effect.
This article by http://www.wifidog.pro/2015/04/23/nodogsplash%E9%85%8D%E7%BD%AEopenwrt-luci.html compilation, reprint please indicate the source
Nodogsplash configuration Nodogsplash method of OpenWrt configuration with Luci interface brush finish