此热点需要认证 暂手机热点无法上网网

时间: February 27, 2015
分类: ,,,,,
Pre-installation
This is where a lot of people run into problems, so let's state this in bold:
MAKE SURE EVERYTHING WORKS FIRST BEFORE INTRODUCING Wifidog INTO THE ENVIRONMENT
That especially means:
The router must boot properly
The router must bring up the interfaces properly
The router must set up the routes properly
The router must connect to the internet properly
DNS settings must be set or obtained properly. DNS must work.
DHCP settings (client, server or both) must be set or obtained properly.
The ipt_mac.o kernel module must be loaded.
If using NAT, the router must setup NAT/masquerading rules with iptables properly
Clients on the desired (WIFI) network must be able to bind, associate, lease and connect the internet properly
All the above must happen automatically when the router starts or gets rebooted
Do NOT proceed with installing Wifidog until you've satisfied the above. It will not work otherwise and you will waste lots of time.
Installation
Wifidog, like many open source projects, is distributed with standard autotools utilities to make installation easy. Unpack the tarball (from Sourceforge) or get the lastest source from SVN (see Download menu), then follow the standard:
./autogen.sh
make install
If you do not install it with make install, then you will find the compiled wifidog gateway binary in src/wifidog (also don't forget to copy wifidog.conf to /etc).
OpenWrt? ipkg
mkdir ~/wifidog.openwrt
cd ~/wifidog.openwrt
wget http://downloads.openwrt.org/whiterussian/newest/OpenWrt-SDK-Linux-i686-1.tar.bz2
tar -jxvf OpenWrt-SDK-Linux-i686-1.tar.bz2
svn checkout https://dev.wifidog.org/svn/trunk/wifidog
cd wifidog
./autogen.sh
make ipk OPENWRTSDK=~/wifidog.openwrt/OpenWrt-SDK-Linux-i686-1
If there were no errors, your package should be in ~/wifidog.openwrt/OpenWrt-SDK-Linux-i686-1/bin/packages
Configuration
Edit /etc/wifidog.conf and follow the instructions in the file. Things should be self-explanatory.
Running Wifidog for the first time
Run Wifidog with the following switches:
wifidog -f -d 7
-f means to run in foreground (do not become a background daemon)
-d 7 increases debug output level to the maximum
As a client on the WiFi network (or whatever interface is configured as the LAN interface in /etc/wifidog.conf), open a web browser and try to browse to your favourite web site.
Monitor the output of the running Wifidog to see what it's doing.
整理编辑,转载请注明出处
时间: February 26, 2015
分类: ,,,,
二、 配置服务器和插件管理
访问 ,通过管理员账户登录,配置authserver
配置完成后再次访问 就会出现如下界面
2、 点击Manageplugins,点击View all available plugins and updates添加插件,点击后发现无法跳转,原因应该是插件的网站被墙了,大家让服务器科学上网一下就可以了。
安装apAuthLocalUserPlugin这个插件,并启用,就可以对登录账号进行管理了,更多插件的使用可以自己慢慢摸索。
三、 配置网络结点和路由器认证
访问 以管理员身份登录,点击Managenodes进行结点的管理,服务器默认为我们创建了一个叫My first node的结点,我们对其进行编辑,修改Name :wifidog,gw id:123456,deployment status 选择Deployed
配置路由器,路由器在编译openwrt固件的时候,makemenuconfig后,在Network–>Captive Portals中选择wifidog.这样在刷完固件后路由器就有wifidog插件了:
通过命令行访问路由器,windows下可以使用putty登录,执行如下命令,启动wifidog
/etc/init.d/wifidogenable
/etc/init.d/wifidog start
此时会报错,因为此时还没配置好服务器的信息。
编辑/etc/wifidog.conf,window用户如果不会用vi等编辑器,可以使用winscp软件访问并修改,需要配置的主要有三项:
#这个需要与服务器中gw id相对应
GatewayID 123456
#查看自己的路由器进行配置,外网接口
ExternalInterfaceeth0.2
#路由器内网接口
GatewayInterface br-lan
#服务器配置
AuthServer {
#服务器的ip地址
Hostname192.168.0.224
SSLAvailable yes
重启wifidog,连接该无线网络,开始验证。
四、wifidog的认证需要https的,于是开始安装https服务
sudo apt-get install apache2
sudo a2enmod ssl
重启apache
sudo service apache2 restart
创建一个ssl目录
sudo mkdir /etc/apache2/ssl
创建一个自己认证的证书
sudo openssl req -x509 -nodes -days 3650 -newkey rsa:2048 -keyout /etc/apache2/ssl/apache.key -out /etc/apache2/ssl/apache.crt
输入信息得到:/etc/apache2/ssl/apache.key
sudo gedit /etc/apache2/sites-available/default-ssl.conf
在ServerAdmin下添加一行,服务器域名或者ip地址
ServerName 127.0.1.1:443
ServerAlias authpuppy.test&span style="line-height: 1.5; background-color: rgb(255, 255, 255);"&
并修改如下内容:
SSLEngine on
SSLCertificateFile /etc/apache2/ssl/apache.crt
SSLCertificateKeyFile /etc/apache2/ssl/apache.key
开启ssl并重启apache
sudo a2ensite default-ssl
sudo service apache2 reload
此时访问 可以访问,但是localhost下的其他路径时404错误
修改/etc/apache2/sites-enabled/default-ssl.conf 添加443虚拟目录
&VirtualHost *:443&
DocumentRoot /var/www/html/authpuppy/web
ServerName authpuppy.localhost
SSLEngine on
SSLCertificateFile /etc/apache2/ssl/apache.crt
SSLCertificateKeyFile /etc/apache2/ssl/apache.key
DocumentRoot /var/www/html/authpuppy/web
DirectoryIndex index.php
&Directory /var/www/html/authpuppy/web/&
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
&/Directory&
&/VirtualHost&
本文章由 整理编辑,转载请注明出处
时间: February 26, 2015
分类: ,,,,
服务器:ubuntu 14.04 + authpuppy
路由器:MERCURY MW4530R + wifidog
一、安装authpuppy服务端验证
安装php开发环境:
sudo apt-get install apache2 php5-mysql libapache2-mod-php5 mysql-server
启用apache rewrite,否则会出现(Therequested URL /install/3 was not found on this server.)错误
sudo a2enmod rewrite
到 下载最新源码authpuppy-1.0.0-stable,解压并剪切到/var/www/html/authpuppy目录
sudo mv authpuppy /var/www/html/authpuppy
为authpuppy赋予权限
chmod 777 /var/www/html/authpuppy/ -R
修改/etc/apache2/sites-enabled/000-default.conf替换所有内容
sudo gedit /etc/apache2/sites-enabled/000-default.conf
&VirtualHost *:80&
ServerAdmin webmaster@localhost
ServerName authpuppy.localhost
ServerAlias authpuppy.test
DocumentRoot /var/www/html/authpuppy/web
DirectoryIndex index.php
&Directory /var/www/html/authpuppy/web/&
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
&/Directory&
Alias /sf /var/www/html/authpuppy/lib/vendor/symfony/data/web/sf
&Directory "/var/www/html/authpuppy/lib/vendor/symfony/data/web/sf"&
AllowOverride All
Allow from All
&/Directory&
#ErrorLog /var/log/apache2/authpuppy/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
#CustomLog /var/log/apache2/authpuppy/access.log combined
&/VirtualHost&
重启apache
sudo service apache2 restart
7、访问 出现authpuppy配置页面
点击下一步继续,这一步会检测系统的环境是否满足authpuppy的要求,不满足的会显示红色,按要求配置好就可以点击下一步了。
9、创建数据库wifidog,并填写数据库名字、账号密码等信息,此处为了方便,使用root登录,读者可以新建一个user用于访问。
10、一直点击下一步,直到出现管理员用户配置页面,配置用户信息:
最后配置成功,出现如下页面,此时authpuppy的基本配置完成:
12、以后再次访问,就会出现如下页面,不需要重新配置了:
整理编辑,转载请注明出处
时间: February 26, 2015
分类: ,,,,,,,
Install OpenWRT on an X86 platform.
Following the instructions here (), which could install a clean installtion of OpenWRT on an x86 platform with version 14.03.
Setup LAMP
It has been a while that the default sources on OpenWRT is wrong, that the offical sources has re-archit the directories. Here are some instructions.
2.1 Base part
source: http://downloads.openwrt.org/barrier_breaker/14.07/x86/generic/packages/base/
package list: libexpat libgd libjpeg libncurses libncursesw libopenssl libpcre libpng libpthread libreadline librt iptables-mod-extra iptables-mod-nat-extra
Note after install libpcre, system may not find the proper libpcre.so.0, just make a soft link from libpcre.so.1 in /usr/lib will make it work.
2.2 Lighttpd
source: http://downloads.openwrt.org/barrier_breaker/14.07/x86/generic/packages/packages/
package list: lighttpd lighttpd-mod-access lighttpd-mod-alias lighttpd-mod-cgi lighttpd-mod-fastcgi lighttpd-mod-rewrite
source: http://downloads.openwrt.org/barrier_breaker/14.07/x86/generic/packages/oldpackages/
package list: mysql-server libmysqlclient
source: http://downloads.openwrt.org/barrier_breaker/14.07/x86/generic/packages/oldpackages/
package list: php5 php5-cgi php5-fastcgi php5-mod-apc php5-mod-gd php5-mod-mysql php5-mod-pdo php5-mod-pdo-mysql php5-mod-xml
Modify /etc/php.ini. First make the doc_root empty, and then modify the max-memory size from 8MB to a much larger one.
Setup Lighttpd
4.1 Enable some plugins in Lighttpd following this page ()
4.2 Enbale mod_rewrite which is used in AuthPuppy
4.3 !IMPORTANT Migrate the rewrite rules in AuthPuppy’s .htaccess to url.rewrite part, like below:
url.rewrite-once = (".php$" => "$0", ".html$" => "$0", "^$" => "index.html", "^([^.]+)($|\?.*$)" => "index.php/$1$2")
Now you can install authpuppy and wifidog as usual.
It is much easier to record than try to make it.
整理编辑,转载请注明出处
: [...]1,NetGEAR WIND3800 移植http:/...用万能钥匙连接上热点但不能上网,说是要验证,但是没验证页面跳出_百度知道
用万能钥匙连接上热点但不能上网,说是要验证,但是没验证页面跳出
用万能钥匙连接上热点但不能上网,说是要验证,但是没验证页面跳出
4、以现有的技术手段。5,但那个软件只是能上别人分享过的热点,要小心下载使用、即使破解密码,根本就破不了、网上的所谓破解密码软件。2,是没有办法破解WPA的加密方式(现在基本上全部WIFI的加密方式),根本就上不了,不过只能告诉你真相。3,人家也有可能设置了MAC地址过滤,要么根本就是木马,如果热点没被分享过破解IFI密码事实总是残酷的。1、可以下个WIFI万能钥匙,要么浪费你的流量,你还是上不去,全部都是骗人的,WPA的加密方式安全性很高、也可破解些简单的数字密码。比如之类的密码
其他类似问题
为您推荐:
万能钥匙的相关知识
等待您来回答
下载知道APP
随时随地咨询
出门在外也不愁畅无线热点认证失败是什么原因_百度知道
畅无线热点认证失败是什么原因
接上了上WiFi却需要认证而无法上网的原因有:1、WiFi本身问题,可能WiFi未正常连接,导致无法上网;2、路由器问题,可能路由器过热或者损坏;3、可能宽带欠费,导致无法上网;4、WiFi名字包含中文,导致部分电脑无法连接上网;5、电脑系统问题,可能系统出现了问题,导致连接上了WiFi却无法上网。建议解决办法:1、使用其他手机或设备连接WiFi试试能否上网,排除WiFi本身问题;2、重启一下路由器试试,或者将路由器恢复一下出厂设置,然后重新拨号上网,并根据设置向导重新设置WiFi,或者更换新路由器再进行拨号连接上网;3、联系一下宽带客服,确认宽带账号是否有异常,如欠费,充值一下宽带,然后再拨号连接试试;4、如WiFi名字包含中文,建议修改为英文或者英文加数字的组合再进行连接;5、如以上原因都排除,那么久很有可能是电脑系统问题了,建议恢复一下出厂设置。看看能否解决问题。
其他类似问题
为您推荐:
最好是移动的找CMCC电信的连CHINA NET
最好是移动的找CMCC电信的连CHINA NET
无线热点的相关知识
等待您来回答
下载知道APP
随时随地咨询
出门在外也不愁此热点无法上网建议切换wifi_百度知道
此热点无法上网建议切换wifi
此热点无法上网建议切换wifi
需要认证吧
比如肯德基的第一次连接需要填手机号码 获取验证码
或者那个路由器本身没联网的
来自团队:
其他类似问题
为您推荐:
wifi的相关知识
等待您来回答
下载知道APP
随时随地咨询
出门在外也不愁云架构数据中心核心交换机
寻求技术支持,请联系,
资讯与活动
您的位置:
【新版NBR/EG】桥模式下内置web...
【新版NBR/EG】桥模式下内置web认证页面弹不出来导致用户无法认证上网
1.故障现象:
桥模式下内置web认证页面弹不出来,无法认证上网
2.故障可能原因:
在未做web认证的情况下,也无法对外进行http访问,即对外通信本身存在问题
桥的内外网口接反了
认证用户到MGMT口不通
开启了禁止内网web功能
修改了重定向端口为非80端口
设置了太小的http会话数限制
zip认证页面文件有问题
3.故障处理流程
4.故障处理步骤
步骤1:检查网络拓扑连接
&&&&&& 桥模式下的内置web认证,使用mgmt口作为通信口,也就是认证页面通过mgmt口推送,因此认证用户在认证前需保持和mgmt口的联通性。
&&&&&& ping测试mgmt口ip地址,如果可以ping通,转步骤2处理,如果ping不通,则按照如下步骤进行处理。
1、检查内网接EG的lan口,外网接EG的wan口
&&&&&& EG有内网口和外网口之分,内网口接内网,外网口接外网,不可以接反,否则将无法弹出认证页面。
&&&&&& 确认接口是内网口还是外网口的方法是:
&&&&&& 在接口配置&&接口转换中可以查看接口是内网口还是外网口,如图1
&&&&&& 在命令行也可以查看接口是内网口还是外网口,如图2。
2、检查mgmt口的连通性
&&&&&& mgmt口可以有两种连接方法:
mgmt口连接下游设备,如图3
mgmt口连接上游设备,如图4
&&&&&& 对于图3和图4拓扑,如果核心交换机上有配置vlan,mgmt连接到其中某个vlan的接口上,则需要将mgmt口配置为该vlan对应的网段和网关。这样子mgmt口才能够进行通信。
&&&&&& 在认证用户的pc上ping mgmt口的ip地址,如果ping不通,对于图3,需检查交换机的配置;对于图4,除了检查交换机的配置以外,还需检查EG上是否将mgmt的管理地址设置为免认证网络资源。设置方法如图5,进入内置web认证的高级选项,添加mgmt口的ip地址192.168.1.100为免认证网络资源。
&&&&&& 如果ping得通,尝试浏览网页,如果还是无法弹出认证页面,转步骤2处理,如果可正常弹出,问题解决。
图3&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& && &&&图4
步骤2:检查设备配置及页面文件
1、检查是否能够正常浏览网页
&&&&&& web认证需要访问外网网站的http流量触发,因此如果无法弹出认证页面,需要检查在无认证的情况检查是否能够浏览网页。关闭web认证,如果可以正常访问,说明是web认证问题,按照如下步骤继续处理,如果还是无法打开,需参考其他章节,先解决网页无法打开的问题,再按照下述步骤处理。
2、检查是否配置了禁止内网web登录(80端口,非80端口无影响)
&&&&&& 开启禁止内网web登录的功能后,该功能将会禁止内网用户通过http方式访问设备管理地址,因此web认证的认证页面htpp://x.x.x.x:8081也将会被禁止,所以会导致认证页面无法弹出。
&&&&&& 因此在使用web认证时,不可同时开启禁止内网web功能。
&&&&&& 关闭禁止内网web功能的方法如图1:
3、检查是否修改了重定向HTTP端口
&&&&&& 系统默认的重定向端口为80端口,如果修改成非80端口,如8090,则web认证只对端口号为8090的http进行重定向认证,如
&&&&&& 因此需检查是否修改了此配置,如图2,应改为缺省的80。
4、检查是否设置了过小的HTTP会话数限制
&&&&&& 为了防止一个未认证的用户发起过多的HTTP连接请求,EG可限制未认证用户的最大HTTP会话数,当这个数值设置太小时,将无法弹出认证页面。
&&&&&& 如图3,修改最大HTTP会话数为默认值255.
5、检查web认证文件包大小是否正常
&&&&&& 检查/portal/zip目录的认证页面大小是否和如下的一致,如果不一致,或者文件不全,建议从官网重现下载版本来重新升级,否则在进行web认证时,将会出现在HTTP500错误,如图4;
&&&&&& 如果文件大小正常,但是仍然无法弹出认证页面,收集故障信息联系
&&&&&& Ruijie#dir /portal/zip&&&&&&&&&&&&&&
&&& Mode Link&&&&& Size&&&&&&&&&&&&&& MTime Name
-------- ---- --------- ------------------- ------------------
&&&&&&&&&&& 1&&&& -01-01 08:03:38 redirect1.zip
&&&&&&&&&&& 1&&&& -01-01 08:03:38 redirect2.zip
&&&&&&&&&&& 1&&&& -01-01 08:03:39 redirect3.zip
--------------------------------------------------------------
步骤3:收集信息后,请联系协助处理:
&&&&&&&& 如通过上述故障处理步骤无法解决您的故障,请按照如下步骤收集信息,并联系锐捷技术支持热线或者在线客服.cn,以便我们能够快速定位问题。
需要收集的信息:
详细描述故障现象(什么时间,什么地点,执行什么操作,出现什么现象)
故障现象截图
收集拓扑图(内外网拓扑)
debug web-auth(调试命令)&
debug portal event(调试命令)
debug portal detail(调试命令)
sh web-auth sta
需要收集的信息解释:
show run:收集配置信息
show ver :收集版本信息
debug web-auth:在同时在线用户不超过100人时,在设备上收集debug信息(连接console收集)
debug portal event:在同时在线用户不超过100人时,在设备上收集debug信息(连接console收集)
debug portal detail:在同时在线用户不超过100人时,在设备上收集debug信息(连接console收集)
sh web-auth sta:收集web认证的统计信息
show log:收集日志信息
购买与支持

我要回帖

更多关于 手机热点无法上网 的文章

 

随机推荐