This script is used to monitor bitrate of choosen iface (useful for WDS connections)
Clone it in current directory and then proceed installation:
git clone git://github.com/emilwojcik93/openwrt_bitrate-monitor.git
cd openwrt_bitrate-monitor
chmod 755 "./bitrate_check.sh" && ./bitrate_check.sh wlan1 auto
You may choose to ignore the certificates check using:
curl -k
wget --no-check-certificate
Or you will need to fix your /etc/ssl/certs/ca-certificates.crt
installation.
Please note that SSL support takes quite a lot of storage space.
This should be enough to make SSL work:
opkg install ca-certificates openssl-util
And this may be a workaround if you still have problems:
mkdir -p -m0755 /etc/ssl/certs && curl -k -o /etc/ssl/certs/ca-certificates.crt -L http://curl.haxx.se/ca/cacert.pem
Relevant links:
- https://wiki.openwrt.org/doc/howto/wget-ssl-certs
- https://forum.openwrt.org/viewtopic.php?pid=284368#p284368
- https://dev.openwrt.org/ticket/19621
# using wget with SSL
wget 'https://raw.githubusercontent.com/emilwojcik93/openwrt_bitrate-monitor/main/bitrate_check.sh' -O "/tmp/bitrate_check.sh" && chmod 755 "/tmp/bitrate_check.sh" && /tmp/bitrate_check.sh wlan1 auto
# using wget WITHOUT SSL
wget --no-check-certificate 'https://raw.githubusercontent.com/emilwojcik93/openwrt_bitrate-monitor/main/bitrate_check.sh' -O "/tmp/bitrate_check.sh" && chmod 755 "/tmp/bitrate_check.sh" && /tmp/bitrate_check.sh wlan1 auto
# using curl with SSL
curl -L 'https://raw.githubusercontent.com/emilwojcik93/openwrt_bitrate-monitor/main/bitrate_check.sh' -o "/tmp/bitrate_check.sh" && chmod 755 "/tmp/bitrate_check.sh" && /tmp/bitrate_check.sh wlan1 auto
# using curl WITHOUT SSL
curl -k -L 'https://raw.githubusercontent.com/emilwojcik93/openwrt_bitrate-monitor/main/bitrate_check.sh' -o "/tmp/bitrate_check.sh" && chmod 755 "/tmp/bitrate_check.sh" && /tmp/bitrate_check.sh wlan1 auto