hi wulfy23
getting constant
daemon.err collectd[9670]: exec plugin: exec_read_one: error = Unknown qdisc type 'fq_codel' on interface 'eth1'
not using SQM...
eth1 is an USB adpater
any idea? (at least to turn it off:)
tx
hi wulfy23
getting constant
daemon.err collectd[9670]: exec plugin: exec_read_one: error = Unknown qdisc type 'fq_codel' on interface 'eth1'
not using SQM...
eth1 is an USB adpater
any idea? (at least to turn it off:)
tx
yup, this is at the bottom of /etc/config/luci_statistics and related to sqm-graphs... you can comment out those three(4) lines to turn it off...
#config collectd_exec_input 'collectd_exec_input'
# option cmduser 'nobody'
# option cmdgroup 'nogroup'
# option cmdline '/usr/libexec/collectd/sqm_collectd.sh eth1'
( and restart luci_statistics )
newer builds silence this with a one-per-boot message in /usr/libexec/collectd/sqm_collectd.sh
case "$qdisc" in
cake) handle_cake "$ifc"
;;
mq) handle_mq "$ifc"
;;
#ORG *) echo "Unknown qdisc type '$qdisc' on interface '$ifc'" 1>&2; ;;
*)
if [ ! -f /tmp/cakestatwarn ]; then
echo "Unknown qdisc type '$qdisc' on interface '$ifc'" 1>&2;
touch /tmp/cakestatwarn
fi
;;
esac
i am getting the same error and i am using sqm with piece of cake
you probably need to go into the luci_statistics settings ( statistics > setup > general plugins > exec [configure] )
and update the script ( eth1 parameter ) to reference the actual interface you have sqm instantiated on ( ppp? )...
in the text box labelled 'script', you need to change 'eth1' to whatever sqm interface you are running...
currently it is pppoe-wan
Thu Oct 1 23:44:16 2020 daemon.err collectd[18817]: processes plugin: Creating taskstats handle failed.
Thu Oct 1 23:44:16 2020 daemon.err collectd[18817]: Initialization complete, entering read-loop.
Thu Oct 1 23:44:17 2020 daemon.err collectd[18817]: rrdtool plugin: rrd_update_r failed: /tmp/rrd/network/sqmcake-pppoe-wan/qdisct_latencyus-T0.rrd: opening '/tmp/rrd/network/sqmcake-pppoe-wan/qdisct_latencyus-T0.rrd': No such file or directory
What does iw list
give?
cp /etc/custom/wifimods/lib-netifd-netifd-wireless.sh-original /lib/netifd/netifd-wireless.sh
iw list
Wiphy phy0
wiphy index: 0
max # scan SSIDs: 10
max scan IEs length: 2048 bytes
max # sched scan SSIDs: 16
max # match sets: 16
max # scan plans: 1
max scan plan interval: 508
max scan plan iterations: 0
Retry short limit: 7
Retry long limit: 4
Coverage class: 0 (up to 0m)
Supported Ciphers:
* WEP40 (00-0f-ac:1)
* WEP104 (00-0f-ac:5)
* TKIP (00-0f-ac:2)
* CCMP-128 (00-0f-ac:4)
* CMAC (00-0f-ac:6)
Available Antennas: TX 0 RX 0
Supported interface modes:
* IBSS
* managed
* AP
* P2P-client
* P2P-GO
* P2P-device
Band 1:
Capabilities: 0x1022
HT20/HT40
Static SM Power Save
RX HT20 SGI
No RX STBC
Max AMSDU length: 3839 bytes
DSSS/CCK HT40
Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
Minimum RX AMPDU time spacing: 16 usec (0x07)
HT TX/RX MCS rate indexes supported: 0-7
Bitrates (non-HT):
* 1.0 Mbps
* 2.0 Mbps (short preamble supported)
* 5.5 Mbps (short preamble supported)
* 11.0 Mbps (short preamble supported)
* 6.0 Mbps
* 9.0 Mbps
* 12.0 Mbps
* 18.0 Mbps
* 24.0 Mbps
* 36.0 Mbps
* 48.0 Mbps
* 54.0 Mbps
Frequencies:
* 2412 MHz [1] (20.0 dBm)
* 2417 MHz [2] (20.0 dBm)
* 2422 MHz [3] (20.0 dBm)
* 2427 MHz [4] (20.0 dBm)
* 2432 MHz [5] (20.0 dBm)
* 2437 MHz [6] (20.0 dBm)
* 2442 MHz [7] (20.0 dBm)
* 2447 MHz [8] (20.0 dBm)
* 2452 MHz [9] (20.0 dBm)
* 2457 MHz [10] (20.0 dBm)
* 2462 MHz [11] (20.0 dBm)
* 2467 MHz [12] (20.0 dBm)
* 2472 MHz [13] (20.0 dBm)
* 2484 MHz [14] (disabled)
Band 2:
Capabilities: 0x1062
HT20/HT40
Static SM Power Save
RX HT20 SGI
RX HT40 SGI
No RX STBC
Max AMSDU length: 3839 bytes
DSSS/CCK HT40
Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
Minimum RX AMPDU time spacing: 16 usec (0x07)
HT TX/RX MCS rate indexes supported: 0-7
VHT Capabilities (0x00001020):
Max MPDU length: 3895
Supported Channel Width: neither 160 nor 80+80
short GI (80 MHz)
SU Beamformee
VHT RX MCS set:
1 streams: MCS 0-9
2 streams: not supported
3 streams: not supported
4 streams: not supported
5 streams: not supported
6 streams: not supported
7 streams: not supported
8 streams: not supported
VHT RX highest supported: 0 Mbps
VHT TX MCS set:
1 streams: MCS 0-9
2 streams: not supported
3 streams: not supported
4 streams: not supported
5 streams: not supported
6 streams: not supported
7 streams: not supported
8 streams: not supported
VHT TX highest supported: 0 Mbps
Bitrates (non-HT):
* 6.0 Mbps
* 9.0 Mbps
* 12.0 Mbps
* 18.0 Mbps
* 24.0 Mbps
* 36.0 Mbps
* 48.0 Mbps
* 54.0 Mbps
Frequencies:
* 5170 MHz [34] (disabled)
* 5180 MHz [36] (20.0 dBm)
* 5190 MHz [38] (disabled)
* 5200 MHz [40] (20.0 dBm)
* 5210 MHz [42] (disabled)
* 5220 MHz [44] (20.0 dBm)
* 5230 MHz [46] (disabled)
* 5240 MHz [48] (20.0 dBm)
* 5260 MHz [52] (20.0 dBm) (no IR, radar detection)
* 5280 MHz [56] (20.0 dBm) (no IR, radar detection)
* 5300 MHz [60] (20.0 dBm) (no IR, radar detection)
* 5320 MHz [64] (20.0 dBm) (no IR, radar detection)
* 5500 MHz [100] (20.0 dBm) (no IR, radar detection)
* 5520 MHz [104] (20.0 dBm) (no IR, radar detection)
* 5540 MHz [108] (20.0 dBm) (no IR, radar detection)
* 5560 MHz [112] (20.0 dBm) (no IR, radar detection)
* 5580 MHz [116] (20.0 dBm) (no IR, radar detection)
* 5600 MHz [120] (20.0 dBm) (no IR, radar detection)
* 5620 MHz [124] (20.0 dBm) (no IR, radar detection)
* 5640 MHz [128] (20.0 dBm) (no IR, radar detection)
* 5660 MHz [132] (20.0 dBm) (no IR, radar detection)
* 5680 MHz [136] (20.0 dBm) (no IR, radar detection)
* 5700 MHz [140] (20.0 dBm) (no IR, radar detection)
* 5720 MHz [144] (disabled)
* 5745 MHz [149] (disabled)
* 5765 MHz [153] (disabled)
* 5785 MHz [157] (disabled)
* 5805 MHz [161] (disabled)
* 5825 MHz [165] (disabled)
Supported commands:
* new_interface
* set_interface
* new_key
* start_ap
* join_ibss
* set_pmksa
* del_pmksa
* flush_pmksa
* remain_on_channel
* frame
* set_wiphy_netns
* set_channel
* start_sched_scan
* start_p2p_device
* connect
* disconnect
* crit_protocol_start
* crit_protocol_stop
Supported TX frame types:
* managed: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
* AP: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
* P2P-client: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
* P2P-GO: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
* P2P-device: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
Supported RX frame types:
* managed: 0x40 0xd0
* AP: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
* P2P-client: 0x40 0xd0
* P2P-GO: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
* P2P-device: 0x40 0xd0
software interface modes (can always be added):
valid interface combinations:
* #{ managed } <= 1, #{ P2P-device } <= 1, #{ P2P-client, P2P-GO } <= 1,
total <= 3, #channels <= 2
* #{ managed } <= 1, #{ AP } <= 1, #{ P2P-client } <= 1, #{ P2P-device } <= 1,
total <= 4, #channels <= 1
Device supports scan flush.
Device supports randomizing MAC-addr in sched scans.
Supported extended features:
* [ 4WAY_HANDSHAKE_STA_PSK ]: 4-way handshake with PSK in station mode
* [ 4WAY_HANDSHAKE_STA_1X ]: 4-way handshake with 802.1X in station mode
* [ DFS_OFFLOAD ]: DFS offload
* [ SAE_OFFLOAD ]: SAE offload support
no output from this command
Are you trying to connect as client or use it as access point?
trying to use it as access point
i will use it as guest wifi because on tplink router as access point without dhcp speed limit or mac filtering will not work i need to limit speed for guest wifi access point and also mac filtering
What is the output of uci export network; uci export wireless
? Don't forget to remove sensitive data (keys, passwords, usernames)
uci export wireless
package wireless
config wifi-device 'radio0'
option type 'mac80211'
option path 'platform/soc/fe300000.mmcnr/mmc_host/mmc1/mmc1:0001/mmc1:0001:1'
option noscan '1'
option legacy_rates '0'
option htmode 'HT20'
option hwmode '11g'
option txpower '20'
option channel '8'
config wifi-iface 'wifinet0'
option device 'radio0'
option mode 'ap'
option encryption 'sae-mixed'
option key '****'
option network 'lan'
option ssid 'testing'
uci export network
package network
config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config globals 'globals'
option packet_steering '1'
config interface 'lan'
option type 'bridge'
option ifname 'eth0'
option proto 'static'
option netmask '255.255.255.0'
option ip6assign '60'
option ipaddr '192.168.1.2'
list dns '127.0.0.1'
option igmp_snooping '1'
config interface 'wan'
option proto 'pppoe'
option ifname 'eth1'
option username 'X'
option password 'X'
option ipv6 'auto'
option peerdns '0'
option hostname 'router'
list dns '127.0.0.1'
list dns '0::1'
config interface 'modem'
option proto 'static'
option ifname 'eth1'
option ipaddr 'X'
option netmask '255.255.255.0'
config interface 'IPTV'
option ifname 'eth1'
option proto 'static'
option netmask '255.255.255.0'
option ipaddr '10.10.10.1'
You don't need such entries
list dns '127.0.0.1'
list dns '0::1'
I tried to activate the wireless myself and it seems that there is some hidden leftover configuration from @anon50098793.
Country was set to AU, there was some ap101 client configuration, and after trying to wipe them I am not able to configure the radio.
As so many people were having issues with ac-AP, there is an experimental init-logic in the netifd file referenced above, ( which nobody reported working so i'll remove it next build )... copying the original back should get you back to fairly stock code...
cp /etc/custom/wifimods/lib-netifd-netifd-wireless.sh-original /lib/netifd/netifd-wireless.sh
( in older builds this was done in init.d/wpad andor mac80211.sh... )
As for the values, apologies... I'll triple check things but setting up values should really only be done on install ( possibly on vanilla config also ) ... when config is default / vanilla... ( it's likely they are just 'alternate defaults', logread might show where / why settings were altered )
Thanks for the feedback...