Jump to content

CoovaChilli with external DHCP Server


Raheel

Recommended Posts

I am using ARM Cortex A7 board and had run coovachilli with its internal DHCP server successfully with external and internal splash pages. Now want to run it with external DHCP server that is clients will get IPs from external DHCP server and authenticate via Coovachilli. For example two boxes running  coovachilli in it seperately but the client from both boxes will get IP lease from same backend dhcp server while authenticate via its coovachilli respectively. So I have used this config in it:

 

HS_WANIF=eth0 # has address 195.19.214.216
HS_LANIF=eth1
HS_NETWORK=10.2.3.0
HS_NETMASK=255.255.255.0
HS_UAMLISTEN=10.2.3.1
HS_UAMPORT=3990
HS_UAMUIPORT=4990
HS_DNS_DOMAIN=my.domain
HS_DNS1=<ip address1>
HS_DNS2=<ip address2>

HS_NASID=nas01
HS_RADIUS=<ip address>
HS_RADIUS2=<ip address>
HS_UAMALLOW="10.2.3.1/24,195.19.214.216"
HS_RADSECRET=<secret>
HS_UAMSECRET=<uam secret>
HS_UAMALIASNAME=chilli
HS_UAMSERVER=<uam server>
HS_UAMFORMAT=https://\$HS_UAMSERVER/cgi-bin/hotspotlogin.cgi
HS_TCP_PORTS="80 443"
HS_MODE=hotspot
HS_TYPE=chillispot
HS_WWWDIR=/usr/local/etc/chilli/www
HS_WWWBIN=/usr/local/etc/chilli/wwwsh
HS_PROVIDER=Coova
HS_PROVIDER_LINK=http://www.coova.org/
HS_LOC_NAME="My HotSpot"

The file /usr/local/etc/chilli/local.conf have the lines:
dhcpgateway=212.193.96.134
dhcpgatewayport=67
dhcprelayagent=195.19.214.216

But this makes client to get IP from DHCP server but splash page is not showing. Coovachilli is unable to redirect it to splash page. Any specific reason for it or am I missing anything in it?

Need Help!

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines