MrEngman
Posts: 4062
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

Re: Se connecter avec un dongle netgear wda-131 dans raspbian buster

Mon Dec 16, 2019 9:03 pm

An SD card image can have up to 4 kernel revisions installed depending on the version of Raspbian installed and a set of modules to run with each different kernel revision.

This will allow you to take your SD card and use it with different versions of Pi.

At the moment I have a Pi3B+ and the SD card has 4 kernel revisions, 4.19.88+, 4.19.88-v7+, 4.19.88-v7l+ and 4.19.88-v8+, installed. This will allow me to use the same SD card on any different version of the Pi, Pi A, Pi B, Pi A+, Pi B+, Pi Zero, Pi Zero W, Pi 2B, Pi 3B, Pi 3B+ or Pi 4B.

Pi A, Pi B, Pi A+, Pi B+, Pi Zero, Pi Zero W will use kernel 4.19.88+. Pi 2B, Pi 3B, Pi 3B+ will use kernel 4.19.88-v7+. Pi 4 will use kernel 4.19.88-v7l+ and Pi 4 in 64 bit mode will use kernel 4.19.88-v8+.

However, if you have to install the wifi driver for your wifi module, if you change to a different Pi using a different kernel revision you will need to install the driver for that particular kernel revision if you have not already done it.

If you use the command

Code: Select all

ls /boot
you will see the different kernel revisions installed on your SD card. On my Pi 3B+ the command ls /boot shows

Code: Select all

pi@raspberrypi:~ $ ls /boot
bcm2708-rpi-b.dtb       bcm2709-rpi-2-b.dtb       bcm2711-rpi-4-b.dtb  fixup4cd.dat  fixup.dat     kernel7l.img      start4cd.elf  start_db.elf
bcm2708-rpi-b-plus.dtb  bcm2710-rpi-2-b.dtb       bootcode.bin         fixup4.dat    fixup_db.dat  kernel8.img       start4db.elf  start.elf
bcm2708-rpi-cm.dtb      bcm2710-rpi-3-b.dtb       cmdline.txt          fixup4db.dat  fixup_x.dat   kernel.img        start4.elf    start_x.elf
bcm2708-rpi-zero.dtb    bcm2710-rpi-3-b-plus.dtb  config.txt           fixup4x.dat   issue.txt     LICENCE.broadcom  start4x.elf
bcm2708-rpi-zero-w.dtb  bcm2710-rpi-cm3.dtb       COPYING.linux        fixup_cd.dat  kernel7.img   overlays          start_cd.elf
and you can see 4 different kernel images, kernel.img, kernel7.img, kernel7l.img and kernel8.img.

Also using the command ls /lib/modules will show a set of module directories each used by one of the different kernel versions from the ls /boot command.

If you use your SD card on one version of the Pi and have installed a wifi driver for that Pi and then you move the SD card to a different Pi which uses a different kernel version you will need to install the wifi driver for the different kernel version used by the different Pi.

I hope this explains how the SD card can be used with different versions of the Pi and why you may need to reinstall the wifi driver if you move it to a different Pi using a different kernel version.



MrEngman
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

Please post ALL technical questions on the forum. Please Do Not send private messages.

froussel
Posts: 63
Joined: Thu Oct 04, 2012 3:53 pm

Re: Se connecter avec un dongle netgear wda-131 dans raspbian buster

Tue Dec 17, 2019 1:53 pm

Travail d'un vrai pédagogue !
J'ai compris !
Je prends mon image de sd je la mets sur un raspi, j'installe le driver de chaque dongle,
Si je change de raspi et que le dongle ne fonctionne pas j'installe un nouveau driver etc...
Et après je sauvegarde cette image de SD
Je pourrais ainsi faire repartir assez vite un raspi dont la Sd s'est détériorée
Des apt-get update vont-ils changer le kernel ?
Des apt-get upgrade vont-ils changer le kernel ?

Y a plus qu'à !

froussel
Posts: 63
Joined: Thu Oct 04, 2012 3:53 pm

Re: Se connecter avec un dongle netgear wda-131 dans raspbian buster

