Temat: Luci - zakładka "DHCP i DNS"

po upgrade  do wersji 24.10 zniknęła mi zakładka   "DHCP i DNS"

moj plik /etc/config/dhcp

config dnsmasq
    option domainneeded '1'
    option boguspriv '1'
    option filterwin2k '0'
    option localise_queries '1'
    option rebind_protection '1'
    option rebind_localhost '1'
    option local '/lan/'
    option domain 'lan'
    option expandhosts '1'
    option nonegcache '0'
    option cachesize '1000'
    option authoritative '1'
    option readethers '1'
    option leasefile '/tmp/dhcp.leases'
    option resolvfile '/tmp/resolv.conf.d/resolv.conf.auto'
    option nonwildcard '1'
    option localservice '1'
    option ednspacket_max '1232'
    option filter_aaaa '0'
    option filter_a '0'
    list rebind_domain 'free.aero2.net.pl'
    
config dhcp 'lan'
    option interface 'lan'
    option start '100'
    option limit '150'
    option leasetime '12h'
    option dhcpv4 'server'

config dhcp 'wan'
    option interface 'wan'
    option ignore '1'

config host
    option name 'iDom-RaspberryPi4'
    option dns '1'
    option mac 'D8:3A:DD:11:3A:31'
    option ip '192.168.13.181'
    option leasetime '12h'

i serwis niby działa

root@OpenWrt-Luizjana:~# /etc/init.d/dnsmasq status
running
root@OpenWrt-Luizjana:~# /etc/init.d/dnsmasq restart
udhcpc: started, v1.36.1
udhcpc: broadcasting discover
udhcpc: no lease, failing
root@OpenWrt-Luizjana:~# /etc/init.d/dnsmasq status
running
root@OpenWrt-Luizjana:~#

2

Odp: Luci - zakładka "DHCP i DNS"

uci show dhcp

zrób

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

3

Odp: Luci - zakładka "DHCP i DNS"

tak to wyglada

root@OpenWrt-Luizjana:~# uci show dhcp
dhcp.@dnsmasq[0]=dnsmasq
dhcp.@dnsmasq[0].domainneeded='1'
dhcp.@dnsmasq[0].boguspriv='1'
dhcp.@dnsmasq[0].filterwin2k='0'
dhcp.@dnsmasq[0].localise_queries='1'
dhcp.@dnsmasq[0].rebind_protection='1'
dhcp.@dnsmasq[0].rebind_localhost='1'
dhcp.@dnsmasq[0].local='/lan/'
dhcp.@dnsmasq[0].domain='lan'
dhcp.@dnsmasq[0].expandhosts='1'
dhcp.@dnsmasq[0].nonegcache='0'
dhcp.@dnsmasq[0].cachesize='1000'
dhcp.@dnsmasq[0].authoritative='1'
dhcp.@dnsmasq[0].readethers='1'
dhcp.@dnsmasq[0].leasefile='/tmp/dhcp.leases'
dhcp.@dnsmasq[0].resolvfile='/tmp/resolv.conf.d/resolv.conf.auto'
dhcp.@dnsmasq[0].nonwildcard='1'
dhcp.@dnsmasq[0].localservice='1'
dhcp.@dnsmasq[0].ednspacket_max='1232'
dhcp.@dnsmasq[0].filter_aaaa='0'
dhcp.@dnsmasq[0].filter_a='0'
dhcp.@dnsmasq[0].rebind_domain='free.aero2.net.pl'
dhcp.lan=dhcp
dhcp.lan.interface='lan'
dhcp.lan.start='100'
dhcp.lan.limit='150'
dhcp.lan.leasetime='12h'
dhcp.wan=dhcp
dhcp.wan.interface='wan'
dhcp.wan.ignore='1'
dhcp.@host[0]=host
dhcp.@host[0].name='iDom-RaspberryPi4'
dhcp.@host[0].dns='1'
dhcp.@host[0].mac='D8:3A:DD:11:3A:31'
dhcp.@host[0].ip='192.168.13.181'
dhcp.@host[0].leasetime='12h'
root@OpenWrt-Luizjana:~#

4

Odp: Luci - zakładka "DHCP i DNS"

wgrałem  plik z /rom/etc/config  i po restarcie wróciło

5

Odp: Luci - zakładka "DHCP i DNS"

ale przy  starcie dalej jest

root@OpenWrt-Luizjana:~# /etc/init.d/dnsmasq status
running
root@OpenWrt-Luizjana:~# /etc/init.d/dnsmasq restart
udhcpc: started, v1.36.1
udhcpc: broadcasting discover
udhcpc: no lease, failing
root@OpenWrt-Luizjana:~# /etc/init.d/dnsmasq status
running
root@OpenWrt-Luizjana:~#

6

Odp: Luci - zakładka "DHCP i DNS"

I tak jest zawsze, nie przejmuj się tym

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

7

Odp: Luci - zakładka "DHCP i DNS"

Cezary napisał/a:

I tak jest zawsze, nie przejmuj się tym

Jeżeli dobrze zrozumiałem to w wersji 24.10 nie ma w interfejsie graficznym możliwości konfiguracji tych usług?

8

Odp: Luci - zakładka "DHCP i DNS"

Jakich usług? dhcp/dns? Są.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

9

Odp: Luci - zakładka "DHCP i DNS"

Tak, usług DHCP i DNS. Po przeczytaniu odebrałem że w tej wersji nie ma zakładki konfiguracyjnej w gui.

10

Odp: Luci - zakładka "DHCP i DNS"

Jest, jest.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.