-1

Am running OpenWrt 19.07.7 on a glinet mini router. I have used opkg update and opkg install coova-chilli to get coova chilli running

Here is output of /var/run/chilli_cfgXXXXXX.conf

tundev="tun0"
net="192.168.180.0/22"
uamlisten="192.168.182.1"
lease="86400"
leaseplus="600"
ipup="/etc/chilli/up.sh"
ipdown="/etc/chilli/down.sh"
dhcpif="br-guest"
uamserver="https://radius.chillispot.org/hotspotlogin"

The router has three active network interfaces:

  1. br-guest (which should have the hotspot)
  2. br-lan
  3. eth0 (inernet link)

According to the documentation on: OpenWrt Documentation only the /etc/config/chilli file needs to be edited to get the TUN device running

However after following the guide and issue ifconfig, the TUN device is not available

1 Answers1

0

Yes, just /etc/config/chilli file needs to be edited. These are the minimum configuration:

config chilli
    option tundev           'tun0'
    option dhcpif           'br-guest'
    option uamlisten        10.1.0.1
    option net              10.1.0.0/24
    option dns1             8.8.8.8
    option dns1             8.8.4.4
    option ipup             /etc/chilli/up.sh
    option ipdown           /etc/chilli/down.sh
    option radiusnasid      nas01
    option uamserver        your_url_server_handling_authentication
    option radiusserver1    your_radius_server1
    option radiusserver2    your_radius_server2
    option radiussecret     your_radius_secret
    option uamsecret        your_uam_secret

For line 11-15 you have to fill value according your own configuration

Aap
  • 1
  • 1