Tue Dec 17, 2019 6:33 pm

On démarre :

Code: Select all

pi@raspi49:~$ lsusb
Bus 001 Device 005: ID 413c:2106 Dell Computer Corp. Dell QuietKey Keyboard
Bus 001 Device 004: ID 0bda:8179 Realtek Semiconductor Corp. RTL8188EUS 802.11n                    Wireless Network Adapter
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast                    Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. SMC9514 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Puis

Code: Select all

pi@raspi49:~$ uname -a
Linux raspi49 4.19.75-v7+ #1270 SMP Tue Sep 24 18:45:11 BST 2019 armv7l GNU/Linu                   x
donc j'ai RTL8188EUS et 4.19.75-v7
Je lance

Code: Select all



pi@raspi49:~$ wget http://downloads.fars-robotics.net/wifi-drivers/8188eus-drivers/8188eus-4.19.75-v7-1270.tar.gz
--2019-12-17 19:04:50--  http://downloads.fars-robotics.net/wifi-drivers/8188eus-drivers/8188eus-4.19.75-v7-1270.tar.gz
Resolving downloads.fars-robotics.net (downloads.fars-robotics.net)... 82.68.133.179
Connecting to downloads.fars-robotics.net (downloads.fars-robotics.net)|82.68.133.179|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2019-12-17 19:04:50 ERROR 404: Not Found.


pi@raspi49:~$ wget http://downloads.fars-robotics.net/wifi-drivers/8188EUS-drivers/8188EUS-4.19.75-v7-1270.tar.gz
--2019-12-17 19:05:34--  http://downloads.fars-robotics.net/wifi-drivers/8188EUS-drivers/8188EUS-4.19.75-v7-1270.tar.gz
Resolving downloads.fars-robotics.net (downloads.fars-robotics.net)... 82.68.133.179
Connecting to downloads.fars-robotics.net (downloads.fars-robotics.net)|82.68.133.179|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2019-12-17 19:05:35 ERROR 404: Not Found.



pi@raspi49:~$ wget http://downloads.fars-robotics.net/wifi-drivers/RTL8188EUS-drivers/RTL8188EUS-4.19.75-v7-1270.tar.gz
--2019-12-17 19:06:04--  http://downloads.fars-robotics.net/wifi-drivers/RTL8188EUS-drivers/RTL8188EUS-4.19.75-v7-1270.tar.gz
Resolving downloads.fars-robotics.net (downloads.fars-robotics.net)... 82.68.133.179
Connecting to downloads.fars-robotics.net (downloads.fars-robotics.net)|82.68.133.179|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2019-12-17 19:06:04 ERROR 404: Not Found.


Y a un problème !

MrEngman
Posts: 4062
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

Re: Se connecter avec un dongle netgear wda-131 dans raspbian buster

Tue Dec 17, 2019 7:27 pm

froussel wrote:
Tue Dec 17, 2019 6:33 pm
On démarre :

Code: Select all

pi@raspi49:~$ lsusb
Bus 001 Device 005: ID 413c:2106 Dell Computer Corp. Dell QuietKey Keyboard
Bus 001 Device 004: ID 0bda:8179 Realtek Semiconductor Corp. RTL8188EUS 802.11n                    Wireless Network Adapter
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast                    Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. SMC9514 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Puis

Code: Select all

pi@raspi49:~$ uname -a
Linux raspi49 4.19.75-v7+ #1270 SMP Tue Sep 24 18:45:11 BST 2019 armv7l GNU/Linu                   x
donc j'ai RTL8188EUS et 4.19.75-v7
Je lance

Code: Select all



pi@raspi49:~$ wget http://downloads.fars-robotics.net/wifi-drivers/8188eus-drivers/8188eus-4.19.75-v7-1270.tar.gz
--2019-12-17 19:04:50--  http://downloads.fars-robotics.net/wifi-drivers/8188eus-drivers/8188eus-4.19.75-v7-1270.tar.gz
Resolving downloads.fars-robotics.net (downloads.fars-robotics.net)... 82.68.133.179
Connecting to downloads.fars-robotics.net (downloads.fars-robotics.net)|82.68.133.179|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2019-12-17 19:04:50 ERROR 404: Not Found.


