4安装时你将会被提示输入External NIC 与 Internal NIC。External NIC 代表的是连接Internet的网络接口。Internal NIC 代表的是连接局域网的网络接口。(通常Internal NIC是br-lan。但External NIC要按照2图的步骤去查找)
5.以下是我自己终端输入命令:
root@OpenWrt:~# opkg update #更新软件列表 然后回车
Downloading http://downloads.openwrt.org/sna ... ckages/Packages.gz.
Updated list of available packages in /var/opkg-lists/barrier_breaker.
root@OpenWrt:~# opkg install wifidog #安装wifidog 命令显示的是我已经安装了 然后回车
Package wifidog (20130917-440445db60b0c3aff528ea703a828b0567293387) installed in root is up to date.
root@OpenWrt:~# cd; wget http://dl.wiwiz.com/hsbuilder-util-latest-OpenWrt.tar.g #连接wiwiz软件源 然后回车
z
Connecting to dl.wiwiz.com (74.117.62.156:80)
wget: can't open 'hsbuilder-util-latest-OpenWrt.tar.gz': File exists
root@OpenWrt:~# cd /; tar -zxf /root/hsbuilder-util-latest-OpenWrt.tar.gz #安装wiwiz 然后回车
root@OpenWrt:/# /usr/local/hsbuilder/hsbuilder_setup4openwrt.sh setup #设置wiwiz 然后回车
Please input Hotspot ID: (default: 087B3A9C) #输入Hotspot ID 然后回车
xxxxxxxxx
Please input User Name: (default: wiwiz) #输入用户名 然后回车
xxxxxxxxx
please input External NIC (typically the one going out to the Inernet): (default: eth0 , or choose one from lo/eth1/wlan0/eth0/br-lan)
eth0 #提示你输入External NIC接口名称 然后回车
please select Internal NIC (typically your wifi interface): (default: eth1 , or choose one from lo/eth1/wlan0/eth0/br-lan)
br-lan #提示你输入Internal NIC接口名称 然后回车
please input Server Address and Port: (default: cp.wiwiz.com:80,cp2.wiwiz.com:80,42.121.98.148:80,74.117.62.156:80,74.117.62.157:80)
cp.wiwiz.com:80 #输入服务器地址,这里我选用第一个,看哪个速度快用哪个,这里不做要求 然后回车
Setting up. It may take a while, please wait ...
Reading Configuration File ...
Downloading data and setting up, please wait...
Starting Wifidog ...
Testing for iptables modules
Testing ipt_mac
ipt_mac module is working
Testing ipt_mark
ipt_mark module is working
Testing ipt_REDIRECT
ipt_REDIRECT module is working
OK
HSBuilder Setup Completed! #然后就是等待出现以下的命令显示成功,然后打开网页你就会看到你自己的认证界面!哈哈哈哈!