Skip to content
This repository has been archived by the owner on Jul 1, 2021. It is now read-only.

[bug] dnsmasq after cron do it #4

Open
ghost opened this issue Dec 7, 2016 · 2 comments
Open

[bug] dnsmasq after cron do it #4

ghost opened this issue Dec 7, 2016 · 2 comments

Comments

@ghost
Copy link

ghost commented Dec 7, 2016

Hello, I have found bug here.
When cron running for dnsmasq. I trying to connect with the grase hotspot it just always "obtaining IP Address" but it was assigned as 10.1.0.2

here log of freeradius
Dec 7 21:47:13 KR-Ngine freeradius[4634]: * Starting FreeRADIUS daemon freeradius
Dec 7 21:47:14 KR-Ngine freeradius[4634]: Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/%{ <-- HERE %k}/ at /etc/freeradius/perl_modules/SQLCounter.pm line 126.
Dec 7 21:47:14 KR-Ngine freeradius[4634]: Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/%{ <-- HERE %k}/ at /etc/freeradius/perl_modules/SQLCounter.pm line 235.
Dec 7 21:47:14 KR-Ngine freeradius[4634]: Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/%{ <-- HERE %k}/ at /etc/freeradius/perl_modules/SQLExpire.pm line 30.
Dec 7 21:47:14 KR-Ngine freeradius[4634]: ...done.

here log of chilli
Dec 7 21:35:22 KR-Ngine coova-chilli[3944]: chilli.c: 5117: New DHCP request from MAC=80-6A-B0-36-8C-3D
Dec 7 21:35:22 KR-Ngine coova-chilli[3944]: chilli.c: 5005: Client MAC=80-6A-B0-36-8C-3D assigned IP 10.1.0.2

here log of dnsmasq
Dec 7 21:41:13 KR-Ngine dnsmasq-dhcp[3978]: DHCP packet received on eth1 which has no address
Dec 7 21:41:28 KR-Ngine dnsmasq-dhcp[3978]: message repeated 3 times: [ DHCP packet received on eth1 which has no address]
Dec 7 21:41:39 KR-Ngine dnsmasq-dhcp[3978]: DHCP packet received on eth1 which has no address
Dec 7 21:41:58 KR-Ngine dnsmasq-dhcp[3978]: message repeated 3 times: [ DHCP packet received on eth1 which has no address]
Dec 7 21:42:14 KR-Ngine dnsmasq-dhcp[3978]: DHCP packet received on eth1 which has no address
Dec 7 21:42:48 KR-Ngine dnsmasq-dhcp[3978]: message repeated 5 times: [ DHCP packet received on eth1 which has no address]

@ghost
Copy link
Author

ghost commented Dec 7, 2016

here when I debugging the chilli

chilli.c: 5117: 0 (Debug) New DHCP request from MAC=80-6A-B0-36-8C-3D
chilli.c: 5120: 0 (Debug) New DHCP connection established
chilli.c: 5076: 0 (Debug) New Chilli Connection
chilli.c: 4869: 0 (Debug) ----> cb_dhcp_request <----
chilli.c: 4873: 0 (Debug) DHCP request for IP address 0.0.0.0
chilli.c: 1512: 0 (Debug) Starting radius authentication
chilli.c: 835: 0 (Debug) newip 0.0.0.0
ippool.c: 456: 0 (Debug) Requesting new static ip: 0.0.0.0
ippool.c: 456: 0 (Debug) Requesting new dynamic ip: 0.0.0.0
chilli.c: 5005: 0 (Debug) Client MAC=80-6A-B0-36-8C-3D assigned IP 10.1.0.3
dhcp.c: 2755: 0 (Debug) dhcp server:
dhcp.c: 3048: 0 (Debug) checking modules...
radius.c: 1898: 0 (Debug) Received RADIUS packet id=4
radius.c: 426: 0 (Debug) RADIUS queue-out id=4 idx=4
chilli.c: 4393: 0 (Debug) Received RADIUS response id=4
chilli.c: 4535: 0 (Debug) Received RADIUS Access-Reject
dhcp.c: 3555: 0 (Debug) chopping off trailer length 2
dhcp.c: 3618: 0 (Debug) dhcp/bootps request being processed
dhcp.c: 3263: 0 (Debug) function dhcp_getreq()
chilli.c: 4869: 0 (Debug) ----> cb_dhcp_request <----
chilli.c: 4873: 0 (Debug) DHCP request for IP address 0.0.0.0
chilli.c: 1512: 0 (Debug) Starting radius authentication
dhcp.c: 2755: 0 (Debug) dhcp server:
dhcp.c: 3048: 0 (Debug) checking modules...

@ghost
Copy link
Author

ghost commented Dec 7, 2016

why my phone ip is reseted to 0.0.0.0?
can you improve this critical bug?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants