Ceci est une ancienne révision du document !


Comment installer le driver wifi pour un périphérique qui a l'ID 0bda:b720.

Si lsub vous a listé un périphérique avec l'ID 0bda:b720 l'installation de ce driver vous sera utile.

Le github du driver est : https://github.com/lwfinger.

Il vous faudra déterminer quel driver est nécessaire. (Le bluetooth est pris en charge par Ubuntu sans modification depuis la 16.04)

Pour ces dongles :

- https://www.amazon.fr/iFun4U-adapteur-Bluetooth-vitesse-Compatible/dp/B01JS0CLR2
- https://www.amazon.fr/gp/product/B01IT7GJRI/ref=oh_aui_detailpage_o01_s00?ie=UTF8&psc=1
Le driver 8723bu est le bon choix.

La première fois que vous installerez le driver , un blacklistage sera à faire dans : /etc/modprobe.d/blacklist.conf
Dns un terminal :

sudo nano /etc/modprobe.d/blacklist.conf


Ajoutez ceci à la fin fin du fichier :

##Perso pour wifi
blacklist rtl8xxxu

Il ne vous reste qu'a suivre les indications données sur le depot github.

Un script qui fait le travail pour vous , mais qui ne blackliste pas encore.

#!/bin/sh
###MAJ cle wifi rtl8723bu
set -
cd ~

sudo apt-get install git build-essential linux-headers-$(uname -r)

if [ -d "rtl8723bu-old" ]
then
	if [ -d "rtl8723bu" ]
	then
		echo "#########################"
		echo "Dossier Origine et sauvegarde existants"
		rm -rf rtl8723bu-old
		echo "#########################"
		echo "Dossier sauvegarde efface"
		mv rtl8723bu rtl8723bu-old
		echo "#########################"
		echo "Dossier Origine sauvegarde"
	fi
	else
		if [ -d "rtl8723bu" ]
		then
			echo "#########################"
			echo "Dossier Origine seul existant"
			mv rtl8723bu rtl8723bu-old
			echo "#########################"
			echo "Dossier Origine sauvegarde"
		else
			echo "#########################"
			echo "#########################"
			echo "Aucun driver n'est disponible en local"
			echo "#########################"
			echo "#########################"
			
		fi
fi
sleep 5

## rm rtl8723bu-old

git clone https://github.com/lwfinger/rtl8723bu.git
STATUS=$?
if [ "$STATUS" -eq 0 ]  ## si git ok
then
	echo "#########################"
	echo "Clonage git termine"
	sed -i 's/EXTRA_CFLAGS += -DCONFIG_CONCURRENT_MODE/#EXTRA_CFLAGS += -DCONFIG_CONCURRENT_MODE/g' ~/rtl8723bu/Makefile
	echo "#########################"
	echo "Parametrage du fichier make effectue"
	cd rtl8723bu/
	make -j 8
	echo "#########################"
	echo "make termine"
	sudo make install
	echo "#########################"
	echo "make install termine"
	sudo modprobe -v 8723bu
	echo "#########################"
	echo "Driver charge"
	notify-send --icon=/usr/share/notify-osd/icons/Humanity/scalable/status/notification-wifi-enabled.svg "Driver rlt8723bu wifi cle usb" "Driver installe et charge."
else
	echo "#########################"
	echo "ERREUR clonage git"
	if [ -d "rtl8723bu-old" ]
	then
		cp -rf rtl8723bu-old rtl8723bu
		echo "#########################"
		echo "recuperation ancienne version sauvegardee"
		cd rtl8723bu/
		make -j 8
		echo "#########################"
		echo "make termine"
		sudo make install
		echo "#########################"
		echo "make install termine"
		sudo modprobe -v 8723bu
		echo "#########################"
		echo "Driver charge"
		notify-send --icon=/usr/share/notify-osd/icons/Humanity/scalable/status/notification-wifi-enabled.svg "Driver rlt8723bu wifi cle usb" "Driver installe et charge."
	else
		echo "#########################"
		echo "Pas de driver a compiler et pas de sauvegarde"
		notify-send --icon=/usr/share/notify-osd/icons/Humanity/scalable/status/notification-network-wireless-disconnected.svg "Driver rlt8723bu wifi cle usb" "Pas de driver a compiler et pas de sauvegarde."
		exit 0
	fi
fi

##sleep 120
  • utilisateurs/toobuntu/brouillon/wifi_0bda-b720.1508873608.txt.gz
  • Dernière modification: Le 24/10/2017, 21:33
  • par Toobuntu