1

Temat: [R6220) Variable 'data' does not exist or is not an array/object

OpenWrt 23.05.3, co ciekawe na snapshot chodzi ok na tym samym configu.


Sat Aug  3 13:22:56 2024 daemon.notice hostapd: Set new config for phy phy1:
Sat Aug  3 13:22:56 2024 daemon.notice hostapd: Remove interface 'phy1'
Sat Aug  3 13:22:56 2024 daemon.notice hostapd: phy1-ap0: interface state ENABLED->DISABLED
Sat Aug  3 13:22:56 2024 daemon.notice hostapd: phy1-ap0: AP-DISABLED
Sat Aug  3 13:22:56 2024 daemon.notice hostapd: phy1-ap0: CTRL-EVENT-TERMINATING
Sat Aug  3 13:22:56 2024 daemon.err hostapd: rmdir[ctrl_interface=/var/run/hostapd]: Permission denied
Sat Aug  3 13:22:56 2024 daemon.notice hostapd: nl80211: deinit ifname=phy1-ap0 disabled_11b_rates=0
Sat Aug  3 13:22:56 2024 kern.info kernel: [206535.826135] device phy1-ap0 left promiscuous mode
Sat Aug  3 13:22:56 2024 kern.info kernel: [206535.836088] br-lan: port 6(phy1-ap0) entered disabled state
Sat Aug  3 13:22:57 2024 daemon.notice wpa_supplicant[1387]: Set new config for phy phy1
Sat Aug  3 13:22:57 2024 daemon.notice netifd: Wireless device 'radio1' is now down
Sat Aug  3 13:22:58 2024 daemon.notice netifd: radio1 (13499): WARNING: Variable 'data' does not exist or is not an array/object
Sat Aug  3 13:22:58 2024 daemon.notice hostapd: Set new config for phy phy1:
Sat Aug  3 13:22:58 2024 daemon.notice wpa_supplicant[1387]: Set new config for phy phy1
Sat Aug  3 13:22:59 2024 daemon.notice wpa_supplicant[1387]: Set new config for phy phy1
Sat Aug  3 13:22:59 2024 daemon.notice hostapd: Set new config for phy phy1: /var/run/hostapd-phy1.conf
Sat Aug  3 13:22:59 2024 daemon.notice hostapd: Restart interface for phy phy1
Sat Aug  3 13:22:59 2024 daemon.notice hostapd: Configuration file: data: driver=nl80211 logger_syslog=127 logger_syslog_level=2 logger_stdout=127 logger_stdout_level=2 country_code=PA ieee80211d=1 ieee80211h=1 hw_mode=a beacon_int=100 chanlist=136 tx_queue_data2_burst=2.0 #num_global_macaddr=1 ieee80211n=1 ht_coex=0 ht_capab=[HT40-][LDPC][SHORT-GI-20][SHORT-GI-40][TX-STBC][RX-STBC1] ieee80211ac=1 vht_oper_chwidth=1 vht_oper_centr_freq_seg0_idx=138 vht_capab=[RXLDPC][SHORT-GI-80][TX-STBC-2BY1][RX-ANTENNA-PATTERN][TX-ANTENNA-PATTERN][RX-STBC-1][MAX-A-MPDU-LEN-EXP3] channel=136  interface=phy1-ap0 bssid=****** ctrl_interface=/var/run/hostapd ap_isolate=1 bss_load_update_period=60 chan_util_avg_period=600 disassoc_low_ack=1 skip_inactivity_poll=0 preamble=1 wmm_enabled=1 ignore_broadcast_ssid=0 uapsd_advertisement_enabled=1 utf8_ssid=1 multi_ap=0 wpa_passphrase=**** wpa_psk_file=/var/run/hostapd-phy1-ap0.psk auth_algs=1 wpa=2 wpa_pairwise=CCMP ssid=AP-**** bridge=br-lan wds_bridge= snoop_iface=br-l
Sat Aug  3 13:22:59 2024 kern.info kernel: [206538.686144] br-lan: port 6(phy1-ap0) entered blocking state
Sat Aug  3 13:22:59 2024 kern.info kernel: [206538.697655] br-lan: port 6(phy1-ap0) entered disabled state
Sat Aug  3 13:22:59 2024 kern.info kernel: [206538.709475] device phy1-ap0 entered promiscuous mode
Sat Aug  3 13:22:59 2024 kern.info kernel: [206538.719945] br-lan: port 6(phy1-ap0) entered blocking state
Sat Aug  3 13:22:59 2024 kern.info kernel: [206538.731266] br-lan: port 6(phy1-ap0) entered forwarding state
Sat Aug  3 13:22:59 2024 kern.info kernel: [206538.743791] br-lan: port 6(phy1-ap0) entered disabled state
Sat Aug  3 13:22:59 2024 daemon.notice hostapd: phy1-ap0: interface state UNINITIALIZED->COUNTRY_UPDATE
Sat Aug  3 13:22:59 2024 daemon.notice hostapd: phy1-ap0: interface state COUNTRY_UPDATE->HT_SCAN
Sat Aug  3 13:22:59 2024 daemon.notice netifd: Wireless device 'radio1' is now up
Sat Aug  3 13:23:00 2024 kern.info kernel: [206539.845601] IPv6: ADDRCONF(NETDEV_CHANGE): phy1-ap0: link becomes ready
Sat Aug  3 13:23:00 2024 kern.info kernel: [206539.859368] br-lan: port 6(phy1-ap0) entered blocking state
Sat Aug  3 13:23:00 2024 kern.info kernel: [206539.870713] br-lan: port 6(phy1-ap0) entered forwarding state
Sat Aug  3 13:23:00 2024 daemon.notice netifd: Network device 'phy1-ap0' link is up
Sat Aug  3 13:23:00 2024 daemon.notice hostapd: phy1-ap0: interface state HT_SCAN->ENABLED
Sat Aug  3 13:23:00 2024 daemon.notice hostapd: phy1-ap0: AP-ENABLED

