Hi,
On booting up dietpi on a rpi B it takes a while before the wireless comes up and I can ssh into it. I’m running it headless with dietpi v92.
dmesg shows the info below. Lots of time is spent calling CRDA. Can this be set so this doesn’t happen?
I’m not sure why CRDA can’t be found. The rpi has an internet connection.
What can I do to speed up the time from power on to being able to ssh into the rpi.?
Thanks,
Gordon Williams
[ 2.060620] EXT4-fs (mmcblk0p2): INFO: recovery required on readonly filesystem
[ 2.074497] EXT4-fs (mmcblk0p2): write access will be enabled during recovery
[ 2.143721] usb 1-1: new high-speed USB device number 2 using dwc_otg
[ 2.158443] Indeed it is in host mode hprt0 = 00001101
[ 2.374540] usb 1-1: New USB device found, idVendor=0424, idProduct=9512
[ 2.388859] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 2.404689] hub 1-1:1.0: USB hub found
[ 2.416735] hub 1-1:1.0: 3 ports detected
[ 2.703723] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[ 2.814090] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
[ 2.827160] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 2.843808] smsc95xx v1.0.4
[ 2.908733] smsc95xx 1-1.1:1.0 eth0: register ‘smsc95xx’ at usb-20980000.usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:a5:0d:22
[ 3.003689] usb 1-1.3: new high-speed USB device number 4 using dwc_otg
[ 3.135215] usb 1-1.3: New USB device found, idVendor=0cf3, idProduct=9271
[ 3.149039] usb 1-1.3: New USB device strings: Mfr=16, Product=32, SerialNumber=48
[ 3.163353] usb 1-1.3: Product: USB2.0 WLAN
[ 3.173866] usb 1-1.3: Manufacturer: ATHEROS
[ 3.184828] usb 1-1.3: SerialNumber: 12345
[ 7.899081] EXT4-fs (mmcblk0p2): recovery complete
[ 8.255334] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[ 8.270064] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[ 8.285529] devtmpfs: mounted
[ 8.296047] Freeing unused kernel memory: 348K (c07c3000 - c081a000)
[ 10.082457] udevd[159]: starting version 175
[ 11.454022] gpiomem-bcm2835 20200000.gpiomem: Initialised: Registers at 0x20200000
[ 12.466613] cfg80211: Calling CRDA to update world regulatory domain
[ 12.863542] usb 1-1.3: ath9k_htc: Firmware htc_9271.fw requested
[ 12.954152] usbcore: registered new interface driver ath9k_htc
[ 13.166174] usb 1-1.3: ath9k_htc: Transferred FW: htc_9271.fw, size: 51272
[ 13.249978] random: nonblocking pool is initialized
[ 13.412086] ath9k_htc 1-1.3:1.0: ath9k_htc: HTC initialized with 33 credits
[ 15.654128] cfg80211: Calling CRDA to update world regulatory domain
[ 15.880552] ath9k_htc 1-1.3:1.0: ath9k_htc: FW Version: 1.3
[ 15.913913] ath9k_htc 1-1.3:1.0: FW RMW support: Off
[ 15.933892] ath: EEPROM regdomain: 0x809c
[ 15.933923] ath: EEPROM indicates we should expect a country code
[ 15.933940] ath: doing EEPROM country->regdmn map search
[ 15.933961] ath: country maps to regdmn code: 0x52
[ 15.934020] ath: Country alpha2 being used: CN
[ 15.934033] ath: Regpair used: 0x52
[ 16.065344] ieee80211 phy0: Atheros AR9271 Rev:1
[ 16.104087] cfg80211: Calling CRDA to update world regulatory domain
[ 18.183520] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[ 18.843962] cfg80211: Calling CRDA to update world regulatory domain
[ 19.185282] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[ 22.044036] cfg80211: Calling CRDA to update world regulatory domain
[ 25.233852] cfg80211: Calling CRDA to update world regulatory domain
[ 28.423901] cfg80211: Calling CRDA to update world regulatory domain
[ 31.614044] cfg80211: Calling CRDA to update world regulatory domain
[ 34.803859] cfg80211: Calling CRDA to update world regulatory domain
[ 36.470964] smsc95xx 1-1.1:1.0 eth0: hardware isn’t capable of remote wakeup
[ 37.997142] cfg80211: Calling CRDA to update world regulatory domain
[ 39.894454] wlan0: authenticate with 64:66:b3:f4:35:f8
[ 40.895086] wlan0: send auth to 64:66:b3:f4:35:f8 (try 1/3)
[ 40.904435] wlan0: authenticated
[ 40.906801] ath9k_htc 1-1.3:1.0 wlan0: disabling HT/VHT due to WEP/TKIP use
[ 41.154017] cfg80211: Calling CRDA to update world regulatory domain
[ 44.313780] cfg80211: Calling CRDA to update world regulatory domain
[ 47.473935] cfg80211: Calling CRDA to update world regulatory domain
[ 50.633803] cfg80211: Exceeded CRDA call max attempts. Not calling CRDA
[ 86.887378] wlan0: associate with 64:66:b3:f4:35:f8 (try 1/3)
[ 95.012187] wlan0: associate with 64:66:b3:f4:35:f8 (try 2/3)
[ 95.557869] Adding 102396k swap on /var/swap. Priority:-1 extents:1 across:102396k SSFS
[ 103.129204] wlan0: associate with 64:66:b3:f4:35:f8 (try 3/3)
[ 111.250545] wlan0: association with 64:66:b3:f4:35:f8 timed out
[ 113.812027] wlan0: authenticate with 64:66:b3:f4:35:f8
[ 114.813087] wlan0: send auth to 64:66:b3:f4:35:f8 (try 1/3)
[ 114.824596] wlan0: authenticated
[ 114.833994] wlan0: associate with 64:66:b3:f4:35:f8 (try 1/3)
[ 114.839964] wlan0: RX AssocResp from 64:66:b3:f4:35:f8 (capab=0x411 status=0 aid=3)
[ 114.864205] wlan0: associated
[ 114.864716] cfg80211: Calling CRDA to update world regulatory domain
[ 118.023912] cfg80211: Calling CRDA to update world regulatory domain
[ 121.183951] cfg80211: Calling CRDA to update world regulatory domain
[ 124.343939] cfg80211: Calling CRDA to update world regulatory domain
[ 127.503983] cfg80211: Calling CRDA to update world regulatory domain
[ 130.663991] cfg80211: Calling CRDA to update world regulatory domain
[ 133.823980] cfg80211: Calling CRDA to update world regulatory domain
[ 136.984015] cfg80211: Calling CRDA to update world regulatory domain
[ 140.144058] cfg80211: Calling CRDA to update world regulatory domain
[ 143.304102] cfg80211: Calling CRDA to update world regulatory domain
[ 146.464059] cfg80211: Calling CRDA to update world regulatory domain
[ 149.624067] cfg80211: Exceeded CRDA call max attempts. Not calling CRDA
root@dietpi:~#