Verwendest du ein 32- oder ein 64-Bit-Ubuntu? Letzteres hat bezüglich "tar" seine Tücken, mit einem 32-Bit-Ubuntu (als
VMware-Image) läuft die Sache hier.
Ich vermute den Pfaden nach jedoch, dass es sich bereits um diese VM handelt. Daher mal die Schritte im einzelnen:
1) neuste Script-Revision (derzeit 1229) herunterladen.
2) Unter Hardware type die AVM 7270v2 wählen
3) Force Multi annex (optional) anwählen
4) auf Select Labor or any other non default firmware. (AVM 7240 19798 (PREVIEW)) gehen und Enter drücken
5) im folgenden Auswahlmenü ganz unten CUSTOM AVM LOCAL firmware anwählen
6) auf die neu erscheinende Zeile ./Firmware.orig/2.image) Enter the name of your custom type AVM firmware (NEW) gehen, Enter drücken
7) in der Eingabezeile das /2.image löschen (Backspace) und durch den Namen der Firmware in Firmware.orig ersetzen:
./Firmware.orig/FRITZ.Box_Fon_WLAN_7270_v2.en-de-es-it-fr.54.04.90.image
8) Script laufen lassen
Heraus kommt dann:
Code:
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Firmware configuration taken from: Firmware.conf
********************************************************************************
Speed-to-Fritz version: 17.05.11-multi
--------------------------------------------------------------------------------
********************************************************************************
Phase 1: Download or check firmware images
********************************************************************************
Extracting image files to temporary directories ...
-- Unpacking FRITZ.Box_Fon_WLAN_7270_v2.en-de-es-it-fr.54.04.90.image to:
/home/fritz/Desktop/speed-to-fritz/FBDIR
remove tichksum
splitting kernel image
Extract Filesystem ...
3370 inodes (3776 blocks) to write
[=============================================================/] 3776/3776 100%
created 2390 files
created 166 directories
created 631 symlinks
created 349 devices
created 0 fifos
unpacking var.tar
Images extracted... Press 'ENTER' to continue
--------------------------------------------------------------------------------
Verifying version of firmware images ...
-- AVM firmware version: 54.04.90-19715
-- AVM # Versioninfo: 54.04.90
-- AVM # Checkpoint: r19715
-- AVM # Kernelsize: 16121856
--------------------------------------------------------------------------------
HW Feature Fritz_Box_7270_16
--------------------------------------------------------------------------------
DECT: detected
ISDN NT: detected
ISDN TE: detected
USB Port: 2.0 detected
a/b Ports: 2 Port(s)
eth Ports: 4 Port(s)
--------------------------------------------------------------------------------
********************************************************************************
Phase 2: Apply modell dependend changes
********************************************************************************
7272/////////////////////////////////////////////////////////////////////////////
-- Matching Versions: 04.90-19715 - -0000
Replacing hardware related files of AVM firmware images ...
-- adding mulicountry pages from source basis firmware ...
-- kernel_args annex option is disabeled!
[COLOR=red][B]-- multi Annex is in use, because 1st firmware is a multiannex.[/B][/COLOR]
-- removing timezone menue entry ...
-- adding timezone pages ...
-- applying Button for sending fonbook ...
********************************************************************************
7272/////////////////////////////////////////////////////////////////////////////
********************************************************************************
Phase 3: Apply modell independet changes
********************************************************************************
-- Added header: /usr/www/avme/css/default/images/kopfbalken.gif
-- Added header: /usr/www/avme/css/default/images/kopfbalken_mitte.gif
-- add support menu-item...
-- support menue added to: /usr/www/avme/menus/menu_data.lua
-- Replace menu-item assistent...
-- set expertview ...
in file: /default.Fritz_Box_7270_16/avme/ar7.cfg
-- patching file:
/usr/www/avme/html/de/fon/foncalls.js
-- Applyed 'caller id reverse lookup' patch
-- applying 'check signature' patch ...
-- patching file:
/usr/www/html/de/home/home.js ...
-- signature removed in avme/html/de/home/home.js
-- removing 'Tab0' from updatepage ...
removed Online-Update tab from file: menu_show.lua
removed timezone page in file: menu_show.lua
-- patching install webpages ...
-- patch update page: avme/html/tools/downgrade.html...
-- patch update page: avme/html/tools/flash.html...
-- patch update page: avme/html/tools/update_not_signed.html...
-- patch update page: avme/html/tools/update_not_signed_no_password.html...
-- patch update page: avme/html/restart.html...
-- patch update page: avme/html/tools/update_result.html...
-- add oem links ...
added link: usr/www/all
added link: usr/www.nas/all
********************************************************************************
enforce urlader settings
OEM (Branding) set via firmware to: avme
default WLAN Key set via firmware to: speedboxspeedbox
my_ipaddress set via firmware to: 192.168.178.1
ProductID set via firmware to: Fritz_Box_7270_16
-- replaced /etc/inittab.sh ...
-- patch install script ...
********************************************************************************
Phase 4: Pack and deliver
********************************************************************************
********************************************************************************
Settings:
********************************************************************************
Script version : 17.05.11-multi
Firmware for update via GUI : fw_54.04.90-19715_Fritz_Box_7270_.-0000-sp2fr-11.05.17-r-1229M-974_OEM-avme.image
Firmware for update via FTP : kernel.image
Output directory : /home/fritz/Desktop/speed-to-fritz/Firmware.new
Branding set to : avme
Product name changed to : 'FRITZ!Box Fon WLAN 7270 v2'
AVM source is : Fritz_Box_7270_16
AVM source firmware mod is : 7270
--------------------------------------------------------------------------------
Ready for packing... Press 'ENTER' to continue...
Creating filesystem image, be patient ...
Packing var.tar
Squashfs filesystem blocksize: 65536
[=======================> ]
Test kernel size is OK
kernel image size: 12089088 (max: 16121856, free: 4032768)
-- Approximately free time for the answering machine: 1883s (31min 23s)
Adding checksum
Generation of new 'kernel.image' completed successfully!
Packing ...
********************************************************************************
Don't restart the PC in case the router is or ends up in a reboot loop,
repeat the flashing, or repeat the complete script if it did not work in the
first place. ./ftpXXX 'ENTER' restarts the transfer.
There is no need to power of a router that is in a reboot loop even
the script asks you to do this. Nothig is damaged if the router ends up or stays
in a reboot loop, the router is waiting for a firmware on one of the following
FTP IPs 192.168.178.1 or 192.168.2.1. If you have trouble to establish a
connection, add to your PC Network settings a static IP 192.168.178.2 and
mask 255.255.0.0 gateway IP 192.168.178.1.
If a VM machine is in use be sure you did start the VM as Administrator.
In case of problems a windows program can also be used to upload a firmware.
Link: http://www.hyperbox.org/jpascher/1/ftp_uploader.exe.exe
********************************************************************************
Flashing firmware image /home/fritz/Desktop/speed-to-fritz/Firmware.new/kernel.image...
********************************************************************************
Network cards set up for search active netconnections: eth0 eth1 eth2 eth3 eth4 eth5
This list was set to default, but can be set to advance.
Ethernet card found on: eth0
Imagedirectory=/home/fritz/Desktop/speed-to-fritz/Firmware.new
oem: avme Produkt: Fritz_Box_7270_16 HWResvison: 139.1.0.6 Eth: eth0 IP: 192.168.178.1 jffs2size: 132 kernel_args: console=ttyS0,38400
-----------------------------------------------------------------------
All settings will be removed, because clear mtd3 and mtd4 was selected!
-----------------------------------------------------------------------
Press 'ENTER' to proceed!
Ich kann das Image mangels einer "echten" Fritzbox 7270 zwar nicht testen, der markierten Stelle in der Ausgabe nach sollte sie nun Multiannex sein.
Stutzig macht mich in deiner Ausgabe diese Zeile:
Extracting image files to temporary directories ...
-- Unpacking 540490.image to:...
Wieso steht da nicht der originale Dateiname, wurde es vielleicht neu und fehlerhaft gepackt?
mfg