Ci-dessous, les différences entre deux révisions de la page.
| Prochaine révision | Révision précédente | ||
|
anthony_messe:banana_pi_wifi_integre [2018/04/19 15:42] Anthony Messé créée |
— (Version actuelle) | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| - | ====== Création d'un point d'accès sur la Banana Pi M1+ ====== | ||
| - | ===== 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 | ||
| - | <code> | ||
| - | 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:~# | ||
| - | </code> | ||
| - | |||
| - | Dans notre cas, il s'agit de //brcmfmac//. Ajoutez //non-free// à votre fichier ///etc/apt/sources.list | ||
| - | // comme ci-dessous : | ||
| - | <code> | ||
| - | # deb http://ftp.us.debian.org/debian/ stretch main | ||
| - | |||
| - | deb http://ftp.us.debian.org/debian/ stretch main contrib non-free | ||
| - | deb-src http://ftp.us.debian.org/debian/ stretch main contrib non-free | ||
| - | |||
| - | deb http://security.debian.org/debian-security stretch/updates main contrib non$ | ||
| - | deb-src http://security.debian.org/debian-security stretch/updates main contrib$ | ||
| - | |||
| - | # stretch-updates, previously known as 'volatile' | ||
| - | deb http://ftp.us.debian.org/debian/ stretch-updates main contrib non-free | ||
| - | deb-src http://ftp.us.debian.org/debian/ stretch-updates main contrib non-free | ||
| - | </code> | ||
| - | |||
| - | |||
| - | On met à jour les paquets et on installe le paquet firmware-brcm80211 | ||
| - | apt-get update && apt-get 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// | ||
| - | |||
| - | <code> | ||
| - | # /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 | ||
| - | </code> | ||
| - | |||
| - | On redémarre | ||
| - | reboot | ||
| - | |||
| - | On vérifie que le module a bien été chargé au démarrage | ||
| - | <code> | ||
| - | 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:~# | ||
| - | </code> | ||
| - | |||
| - | |||
| - | ==== 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 ==== | ||
| - | <code> | ||
| - | root@debian:~# iwconfig | ||
| - | eth0 no wireless extensions. | ||
| - | |||
| - | lo no wireless extensions. | ||
| - | |||
| - | root@debian:~# | ||
| - | </code> | ||
| - | <code> | ||
| - | root@debian:~# modprobe ap6210 | ||
| - | modprobe: FATAL: Module ap6210 not found in directory /lib/modules/4.9.0-6-armmp-lpae | ||
| - | root@debian:~# | ||
| - | </code> | ||
| - | |||
| - | ===== Dongles USB compatibles ===== | ||
| - | |||
| - | * https://wiki.debian.org/WiFi#USB_Devices | ||
| - | |||
| - | |||
| - | ===== Ressources ===== | ||
| - | |||
| - | * https://github.com/BPI-SINOVOIP/BPI_WiFi_Firmware | ||
| - | * https://askubuntu.com/questions/986006/install-usb-wifi-card-tl-wn823n-in-ubuntu-16-04 | ||
| - | * | ||