pi@raspi49:~$ wget http://downloads.fars-robotics.net/wifi-drivers/8188EUS-drivers/8188EUS-4.19.75-v7-1270.tar.gz
--2019-12-17 19:05:34--  http://downloads.fars-robotics.net/wifi-drivers/8188EUS-drivers/8188EUS-4.19.75-v7-1270.tar.gz
Resolving downloads.fars-robotics.net (downloads.fars-robotics.net)... 82.68.133.179
Connecting to downloads.fars-robotics.net (downloads.fars-robotics.net)|82.68.133.179|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2019-12-17 19:05:35 ERROR 404: Not Found.



pi@raspi49:~$ wget http://downloads.fars-robotics.net/wifi-drivers/RTL8188EUS-drivers/RTL8188EUS-4.19.75-v7-1270.tar.gz
--2019-12-17 19:06:04--  http://downloads.fars-robotics.net/wifi-drivers/RTL8188EUS-drivers/RTL8188EUS-4.19.75-v7-1270.tar.gz
Resolving downloads.fars-robotics.net (downloads.fars-robotics.net)... 82.68.133.179
Connecting to downloads.fars-robotics.net (downloads.fars-robotics.net)|82.68.133.179|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2019-12-17 19:06:04 ERROR 404: Not Found.


Y a un problème !
The filename is wrong.

Try this

Code: Select all

wget http://downloads.fars-robotics.net/wifi-drivers/8188eu-drivers/8188eu-4.19.75-v7-1270.tar.gz
tar xzf 8188eu-4.19.75-v7-1270.tar.gz
./install.sh

MrEngman
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

Please post ALL technical questions on the forum. Please Do Not send private messages.

MrEngman
Posts: 4062
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

Re: Se connecter avec un dongle netgear wda-131 dans raspbian buster

Tue Dec 17, 2019 7:44 pm

froussel wrote:
Tue Dec 17, 2019 1:53 pm
Travail d'un vrai pédagogue !
J'ai compris !
Je prends mon image de sd je la mets sur un raspi, j'installe le driver de chaque dongle,
Si je change de raspi et que le dongle ne fonctionne pas j'installe un nouveau driver etc...
Et après je sauvegarde cette image de SD
Je pourrais ainsi faire repartir assez vite un raspi dont la Sd s'est détériorée
Des apt-get update vont-ils changer le kernel ?
Des apt-get upgrade vont-ils changer le kernel ?

Y a plus qu'à !
apt-get update updates the list of files to upgrade
apt-get upgrade downloads and installs any files that are available.

Use both commands to make sure you update to the newest files.

Code: Select all

sudo apt-get update
sudo apt-get upgrade

apt-get upgrade can sometimes load a new kernel but not very often. When you use apt-get upgrade look for files like librasberrypi.... or raspberry... in the list of files to upgrade. Then the kernel may be upgraded to a new version.

I think the kernel update files will be in this directory here https://archive.raspberrypi.org/debian/ ... -firmware/



MrEngman
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

Please post ALL technical questions on the forum. Please Do Not send private messages.

froussel
Posts: 63
Joined: Thu Oct 04, 2012 3:53 pm

Re: Se connecter avec un dongle netgear wda-131 dans raspbian buster

Wed Dec 18, 2019 7:30 am

Tout est bien maintenant, tous mes raspi se connectent au wifi avec n'importe quel dongle et avec la même image de sd.
Juste un truc, sur le raspiA la base de données d'un site wordpress ne fonctionne pas... Pas très grave.

ENCORE MERCI !

MrEngman
Posts: 4062
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

Re: Se connecter avec un dongle netgear wda-131 dans raspbian buster (résolu)

Wed Dec 18, 2019 11:04 am

Hi froussel,

Really good to hear the wifi on all your Pi are now working. Glad to be able to help you.

I know nothing about wordpress so cannot help you with that but if you start a new post about your wordpress issue then I would expect someone else can help you



MrEngman
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

Please post ALL technical questions on the forum. Please Do Not send private messages.

Return to “Français”