had 23.xx everything was working. Tried upgrading to 24.10. Can ssh but luci fails
What exact file did you install (full filename)?
And how was the device configured? Let's take a look at your config since you can use ssh:
Please connect to your OpenWrt device using ssh and copy the output of the following commands and post it here using the "Preformatted text </>
" button:
Remember to redact passwords, MAC addresses and any public IP addresses you may have:
ubus call system board
cat /etc/config/network
cat /etc/config/wireless
cat /etc/config/dhcp
cat /etc/config/firewall
cat /etc/config/uhttpd
netstat -plnt
i made a backup. will that help
sure, but if you can currently get in via ssh, it would make sense to use that.
here is the capture. Let me know if you want the backup
BusyBox v1.37.0 (2025-06-16 20:46:55 UTC) built-in shell (ash)
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -| || | | || || |
|_____|| |||||___||| |____|
|| W I R E L E S S F R E E D O M
OpenWrt SNAPSHOT, r30101-c908fc7d95
root@Cisco:~# ubus call system board
{
"kernel": "6.6.93",
"hostname": "Cisco",
"system": "Qualcomm Atheros QCA9558 ver 1 rev 0",
"model": "TP-Link Archer C7 v2",
"board_name": "tplink,archer-c7-v2",
"rootfs_type": "squashfs",
"release": {
"distribution": "OpenWrt",
"version": "SNAPSHOT",
"firmware_url": "https://downloads.openwrt.org/",
"revision": "r30101-c908fc7d95",
"target": "ath79/generic",
"description": "OpenWrt SNAPSHOT r30101-c908fc7d95",
"builddate": "1750106815"
}
}
root@Cisco:~# cd /etc/config
root@Cisco:/etc/config# ls
attendedsysupgrade luci ubootenv
ddns network ucitrack
dhcp rpcd uhttpd
dropbear sqm wireless
firewall stubby
https-dns-proxy system
root@Cisco:/etc/config# cat 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 'fdff:db21:85ad::/48'
config device
option name 'br-lan'
option type 'bridge'
list ports 'eth1.1'
config interface 'lan'
option device 'br-lan'
option proto 'static'
option ipaddr 'nn.nn.nn.nn'
option netmask '255.255.255.224'
option ip6assign '60'
config interface 'wan'
option device 'eth0.2'
option proto 'dhcp'
config interface 'wan6'
option device 'eth0.2'
option proto 'dhcpv6'
config switch
option name 'switch0'
option reset '1'
option enable_vlan '1'
config switch_vlan
option device 'switch0'
option vlan '1'
option ports '0t 3 4 5'
option vid '1'
option description 'Lan'
config switch_vlan
option device 'switch0'
option vlan '2'
option ports '6t 1'
option vid '2'
option description 'Wan'
config switch_vlan
option device 'switch0'
option vlan '3'
option ports '0t 2'
option vid '3'
option description 'Samsung'
config device
option name 'br-guest'
option type 'bridge'
list ports 'eth1.3'
config interface 'guest'
option proto 'static'
option ipaddr 'nn.nn.nn.nn'
option netmask '255.255.255.224'
option device 'br-guest'
root@Cisco:/etc/config# cat wireless
config wifi-device 'radio0'
option type 'mac80211'
option path 'pci0000:00/0000:00:00.0'
option channel '36'
option band '5g'
option htmode 'VHT80'
option disabled '1'
config wifi-device 'radio1'
option type 'mac80211'
option path 'platform/ahb/18100000.wmac'
option band '2g'
option htmode 'HT20'
option cell_density '0'
option country 'US'
option channel '9'
config wifi-iface 'default_radio1'
option device 'radio1'
option network 'lan'
option mode 'ap'
option ssid 'MyNetwork_1984'
option encryption 'psk2'
option key 'VeW9dXcY1bZa'
option macfilter 'allow'
list maclist '48:5F:99:CA:21:AE'
list maclist '4C:BB:58:28:77:01'
config wifi-iface 'wifinet2'
option device 'radio1'
option mode 'ap'
option ssid 'guest'
option encryption 'psk2'
option isolate '1'
option key 'RCxUX_SQ5Z#2'
option network 'guest'
root@Cisco:/etc/config# cat dhcp
config dnsmasq
option domainneeded '1'
option localise_queries '1'
option rebind_protection '1'
option rebind_localhost '1'
option local '/lan/'
option domain 'lan'
option expandhosts '1'
option cachesize '1000'
option authoritative '1'
option readethers '1'
option leasefile '/tmp/dhcp.leases'
option localservice '1'
option ednspacket_max '1232'
list server '/mask.icloud.com/'
list server '/mask-h2.icloud.com/'
list server '/use-application-dns.net/'
list server '127.0.0.1#5053'
list server '127.0.0.1#5054'
option dhcpleasemax '20'
option doh_backup_noresolv '-1'
option noresolv '1'
list doh_backup_server '/mask.icloud.com/'
list doh_backup_server '/mask-h2.icloud.com/'
list doh_backup_server '/use-application-dns.net/'
list doh_backup_server '127.0.0.1#5053'
list doh_backup_server '127.0.0.1#5054'
list doh_server '127.0.0.1#5053'
list doh_server '127.0.0.1#5054'
config dhcp 'lan'
option interface 'lan'
option start '1'
option limit '20'
option leasetime '12h'
option dhcpv4 'server'
option dhcpv6 'server'
option ra 'server'
list ra_flags 'managed-config'
list ra_flags 'other-config'
list dhcp_option '6,1.1.1.1,1.0.0.1'
config dhcp 'wan'
option interface 'wan'
option ignore '1'
config odhcpd 'odhcpd'
option maindhcp '0'
option leasefile '/tmp/hosts/odhcpd'
option leasetrigger '/usr/sbin/odhcpd-update'
option loglevel '4'
config dhcp 'guest'
option interface 'guest'
option start '1'
option limit '29'
option leasetime '12h'
list dhcp_option '6,1.1.1.1,1.0.0.1'
config domain
option name 'Obi'
option ip 'nn.nn.nn.nn'
config domain
option name 'Beagle'
option ip 'nn.nn.nn.nn'
config host
option name 'Samsung'
list mac '4C:C9:5E:6A:5A:2D'
option ip 'nn.nn.nn.nn'
option leasetime '24h'
config host
option name 'Roku'
list mac 'AC:AE:19:CE:7D:2A'
option ip 'nn.nn.nn.nn'
option leasetime '24h'
config host
option name 'Moto'
list mac '52:11:0E:86:BD:D1'
option ip 'nn.nn.nn.nn'
option leasetime '12h'
config host
option name 'Kindle'
list mac '68:9A:87:09:34:F2'
option ip 'nn.nn.nn.nn'
option leasetime '24h'
config host
option name 'DESKTOP-HR9O9JD'
option ip 'nn.nn.nn.nn'
option mac '74:E6:E2:0F:A9:FD'
root@Cisco:/etc/config# cat firewall
config defaults
option input 'REJECT'
option output 'ACCEPT'
option forward 'REJECT'
option synflood_protect '1'
config zone
option name 'lan'
option input 'ACCEPT'
option output 'ACCEPT'
option forward 'ACCEPT'
list network 'lan'
config zone
option name 'wan'
option input 'REJECT'
option output 'ACCEPT'
option forward 'REJECT'
option masq '1'
option mtu_fix '1'
list network 'wan'
list network 'wan6'
config forwarding
option src 'lan'
option dest 'wan'
config rule
option name 'RTP'
option src 'wan'
option dest 'lan'
option target 'ACCEPT'
option src_port '5000-31000'
option dest_port '5000-31000'
list dest_ip 'nn.nn.nn.nn'
option family 'ipv4'
list proto 'tcp'
list proto 'udp'
config rule
option name 'Callcentric SIP'
option direction 'in'
option device 'eth0.2'
list proto 'udp'
option src 'wan'
option ipset 'Callcentric'
option dest 'lan'
option target 'ACCEPT'
list dest_ip 'nn.nn.nn.nn'
option dest_port '5586'
option family 'ipv4'
config rule
option name 'Allow-DHCP-Renew'
option src 'wan'
option proto 'udp'
option dest_port '68'
option target 'ACCEPT'
option family 'ipv4'
config rule
option name 'Allow-Ping'
option src 'wan'
option proto 'icmp'
option icmp_type 'echo-request'
option family 'ipv4'
option target 'ACCEPT'
config rule
option name 'Allow-IGMP'
option src 'wan'
option proto 'igmp'
option family 'ipv4'
option target 'ACCEPT'
config rule
option name 'Allow-DHCPv6'
option src 'wan'
option proto 'udp'
option dest_port '546'
option family 'ipv6'
option target 'ACCEPT'
config rule
option name 'Allow-MLD'
option src 'wan'
option proto 'icmp'
option src_ip 'fe80::/10'
list icmp_type '130/0'
list icmp_type '131/0'
list icmp_type '132/0'
list icmp_type '143/0'
option family 'ipv6'
option target 'ACCEPT'
config rule
option name 'Allow-ICMPv6-Input'
option src 'wan'
option proto 'icmp'
list icmp_type 'echo-request'
list icmp_type 'echo-reply'
list icmp_type 'destination-unreachable'
list icmp_type 'packet-too-big'
list icmp_type 'time-exceeded'
list icmp_type 'bad-header'
list icmp_type 'unknown-header-type'
list icmp_type 'router-solicitation'
list icmp_type 'neighbour-solicitation'
list icmp_type 'router-advertisement'
list icmp_type 'neighbour-advertisement'
option limit '1000/sec'
option family 'ipv6'
option target 'ACCEPT'
config rule
option name 'Allow-ICMPv6-Forward'
option src 'wan'
option dest '*'
option proto 'icmp'
list icmp_type 'echo-request'
list icmp_type 'echo-reply'
list icmp_type 'destination-unreachable'
list icmp_type 'packet-too-big'
list icmp_type 'time-exceeded'
list icmp_type 'bad-header'
list icmp_type 'unknown-header-type'
option limit '1000/sec'
option family 'ipv6'
option target 'ACCEPT'
config rule
option name 'Allow-IPSec-ESP'
option src 'wan'
option dest 'lan'
option proto 'esp'
option target 'ACCEPT'
config rule
option name 'Allow-ISAKMP'
option src 'wan'
option dest 'lan'
option dest_port '500'
option proto 'udp'
option target 'ACCEPT'
config zone
option input 'REJECT'
option output 'ACCEPT'
option forward 'REJECT'
option name 'Guestwifi'
list network 'guest'
config forwarding
option dest 'wan'
config forwarding
option src 'Guestwifi'
option dest 'wan'
config rule
option name 'Guest DHCP'
option family 'ipv4'
list proto 'udp'
option src 'Guestwifi'
option dest_port '67'
option target 'ACCEPT'
config rule
option name 'Guest DNS'
option src 'Guestwifi'
option dest_port '443'
option target 'ACCEPT'
config forwarding
option src 'wan'
option dest 'Samsung'
config redirect
option dest 'lan'
option target 'DNAT'
option name 'Lets Encrypt'
option src 'wan'
option src_dport '80'
option dest_ip 'nn.nn.nn.nn'
option dest_port '10005'
config ipset
option name 'Callcentric'
option family 'ipv4'
list match 'src_ip'
option maxelem '2'
list entry '204.11.192.0/22'
list entry '199.87.144.0/21'
root@Cisco:/etc/config# cat uhttpd
config uhttpd 'main'
list listen_http '0.0.0.0:80'
list listen_http '[::]:80'
list listen_https '0.0.0.0:443'
list listen_https '[::]:443'
option redirect_https '0'
option home '/www'
option rfc1918_filter '1'
option max_requests '3'
option max_connections '100'
option cert '/etc/uhttpd.crt'
option key '/etc/uhttpd.key'
option cgi_prefix '/cgi-bin'
list lua_prefix '/cgi-bin/luci=/usr/lib/lua/luci/sgi/uhttpd.lua'
option script_timeout '60'
option network_timeout '30'
option http_keepalive '20'
option tcp_keepalive '1'
option ubus_prefix '/ubus'
config cert 'defaults'
option days '730'
option key_type 'ec'
option bits '2048'
option ec_curve 'P-256'
option country 'ZZ'
option state 'Somewhere'
option location 'Unknown'
option commonname 'OpenWrt'
root@Cisco:/etc/config# netstat -plnt
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 2915/dnsmasq
tcp 0 0 159.48.97.102:53 0.0.0.0:* LISTEN 2915/dnsmasq
tcp 0 0 nn.nn.nn.nn:53 0.0.0.0:* LISTEN 2915/dnsmasq
tcp 0 0 nn.nn.nn.nn:22 0.0.0.0:* LISTEN 2451/dropbear
tcp 0 0 nn.nn.nn.nn:53 0.0.0.0:* LISTEN 2915/dnsmasq
tcp 0 0 ::1:53 :::* LISTEN 2915/dnsmasq
tcp 0 0 fe80::1ad6:c7ff:fef9:4059:53 :::* LISTEN 2915/dnsmasq
tcp 0 0 fe80::1ad6:c7ff:fef9:4059:53 :::* LISTEN 2915/dnsmasq
tcp 0 0 fe80::1ad6:c7ff:fef9:4059:53 :::* LISTEN 2915/dnsmasq
tcp 0 0 fdff:db21:85ad::1:22 :::* LISTEN 2451/dropbear
tcp 0 0 fdff:db21:85ad::1:53 :::* LISTEN 2915/dnsmasq
tcp 0 0 fe80::1ad6:c7ff:fef9:405a:53 :::* LISTEN 2915/dnsmasq
tcp 0 0 fe80::1ad6:c7ff:fef9:405a:53 :::* LISTEN 2915/dnsmasq
root@Cisco:/etc/config
You have installed a snapshot image. Read the link for instructions how to install Luci, which is not installed by default in snapshots.
It says "opkg not found.
Ah yes, the article needs to be updated. It's now the Apline package keeper (apk
).
That said, is there a reason you want/need to run snapshot? In most cases, uses are best served by running a standard release build (the second link I provided) which includes LuCI pre-installed.
what package contains curl or do i simply add "curl" to the list?
Reflash (sysupgrade) it to an image from a stable release instead ?
all of the packages are missing curl???
I have no idea what that means...
As I had said earlier...
One of the difficulties with snapshot builds is that they are built daily, and the packages are built to match. This means that the ability to install packages into a snapshot may be quite short lived -- possibly as short as 24 hours after the snapshot itself is built. If dependencies (such as kernel versions) have moved on, you need to install the latest snapshot if you need to install new packages.
So, unless there's a reason you need/want snapshot, you should normally be running a stable release build (linked above).
- Download the
sysupgrade
image to your computer - use
scp
to transfer it to your router's tmp directory (usually like this:scp openwrt-24.10.1-ath79-generic-tplink_archer-c7-v2-squashfs-sysupgrade.bin root@192.168.1.1:/tmp
) - ssh into your router and install the sysupgrade image:
cd /tmp
sysupgrade -n openwrt-24.10.1-ath79-generic-tplink_archer-c7-v2-squashfs-sysupgrade.bin
sorry, i want to use sysupgrade to install 24.10. i have the file.What does the command look like?
I shared that in the post above.
OK. I upgraded to 24.10.1. Now dns is not working
If you used the standard image, ^ will no longer work...
I have searched and found nothing.
root@Cisco:/etc# ping -4 -c 6 google.com
ping: bad address 'google.com'
before I waste time installing 23 does anyone have any ideas how to fix dns in V24?
i upgraded to a release
Using username "root".
BusyBox v1.35.0 (2024-07-15 22:25:54 UTC) built-in shell (ash)
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
-----------------------------------------------------
OpenWrt 22.03.7, r20341-591b7e93d3
-----------------------------------------------------
root@Cisco:~# ubus call system board
{
"kernel": "5.10.221",
"hostname": "Cisco",
"system": "Qualcomm Atheros QCA9558 ver 1 rev 0",
"model": "TP-Link Archer C7 v2",
"board_name": "tplink,archer-c7-v2",
"rootfs_type": "squashfs",
"release": {
"distribution": "OpenWrt",
"version": "22.03.7",
"revision": "r20341-591b7e93d3",
"target": "ath79/generic",
"description": "OpenWrt 22.03.7 r20341-591b7e93d3"
}
}
root@Cisco:~# 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 'fdff:db21:85ad::/48'
config device
option name 'br-lan'
option type 'bridge'
list ports 'eth1.1'
config interface 'lan'
option device 'br-lan'
option proto 'static'
option ipaddr 'nn.nn.nn.nn'
option netmask '255.255.255.224'
option ip6assign '60'
config interface 'wan'
option device 'eth0.2'
option proto 'dhcp'
config interface 'wan6'
option device 'eth0.2'
option proto 'dhcpv6'
config switch
option name 'switch0'
option reset '1'
option enable_vlan '1'
config switch_vlan
option device 'switch0'
option vlan '1'
option ports '0t 3 4 5'
option vid '1'
option description 'Lan'
config switch_vlan
option device 'switch0'
option vlan '2'
option ports '6t 1'
option vid '2'
option description 'Wan'
config switch_vlan
option device 'switch0'
option vlan '3'
option ports '0t 2'
option vid '3'
option description 'Samsung'
config device
option name 'br-guest'
option type 'bridge'
list ports 'eth1.3'
config interface 'guest'
option proto 'static'
option ipaddr '172.16.7.30'
option netmask '255.255.255.224'
option device 'br-guest'
root@Cisco:~# cat /etc/config/dhcp
config dnsmasq
option domainneeded '1'
option localise_queries '1'
option rebind_protection '1'
option rebind_localhost '1'
option local '/lan/'
option domain 'lan'
option expandhosts '1'
option cachesize '1000'
option authoritative '1'
option readethers '1'
option leasefile '/tmp/dhcp.leases'
option localservice '1'
option ednspacket_max '1232'
list server '/mask.icloud.com/'
list server '/mask-h2.icloud.com/'
list server '/use-application-dns.net/'
list server '127.0.0.1#5053'
list server '127.0.0.1#5054'
option dhcpleasemax '20'
option doh_backup_noresolv '-1'
option noresolv '1'
list doh_backup_server '/mask.icloud.com/'
list doh_backup_server '/mask-h2.icloud.com/'
list doh_backup_server '/use-application-dns.net/'
list doh_backup_server '127.0.0.1#5053'
list doh_backup_server '127.0.0.1#5054'
list doh_server '127.0.0.1#5053'
list doh_server '127.0.0.1#5054'
config dhcp 'lan'
option interface 'lan'
option start '1'
option limit '20'
option leasetime '12h'
option dhcpv4 'server'
option dhcpv6 'server'
option ra 'server'
list ra_flags 'managed-config'
list ra_flags 'other-config'
list dhcp_option '6,1.1.1.1,1.0.0.1'
config dhcp 'wan'
option interface 'wan'
option ignore '1'
config odhcpd 'odhcpd'
option maindhcp '0'
option leasefile '/tmp/hosts/odhcpd'
option leasetrigger '/usr/sbin/odhcpd-update'
option loglevel '4'
config dhcp 'guest'
option interface 'guest'
option start '1'
option limit '29'
option leasetime '12h'
list dhcp_option '6,1.1.1.1,1.0.0.1'
config domain
option name 'Obi'
option ip 'nn.nn.nn.nn'
config domain
option name 'Beagle'
option ip 'nn.nn.nn.nn'
config host
option name 'Samsung'
list mac '4C:C9:5E:6A:5A:2D'
option ip 'nn.nn.nn.nn'
option leasetime '24h'
config host
option name 'Roku'
list mac 'AC:AE:19:CE:7D:2A'
option ip 'nn.nn.nn.nn'
option leasetime '24h'
config host
option name 'Moto'
list mac '52:11:0E:86:BD:D1'
option ip 'nn.nn.nn.nn'
option leasetime '12h'
config host
option name 'Kindle'
list mac '68:9A:87:09:34:F2'
option ip 'nn.nn.nn.nn'
option leasetime '24h'
config host
option name 'DESKTOP-HR9O9JD'
option ip 'nn.nn.nn.nn8'
option mac '74:E6:E2:0F:A9:FD'
root@Cisco:~# cat /etc/config/uhttpd
config uhttpd 'main'
list listen_http '0.0.0.0:80'
list listen_http '[::]:80'
list listen_https '0.0.0.0:443'
list listen_https '[::]:443'
option redirect_https '0'
option home '/www'
option rfc1918_filter '1'
option max_requests '3'
option max_connections '100'
option cert '/etc/uhttpd.crt'
option key '/etc/uhttpd.key'
option cgi_prefix '/cgi-bin'
list lua_prefix '/cgi-bin/luci=/usr/lib/lua/luci/sgi/uhttpd.lua'
option script_timeout '60'
option network_timeout '30'
option http_keepalive '20'
option tcp_keepalive '1'
option ubus_prefix '/ubus'
config cert 'defaults'
option days '730'
option key_type 'ec'
option bits '2048'
option ec_curve 'P-256'
option country 'ZZ'
option state 'Somewhere'
option location 'Unknown'
option commonname 'OpenWrt'
root@Cisco:~# netstat -plnt
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN 1828/uhttpd
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 1828/uhttpd
tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 3487/dnsmasq
tcp 0 0 nn.nn.nn.nn:53 0.0.0.0:* LISTEN 3487/dnsmasq
tcp 0 0 75.98.184.155:53 0.0.0.0:* LISTEN 3487/dnsmasq
tcp 0 0 nn.nn.nn.nn:22 0.0.0.0:* LISTEN 2479/dropbear
tcp 0 0 :::443 :::* LISTEN 1828/uhttpd
tcp 0 0 :::80 :::* LISTEN 1828/uhttpd
tcp 0 0 ::1:53 :::* LISTEN 3487/dnsmasq
tcp 0 0 fe80::1ad6:c7ff:fef9:405a:53 :::* LISTEN 3487/dnsmasq
tcp 0 0 fe80::1ad6:c7ff:fef9:4059:53 :::* LISTEN 3487/dnsmasq
tcp 0 0 fe80::1ad6:c7ff:fef9:4059:53 :::* LISTEN 3487/dnsmasq
tcp 0 0 fdff:db21:85ad::1:53 :::* LISTEN 3487/dnsmasq
tcp 0 0 fe80::1ad6:c7ff:fef9:4059:53 :::* LISTEN 3487/dnsmasq
tcp 0 0 fe80::1ad6:c7ff:fef9:405a:53 :::* LISTEN 3487/dnsmasq
tcp 0 0 fe80::1ad6:c7ff:fef9:4059:53 :::* LISTEN 3487/dnsmasq
tcp 0 0 fe80::18d6:c7ff:fef9:4059:53 :::* LISTEN 3487/dnsmasq
tcp 0 0 fdff:db21:85ad::1:22 :::* LISTEN 2479/dropbear
root@Cisco:~#