ip link add link eth0 name wlan0 type virt_wifi
Gave in links you sent me. I can activate the wifi device, go in setting, i can see the "virtwifi" AP available,
but cannot connect to it.
[ 20.494523] modprobe: rtnl-link-virt_wifi
[ 20.539202] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 20.541213] modprobe: crypto-pkcs1pad(rsa,sha256)
[ 20.555503] modprobe: crypto-pkcs1pad(rsa,sha256)-all
[ 20.568435] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[ 20.570255] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[ 20.571161] cfg80211: failed to load regulatory.db
[ 0.462518] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 0.463498] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[ 0.464340] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[ 0.465145] cfg80211: failed to load regulatory.db
ip link add link eth0 name wlan0 type virt_wifi
global
country 00: DFS-UNSET
(2402 - 2472 @ 40), (6, 20), (N/A)
(2457 - 2482 @ 20), (6, 20), (N/A), AUTO-BW, PASSIVE-SCAN
(2474 - 2494 @ 20), (6, 20), (N/A), NO-OFDM, PASSIVE-SCAN
(5170 - 5250 @ 80), (6, 20), (N/A), AUTO-BW, PASSIVE-SCAN
(5250 - 5330 @ 80), (6, 20), (0 ms), DFS, AUTO-BW, PASSIVE-SCAN
(5490 - 5730 @ 160), (6, 20), (0 ms), DFS, PASSIVE-SCAN
(5735 - 5835 @ 80), (6, 20), (N/A), PASSIVE-SCAN
(57240 - 63720 @ 2160), (N/A, 0), (N/A)
iw reg set US
[ 479.952320] modprobe: reg
[ 482.676163] modprobe: netdev-reg
ip addr
4: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop qlen 1000
link/ether 52:54:00:12:34:56 brd ff:ff:ff:ff:ff:ff
5: wlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop qlen 1000
link/ether 52:54:00:12:34:56 brd ff:ff:ff:ff:ff:ff
Well played Android x86 team ! Very good job =).
Regards, Bastien