有線wpa_supplicant接続を確立しようとしていますが、ワイヤレスドライバを使用したいようです。 "ドライバ 'nl80211を初期化できません。"正しいネットワークドライバが見つからないのですか、それとも間違ったネットワークドライバを選択させる原因がありますか?
5.10.62カーネルを実行し、buildrootを使用して構築されたカスタムLinuxビルドを含む組み込みシステム。以前は4.13カーネルを使ったことがあります。
実行しようとしたときのフル出力:
$ sudo wpa_supplicant -ddK -D wired -i eth1 -c /etc/wpa_supplicant.conf
wpa_supplicant v2.10
random: Trying to read entropy from /dev/random
Successfully initialized wpa_supplicant
Initializing interface 'eth1' conf '/etc/wpa_supplicant.conf' driver 'wired' ctrl_interface 'N/A' bridge 'N/A'
Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant.conf'
ctrl_interface='/var/run/wpa_supplicant'
ctrl_interface_group='root'
eapol_version=2
ap_scan=0
Line: 5 - start of a new network block
key_mgmt: 0x8
eap methods - hexdump(len=16): 00 00 00 00 0d 00 00 00 00 00 00 00 00 00 00 00
identity - hexdump_ascii(len=6):
74 6f 62 69 61 73 tobias
phase1 - hexdump_ascii(len=0):
ca_cert - hexdump_ascii(len=17):
2f 68 6f 6d 65 2f 74 6c 61 62 2f 63 61 2e 63 72 /home/tlab/ca.cr
74 t
client_cert - hexdump_ascii(len=21):
2f 68 6f 6d 65 2f 74 6c 61 62 2f 63 6c 69 65 6e /home/tlab/clien
74 2e 63 72 74 t.crt
private_key - hexdump_ascii(len=21):
2f 68 6f 6d 65 2f 74 6c 61 62 2f 63 6c 69 65 6e /home/tlab/clien
74 2e 6b 65 79 t.key
private_key_passwd - hexdump_ascii(len=8):
77 68 61 74 65 76 65 72 whatever
eapol_flags=0 (0x0)
Priority group 0
id=0 ssid=''
driver_wired_init_common: Added multicast membership with packet socket
Add interface eth1 to a new radio N/A
eth1: Own MAC address: 94:1d:1c:01:01:95
eth1: RSN: flushing PMKID list in the driver
eth1: Setting scan request: 0.100000 sec
TDLS: TDLS operation not supported by driver
TDLS: Driver uses internal link setup
TDLS: Driver does not support TDLS channel switching
eth1: WPS: UUID based on MAC address: b02840c0-5dc3-559d-9779-706a03fb7584
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: Supplicant port status: Unauthorized
EAPOL: KEY_RX entering state NO_KEY_RECEIVE
EAPOL: SUPP_BE entering state INITIALIZE
EAP: EAP entering state DISABLED
ctrl_interface_group=0 (from group name 'root')
eth1: Added interface eth1
eth1: State: DISCONNECTED -> DISCONNECTED
nl80211: 'nl80211' generic netlink not found
Failed to initialize driver 'nl80211'
eth1: Removing interface eth1
eth1: Request to deauthenticate - bssid=00:00:00:00:00:00 pending_bssid=00:00:00:00:00:00 reason=3 (DEAUTH_LEAVING) state=DISCONNECTED
TDLS: Tear down peers
eth1: State: DISCONNECTED -> DISCONNECTED
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
QM: Clear all active DSCP policies
eth1: CTRL-EVENT-DSCP-POLICY clear_all
eth1: WPA: Clear old PMK and PTK
eth1: Cancelling scan request
eth1: Cancelling authentication timeout
Off-channel: Clear pending Action frame TX (pending_action_tx=(nil)
Off-channel: Action frame sequence done notification: pending_action_tx=(nil) drv_offchan_tx=0 action_tx_wait_time=0 off_channel_freq=0 roc_waiting_drv_freq=0
QM: Clear all active DSCP policies
eth1: CTRL-EVENT-DSCP-POLICY clear_all
Remove interface eth1 from radio
Remove radio
eth1: CTRL-EVENT-TERMINATING
答え1
解決済み - 誤ってLinuxビルド設定からあまりにも多くのエントリを削除し、以下にリストされているパッケージを再追加した後に機能しました。
+CONFIG_WIRELESS=y
+CONFIG_WEXT_CORE=y
+CONFIG_WEXT_PROC=y
+CONFIG_CFG80211=y
+CONFIG_NL80211_TESTMODE=y