Outils pour utilisateurs

Outils du site


raspberry (lu 1516 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
 *** Performing self-update
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   135  100   135    0     0    188      0 --:--:-- --:--:-- --:--:--   245
100  7026  100  7026    0     0   7024      0  0:00:01  0:00:01 --:--:--  490k
 *** Relaunching after update
 *** Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS and Dom
 *** We're running for the first time
 *** Backing up files (this will take a few minutes)
 *** Backing up firmware
 *** Backing up modules 3.6.11+
 *** 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  100   168    0     0    285      0 --:--:-- --:--:-- --:--:--   370
100 21.1M  100 21.1M    0     0   241k      0  0:01:29  0:01:29 --:--:--  688k
 *** Updating firmware
 *** Updating kernel modules
 *** depmod 3.12.22+
 *** 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 c3707c6666a6cabe2b0296098c61e54ccf48091a
 *** A reboot is needed to activate the new firmware
raspberry.1403616569.txt.gz · Dernière modification: 24-06-2014 15:29 de edmc73