Fritzbox TFFS image basteln mit mktffs.pl: Unterschied zwischen den Versionen
Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
Zeile 1: | Zeile 1: | ||
{| width="100%" | |||
|style="vertical-align:top"| | |||
<div style="margin: 0; margin-top:10px; margin-right:10px; border: 1px solid #dfdfdf; padding: 0em 1em 1em 1em; background-color:#1B1C2D; align:right;"> | |||
<br> <font color="silver"></font> | |||
<center><font color="silver">[[Image:ZD-Logo.png]]</font></center> | |||
<font color="silver"><font color="silver"></font></font> | |||
<center><font color="silver"><font color="silver"><big>'''''Das Board mit Freiheiten'''''</big></font></font></center> | |||
---- | |||
<div style="margin: 10px 10px 0pt 0pt; border: 10px solid rgb(0, 0, 0); padding: 0em 1em 1em; background-color: rgb(48, 49, 64);"> | |||
<font color="silver"><font color="silver"><font color="white"></font></font></font> | |||
== TFFS image basteln mit mktffs.pl == | == TFFS image basteln mit mktffs.pl == | ||
Version vom 22. Mai 2010, 08:46 Uhr
![]()
TFFS image basteln mit mktffs.plFalls die Box nicht mehr richtig bootet, und man die Werkseinstellungen über ADAM2 wieder herstellen möchte, kann man mittels mktffs.pl Image-Dateien für mtd3/mtd4 bauen, die sich dann über ADAM2's FTP-Interface flashen lassen. Das Skript erwartet auf stdin einfache "key-value" Paare, wie sie sich über ftp mit `get env' lesen lassen oder auch bei noch funktionierender Box mit `cat /proc/avalanche/env'. Die Image-Dateien landen im aktuellen Verzeichnis als `mtd3' und `mtd4'. Beispiel (im Gegensatz zum Beispiel sollten natürlich sinnvolle Werte geladen werden!): $ echo "my_ipaddress 127.0.0.1" | perl mktffs.pl $ perl dumptffs.pl mtd3 TFFS 1.4 (4294967294) nametable version: @4 DMC = <undef> HWRevision = <undef> ProductID = <undef> SerialNumber = <undef> annex = <undef> autoload = <undef> bluetooth = <undef> bluetooth_key = <undef> bootloaderVersion = <undef> bootserport = <undef> country = <undef> cpufrequency = <undef> crash = <undef> ethaddr = <undef> firmware_info = <undef> firmware_version = <undef> firstfreeaddress = <undef> flashsize = <undef> http_key = <undef> kernel_args = <undef> kernel_args1 = <undef> language = <undef> linux_fs_start = <undef> linuxip = <undef> maca = <undef> macb = <undef> macc = <undef> macdsl = <undef> macwlan = <undef> memsize = <undef> modetty0 = <undef> modetty1 = <undef> modulation = <undef> mtd0 = <undef> mtd1 = <undef> mtd2 = <undef> mtd3 = <undef> mtd4 = <undef> mtd5 = <undef> mtd6 = <undef> mtd7 = <undef> my_ipaddress = 127.0.0.1 nfs = <undef> nfsroot = <undef> oam_lb_timeout = <undef> prompt = <undef> ptest = <undef> req_fullrate_freq = <undef> reserved = <undef> sysfrequency = <undef> systype = <undef> urlader-version = <undef> usb_board_mac = <undef> usb_device_id = <undef> usb_device_name = <undef> usb_manufacturer_name = <undef> usb_revision_id = <undef> usb_rndis_mac = <undef> wlan_key = <undef>
# /usr/sbin/thttpd -g -d /var -u root -p 1080 Then, open a following URL in any browser: "http://192.168.1.1:1080/" to get a files from this folder.
|