Wkleiłem tylko część z moich sieci:

config wifi-device 'radio0'
    option type 'mac80211'
    option path '1e140000.pcie/pci0000:00/0000:00:02.0/0000:02:00.0'
    option band '2g'
    option htmode 'HT20'
    option cell_density '0'
    option country 'PA'
    option channel '7'
    option txpower '23'
    option disabled '0'

config wifi-iface 'default_radio0'
    option device 'radio0'
    option mode 'ap'
    option ssid 'AP-****'
    option ieee80211r '1'
    option ft_over_ds '1'
    option ft_psk_generate_local '1'
    option network 'camis'
    option key '******'
    option encryption 'psk2+ccmp'
    option time_advertisement '2'
    option time_zone 'GMT0'
    option ieee80211k '1'
    option rrm_neighbor_report '1'
    option rrm_beacon_report '1'
    option ieee80211w '1'

config wifi-device 'radio1'
    option type 'mac80211'
    option path '1e140000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0'
    option band '5g'
    option htmode 'VHT80'
    option cell_density '0'
    option country 'PA'
    option channel '136'
    option txpower '23'
    option disabled '0'


config wifi-iface 'wifinet3'
    option device 'radio1'
    option mode 'ap'
    option ssid 'AP-****'
    option encryption 'psk2+ccmp'
    option key '*****'
    option ieee80211r '1'
    option ft_over_ds '1'
    option ft_psk_generate_local '1'
    option network 'camis'
    option time_advertisement '2'
    option time_zone 'GMT0'
    option ieee80211k '1'
    option rrm_neighbor_report '1'
    option rrm_beacon_report '1'
    option ieee80211w '1'

2

Odp: [R6220) Variable 'data' does not exist or is not an array/object

Normalna sprawa z tym Variable 'data' does not exist or is not an array/object, pojawia się podczas inicjacji radia. Uruchomiło ci się radio przecież.

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

3

Odp: [R6220) Variable 'data' does not exist or is not an array/object

To samo na dir-878. A radio wstaje bez problemu.