Temat: OpenWRT 24.01 + Cudy TR3000 -> opkg update from GUI => Error
Hejka od 21.10 wyatepuje u mnie problem z aktualizacją ortalu CloudFlare. Jednocześnie w czasie wyszukiwania aktualizacji pakietów mam taki błąd:
Nie można wykonać polecenia opkg update: SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
Model Cudy TR3000 v1
Architektura ARMv8 Processor rev 4
Platforma mediatek/filogic
Wersja firmware OpenWrt 24.10-SNAPSHOT r28881-406b980d97 / LuCI openwrt-24.10 branch 25.264.71301~3974d8a
Wersja kernela 6.6.106ubus call system board
{
"kernel": "6.6.106",
"hostname": "APCore",
"system": "ARMv8 Processor rev 4",
"model": "Cudy TR3000 v1",
"board_name": "cudy,tr3000-v1",
"rootfs_type": "squashfs",
"release": {
"distribution": "OpenWrt",
"version": "24.10-SNAPSHOT",
"revision": "r28881-406b980d97",
"target": "mediatek/filogic",
"description": "OpenWrt 24.10-SNAPSHOT r28881-406b980d97",
"builddate": "1758833715"
}
}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 'fdd0:8b96:2c05::/48'
option packet_steering '1'
config device
[b]
option name 'br-lan'
option type 'bridge'
list ports 'eth0'
list ports 'eth1'
[/b]
option stp '1'
config interface 'lan'
option device 'br-lan'
option proto 'static'
option ipaddr '172.31.255.14'
option netmask '255.255.255.0'
option ip6assign '60'
option gateway '172.31.255.12'
list dns '1.1.1.1'
list dns '9.9.9.9'
config interface 'LANv6'
option proto 'dhcpv6'
option device 'br-lan'
option reqaddress 'try'
option reqprefix 'auto'
option norelease '1'cat /etc/config/wireless
config wifi-device 'radio0'
option type 'mac80211'
option path 'platform/soc/18000000.wifi'
option band '2g'
option channel 'auto'
option country 'CN'
option cell_density '0'
option htmode 'HT40'
config wifi-device 'radio1'
option type 'mac80211'
option path 'platform/soc/18000000.wifi+1'
option band '5g'
option channel 'auto'
option htmode 'HE160'
option country 'CN'
option cell_density '0'
config wifi-iface 'wifinet0'
option device 'radio0'
option mode 'ap'
option ssid 'xxxxxx'
option encryption 'psk-mixed'
option ifname 'xxxxxx'
option skip_inactivity_poll '1'
option disassoc_low_ack '0'
option key 'xxxxxx'
option ieee80211r '1'
option ft_over_ds '0'
option ft_psk_generate_local '1'
option network 'lan LANv6'
config wifi-iface 'wifinet1'
option device 'radio1'
option mode 'ap'
option ssid 'xxxxxxxx'
option encryption 'sae'
option ifname 'xxxxxxxx'
option key 'xxxxxxx'
option ieee80211r '1'
option ft_over_ds '0'
option ocv '0'
option network 'lan LANv6'
config wifi-iface 'wifinet2'
option device 'radio1'
option mode 'ap'
option ssid 'xxxxx'
option encryption 'psk2'
option key 'xxxxxxx'
option ieee80211r '1'
option ft_over_ds '0'
option ft_psk_generate_local '1'
option network 'lan LANv6'
option ifname 'xxxxx'cat /etc/config/dhcp
config dnsmasq
option localise_queries '1'
option rebind_protection '1'
option rebind_localhost '1'
option local '/lan/'
option domain 'domena.intra'
option expandhosts '1'
option cachesize '1000'
option authoritative '1'
option readethers '1'
option leasefile '/tmp/dhcp.leases'
option resolvfile '/tmp/resolv.conf.d/resolv.conf.auto'
option localservice '1'
option ednspacket_max '1232'
list rebind_domain 'free.aero2.net.pl'
list interface 'lan'
list interface 'LANv6'
option logqueries '1'
option quietdhcp '1'
list notinterface 'loopback'
option sequential_ip '1'
option allservers '1'
list cache_rr 'A'
list cache_rr 'AAAA'
list cache_rr 'CNAME'
list cache_rr 'PTR'
list cache_rr 'SOA'
list cache_rr 'SRV'
config dhcp 'lan'
option interface 'lan'
option start '20'
option limit '50'
option leasetime '8h'
option dhcpv4 'server'
option dhcpv6 'hybrid'
option ra 'hybrid'
option master '1'
option force '1'
config odhcpd 'odhcpd'
option maindhcp '0'
option leasefile '/tmp/hosts/odhcpd'
option leasetrigger '/usr/sbin/odhcpd-update'
option loglevel '4'
config dhcp 'LANv6'
option interface 'LANv6'
option ignore '1'
i ponizej niektore hostycat /etc/config/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'
option masq6 '1'
list network 'lan'
list network 'LANv6'
config zone
option name 'wan'
option input 'REJECT'
option output 'ACCEPT'
option forward 'REJECT'
option masq '1'
option mtu_fix '1'
option masq6 '1'
config forwarding
option src 'lan'
option dest 'wan'
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'opkg update
Downloading https://downloads.openwrt.org/releases/24.10-SNAPSHOT/packages/aarch64_cortex-a53/base/Packages.gz
Failed to send request: Operation not permitted
*** Failed to download the package list from https://downloads.openwrt.org/releases/24.10-SNAPSHOT/packages/aarch64_cortex-a53/base/Packages.gz
Downloading https://downloads.openwrt.org/releases/24.10-SNAPSHOT/packages/aarch64_cortex-a53/luci/Packages.gz
Failed to send request: Operation not permitted
*** Failed to download the package list from https://downloads.openwrt.org/releases/24.10-SNAPSHOT/packages/aarch64_cortex-a53/luci/Packages.gz
Downloading https://downloads.openwrt.org/releases/24.10-SNAPSHOT/packages/aarch64_cortex-a53/packages/Packages.gz
Failed to send request: Operation not permitted
*** Failed to download the package list from https://downloads.openwrt.org/releases/24.10-SNAPSHOT/packages/aarch64_cortex-a53/packages/Packages.gz
Downloading https://downloads.openwrt.org/releases/24.10-SNAPSHOT/packages/aarch64_cortex-a53/routing/Packages.gz
Failed to send request: Operation not permitted
*** Failed to download the package list from https://downloads.openwrt.org/releases/24.10-SNAPSHOT/packages/aarch64_cortex-a53/routing/Packages.gz
i tak dalej......i co najdziwniejsze:
ping wp.pl
ping: bad address 'wp.pl'