Compilar Kamikaze

Per construir una imatge del kamikaze de OpenWRT necessitem:

  • Crear un arbre de fitxers amb els scripts de configuració descarregant l'svn.
  • Descarregar el kamikaze de OpenWRT si no ho ha fet l'svn
  • Integrar el paquet que ens calcula IPs meshipcalc i el nou bmx capaç de generar mapes.
  • Configurar i compilar el kamikaze de OpenWRT

Veure com crear un paquet per la versió kamikaze 7.09: explicació de com crear un paquet

L'script de creació d'imatges es troba a rilat.guifi.net/gsffirm/fwgen genera un directori anomenat gsf on compila l'openwrt.org amb els agefits de graciasensefils.net hi deixa el firmware amb un nom estil gsf-ver_gsf-data_creació-maquinari-configuracions_especifiques-kamikaze-ver_kamikaze*-rrev_kamikaze-openwrt-arquitectura-squashfs.(image|bin)

wget -O fwgen http://rilat.guifi.net/repository/source/fwgen?download
chmod +x fwgen
./fwgen -d

L'execució d'aquest escript crearà la següent estructura repartint el contingut de la següent manera:

  • gsf: directori arrel amb les imatges creades del firmware i els registres d'execució.

Configuracions especifiques:

Crear una imatge amb una adreça IP de FreeNetworks.org específica, per exemple 10.139.68.100 (usar l'assignada per guifi.net)

./fwgen -d -i 10.139.68.100

Crear una imatge per a Linksys WRT54G

./fwgen -d -w wrt54g

Més informació

$ ./fwgen -h

GaciaSensefils.net Firmware Generator script

Usage:
 ./fwgen { -d | -f /path/to/configuration/file } [ Optional arguments ]

One of the following arguments is required, and are incompatible with each other:
 -d					Use gsf/gsffirm/files/etc/config/gsf as file with default settings (can be overiden adding extra parameters).
 -f "configuration file"		Specify the absolute path to file with the default settings to be used to create the GSF image (can be overiden adding extra parameters).

Optional arguments:
 -h					Show this help message.
 -w "hardware"				Create GSF image for specific hardware. Suported harware: "nanostation5", "nanostation2", "fon2200", "wrt54g" and "alix2c2"/"alix2d2" (default).
 -i "FreeNetworks.org IP address"	Create GSF image with specific FreeNetworks.org IP address.
 -a "latitude"				Create GSF image with specific latitude.
 -o "longitude"				Create GSF image with specific longitude.
 -r "iprangedefault"			Create GSF image with specific range for IPless, non configured, nodes.
 -e "email-at-domain.net"		Create GSF image with specific contact email (replace @ for -at-).
 -n "NodeName"				Create GSF image with specific node name.
 -u 					Don't update the source code.
 -c					Don't update the source code and don't compile
desenvolupament/kamikaze/compilar.txt · Darrera modificació: 2010/08/24 20:16 per abajoeltrabajo
Creative Commons License Valid CSS Driven by DokuWiki Valid XHTML 1.0