Pages : 1
#1 Le 22/02/2020, à 03:45
- vlotho
Pas de connexion en wifi
Salut,
J'ai un ordinateur mono carte Khadas Vim3 pro et je n'arrive pas à faire fonctionner le wifi sur cette carte.
J'obtiens cette erreur :
root@Khadas:~# ifup wlan0
RTNETLINK answers: File exists
Failed to bring up wlan0.
et des fois j'obtiens aussi :
root@Khadas:~# ifup wlan0
wpa_supplicant: /sbin/wpa_supplicant daemon failed to start
run-parts: /etc/network/if-pre-up.d/wpasupplicant exited with return code 1
Failed to bring up wlan0.
>> cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=18.04
DISTRIB_CODENAME=bionic
DISTRIB_DESCRIPTION="Ubuntu 18.04.4 LTS"
>> lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 1a40:0801 Terminus Technology Inc.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
>> lspci -k -nn | grep -A 3 -i net
>> sudo lshw -C network
>> lsmod | sort
amvdec_avs2 192512 0
amvdec_avs 61440 0
amvdec_h264 118784 0
amvdec_h264mvc 49152 0
amvdec_h265 135168 0
amvdec_mh264 151552 0
amvdec_mjpeg 36864 0
amvdec_mmjpeg 28672 0
amvdec_mmpeg12 40960 0
amvdec_mmpeg4 32768 0
amvdec_mpeg12 90112 0
amvdec_mpeg4 53248 0
amvdec_real 40960 0
amvdec_vc1 53248 0
amvdec_vp9 151552 0
btrfs 1269760 0
decoder_common 176128 17 amvdec_h265,amvdec_mjpeg,amvdec_mh264,amvdec_mmpeg4,amvdec_h264mvc,amvdec_mmjpeg,amvdec_real,stream_input,amvdec_vp9,amvdec_h264,encoder,amvdec_avs2,amv$
dhd 1404928 0
encoder 53248 0
firmware 28672 18 amvdec_h265,amvdec_mjpeg,amvdec_mh264,amvdec_mmpeg4,amvdec_h264mvc,amvdec_mmjpeg,decoder_common,amvdec_real,stream_input,amvdec_vp9,amvdec_h264,encoder,$
galcore 331776 0
iv009_isp 540672 2
iv009_isp_iq 544768 0
iv009_isp_lens 69632 0
iv009_isp_sensor 270336 0
mali_kbase 475136 0
media_clock 45056 12 amvdec_h265,amvdec_mh264,decoder_common,vpu,firmware,stream_input,amvdec_vp9,amvdec_h264,encoder,amvdec_avs2,amvdec_mpeg12,amvdec_avs
Module Size Used by
raid6_pq 106496 1 btrfs
stream_input 180224 10 amvdec_h265,amvdec_mh264,amvdec_h264mvc,amvdec_real,amvdec_vp9,amvdec_h264,amvdec_avs2,amvdec_mpeg12,amvdec_avs,amvdec_mmpeg12
vpu 49152 0
xor 20480 1 btrfs
zram 36864 4
>> iwconfig
wlan0 IEEE 802.11 ESSID:""
Mode:Master Frequency:5.18 GHz Access Point: Not-Associated
Bit Rate:433 Mb/s Tx-Power:32 dBm
Retry min limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Managementmode:All packets received
Link Quality=5/5 Signal level=-2 dBm Noise level=-46 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
>> ifconfig -a
dummy0: flags=130<BROADCAST,NOARP> mtu 1500
ether 72:25:42:21:8f:71 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.5.6 netmask 255.255.255.0 broadcast 192.168.5.255
ether c8:63:14:70:48:6f txqueuelen 1000 (Ethernet)
RX packets 262113 bytes 371593205 (371.5 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 73794 bytes 6075066 (6.0 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 14
ip6_vti0: flags=128<NOARP> mtu 1500
unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 txqueuelen 1 (UNSPEC)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
ip6tnl0: flags=128<NOARP> mtu 1452
unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 txqueuelen 1 (UNSPEC)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
ip_vti0: flags=128<NOARP> mtu 1480
tunnel txqueuelen 1 (IPIP Tunnel)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1 (Boucle locale)
RX packets 28 bytes 3062 (3.0 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 28 bytes 3062 (3.0 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
sit0: flags=128<NOARP> mtu 1480
sit txqueuelen 1 (IPv6-dans-IPv4)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
tunl0: flags=128<NOARP> mtu 1480
tunnel txqueuelen 1 (IPIP Tunnel)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
wlan0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
inet 192.168.5.100 netmask 255.255.255.0 broadcast 192.168.5.255
inet6 fe80::1a93:7fff:fe68:5f2 prefixlen 64 scopeid 0x20<link>
ether 18:93:7f:68:05:f2 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 2 overruns 0 frame 0
TX packets 111 bytes 12942 (12.9 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
>> sudo iwlist scan
wlan0 Scan completed :
Cell 01 - Address: 44:CE:7D:F4:7E:6D
ESSID:"SFR_7E68_5GHZ"
Mode:Managed
Frequency=5.18 GHz (Channel 36)
Quality:3/5 Signal level:-68 dBm Noise level:-46 dBm
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : TKIP
Pairwise Ciphers (2) : CCMP TKIP
Authentication Suites (1) : PSK
IE: Unknown: DD8D0050F204104A0001101044000102103B00010310470010000000000000000000000000000000001021000D4E42365641432D4658432D72301023000D4E42365641432D4658432D723010$
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (2) : CCMP TKIP
Authentication Suites (1) : PSK
Encryption key:on
Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s
36 Mb/s; 48 Mb/s; 54 Mb/s
Cell 02 - Address: D0:6E:DE:01:70:A2
ESSID:"Nordnet_70A1_5G"
Mode:Managed
Frequency:5.18 GHz (Channel 36)
Quality:5/5 Signal level:-44 dBm Noise level:-46 dBm
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : TKIP
Pairwise Ciphers (2) : CCMP TKIP
Authentication Suites (1) : PSK
IE: Unknown: DD800050F204104A0001101044000102103B0001031047001075A0483FDC0234924DEE9B1062860D4F1021000842726F6164636F6D1023000842726F6164636F6D1024000631323334353610$
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (2) : CCMP TKIP
Authentication Suites (1) : PSK
Encryption key:on
Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s
36 Mb/s; 48 Mb/s; 54 Mb/s
Cell 03 - Address: D0:6E:DE:01:70:A3
ESSID:"Nordnet_70A1"
Mode:Managed
Frequency=2.412 GHz (Channel 1)
Quality:5/5 Signal level:-44 dBm Noise level:-46 dBm
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : CCMP
Pairwise Ciphers (1) : CCMP
Authentication Suites (1) : PSK
IE: Unknown: DD800050F204104A0001101044000102103B0001031047001075A0483FDC0234924DEE9B1062860D4F1021000842726F6164636F6D1023000842726F6164636F6D1024000631323334353610$
Encryption key:on
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 6 Mb/s; 9 Mb/s
11 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
48 Mb/s; 54 Mb/s
Cell 04 - Address: 44:CE:7D:F4:7E:6E
ESSID:"SFR_7E68"
Mode:Managed
Frequency:2.462 GHz (Channel 11)
Quality:4/5 Signal level:-59 dBm Noise level:-46 dBm
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : TKIP
Pairwise Ciphers (2) : CCMP TKIP
Authentication Suites (1) : PSK
IE: Unknown: DD8D0050F204104A0001101044000102103B00010310470010000000000000000000000000000000001021000D4E42365641432D4658432D72301023000D4E42365641432D4658432D723010$
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (2) : CCMP TKIP
Authentication Suites (1) : PSK
Encryption key:on
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 6 Mb/s; 9 Mb/s
11 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
48 Mb/s; 54 Mb/s
Cell 05 - Address: 72:CE:7D:F4:7E:6F
ESSID:"SFR WiFi FON"
Mode:Managed
Frequency=2.462 GHz (Channel 11)
Quality:4/5 Signal level:-59 dBm Noise level:-46 dBm
Encryption key:off
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 6 Mb/s; 9 Mb/s
11 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
48 Mb/s; 54 Mb/s
Cell 06 - Address: 72:CE:7D:F4:7E:6D
ESSID:"SFR WiFi Mobile"
Mode:Managed
Frequency=2.462 GHz (Channel 11)
Quality:4/5 Signal level:-59 dBm Noise level:-46 dBm
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : CCMP
Pairwise Ciphers (1) : CCMP
Authentication Suites (1) : 802.1x
Encryption key:on
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 6 Mb/s; 9 Mb/s
11 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
48 Mb/s; 54 Mb/s
>> uname -r -m
4.9.190 aarch64
>> cat /etc/network/interfaces
source /etc/network/interfaces.d/*
# Wired adapter #1
allow-hotplug eth0
no-auto-down eth0
iface eth0 inet dhcp
#iface eth0 inet static
#address 192.168.0.100
#netmask 255.255.255.0
#gateway 192.168.0.1
#dns-nameservers 8.8.8.8 8.8.4.4
# hwaddress ether # if you want to set MAC manually
# pre-up /sbin/ifconfig eth0 mtu 3838 # setting MTU for DHCP, static just: mtu 3838
# Wireless adapter #1
# Armbian ships with network-manager installed by default. To save you time
# and hassles consider using 'sudo nmtui' instead of configuring Wi-Fi settings
# manually. The below lines are only meant as an example how configuration could
# be done in an anachronistic way:
#
auto wlan0
allow-hotplug wlan0
iface wlan0 inet static
address 192.168.5.100
netmask 255.255.255.0
gateway 192.168.5.1
#dns-nameservers 8.8.8.8 8.8.4.4
# wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
# Disable power saving on compatible chipsets (prevents SSH/connection dropouts over WiFi)
#wireless-mode Managed
#wireless-power off
wpa-essid Nordnet_70A1
#wpa-ap-scan 1
#wpa-scan-ssid 1
#wpa-key-mgmt WPA-PSK
#wpa-group CCMP
#wpa-pairwise CCMP
#wpa-proto RSN
#wpa-psk dalmas13
# Local loopback
auto lo
iface lo inet loopback
>> nm-tool
>> nmcli dev wifi
>> nmcli connection list (< 15.04) ou nmcli connection show (>= 15.04)
>> nmcli connection status
>> sudo rfkill list
0: bt-dev: Bluetooth
Soft blocked: no
Hard blocked: no
1: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
2: brcmfmac-wifi: Wireless LAN
Soft blocked: no
Hard blocked: no
3: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
Hors ligne
#2 Le 22/02/2020, à 06:46
- xubu1957
Re : Pas de connexion en wifi
Bonjour,
Cette carte > khadas-vim3-pro-2.2ghz
avec ce chipset > sparklan ?
Tente :
sudo modprobe brcmfmac
_ _ _
Tu pourrais fournir :
dmesg | grep brcmfmac
?
Dernière modification par xubu1957 (Le 22/02/2020, à 07:06)
Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Réso|u] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci. Membre de Linux-Azur
En ligne
#3 Le 19/09/2020, à 05:12
- xubu1957
Re : Pas de connexion en wifi
Bonjour,
Tu as réussi à faire fonctionner le wifi ?
Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Réso|u] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci. Membre de Linux-Azur
En ligne
Pages : 1