Hi all,
TL;DR: There is a module missing, and that's why encrypting the wifi credentials are not working, resulting in no wifi connection (fix in next message).
I have recently installed 13.1.0 in on one of my raspberries, but I couldn't get wifi working.
I used the regular wifi.tcz, but after entering the password, it hangs, en no connection is established.
When calling wpa_supplicant directly, I got these messages:
tc@box:~$ sudo wpa_supplicant -i wlan0 -c /etc/wpa_supplicant.conf -D nl80211,wext
Successfully initialized wpa_supplicant
wlan0: SME: Trying to authenticate with 74:cc:88:77:6a:88(SSID='WiFight' freq=2472 MHz)
wlan0: Trying to associate with 74:cc:88:77:6a:88 (SSID='WiFight' freq=2472 MHz)
wlan0: Associated with 74:cc:88:77:6a:88
wlan0: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
nl80211: kernel reports: key addition failed
wlan0: WPA: Failed to set PTK to the driver (alg=3 keylen=16 bssid=74:cc:88:77:6a:88)
wlan0: CTRL-EVENT-DISCONNECTED bssid=74:cc:88:77:6a:88 reason=1 locally_generated=1
wlan0: WPA: 4-Way Handshake failed - pre-shared key may be incorrect
wlan0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="WiFight" auth_failures=1 duration=10 reason=WRONG_KEY
wlan0: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
This line is the important one:
nl80211: kernel reports: key addition failedThere is something wrong with the wifi key, allthough I entered the password correctly.
These messages can be found in the dmesg log:
wlan0: associated
aes_arm: Unknown symbol crypto_it_tab (err -2)
aes_arm: Unknown symbol crypto_aes_set_key (err -2)
aes_arm: Unknown symbol crypto_ft_tab (err -2)
wlan0: deauthenticating from 74:da:88:e7:6a:27 by local choice (Reason: 1=UNSPECIFIED)
And those messages led me to this thread:
http://forum.tinycorelinux.net/index.php?topic=25261.0There is an module (aes_generic.ko) missing that does the encrypting of the wifi credentials.
Is this module missing in the piCore image?
(see temporary fix in message below)