Outils pour utilisateurs

Outils du site


raspberry (lu 1525 fois)

Ceci est une ancienne révision du document !


Raspberry pi

iptables

Si vous avez le message d’erreur suivant quand vous voulez utiliser iptables

libkmod: ERROR ../libkmod/libkmod.c:554 kmod_search_moddep: could not open moddep file '/lib/modules/3.6.11+/modules.dep.bin'
iptables v1.4.14: can't initialize iptables table `filter': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.

Installez rpi-update et lancez le

apt-get install rpi-update

Cela va mettre à jour le firmware de votre raspberry pi et un reboot sera nécessaire.

# rpi-update
 *** Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS and Dom
 *** Performing self-update
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  8107  100  8107    0     0  16467      0 --:--:-- --:--:-- --:--:-- 22395
 *** Relaunching after update
 *** Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS and Dom
 *** Downloading specific firmware revision (this will take a few minutes)
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   168    0   168    0     0    217      0 --:--:-- --:--:-- --:--:--   296
100 43.5M  100 43.5M    0     0   120k      0  0:06:11  0:06:11 --:--:-- 95974
 *** Updating firmware
 *** Updating kernel modules
 *** depmod 3.18.9+
 *** depmod 3.18.9-v7+
 *** Updating VideoCore libraries
 *** Using HardFP libraries
 *** Updating SDK
 *** Running ldconfig
 *** Storing current firmware revision
 *** Deleting downloaded files
 *** Syncing changes to disk
 *** If no errors appeared, your firmware was successfully updated to 1431f38b47ca42cac467a36242b713bba3c40fbc
 *** A reboot is needed to activate the new firmware
raspberry.1426285124.txt.gz · Dernière modification: 13-03-2015 23:18 de edmc73