ubus call system board
cat /etc/config/network
cat /etc/config/dhcp
Oh no, you reminded me that I had previously used this router as an access point and removed things such as dhcp. I thought that the hard reset puts everything back to its original state, for example enables dhcp...
$ ubus call system board
"kernel": "5.15.105",
"hostname": "OpenWrt",
"system": "ARMv8 Processor rev 4",
"model": "Dynalink DL-WRX36",
"board_name": "dynalink,dl-wrx36",
"rootfs_type": "squashfs",
"release": {
"distribution": "OpenWrt",
"version": "SNAPSHOT",
"revision": "r22506-9a62b3977f",
"target": "ipq807x/generic",
"description": "OpenWrt SNAPSHOT r22506-9a62b3977f"
$ cat /etc/config/network
config interface 'loopback'
option device 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config globals 'globals'
option ula_prefix 'fd6a:28ca:702c::/48'
config device
option name 'br-lan'
option type 'bridge'
list ports 'lan1'
list ports 'lan2'
list ports 'lan3'
list ports 'lan4'
config interface 'lan'
option device 'br-lan'
option proto 'static'
option ipaddr '192.168.1.1'
option netmask '255.255.255.0'
option ip6assign '60'
config interface 'wan'
option device 'wan'
option proto 'dhcp'
config interface 'wan6'
option device 'wan'
option proto 'dhcpv6'
$ cat /etc/config/dhcp
cat: can't open '/etc/config/dhcp': No such file or directory
Ehm, I'll go and install dhcp. That's really awkward... I thought a hard reset takes care of that. Sorry!
Will get back if I need help.
goldmund:
you reminded me that I had previously used this router as an access point and removed things such as dhcp.
So you made a custom firmware without dnsmasq (i.e the DHCPv4 server), etc.?
goldmund:
I thought that the hard reset puts everything back to its original state, for example enables dhcp...