coova / coova-chilli

CoovaChilli is an open-source software access controller for captive portal hotspots.
Other
518 stars 260 forks source link

Starting chilli daemon: not found #388

Closed nexdevs closed 7 years ago

nexdevs commented 7 years ago

Hi everyone,

Currently I'm facing a new problem with coova, everytime I try to run this service it fails and throws this message:

$Starting chilli: /etc/init.d/chilli: 66: /etc/init.d/chilli: daemon: not found

I'm also running it with a radius server.

My /etc/chilli/config file looks like this:

###
#   Local Network Configurations
#

HS_WANIF=wlan0           # WAN Interface toward the Internet
HS_LANIF=wlan1             # Subscriber Interface for client devices
HS_NETWORK=192.168.42.0    # HotSpot Network (must include HS_UAMLISTEN)
HS_NETMASK=255.255.255.0   # HotSpot Network Netmask
HS_UAMLISTEN=192.168.42.1  # HotSpot IP Address (on subscriber network)
HS_UAMPORT=3990            # HotSpot UAM Port (on subscriber network)
HS_UAMUIPORT=4990          # HotSpot UAM "UI" Port (on subscriber network, for embedded portal)

And my network looks like this:

Internet Access <==> [wlan0 wlan1] (captive portal) <==> Clients

Also when I run chilli in debug mode: chilli --debug --fg, and I try to connect, this is the output:

chilli[1913]: dhcp_receive_ip(3764): Address found
chilli[1913]: dhcp_receive_arp(5958): ARP: LL-WW-XX-ZZ-YY-44 asking about 192.168.42.1
chilli[1913]: dhcp_sendARP(5833): ARP: Replying to 192.168.42.2 / 14-A5-1A-3B-BA-44
chilli[1913]: dhcp_receive_arp(5873): ARP: Received other ARP than request!
chilli[1913]: dhcp_receive_ip(3764): Address found
chilli[1913]: dns_copy_res(201): It was a dns record type: 1 class: 1
chilli[1913]: dns_copy_res(209): DNS: connectivitycheck.android.com
chilli[1913]: dns_copy_res(201): It was a dns record type: 1 class: 1
chilli[1913]: dns_copy_res(209): DNS: connectivitycheck.android.com
chilli[1913]: dns_copy_res(201): It was a dns record type: 1 class: 1
chilli[1913]: dhcp_dns(1834): Remaining length not zero dlen=1!
chilli[1913]: dhcp_dnsunDNAT(2400); dhcp_dns()
chilli[1913]: dhcp_receive_ip(3764): Address found

If I run chilli in foreground this is my output:

# chilli -f
chilli[2119]: (Re)processing options [/var/run/chilli.2119.cfg.bin]
chilli[2120]: running chilli_opt on /var/run/chilli.2119.cfg.bin
chilli[2119]: PID 2119 rereading binary file /var/run/chilli.2119.cfg.bin
chilli[2119]: PID 2119 reloaded binary options file

For last thing, whenever a device connects to the network, it show that there's not internet acces, after a few seconds (40 or 50 seconds) it changes to requires auth and opens automatically my captive portal, so, I'm running chilli correctly or there's something else I haven't done yet?

gbaligh commented 7 years ago

Hi,

Is the daemon command installed on your system ? If not, and you are using Debian based distribution, try install it using sudo apt-get install daemon

nexdevs commented 7 years ago

Hi,

Now it works perfectly, but, when an android device connects, keeps displaying the "no Internet access" message, and after a few seconds (30 or 40 even 50 seconds) it opens the captive portal, how could I fix this behavior?

jobezic commented 7 years ago

Try to check uamallowed and remove www.coova.org.

nexdevs commented 7 years ago

Already done, but still Android devices needs to wait a long time for the notification, debug output:

