We are not having much luck with your system lol. The code can be pasted in, not sure why its not being applied. We need to see if the service started.
Please run the following (we can check proftpd at the same time):
systemctl status set_crda_country.service
systemctl status proftpd
Instead of setting iw reg set CA, can we set an environment variable that crda is looking for?
Both are dead. I also included the systemctl status that says “degraded”. Also have 2 dropbears - Is that correct? Currently using ssh if that makes a difference for dropbears.
Gordon
root@DietPi:~# systemctl status set_crda_country.service
● set_crda_country.service - Sets country for CRDA
Loaded: loaded (/etc/systemd/system/set_crda_country.service; enabled)
Active: inactive (dead)
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
declare -x HOME="/root"
declare -x LANG=“en_CA.UTF-8”
declare -x LOGNAME=“root”
declare -x OLDPWD
declare -x PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
declare -x PWD="/root"
declare -x SHELL="/bin/bash"
declare -x SHLVL=“1”
declare -x SSH_CONNECTION=“192.168.1.105 39309 192.168.1.111 22”
declare -x SSH_TTY="/dev/pts/0"
declare -x TERM=“xterm”
declare -x USER=“root”
-bash: /DietPi/dietpi/login: No such file or directory
Went back to Whezey and things are back to what they were. You need crda installed to prevent all the calling crda that makes for a long boot time. It still goes world,CN,CA, but I don’t think that we are going to do anything better and with crda installed it is much better than before.
Interestingly I used another usb wifi dongle. It boots slightly faster as there is no crda nonsense, there are no ath9xxx modules and no cfg80211 module.
Most interesting though is this small realtek module during wifi file transfer uses a lot less CPU power. With the atheros module there is only 3% idle cpu while with the realtek module it is 28% idle. That is a pretty big difference. The difference is that the Atheros uses 25% of the rpi resources in the ksoftirqd and kworker treads. More processing must be done in the realtek wifi module, I suppose.
Thanks for the info. This should help users looking to purchase a usb wifi device, and, possibly avoid Atheros based cards with high CPU usage.
Realtek seems to be the chipset choice for Jessie. My Edimax nano wifi is RTL8182cus. Has high latency, but never had an issue with it.
Regarding Jessie, I’ve patched DietPi to install cdra and iw previously, so all users will now have these installed by default.