Comments on How to install a wireless hotspot with captive page on Linux using CoovaChilli

The purpose of this article is to demonstrate how you can turn a Linux based computer or laptop into a wireless hotspot where users can be authenticated via a captive portal page. For this task, the primary controller software will be CoovaChilli. This software is an ideal hotspot management solution for hotels, restaurants, supermarkets, parks, and any place offering WiFi Internet.

11 Comment(s)

Add comment

Please register in our forum first to comment.

Comments

By: robi

what is the minimum req pc for 100 people login?

By: yass Bann

Hello

radiusd -X

.instantiate {Cannot find module "chillispot_max_bytes"

? How Can I fix it ?

Many Thanks @Yass.

By: Aya

I also want the answer to this

By: deepjyoti

Can we host coovachilli on cloud machine and can be used to control hotspot by various vendors like hotel,cafetria etc..

By: aviraj saikia

can we install coovachilli on remote cloud machine and my vendors use this globally to control their hotspots?

By: Daniam Castellanos

I had some minor issues following the guide, regarding HostAPD and Freeradius, I'll post the issues and the solutions I applied to get it done.#Hostapd1)When compiling , you get the following error: Could  not find libraries for openssl :    yum install openssl-devel# Free Radius1)Current Version, use:    wget -c ftp://ftp.freeradius.org/pub/freeradius/freeradius-server-3.0.17.tar.bz22)Couldn't link driver rlm_sql_mysql         yum install freeradius-mysql    3) /etc/raddb/sites-enabled/default[662]: Failed to find "sql_log" as a module or policy.In /etc/raddb/sites-enabled/default":        Comment :                sql_log         In /etc/raddb/mods-enabled/sql          Uncomment and edit:          logfile = ${radacctdir}/raddbsql.log  4) radtest not working.  Syntax needs the nas-port. e.g.:        radtest user pass 127.0.0.1 1645 secret_pass_phrase    I noticed that you can use *any port* and it does the validation, but it needs that parameter.

By: Marcelo

Hi,

I have a raspberry and hostapd is OK, sharing my internet and dnsmasq dhcp to my wireless clients.

What a need chance in chilli conf to working with dnsmasq and hostapd?

By: surya

I have installed hostapd as per above given suggestions but while I am executing the command

"sudo hostapd -d /etc/hostapd/hostapd.conf" to test i am getting below error

[root@centos]# sudo hostapd -d /etc/hostapd/hostapd.conf

random: Trying to read entropy from /dev/random

Configuration file: /etc/hostapd/hostapd.conf

ctrl_interface_group=0

nl80211: Driver does not support authentication/association or connect commands

nl80211: deinit ifname=eth0 disabled_11b_rates=0

nl80211: Remove monitor interface: refcount=0

netlink: Operstate: ifindex=2 linkmode=0 (kernel-control), operstate=6 (IF_OPER_UP)

nl80211: Set mode ifindex 2 iftype 2 (STATION)

nl80211: Failed to set interface 2 to mode 2: -19 (No such device)

nl80211 driver initialization failed.

hostapd_interface_deinit_free(0x8d65c0)

hostapd_interface_deinit_free: num_bss=1 conf->num_bss=1

hostapd_interface_deinit(0x8d65c0)

eth0: interface state UNINITIALIZED->DISABLED

hostapd_bss_deinit: deinit bss eth0

eth0: AP-DISABLED

hostapd_cleanup(hapd=0x8d93b0 (eth0))

eth0: CTRL-EVENT-TERMINATING

hostapd_free_hapd_data: Interface eth0 wasn't started

hostapd_interface_deinit_free: driver=(nil) drv_priv=(nil) -> hapd_deinit

hostapd_interface_free(0x8d65c0)

hostapd_interface_free: free hapd 0x8d93b0

hostapd_cleanup_iface(0x8d65c0)

hostapd_cleanup_iface_partial(0x8d65c0)

hostapd_cleanup_iface: free iface=0x8d65c0

[root@centos]#

 

By: Dude

Did you manage to do it?

By: Raj

YES, send me email cto at enafritech dot com

By: woynert

13-04-2022

If coovachilli is not redirecting uncomment in the config file

HS_UAMALLOW=localhost