chilli[1858]: (Re)processing options [/var/run/chilli.1858.cfg.bin]
chilli[1859]: running chilli_opt on /var/run/chilli.1858.cfg.bin
chilli[1858]: PID 1858 rereading binary file /var/run/chilli.1858.cfg.bin
chilli[1858]: PID 1858 reloaded binary options file
chilli[1858]: CoovaChilli 1.4. Copyright 2002-2005 Mondru AB. Licensed under GPL. Copyright 2006-2012 David Bird (Coova Technologies). Licensed under GPL. See http://coova.github.io/ for details.
chilli[1858]: chilli_main(7416): clock realtime sec 1501094101 nsec 668501760
chilli[1858]: chilli_main(7422): clock monotonic sec 34 nsec 471525934
chilli[1858]: TX queue length set to 100
chilli[1858]: Running /etc/chilli/up.sh
chilli[1858]: Hashlog 8 253 256
chilli[1858]: Net SNDBUF 163840
chilli[1858]: Net RCVBUF 163840
chilli[1858]: device wlan1 ifindex 4
chilli[1858]: lo  address family: 17 (AF_PACKET)
chilli[1858]: eth0  address family: 17 (AF_PACKET)
chilli[1858]: wlan0  address family: 17 (AF_PACKET)
chilli[1858]: wlan1  address family: 17 (AF_PACKET)
chilli[1858]: lo  address family: 2 (AF_INET)
chilli[1858]: wlan0  address family: 2 (AF_INET)
chilli[1858]: tun0  address family: 2 (AF_INET)
chilli[1858]: tun1  address family: 2 (AF_INET)
chilli[1858]: lo  address family: 10 (AF_INET6)
chilli[1858]: eth0  address family: 10 (AF_INET6)
chilli[1858]: wlan0  address family: 10 (AF_INET6)
chilli[1858]: wlan1  address family: 10 (AF_INET6)
chilli[1858]: address: <fe80::1aa6:f7ff:fe0e:8d83%wlan1>
chilli[1858]: tun0  address family: 10 (AF_INET6)
chilli[1858]: tun1  address family: 10 (AF_INET6)
chilli[1858]: dhcp_hashinit(490): hash table size 64 (56)
chilli[1858]: dhcp_sendGARP(338): GARP: Replying to broadcast
chilli[1858]: dhcp_new(1191): dhcpif (wlan1) IPv6 address fe80::1aa6:f7ff:fe0e:8d83
chilli[1858]: RADIUS client 0.0.0.0:0
chilli[1858]: chilli_main(7577): Waiting for client request...
chilli[1858]: Allocating RADIUS packet
chilli[1858]: net select count: 1
chilli[1858]: net select count: 2
chilli[1858]: net select count: 3
chilli[1858]: net select count: 4
chilli[1858]: net select count: 5
chilli[1858]: net select count: 6
chilli[1858]: net select count: 7
chilli[1858]: net select count: 8
chilli[1858]: dropping non-IPv4
chilli[1858]: dhcp_receive_ip(3775): Address not found (192.168.1.47)
chilli[1858]: dhcp_newconn(745): DHCP newconn: B8-27-EB-56-41-22
chilli[1858]: cb_dhcp_connect(5222): New DHCP request from MAC=B8-27-EB-56-41-22
chilli[1858]: chilli_connect(5183): New Chilli Connection
chilli[1858]: dhcp_receive_ip(3931): Not for our MAC or broadcast: B8-88-E3-4D-6C-C9
chilli[1858]: dropping non-IPv4
chilli[1858]: Received RADIUS packet id=0
chilli[1858]: Freeing RADIUS packet
chilli[1858]: RADIUS queue-out id=0 idx=0
chilli[1858]: dhcp_receive_ip(3775): Address not found (192.168.1.35)
chilli[1858]: dhcp_newconn(745): DHCP newconn: B8-88-E3-4D-6C-C9
chilli[1858]: cb_dhcp_connect(5222): New DHCP request from MAC=B8-88-E3-4D-6C-C9
chilli[1858]: chilli_connect(5183): New Chilli Connection
chilli[1858]: dhcp_receive_ip(3931): Not for our MAC or broadcast: B8-27-EB-56-41-22
chilli[1858]: dropping non-IPv4
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3931): Not for our MAC or broadcast: B8-88-E3-4D-6C-C9
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3931): Not for our MAC or broadcast: B8-27-EB-56-41-22
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3931): Not for our MAC or broadcast: B8-27-EB-56-41-22
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3931): Not for our MAC or broadcast: B8-88-E3-4D-6C-C9
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3931): Not for our MAC or broadcast: B8-88-E3-4D-6C-C9
chilli[1858]: chilli_handle_signal(386): caught 17 via selfpipe
chilli[1858]: _sigchld(316): child 1866 terminated
chilli[1858]: dropping non-IPv4
chilli[1858]: dhcp_receive_ip(3775): Address not found (192.168.42.5)
chilli[1858]: dhcp_newconn(745): DHCP newconn: 48-5A-B6-CF-F4-91
chilli[1858]: cb_dhcp_connect(5222): New DHCP request from MAC=48-5A-B6-CF-F4-91
chilli[1858]: chilli_connect(5183): New Chilli Connection
chilli[1858]: dhcp_receive_ip(3931): Not for our MAC or broadcast: 01-00-5E-00-00-FB
chilli[1858]: dropping non-IPv4
chilli[1858]: dhcp_decaps_cb(5380): Layer2 PROT: 0x86dd dropped
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3931): Not for our MAC or broadcast: 01-00-5E-00-00-FB
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3931): Not for our MAC or broadcast: 01-00-5E-00-00-FB
chilli[1858]: dhcp_decaps_cb(5380): Layer2 PROT: 0x86dd dropped
chilli[1858]: dhcp_decaps_cb(5380): Layer2 PROT: 0x86dd dropped
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3931): Not for our MAC or broadcast: 01-00-5E-00-00-FB
chilli[1858]: dhcp_decaps_cb(5380): Layer2 PROT: 0x86dd dropped
chilli[1858]: dropping non-IPv4
chilli[1858]: dhcp_receive_ip(3775): Address not found (192.168.42.245)
chilli[1858]: dhcp_newconn(745): DHCP newconn: 08-ED-B9-F8-4A-5D
chilli[1858]: cb_dhcp_connect(5222): New DHCP request from MAC=08-ED-B9-F8-4A-5D
chilli[1858]: chilli_connect(5183): New Chilli Connection
chilli[1858]: dhcp_receive_ip(3931): Not for our MAC or broadcast: 01-00-5E-00-00-FB
chilli[1858]: dhcp_decaps_cb(5380): Layer2 PROT: 0x86dd dropped
chilli[1858]: dhcp_decaps_cb(5380): Layer2 PROT: 0x86dd dropped
chilli[1858]: dhcp_decaps_cb(5380): Layer2 PROT: 0x86dd dropped
chilli[1858]: dhcp_decaps_cb(5380): Layer2 PROT: 0x86dd dropped
chilli[1858]: dhcp_decaps_cb(5380): Layer2 PROT: 0x86dd dropped
chilli[1858]: dhcp_receive_ip(3775): Address not found (0.0.0.0)
chilli[1858]: dhcp_newconn(745): DHCP newconn: 14-A5-1A-3B-BA-44
chilli[1858]: cb_dhcp_connect(5222): New DHCP request from MAC=14-A5-1A-3B-BA-44
chilli[1858]: chilli_connect(5183): New Chilli Connection
chilli[1858]: dhcp_receive_ip(3957): dhcp/bootps request being processed
chilli[1858]: dhcp_getreq(3490): function
chilli[1858]: cb_dhcp_request(4981): DHCP request for IP address 192.168.10.3
chilli[1858]: newip(876): newip 192.168.10.3
chilli[1858]: Requesting new static ip: 192.168.10.3
chilli[1858]: Static IP address not allowed
chilli[1858]: Requesting new dynamic ip: 192.168.10.3
chilli[1858]: cb_dhcp_request(5110): Client MAC=14-A5-1A-3B-BA-44 assigned IP 192.168.42.2
chilli[1858]: dhcp_getreq(3608): Sending NAK to client
chilli[1858]: dhcp_create_pkt(2927): dhcp server: 
chilli[1858]: dhcp_receive_ip(3775): Address not found (192.168.42.1)
chilli[1858]: dhcp_newconn(745): DHCP newconn: 18-A6-F7-0E-8D-83
chilli[1858]: cb_dhcp_connect(5222): New DHCP request from MAC=18-A6-F7-0E-8D-83
chilli[1858]: chilli_connect(5183): New Chilli Connection
chilli[1858]: dhcp_receive_ip(3931): Not for our MAC or broadcast: 14-A5-1A-3B-BA-44
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3957): dhcp/bootps request being processed
chilli[1858]: dhcp_getreq(3490): function
chilli[1858]: cb_dhcp_request(4981): DHCP request for IP address 192.168.10.3
chilli[1858]: dhcp_getreq(3608): Sending NAK to client
chilli[1858]: dhcp_create_pkt(2927): dhcp server: 
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3931): Not for our MAC or broadcast: 14-A5-1A-3B-BA-44
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3957): dhcp/bootps request being processed
chilli[1858]: dhcp_getreq(3490): function
chilli[1858]: cb_dhcp_request(4981): DHCP request for IP address 0.0.0.0
chilli[1858]: dhcp_create_pkt(2927): dhcp server: 
chilli[1858]: dhcp_accept_opt(3220): DHCP Captive Portal URI 192.168.42.1
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3931): Not for our MAC or broadcast: 14-A5-1A-3B-BA-44
chilli[1858]: dhcp_decaps_cb(5380): Layer2 PROT: 0x86dd dropped
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3957): dhcp/bootps request being processed
chilli[1858]: dhcp_getreq(3490): function
chilli[1858]: cb_dhcp_request(4981): DHCP request for IP address 192.168.42.2
chilli[1858]: dhcp_create_pkt(2927): dhcp server: 
chilli[1858]: dhcp_accept_opt(3220): DHCP Captive Portal URI 192.168.42.1
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3931): Not for our MAC or broadcast: 14-A5-1A-3B-BA-44
chilli[1858]: dhcp_receive_arp(5958): ARP: 14-A5-1A-3B-BA-44 asking about 192.168.42.2
chilli[1858]: dhcp_receive_arp(5971): ARP: Ignoring self-discovery: 192.168.42.2
chilli[1858]: cb_dhcp_request(4981): DHCP request for IP address 192.168.42.2
chilli[1858]: dhcp_receive_arp(5958): ARP: 14-A5-1A-3B-BA-44 asking about 192.168.42.2
chilli[1858]: dhcp_receive_arp(5971): ARP: Ignoring self-discovery: 192.168.42.2
chilli[1858]: cb_dhcp_request(4981): DHCP request for IP address 192.168.42.2
chilli[1858]: dhcp_decaps_cb(5380): Layer2 PROT: 0x86dd dropped
chilli[1858]: dhcp_decaps_cb(5380): Layer2 PROT: 0x86dd dropped
chilli[1858]: dhcp_receive_arp(5958): ARP: 14-A5-1A-3B-BA-44 asking about 192.168.42.1
chilli[1858]: dhcp_sendARP(5833): ARP: Replying to 192.168.42.2 / 14-A5-1A-3B-BA-44
chilli[1858]: dhcp_receive_arp(5873): ARP: Received other ARP than request!
chilli[1858]: dhcp_receive_arp(5873): ARP: Received other ARP than request!
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dns_copy_res(201): It was a dns record type: 1 class: 1
chilli[1858]: dns_copy_res(209): DNS: connectivitycheck.android.com
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dns_copy_res(201): It was a dns record type: 1 class: 1
chilli[1858]: dns_copy_res(209): DNS: mtalk.google.com
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dns_copy_res(201): It was a dns record type: 1 class: 1
chilli[1858]: dns_copy_res(209): DNS: clients3.google.com
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dns_copy_res(201): It was a dns record type: 1 class: 1
chilli[1858]: dns_copy_res(209): DNS: www.google.com
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dns_copy_res(201): It was a dns record type: 1 class: 1
chilli[1858]: dns_copy_res(209): DNS: edge-mqtt.facebook.com
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3931): Not for our MAC or broadcast: 14-A5-1A-3B-BA-44
chilli[1858]: dhcp_receive_arp(5958): ARP: 14-A5-1A-3B-BA-44 asking about 192.168.42.2
chilli[1858]: dhcp_receive_arp(5971): ARP: Ignoring self-discovery: 192.168.42.2
chilli[1858]: cb_dhcp_request(4981): DHCP request for IP address 192.168.42.2
chilli[1858]: dhcp_decaps_cb(5380): Layer2 PROT: 0x86dd dropped
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3931): Not for our MAC or broadcast: 14-A5-1A-3B-BA-44
chilli[1858]: dropping non-IPv4
chilli[1858]: dhcp_receive_arp(5958): ARP: 14-A5-1A-3B-BA-44 asking about 192.168.42.2
chilli[1858]: dhcp_receive_arp(5971): ARP: Ignoring self-discovery: 192.168.42.2
chilli[1858]: cb_dhcp_request(4981): DHCP request for IP address 192.168.42.2
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dns_copy_res(201): It was a dns record type: 1 class: 1
chilli[1858]: dns_copy_res(209): DNS: query.hicloud.com
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3931): Not for our MAC or broadcast: 14-A5-1A-3B-BA-44
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3931): Not for our MAC or broadcast: 14-A5-1A-3B-BA-44
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3931): Not for our MAC or broadcast: 14-A5-1A-3B-BA-44
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3931): Not for our MAC or broadcast: 14-A5-1A-3B-BA-44
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3931): Not for our MAC or broadcast: 14-A5-1A-3B-BA-44
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3931): Not for our MAC or broadcast: 14-A5-1A-3B-BA-44
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3931): Not for our MAC or broadcast: 14-A5-1A-3B-BA-44
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3931): Not for our MAC or broadcast: 14-A5-1A-3B-BA-44
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3931): Not for our MAC or broadcast: 14-A5-1A-3B-BA-44
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3931): Not for our MAC or broadcast: 14-A5-1A-3B-BA-44
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3931): Not for our MAC or broadcast: 14-A5-1A-3B-BA-44
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3931): Not for our MAC or broadcast: 14-A5-1A-3B-BA-44
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3931): Not for our MAC or broadcast: 14-A5-1A-3B-BA-44
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3931): Not for our MAC or broadcast: 14-A5-1A-3B-BA-44
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3931): Not for our MAC or broadcast: 14-A5-1A-3B-BA-44
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3931): Not for our MAC or broadcast: 14-A5-1A-3B-BA-44
chilli[1898]: redir_getreq(2150): The path: www/coova.html
chilli[1898]: redir_getreq(2482): Serving file coova.html
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3931): Not for our MAC or broadcast: 14-A5-1A-3B-BA-44
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3931): Not for our MAC or broadcast: 14-A5-1A-3B-BA-44
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3931): Not for our MAC or broadcast: 14-A5-1A-3B-BA-44
chilli[1858]: chilli_handle_signal(386): caught 17 via selfpipe
chilli[1858]: _sigchld(316): child 1898 terminated
chilli[1858]: child_remove_pid(138): Freed child process 1898 [[redir]]
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3931): Not for our MAC or broadcast: 14-A5-1A-3B-BA-44
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3931): Not for our MAC or broadcast: 14-A5-1A-3B-BA-44
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3931): Not for our MAC or broadcast: 14-A5-1A-3B-BA-44
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3931): Not for our MAC or broadcast: 14-A5-1A-3B-BA-44
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3931): Not for our MAC or broadcast: 14-A5-1A-3B-BA-44
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3931): Not for our MAC or broadcast: 14-A5-1A-3B-BA-44
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3931): Not for our MAC or broadcast: 14-A5-1A-3B-BA-44
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3931): Not for our MAC or broadcast: 14-A5-1A-3B-BA-44
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3931): Not for our MAC or broadcast: 14-A5-1A-3B-BA-44
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3931): Not for our MAC or broadcast: 14-A5-1A-3B-BA-44
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3931): Not for our MAC or broadcast: 14-A5-1A-3B-BA-44
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3931): Not for our MAC or broadcast: 14-A5-1A-3B-BA-44
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3931): Not for our MAC or broadcast: 14-A5-1A-3B-BA-44
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3931): Not for our MAC or broadcast: 14-A5-1A-3B-BA-44
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3931): Not for our MAC or broadcast: 14-A5-1A-3B-BA-44
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3931): Not for our MAC or broadcast: 14-A5-1A-3B-BA-44
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3931): Not for our MAC or broadcast: 14-A5-1A-3B-BA-44
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3931): Not for our MAC or broadcast: 14-A5-1A-3B-BA-44
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3931): Not for our MAC or broadcast: 14-A5-1A-3B-BA-44
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3931): Not for our MAC or broadcast: 14-A5-1A-3B-BA-44
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3931): Not for our MAC or broadcast: 14-A5-1A-3B-BA-44
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3931): Not for our MAC or broadcast: 14-A5-1A-3B-BA-44
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3931): Not for our MAC or broadcast: 14-A5-1A-3B-BA-44
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3931): Not for our MAC or broadcast: 14-A5-1A-3B-BA-44
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3931): Not for our MAC or broadcast: 14-A5-1A-3B-BA-44
chilli[1858]: dhcp_receive_arp(5958): ARP: 14-A5-1A-3B-BA-44 asking about 192.168.42.1
chilli[1858]: dhcp_sendARP(5833): ARP: Replying to 192.168.42.2 / 14-A5-1A-3B-BA-44
chilli[1858]: dhcp_receive_arp(5873): ARP: Received other ARP than request!
chilli[1858]: dhcp_receive_arp(5873): ARP: Received other ARP than request!
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3931): Not for our MAC or broadcast: 14-A5-1A-3B-BA-44
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3931): Not for our MAC or broadcast: 14-A5-1A-3B-BA-44
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3931): Not for our MAC or broadcast: 14-A5-1A-3B-BA-44
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3931): Not for our MAC or broadcast: 14-A5-1A-3B-BA-44
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1938]: redir_getreq(2121): Unhandled http request: POST /sp_cloudcomm/v2/Check.action?latest=true HTTP/1.1 0
chilli[1938]: redir_main(3529): Error calling get_req. Terminating -1
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3931): Not for our MAC or broadcast: 14-A5-1A-3B-BA-44
chilli[1858]: chilli_handle_signal(386): caught 17 via selfpipe
chilli[1858]: _sigchld(316): child 1938 terminated
chilli[1858]: child_remove_pid(138): Freed child process 1938 [[redir]]
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3931): Not for our MAC or broadcast: 14-A5-1A-3B-BA-44
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3931): Not for our MAC or broadcast: 14-A5-1A-3B-BA-44
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3931): Not for our MAC or broadcast: 14-A5-1A-3B-BA-44
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3931): Not for our MAC or broadcast: 14-A5-1A-3B-BA-44
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3931): Not for our MAC or broadcast: 14-A5-1A-3B-BA-44
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3931): Not for our MAC or broadcast: 14-A5-1A-3B-BA-44
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1939]: redir_getreq(2121): Unhandled http request: POST /sp_cloudcomm/v2/Check.action?latest=true HTTP/1.1 0
chilli[1939]: redir_main(3529): Error calling get_req. Terminating -1
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3931): Not for our MAC or broadcast: 14-A5-1A-3B-BA-44
chilli[1858]: chilli_handle_signal(386): caught 17 via selfpipe
chilli[1858]: _sigchld(316): child 1939 terminated
chilli[1858]: child_remove_pid(138): Freed child process 1939 [[redir]]
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3931): Not for our MAC or broadcast: 14-A5-1A-3B-BA-44
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3931): Not for our MAC or broadcast: 14-A5-1A-3B-BA-44
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3931): Not for our MAC or broadcast: 14-A5-1A-3B-BA-44
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3931): Not for our MAC or broadcast: 14-A5-1A-3B-BA-44
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3931): Not for our MAC or broadcast: 14-A5-1A-3B-BA-44
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3931): Not for our MAC or broadcast: 14-A5-1A-3B-BA-44
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3931): Not for our MAC or broadcast: 14-A5-1A-3B-BA-44
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3931): Not for our MAC or broadcast: 14-A5-1A-3B-BA-44
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3931): Not for our MAC or broadcast: 14-A5-1A-3B-BA-44
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3931): Not for our MAC or broadcast: 14-A5-1A-3B-BA-44
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3931): Not for our MAC or broadcast: 14-A5-1A-3B-BA-44
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3931): Not for our MAC or broadcast: 14-A5-1A-3B-BA-44
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3931): Not for our MAC or broadcast: 14-A5-1A-3B-BA-44
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3931): Not for our MAC or broadcast: 14-A5-1A-3B-BA-44
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3931): Not for our MAC or broadcast: 14-A5-1A-3B-BA-44
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_decaps_cb(5380): Layer2 PROT: 0x86dd dropped
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dhcp_receive_ip(3931): Not for our MAC or broadcast: 14-A5-1A-3B-BA-44
chilli[1858]: dhcp_receive_ip(3764): Address found
chilli[1858]: dns_copy_res(201): It was a dns record type: 1 class: 1
chilli[1858]: dns_copy_res(209): DNS: connectivitycheck.android.com
^Cchilli[1858]: chilli_handle_signal(386): caught 2 via selfpipe
chilli[1858]: _sigterm(342): SIGTERM: shutdown
chilli[1858]: CoovaChilli shutting down
chilli[1858]: Allocating RADIUS packet
chilli[1858]: child_killall(286): pid 1858 killed 1858
chilli[1858]: Running /etc/chilli/down.sh
chilli[1858]: cmdsock_shutdown(109): Shutting down cmdsocket
chilli[1858]: Removing /var/run/chilli.1858.cfg.bin
gbaligh commented 7 years ago

Try to set "uamallowpost" option, it may help in those cases ...

nexdevs commented 7 years ago

I was running this iptable rule in upip.sh:

iptables -I POSTROUTING -t nat -o $HS_WANIF -j MASQUERADE

seems that works better, 3 out of 4 works fine, I'll try with uamallowed too