Snapshot;
last commit applied e906ccfc8c base-files: ipcalc.sh: Add tests for unroutable, etc
grep dhcp-range /var/etc/dnsmasq.conf.* shows malformed dhcp-range=set:lan,19,,,12h
/etc/config/dhcp
config dhcp 'lan'
option interface 'lan'
option start '100'
option limit '120'
option leasetime '12h'
option dhcpv4 'server'
option dhcpv6 'server'
option ra 'server'
option ra_slaac '1'
list ra_flags 'managed-config'
list ra_flags 'other-config'
/etc/config/network
config interface 'lan'
option device 'br-lan'
option proto 'static'
option netmask '255.255.255.0'
option ipaddr '192.168.1.1'
option ip6assign '60'
this is a non configured install ... "out of the box" ... anyone having this malformed dhcp-range statement that stops dhcp working ?
frollic
December 19, 2023, 3:24pm
3
Snapshot = beta
Beta = bugs "out of the box"
Use stable, if available for your hw.
ahah bugs "out of the box" or developer that hasn't done even a single unit test eg test the configuration that comes with firstboot!
frollic
December 19, 2023, 3:41pm
5
Lazy f-ers, not testing all 1000+ devices on a daily basis.
(Snapshots are published daily)
But in this case, I assume the bug is platform independent.
this is not device related
frollic
December 19, 2023, 3:48pm
7
Yeah, thats what platform independent means ,)
2 Likes
as a workaround replaced on /etc/init.d/dnsmasq
line 591
xappend "--dhcp-range=$tags$nettag$START,$END,$NETMASK,$leasetime${options:+ $options}"
with
xappend "--dhcp-range=set:lan,192.168.1.100,192.168.1.249,255.255.255.0,12h"
1 Like
frollic
December 19, 2023, 4:26pm
9
Nice, but it looks hardcoded.
Check if the bug's already reported, if not, create a ticket.
Are you sure this is truly OOB?
Normally the default is 150 for the limit in the default state.
2 Likes
jow
December 19, 2023, 9:09pm
11
Just tested x86/64 OpenWrt SNAPSHOT r24668-5a85aada3f in qemu and can not reproduce this issue. @rmandrad - do you run a custom build? Did you modify the busybox applet/feature selection? Using another, non-ash shell?
1 Like
the issue i am having is fixed by 8815a3114ffb788ca037e634042811a9fed1562d dnsmasq: invert logic for "localuse" which is not applied on my repo
thank you for those replying
closing the issue
system
Closed
December 30, 2023, 4:31am
13
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.