tag:blogger.com,1999:blog-8361158986830931585.post1879423325069200020..comments2024-03-14T15:06:19.327+08:00Comments on CONFIGURE & INSTALL: Easyhotspot in Centos 6.4Anonymoushttp://www.blogger.com/profile/07829460714624887099noreply@blogger.comBlogger45125tag:blogger.com,1999:blog-8361158986830931585.post-41828540024899313802023-09-27T14:29:41.295+08:002023-09-27T14:29:41.295+08:00radius server error find to sql module. and i have...radius server error find to sql module. and i have already uncomment the sql in default file of radius.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8361158986830931585.post-74545194930639439512019-04-15T20:56:09.331+08:002019-04-15T20:56:09.331+08:00Hi I am trying to install free radius as per above...Hi I am trying to install free radius as per above post one of the step is to edit the file etc/raddb/sql/mysql/counter.conf but in the folder etc/raddb i cannot see any folder name called sql (FYI: i am installing it on centos7) do i need to any other configure settings to do it Anonymoushttps://www.blogger.com/profile/11026910741283815595noreply@blogger.comtag:blogger.com,1999:blog-8361158986830931585.post-23924806038830742792016-08-05T19:21:34.185+08:002016-08-05T19:21:34.185+08:00Hi, i have followed the guide for installing freer...Hi, i have followed the guide for installing freeradius, coovachilli and the EasyHotspot. i'm able to login to the EasyHotspot but when i connect clients on the network nothing happens and also freeradius runs without any error. I would like to know if freeradius can run on proxmox virtual machine using centos6.4?Veronatnoreply@blogger.comtag:blogger.com,1999:blog-8361158986830931585.post-88693565963554117602016-05-02T12:13:48.170+08:002016-05-02T12:13:48.170+08:00could not restart Radiusd, but all services starte...could not restart Radiusd, but all services started successfully, i have centos 5.5Anonymoushttps://www.blogger.com/profile/06458971413249391457noreply@blogger.comtag:blogger.com,1999:blog-8361158986830931585.post-68876335389963889462016-02-23T17:41:50.161+08:002016-02-23T17:41:50.161+08:00Haii...
i have a problem, freeradius and coovachil...Haii...<br />i have a problem, freeradius and coovachilli already running, but when i enter the username and password in coovachilli, coova chilli say "invalid username or password". but the password already generated voucher in easyhotspot. i am using ubuntu 10.04.04 <br />Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8361158986830931585.post-20569019008515796972016-01-09T04:22:14.666+08:002016-01-09T04:22:14.666+08:00Thanks a lot for the manual...It's very helpfu...Thanks a lot for the manual...It's very helpful for me...One question: When you said "Now add in /etc/rc.local, then when reboot, will be running automatically." what do you mean? Thanks!!!Dr.Acuariumhttps://www.blogger.com/profile/03992803808533899863noreply@blogger.comtag:blogger.com,1999:blog-8361158986830931585.post-44109665808043812072016-01-07T06:33:31.947+08:002016-01-07T06:33:31.947+08:00Notice that there is 2 options with that name...so...Notice that there is 2 options with that name...so, you have to configure the one that says "short_open_tag = on" and not the other that says:<br /><br />;short_open_tag<br />;Default Value: On<br /><br />This last one, will not be configured!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8361158986830931585.post-15713921436332762902015-09-04T00:18:07.091+08:002015-09-04T00:18:07.091+08:00I can not login to the management system with
use...I can not login to the management system with <br />user name admin<br />password admin123Anonymoushttps://www.blogger.com/profile/07419063257175164204noreply@blogger.comtag:blogger.com,1999:blog-8361158986830931585.post-13214881914627804632015-05-22T12:42:16.946+08:002015-05-22T12:42:16.946+08:00Nice tutorial here!
Can I use LDAP authentication ...Nice tutorial here!<br />Can I use LDAP authentication for my access point with the freeradius?<br />thanks ina dvanceAnonymoushttps://www.blogger.com/profile/09268004283728315075noreply@blogger.comtag:blogger.com,1999:blog-8361158986830931585.post-47827552134135413492015-02-15T18:31:08.033+08:002015-02-15T18:31:08.033+08:00Nice one...Nice one...Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8361158986830931585.post-77790347599772544102015-01-06T08:23:15.607+08:002015-01-06T08:23:15.607+08:00Hey one help for user : the epel for 32 bits :
yu...Hey one help for user : the epel for 32 bits :<br /><br />yum install wget<br />wget http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm<br />rpm -ivh epel-release-6-8.noarch.rpm<br /><br />remplace to : <br /><br />yum install wget<br />wget http://mirror.sfo12.us.leaseweb.net/epel/6/i386/epel-release-6-8.noarch.rpm<br />rpm -ivh epel-release-6-8.noarch.rpmMalvin Alexander Beltre Cruz'https://www.blogger.com/profile/12811599556083315893noreply@blogger.comtag:blogger.com,1999:blog-8361158986830931585.post-48214072493427287132014-08-01T17:18:54.951+08:002014-08-01T17:18:54.951+08:00Hi,
Im not able to edit the chilli configuration ...Hi,<br /><br />Im not able to edit the chilli configuration by easyhotspot gui.But i can edit configration manually.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8361158986830931585.post-54597017120225192872014-07-16T21:08:30.930+08:002014-07-16T21:08:30.930+08:00I also tried perform login based on a user in the ...I also tried perform login based on a user in the mysql.radcheck table. Radiusd -X shows that easyhotspot queries the radcheck table. The result however, is still the same. It doesn't redirect to the page the wifi client is trying to access. It just says "Logging in to EasyHotspot, please wait..."Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8361158986830931585.post-18087863145475940842014-07-16T17:48:37.589+08:002014-07-16T17:48:37.589+08:00Hi Roel,
I managed to setup everything.
However...Hi Roel,<br /><br />I managed to setup everything. <br /><br />However, when I see the EasyHotspot login page, after clicking login button without providing username nor password, another page pops up and says "Logging in to EasyHotspot, please wait...." and stays like this forever. No error, no internet access, just nothing.<br /><br />What could have been wrong?<br /><br />Thanks,<br /><br />snlm95Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8361158986830931585.post-53668980788275610142014-05-10T15:49:23.495+08:002014-05-10T15:49:23.495+08:00I have the same problem, setting short_open_tag to...I have the same problem, setting short_open_tag to = on doesn't fix it.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8361158986830931585.post-43608921604856855742014-02-13T05:11:37.173+08:002014-02-13T05:11:37.173+08:00Mr Roel Ngerii, thank you for your help. I managed...Mr Roel Ngerii, thank you for your help. I managed to solved the problem by making changes to the network. let me explain a bit in case someone else fall into the same predicament:<br /><br />{INTERNET}----[Hotspot Server]----(Wifi router)~~~{Wifi Hotspot clients}<br />..............................................................................|<br />..............................................................................|<br />..............................................................................|<br />.............................................................[PROXY SERVER]<br />..............................................................................|<br />..............................................................................|<br />..............................................................................|<br />...................................................................(SWITCH)<br />..............................................................................|<br />..............................................................................|<br />..............................................................................|<br />....................................................................{10.0.1.0/8 CLIENTS}<br /><br />The proxy server still works as in the previous network except that it now gets internet from<br />hotspot server, and ONLY after logining in. So i created a postpaid account (valid for a long time) that will be used by the server to access the internet which it then shares with the 10.0.1.0/8 clients.<br /><br />I hope its clear, guys.<br /><br />Thanks, again.<br /><br />:)Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8361158986830931585.post-37721284402111858272014-02-12T19:34:57.358+08:002014-02-12T19:34:57.358+08:00the important is your squid / proxy. Url hotspot s...the important is your squid / proxy. Url hotspot should not be through squid. then,<br />in configuration squid, <br />hierarchy_stoplist cgi-bin ? [your ip hotspot]<br />acl QUERY urlpath_regex cgi-bin \? [your ip hotspot]<br />for example <br />hierarchy_stoplist cgi-bin ? 192.168.182.1<br />acl QUERY urlpath_regex cgi-bin \? 192.168.182.1<br /><br />In the parent proxy, the above configuration should be added too<br />next,<br />1. try from browser client, use manual proxy (not transparent)...<br />2. if step 1 success to browsing. try transparent proxy, <br />look at here...http://myconfigure.blogspot.com/2012/04/optimizing-and-security-hotspot-yfi_28.html <br />good luck...myconfigurehttps://www.blogger.com/profile/13089248194746345667noreply@blogger.comtag:blogger.com,1999:blog-8361158986830931585.post-70180654101695055732014-02-11T20:47:21.507+08:002014-02-11T20:47:21.507+08:00the network setup you suggested is great. right no...the network setup you suggested is great. right now i think whats left is making the proxy (child cache) transparent while maintaining its connection to the parents cache. <br />the child proxy server is hosted in the hotspot server so if i configure a transparent proxy it seems chillispot doesnt work well since maybe i would have changed the iptable configurations.<br /><br />is there any work around?<br /><br />thanksAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-8361158986830931585.post-1820222795225247922014-02-07T08:57:32.636+08:002014-02-07T08:57:32.636+08:00switch--- hotspot server --- router (?)--- users
...switch--- hotspot server --- router (?)--- users <br />do you add router between hotspot server and users... ??<br />you shouldn't do that...<br />try this... change the network...<br />switch -- hotspot server -- hub/swith -- users<br />or <br />switch -- hotspot server -- users<br />myconfigurehttps://www.blogger.com/profile/13089248194746345667noreply@blogger.comtag:blogger.com,1999:blog-8361158986830931585.post-4999332774928918722014-02-07T00:07:29.300+08:002014-02-07T00:07:29.300+08:00Gud day
yep dnsmasq z running...
i add DNS2 8.8....Gud day<br /><br />yep dnsmasq z running...<br /><br />i add DNS2 8.8.8.8 on chilli.conf so that it distributes the dns via the dhcp<br />so my client settings are:<br /><br />[client 1]<br />IP 192.168.182.2<br />Broadcast 192.168.182.255<br />Submask 255.255.255.0<br />Default router 192.168.182.1<br />Primary DNS 10.1.1.2<br />Secondary DNS 8.8.8.8<br /><br />am still trying to find where i messed up coz the problem is still arnd.<br /><br />thanx broAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-8361158986830931585.post-84369678693159522642014-02-06T01:17:46.299+08:002014-02-06T01:17:46.299+08:00are you sure hotspot server is dns server too, ??
...are you sure hotspot server is dns server too, ??<br />try from client / users hotspot, configure manual ip dns to 8.8.8.8 (dns google) myconfigurehttps://www.blogger.com/profile/13089248194746345667noreply@blogger.comtag:blogger.com,1999:blog-8361158986830931585.post-32062979082905934402014-02-06T01:01:42.099+08:002014-02-06T01:01:42.099+08:00(INTERNET)----->[ Proxy Server]----------------...(INTERNET)----->[ Proxy Server]---------------->[SWITCH]---------{10.0.1.0/8 clients}<br />..............................(eth0)......................10.0.1.110(eth1).......|<br />......................................................................................................|<br />......................................................................................................| 10.0.1.111(eth0)<br />......................................................................................................| <br />................................................................................... [ Hotspot Server ]<br />......................................................................................................|<br />......................................................................................................| 10.1.1.2(eth1)<br />......................................................................................................| <br />......................................................................................................| <br />......................................................................................................| 10.1.1.1(router ip)<br />......................................................................................................|<br />...................................................................................[LAN WIFI ROUTER] <br />......................................................................................................~<br />......................................................................................................~<br />......................................................................................................~<br />.....................................................{WIFI chillispot clients} with default ip(192.168.182.0/24)<br />Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8361158986830931585.post-73043593573033182662014-02-06T00:45:15.822+08:002014-02-06T00:45:15.822+08:00Thanks my brother
Sorry i ddnt specify some stuff...Thanks my brother<br /><br />Sorry i ddnt specify some stuff....i am using a cache hierarchy for my squid so that i dont disturb the main server that distributes internet and provides other services.<br /><br />my network is structured like this:<br /><br />(INTERNET)----->[ Proxy Server]---------------->[SWITCH]---------{10.0.1.0/8 clients}<br /> 10.0.1.110 |<br /> |<br /> | 10.0.1.111(eth0)<br /> | <br /> [ Hotspot Server ]<br /> |<br /> | 10.1.1.2(eth1)<br /> | <br /> | <br /> | 10.1.1.1(router ip)<br /> |<br /> [LAN WIFI ROUTER] <br /> ~<br /> ~<br /> ~<br /> {WIFI chillispot clients} with default ip(192.168.182.0/24)<br /><br /><br />PROXY SERVER: has company software that should not be disturded and squid for the internet (NOT TRANSPARENT)<br /><br />Hotspot Server: has chillispot, radius, haserl, easyhotspot, httpd, openssl, and squid for the cache hierarchy(NOT TRANSPARENT) and iptables configured exactly as in your post<br /><br />Chilli.conf":<br />============<br />dn1 10.1.1.2<br />radiusserver1 127.0.0.1<br />radiusserver2 127.0.0.1<br />radiusauthport 1812<br />radiusacctport 1813<br />radiussecret *******************<br />dhcpif eth1<br />uamserver https://10.1.1.2/cgi-bin/hotspotlogin.cgi<br />uamhomepage http://10.1.1.2:3990/prelogin<br />uamsecret ******************<br />uamlisten 10.1.1.2<br />uamallowed 10.1.1.2/easyhotspot<br />uamport 3990<br />coaport 3790<br /><br /><br />squid.conf<br />========<br /><br />cache_peer 10.0.1.110 parent 3128 0 no-query default<br />never_direct allow all<br /># plus default configurations + no<br /><br />Squid is working fine i.e the redirection to the parent squid.......OK<br />Squid tproxy.....NOT OK<br />Chillispot Login.....OK<br />Chillispot can't block access client who haven't logged-in<br />I still can use the internet without even login in to chillispot and that's via the proxy.<br /><br />[Hotspot network]<br />eth0: IPADDR=10.0.1.111<br /> NETMASK=255.0.0.0<br /> GATEWAY=10.0.1.110<br /><br />eth1: IPADDR=10.1.1.2<br /> NETMASK=255.0.0.0<br /> GATEWAY=10.0.1.110<br /><br />tun0: inet addr: 192.168.182.1, p-t-p:192.168.182.1, Mask:255.255.255.0<br /><br />The client ip allocation is OK...starting from 192.168.182.2 and so on...e.g<br />[client 1]<br />IP 192.168.182.2<br />Broadcast 192.168.182.255<br />Submask 255.255.255.0<br />Default router 192.168.182.1<br />Primary DNS 10.1.1.2<br /><br />I need your help on this problem pliz.<br />... .<br />Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8361158986830931585.post-19679472626647992172014-02-05T22:40:28.415+08:002014-02-05T22:40:28.415+08:00Make sure...
1. hotspot server is connected to int...Make sure...<br />1. hotspot server is connected to internet... you can check it from terminal, ping to some website.<br />2. user / computer client connected to hotspot server, and get the IP address and dns server.<br />3. from user /computer client, open terminal, and ping to any website... for example ping to google, and make sure, google.com translate to IP address (it's mean check dns).<br />4. firewall in hotspot server is running, and not blocking user to internet...<br /> myconfigurehttps://www.blogger.com/profile/13089248194746345667noreply@blogger.comtag:blogger.com,1999:blog-8361158986830931585.post-42435497946042962112014-02-05T17:19:14.345+08:002014-02-05T17:19:14.345+08:00Hi i configured the hotspot server as above....but...Hi i configured the hotspot server as above....but when i open the client browser and open something like google.com it does not auto-redirect to the page: http://10.1.1.2:3990/prelogin<br />i can only manual type that on the url-bar when there is no proxy. that way it opens i login<br /><br />Problem 1: not auto redirection<br /><br />when using auto-proxy/no-proxy, after successfully loging-in its fails to open the google page coz i use a proxy on the network<br /><br />Problem 2: After login success no internet access<br /><br />now, when i use the proxy i can login...fine. but the i can use the internet without login-in to the server. my iptables are jus as you wrote them above<br /><br />Problem 3: using internet without login inAnonymousnoreply@blogger.com