Lien vers [[anthony_messe:anthony_messe|l'accueil]] ====== Création d'un point d'accès sur la Banana Pi M1+ ====== Solution fonctionnelle [[/anthony_messe:banana_pi:wifi_dongle|ici]]. ===== Avec le wifi intégré à la carte (ne fonctionne pas) ===== > BPI-M1+ support AP6181 wifi module on board. it support 802.11/b/g/n wifi. Source : fiche technique ({{:anthony_messe:bpi-m1_.pdf|}}) ^ Dispositifs Ampak ^^^^^^ ^ Dispositif ^ Type ^ usb/sdio id ^ module ^ sunxi-3.4 kernel ^ mainline kernel ^ | AP6181 | SDIO/UART | 02d0:a962 | Voir à droite | bcmdhd | brcmfmac | | AP6210 | SDIO/UART | 02d0:a962 | Voir à droite | bcmdhd | brcmfmac | | AP6212 | SDIO/UART | 02d0:a9a6 | Voir à droite | | brcmfmac | | AP6330 | SDIO/UART | 02d0:4330 | Voir à droite | | brcmfmac | | AP6335 | SDIO/UART | 02d0:4335 | Voir à droite | | brcmfmac | Affichez la version du noyau root@debian:~# uname -a Linux debian 4.9.0-6-armmp-lpae #1 SMP Debian 4.9.82-1+deb9u3 (2018-03-02) armv7l GNU/Linux root@debian:~# Dans notre cas, il s'agit de //brcmfmac//. Ajoutez //non-free// à votre fichier ///etc/apt/sources.list // comme ci-dessous : deb http://deb.debian.org/debian stretch main contrib non-free deb-src http://deb.debian.org/debian stretch main contrib non-free deb http://deb.debian.org/debian stretch-updates main contrib non-free deb-src http://deb.debian.org/debian stretch-updates main contrib non-free deb http://security.debian.org/debian-security/ stretch/updates main contrib non-free deb-src http://security.debian.org/debian-security/ stretch/updates main contrib non-free On met à jour les paquets et on installe le paquet firmware-brcm80211 apt update && apt install firmware-brcm80211 On recharge le module modprobe -r brcmsmac ; modprobe brcmfmac On automatise le chargement du module en éditant le fichier ///etc/modules// et en ajoutant la ligne //brcmfmac// # /etc/modules: kernel modules to load at boot time. # # This file contains the names of kernel modules that should be loaded # at boot time, one per line. Lines beginning with "#" are ignored. brcmfmac On redémarre reboot On vérifie que le module a bien été chargé au démarrage root@debian:~# lsmod | grep brcmsmac brcmsmac 505915 0 cordic 1027 1 brcmsmac bcma 41132 1 brcmsmac mac80211 584961 1 brcmsmac brcmutil 5789 2 brcmsmac,brcmfmac cfg80211 479516 3 brcmsmac,mac80211,brcmfmac root@debian:~# ==== Utilisateurs ayant rencontré des problèmes ==== * https://github.com/libretro/Lakka-LibreELEC/issues/144 ==== Solutions non-officielle (non-testée) ==== * http://linux-sunxi.org/Cubietruck/AP6210 * Avec Bananian OS https://stackoverflow.com/questions/29838514/how-can-i-make-wifi-access-point-on-banana-pro-p * Avec Armbian OS https://forum.armbian.com/topic/472-lemaker-banana-pi-pro-not-recognized-wifi/ * http://www.myhsd.net/bananapro-wifi-access-point/ ==== Résultats des commandes ==== root@debian:~# iwconfig eth0 no wireless extensions. lo no wireless extensions. root@debian:~# root@debian:~# modprobe ap6210 modprobe: FATAL: Module ap6210 not found in directory /lib/modules/4.9.0-6-armmp-lpae root@debian:~# ===== Ressources ===== * https://github.com/BPI-SINOVOIP/BPI_WiFi_Firmware