Wiki

Reso-nance numérique | Arts et cultures libres

Outils du site


Panneau latéral

materiel:piratebox:installation-ancienne:accueil

Ancienne installation

Installation avant la version 1.0 de mai 2014.

Configurations réseaux utiles

  • Configuration automatique : brancher l'ordinateur sur votre Box, et notez les infos de connexion (adresse 192.168.0.XX).
  • Configuration routeur avec adresse IP fixe (192.168.1.2) + adresse du routeur en tant que passerelle (gateway) avec l'adresse 192.168.1.1

Accès au routeur (en mode usine de départ)

  • Browser 192.168.0.254 (admin, admin)
  • DHCP Settings pour DNS
  • Accès en Wifi > Internet
  • Ordi sans fil > routeur (ajouter DNS de la Box dans DHCP Settings) > fil > Box

Installer OpenWRT pour le MR3020

  • Éteindre wifi
  • CONFIG RESEAU (auto)
  • Routeur en mode WISP, connécté en local (cable ethernet) à l'ordi
  • ping 192.168.0.254 > OK (64 bytes from 192.168.1.1: icmp_req=7 ttl=64 time=0.553 ms)
  • Firefox http://192.168.0.254 : interface administration
  • System Tools > Firmware Upgrade : choisir le firmware
  • Sur ordinateur, configuration réseau avec IP fixe
  • Accès avec telnet 192.168.1.1
  • passwd pour changer mot de passe et activation la liaison SSH
  • Édition du fichier de configuration réseau avec VI : vi /etc/config/network. Pour écrire, appuyer sur la touche “INSER”. Changer la ligne ipaddr. Ajouter ligne gateway et list dns. Pour enregistrer, touche Echap (accès aux commandes de VI), puis :wq (w pour write, q pour quitter) :
config interface 'lan'      
option ifname 'eth0'      
option type 'bridge'      
option proto 'static'      
option ipaddr '192.168.0.14'      
option netmask '255.255.255.0'      
option gateway '192.168.0.1'      
list dns '192.168.0.1'      
list dns '8.8.8.8'
  • exit
  • Éteindre le routeur
  • Connecter le MR3020 sur le routeur passerelle (box) avec un câble ethernet+ allumer. Attendre un peu que le routeur redémarre.
  • Connecter l'ordi à la box avec câble…
  • Accès au routeur dorénavant : ssh root@192.168.0.14
  • tester connection internet (firewall) : ping rezo.net. Ctl-C pour arrêter
  • Add USB support to OpenWrt
  • opkg update
  • opkg install kmod-usb-uhci
  • insmod usbcore ## may return: file exists
  • insmod uhci
  • opkg install kmod-usb-ohci ## may return: up to date.
  • insmod usb-ohci

Installer PirateBox

  • clé USB : une seule partition FAT-32
  • brancher la clé USB sur le routeur
  • cd /tmp
  • Installation de mkPirateBox
  • Optionnel Installation the Kareha Image Board:
  • /opt/piratebox/bin/timesave.sh /opt/piratebox/conf/piratebox.conf install
  • /opt/piratebox/bin/install_piratebox.sh /opt/piratebox/conf/piratebox.conf imageboard
  • Changer l'identifiant et le mot de passe de Kareha image board config file> change the admin username and password (ADMIN_PASS and SECRET):
  • vi /opt/piratebox/www/board/config.pl
  • Once the install is completed, unplug the ethernet cable and disconnect the power for at least 10 seconds.
  • Remettre le Wi-Fi sur l'ordi.
  • Config Réseau PirateBox 192.168.1.2, routeur 192.168.1.1,
  • Restart the device and join the “PirateBox – Share Freely” network. Open

any web page and you should be redirected to the PirateBox menu.

  • Begin sharing files and chatting!
/home/resonancg/www/wiki/data/pages/materiel/piratebox/installation-ancienne/accueil.txt · Dernière modification: 2015/11/02 11:07 de resonance