********************************************************************************
Phase 10: Pack and deliver.
********************************************************************************
********************************************************************************
Settings:
********************************************************************************
Script version : 02.10.10-multi
Firmware for update via GUI : fw_C_Speedport_701_33.04.57-11284_Fritz_Box_7170_29.04.80-16352-sp2fr-10.10.02-r-1097M-1114_OEM-avm_annexB_de.image
Firmware for update via FTP : kernel.image
Output directory : /home/fritz/Desktop/speed-to-fritz/Firmware.new
for Speedport model : W701V
Branding set to : avm
AVM source is : Fritz_Box_7170
AVM source firmware mod is : 7170
--------------------------------------------------------------------------------
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: 7168256 (max: 7798784, free: 630528)
-- Approximately free time for the answering machine: 196s (3min 16s)
Adding checksum
Generation of new 'kernel.image' completed successfully!
Packing ...
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
If you don't want a recover firmware you can use 'Control C'
or better disable this Option within Speed-to-fritz menu.
Generation of recover firmware takes about two times as
long as it did take to build the patched firmware.
--------------------------------------------------------------------------------
--2010-10-02 19:36:37-- ftp://ftp.avm.de/fritz.box/fritzbox.fon_wlan_7170/x_misc/deutsch/fritz.box_fon_wlan_7170.04.80.recover-image.exe
=> »/home/fritz/Desktop/speed-to-fritz/Firmware.orig/fritz.box_fon_wlan_7170.04.80.recover-image.exe«
Auflösen des Hostnamen »ftp.avm.de«.... 212.42.244.90
Verbindungsaufbau zu ftp.avm.de|212.42.244.90|:21... verbunden.
Anmelden als anonymous ... Angemeldet!
==> SYST ... fertig. ==> PWD ... fertig.
==> TYPE I ... fertig. ==> CWD (1) /fritz.box/fritzbox.fon_wlan_7170/x_misc/deutsch ... fertig.
==> SIZE fritz.box_fon_wlan_7170.04.80.recover-image.exe ... 7746936
==> PASV ... fertig. ==> RETR fritz.box_fon_wlan_7170.04.80.recover-image.exe ... fertig.
Länge: 7746936 (7,4M) (unmaßgeblich)
100%[===============================================================================================================>] 7.746.936 357K/s in 21s
2010-10-02 19:36:59 (355 KB/s) - »»/home/fritz/Desktop/speed-to-fritz/Firmware.orig/fritz.box_fon_wlan_7170.04.80.recover-image.exe«« gespeichert [7746936]
--------------------------------------------------------------------------------
Looking for bootloader start kernel start and kernel end ...
bootloader start at: 7566853
kernel start at: 249960
kernel end at: 7566800
Extracting executabel first part ...
exe_length:249960
exe_start, start @ 0, length: 249960
Extracting root kernel (kernel.image) ...
kernel.image, start @ 249960, length: 7316840, end @ 7566800
exe_mid, start @ 7566800, length: 53, end @ 7566853
Firmware version: 29.04.80
Extracting bootloader (urlader.image) ...
urlader.image, start @ 7566853, length: 65536, end @ 7632389
file is a possible bootloader candidate
Extracting executabel end part ...
exe_end, start @ 7632389, length: 114547, end @ 7746936
actual size= 7746936, new actual size= 7746936
-- firmware version remove error!
-- OEM check remove error!
-- kernel check remove error!
-- CRC check remove error!
-- urloader update remove error!
-- check kernel size remove error!
New recoverversion: .29.04.80.
New recover: /home/fritz/Desktop/speed-to-fritz/Firmware.new/Speedport_W701V.recover-image.exe
To load firmware into Your router, transfer this new recover to windows and start it.
This is an other method to update a firmware, in most cases this will be
the most reliable way to do a firmware update.
The fastest way is to use the speed-to-fritz LINUX FTP push option.
Update via web-interface is preferable, if settings should be restored or push
FTP transfer did not work because PC network settings ware wrong.
No Recover image was built!
********************************************************************************
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. 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.
********************************************************************************
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: avm Produkt: Fritz_Box_7170 HWResvison: 101.1.1.0 Eth: eth0 IP: 192.168.178.1 jffs2size: 32 kernel_args: annex=B
-----------------------------------------------------------------------
All settings will be removed, because clear mtd3 and mtd4 was selected!
-----------------------------------------------------------------------
Press 'ENTER' to proceed!