1 (edytowany przez OdoMarTus 2025-11-09 11:36:34)

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.106
ubus 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 hosty
cat /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'

2

Odp: OpenWRT 24.01 + Cudy TR3000 -> opkg update from GUI => Error

Internetu po prostu nie masz na nim.

ping 1.1.1.1 ci działa?

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

3 (edytowany przez OdoMarTus 2025-11-09 11:37:52)

Odp: OpenWRT 24.01 + Cudy TR3000 -> opkg update from GUI => Error

ping 1.1.1.1
PING 1.1.1.1 (1.1.1.1): 56 data bytes
64 bytes from 1.1.1.1: seq=0 ttl=58 time=3.313 ms
64 bytes from 1.1.1.1: seq=1 ttl=58 time=3.114 ms
64 bytes from 1.1.1.1: seq=2 ttl=58 time=1.896 ms
64 bytes from 1.1.1.1: seq=3 ttl=58 time=4.110 ms
^C
--- 1.1.1.1 ping statistics ---
4 packets transmitted, 4 packets received, 0% packet loss
round-trip min/avg/max = 1.896/3.108/4.110 ms

ale

ping wp.pl
ping: bad address 'wp.pl'

4 (edytowany przez OdoMarTus 2025-11-09 11:42:08)

Odp: OpenWRT 24.01 + Cudy TR3000 -> opkg update from GUI => Error

On robi jedynie za AP
i urżądzenia po wifi mają dostep do internetu

Ale mam Orange Światłowód i odwakacji gdy przegrzał mi się FunBoxto np. po kilku dniach na nim wysiadal DHCP.

Ale ten problem wystepuje też po pełnych wy laczeniach tego Cudy jako AP i samego FunBoxa

5

Odp: OpenWRT 24.01 + Cudy TR3000 -> opkg update from GUI => Error

Ustaw dns takie jak ci operator daje i zobacz.

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

6 (edytowany przez OdoMarTus 2025-11-09 12:18:30)

Odp: OpenWRT 24.01 + Cudy TR3000 -> opkg update from GUI => Error

Zresetowałem i standardowo skonfigurowalem pod sieć. Ten sam przypadek./ Funbox szwankuje, ale i tak na przełomie roku zmieniam umowę na inną prędkość - więc się te 2 miechy bez cloudflare przemęczę.


Zamykam