./start.sh
-- Add configs to menu...
#
# configuration written to Firmware.conf
#
*** End of Speed-to-fritz configuration.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Speed-to-fritz output directory is now set to: /mnt/win/Firmware.new
Firmware configuration taken from: Firmware.conf
********************************************************************************
Speed-to-Fritz revision: 1277
--------------------------------------------------------------------------------
********************************************************************************
Phase 1: Download or check firmware images
********************************************************************************
Extracting image files to temporary directories ...
-- Unpacking fw_SpeedportW721V_v_64.04.74.image to:
/home/freetz/suse/speed-to-fritz/SPDIR
-- Unpacking FRITZ.Box_Fon_WLAN_7170.Labor.29.04.86-19957.image to:
/home/freetz/suse/speed-to-fritz/FBDIR
--------------------------------------------------------------------------------
HW Feature Fritz_Box_SpeedportW721V Fritz_Box_7170
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
DECT: not detected not detected
ISDN NT: not detected detected
ISDN TE: detected detected
USB Port: not detected 1.0 detected
a/b Ports: 2 Port(s) 3 Port(s)
eth Ports: 4 Port(s) 4 Port(s)
--------------------------------------------------------------------------------
-- merged source and destination /dev directory
********************************************************************************
Phase 2: Apply modell dependend changes
********************************************************************************
721/////////////////////////////////////////////////////////////////////////////
-- VINAX DSL driver was taken from the original base firmware!
-- fw_dcrhp_1150_ap.bin was taken from the original base firmware
-- microvoip-dsl.bin was taken from the original base firmware
-- Matching Versions: 04.86-19957 - 04.74-14330
-- Xilinx bitfile was taken from the original base firmware
-- 1st firmware is multicountry
language database en removed.
language database it removed.
language database es removed.
language database fr removed.
-- add missing VDSL scale images
-- removing 'internal S0', from setup page ...
-- removing 'USB' from setup page ...
-- removing 'internal FON 3', from setup page ...
-- removing luna usb ...
-- removing GUI USB-entrys ...
-- applying Button for sending fonbook ...
********************************************************************************
721/////////////////////////////////////////////////////////////////////////////
********************************************************************************
Phase 3: Apply modell independet changes
********************************************************************************
-- Timestamp (Year, month, day, hour, minute): 201106081412
-- copyed Firmware.conf to ./conf/W721/ADSL/19957/ANNEX_B/201106081412
-- bugfix for home.js
-- Added header: /usr/www/avm/css/default/images/kopfbalken.gif
-- Added header: /usr/www/avm/css/default/images/kopfbalken_mitte.gif
-- add support menu-item...
-- support menue added to: /usr/www/avm/menus/menu_data.lua
-- Replace menu-item assistent...
-- set expertview ...
-- Applyed 'caller id reverse lookup' patch
-- add tcom link...
-- applying 'check signature' patch ...
-- removing 'Tab0' from updatepage ...
-- patching install webpages ...
-- updating module dependency informations
-- add oem links ...
********************************************************************************
enforce urlader settings
OEM (Branding) set via firmware to: avm
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_7170
-- replaced /etc/inittab.sh ...
-- patch install script ...
********************************************************************************
Phase 4: Pack and deliver
********************************************************************************
********************************************************************************
Settings:
********************************************************************************
Script revision : 1277
Firmware for update via GUI : fw_C_Speedport_721_64.04.74-14330_Fritz_Box_SpeedportW721V_29.04.86-19957-sp2fr-1277-1408_OEM-avmB_de.image
Firmware for update via FTP : kernel.image
Output directory : /mnt/win/Firmware.new
for Speedport model : W721V
Branding set to : avm
AVM source is : Fritz_Box_7170
AVM source firmware mod is : 7170
--------------------------------------------------------------------------------
No output generated, because this was specified via setup!
------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------
Your settings from the last run of speed-to-fritz:
Speedporttype=W721V
OEM=avm
CONFIG_PRODUKT=Fritz_Box_7170
ANNEX=B
Imagename=fw_C_Speedport_721_64.04.74-14330_Fritz_Box_SpeedportW721V_29.04.86-19957-sp2fr-1277-1408_OEM-avmB_de.image
AVM Type=7170
The following script should do this for you:
Installing or updating freetz/trunk
Updating your LINUX system and installing missing tools needed for freetz
invoking 'make menuconfig'
invoking 'make'
invoking 'speed-to-freetz'
---------------------------------------------------------------------------------
Download Freetz the first time, or do a freetz update?
In case of problems do a 'make dirclean' at the commandline this will remove all changes made by you.
For using the commandline you must change to the freetz-trunk directory first. 'cd ../freetz-trunk'
To download a specific revision of the trunk you would need to set the number via menu option!
--> You shuld type 'y' <--
Execute: 'svn co http://svn.freetz.org/trunk freetz-trunk' (y/n)?
Looking for new freetz version, wait ...
Restored 'freetz-trunk/toolchain/Config.in'
Restored 'freetz-trunk/patches/220-assistant.sh'
Restored 'freetz-trunk/Config.in'
Restored 'freetz-trunk/fwmod'
Restored 'freetz-trunk/make/linux/kernel.mk'
Checked out revision 7088.
Freetz download directory is now set to windows partition: /mnt/win/dl
--Image files present in '/mnt/win/dl/fw':
-rw-r--r-- 1 freetz freetz 8540160 Jun 7 14:21 /mnt/win/dl/fw/FRITZ.Box_Fon_WLAN_7170.Labor.29.04.86-19957.image
Now you can run 'make menuconfig', at the first time a lot of warnings will be displayed!
Select '7270', '7170' or other type suitable for your router 'W920, W900, W701 Sinus 500 or other.'
As next step run 'make'
Firmware has to be copied to '/mnt/win/dl' directory first,
if it is not present in ./speed-to-fritz/Firmware.orig at the time of starting this script.
If you did invoke speed-to-fritz before with the same firmwares in use, all should be present in:
'/mnt/win/dl/fw' directory without copying the files after this script did run!
If you terminate with controll C or skip all following questions you will be left
with a clean freetz installation, and you can use freetz in command line mode,
as it is explained on freetz help page. Then type in 'make menuconfig' first.
If started:
Ignore WARNINGS, especially the first time this tool is started!
Invoke 'make menuconfig' now? (y/n)?
Be patient ...
#
# using defaults found in .config
#
.config:3: trying to assign nonexistent symbol FREETZ_TYPE_PREVIEW
*** End of Freetz configuration.
*** Execute 'make' to build the Freetz image.
If started:
Ignore WARNINGS, especially the first time this tool is started!
Be prepared that the first time this could take one hour or more!
Invoke 'make' now? (y/n)?
Be patient ...
STEP 1: UNPACK
unpacking firmware image
splitting kernel image
unpacking filesystem image
3929 inodes (4120 blocks) to write
created 2792 files
created 173 directories
created 815 symlinks
created 322 devices
created 0 fifos
unpacking var.tar
done.
STEP 2: MODIFY
applying symlinks, deleting additional webinterfaces in: usr/www
applying patches
applying patches (7170_preview-de)
applying patch file ./patches/110-multid-wait.patch
patching file etc/init.d/rc.net
----------------------------------------------------------------------
applying patch file ./patches/110-system_status.patch
patching file usr/bin/system_status
----------------------------------------------------------------------
applying patch file ./patches/7170_preview/110-rc.S-mknod.patch
patching file etc/init.d/rc.S
----------------------------------------------------------------------
applying patch file ./patches/7170_preview/120-rc.S-dev.patch
patching file etc/init.d/rc.S
----------------------------------------------------------------------
applying patch file ./patches/7170_preview/130-rc.S-logging.patch
patching file etc/init.d/rc.S
----------------------------------------------------------------------
applying patch file ./patches/7170_preview/140-rc.S-no_avm_exit.patch
patching file etc/init.d/rc.S
----------------------------------------------------------------------
applying patch file ./patches/7170_preview/de/130-foncalls.patch
patching file usr/www/all/html/de/home/foncalls.js
----------------------------------------------------------------------
applying patch file ./patches/7170_preview/de/190-webmenu.patch
patching file usr/www/all/templates/menu_page_end.html
patching file usr/www/all/templates/menu_page_head.html
patching file usr/www/all/menus/menu_freetz.lua
----------------------------------------------------------------------
applying patch file ./patches/7170_preview/de/200-sperre1.patch
patching file usr/www/avm/html/de/fon/sperre1.js
----------------------------------------------------------------------
applying patch file ./patches/7170_preview/de/210-notmountable.patch
patching file usr/www/all/html/de/usb/status.js
----------------------------------------------------------------------
applying patch file ./patches/7170_preview/de/290-replace_websrv-remove_igdd.patch
patching file etc/init.d/rc.net
Hunk #1 succeeded at 54 (offset -5 lines).
Hunk #2 succeeded at 311 (offset -5 lines).
----------------------------------------------------------------------
applying patch file ./patches/7170_preview/de/301-remove_smbd.patch
patching file etc/init.d/rc.net
Hunk #1 succeeded at 68 (offset -5 lines).
Hunk #2 succeeded at 327 (offset -5 lines).
----------------------------------------------------------------------
creating symlinks /tmp, /mod and /home
creating /mnt and /opt
setting freetz-version 'freetz-devel'
applying patch file ./patches/100-3170_7170.sh
applying patch file ./patches/100-7112_7170.sh
applying patch file ./patches/100-7113_7170.sh
applying patch file ./patches/100-7140_7170.sh
applying patch file ./patches/100-7141_7170.sh
applying patch file ./patches/100-7240_7270.sh
applying patch file ./patches/100-7270v1_7270.sh
applying patch file ./patches/100-7570_IAD.sh
applying patch file ./patches/100-W920_7570.sh
applying patch file ./patches/100-enforce-urlader-settings.sh
applying patch file ./patches/100-getcons.sh
removing /bin/getcons
rm build/modified/filesystem/bin/getcons
applying patch file ./patches/100-w701v_7170.sh
applying patch file ./patches/100-w900v_7170.sh
applying patch file ./patches/101-ctlmgr_wrapper.sh
applying patch file ./patches/105-onlinechanged.sh
patching /bin/onlinechanged
applying patch file ./patches/109-rc.net-multid-wrapper.sh
replacing multid by a wrapper
patching build/modified/filesystem/etc/init.d/rc.net
applying patch file ./patches/110-inittab.sh
applying patch file ./patches/115-rc.S.sh
applying patch file ./patches/120-dev_led.sh
applying /dev/led patch
patching build/modified/filesystem/bin/update_led_on
patching build/modified/filesystem/bin/update_led_off
applying patch file ./patches/130-fstab.sh
applying patch file ./patches/140-remove-uClibc.sh
applying patch file ./patches/170-rename_ar7login.sh
renaming ar7login to make way for wrapper script
applying patch file ./patches/180-printk.sh
applying printk patch
patching build/modified/filesystem/etc/init.d/rc.S
patching build/modified/filesystem/etc/init.d/rc.S
applying patch file ./patches/191-webmenu_wol.sh
applying patch file ./patches/195-webmenu_signed.sh
applying patch file ./patches/197-freetzmount.sh
applying FREETZMOUNT patch
patching build/modified/filesystem/etc/hotplug/storage
patching build/modified/filesystem/etc/hotplug/storage
patching build/modified/filesystem/etc/hotplug/storage
patching build/modified/filesystem/etc/hotplug/run_mount
patching build/modified/filesystem/etc/hotplug/run_mount
patching build/modified/filesystem/etc/hotplug/storage
patching run_mount script
patching /etc/hotplug/storage
patching build/modified/filesystem/etc/hotplug/storage
applying patch file ./patches/198-usbroot.sh
applying patch file ./patches/200-vcc.sh
applying patch file ./patches/210-ata.sh
applying patch file ./patches/210-enum.sh
applying patch file ./patches/210-international.sh
applying patch file ./patches/220-assistant.sh
applying patch file ./patches/220-cdrom-iso.sh
applying patch file ./patches/220-chronyd.sh
applying patch file ./patches/220-help.sh
applying patch file ./patches/220-remove-nas.sh
applying patch file ./patches/230-openssl.sh
applying patch file ./patches/240-add-dsl-expert-pages.sh
applying patch file ./patches/250-remove_avm_inetd.sh
removing AVM inetd
rm build/modified/filesystem/bin/inetdctl
rm build/modified/filesystem/etc/inetd.conf
patching build/modified/filesystem/etc/init.d/rc.S
applying patch file ./patches/260-remove_tr069.sh
applying patch file ./patches/270-remove_usb_module.sh
applying patch file ./patches/275-multiple_printers.sh
applying patch file ./patches/290-replace_websrv-remove_igdd.sh
applying patch file ./patches/300-remove-smbd.sh
applying patch file ./patches/310-remove_userman.sh
applying patch file ./patches/320-remove-dsld.sh
applying patch file ./patches/320-remove_capiotcp.sh
applying patch file ./patches/330-remove-voip-isdn.sh
applying patch file ./patches/331-remove-voipd.sh
applying patch file ./patches/340-remove_dect_update.sh
applying patch file ./patches/350-add_remove_annex_file.sh
applying patch file ./patches/360-remove-wlan.sh
applying patch file ./patches/370-remove_dtrace.sh
removing dtrace file
rm build/modified/filesystem/usr/bin/dtrace
applying patch file ./patches/380-remove-umtsd.sh
applying patch file ./patches/385-remove-ntfs.sh
applying patch file ./patches/400-remove-inetdctl.sh
applying patch file ./patches/401-remove_ftpd.sh
applying patch file ./patches/410-remove_piglet.sh
applying patch file ./patches/420-remove_printserv.sh
applying patch file ./patches/460-MAXDEVCOUNT.sh
applying patch file ./patches/470-volumecounter.sh
applying patch file ./patches/480-alarmclock.sh
applying patch file ./patches/500-remove-mediasrv.sh
applying patch file ./patches/510-remove_aura_usb.sh
applying patch file ./patches/510-remove_avm_vpn.sh
applying patch file ./patches/510-remove_minid.sh
applying patch file ./patches/520-remove_dect.sh
applying patch file ./patches/530-remove_support.sh
applying patch file ./patches/540-remove_webdav.sh
applying patch file ./patches/550-add_reg_external_in_gui.sh
applying patch file ./patches/560-remove_lsof.sh
applying patch file ./patches/570-remove_strace.sh
applying patch file ./patches/600-replace_mdev.sh
applying patch file ./patches/700-add_bash_to_etc_shells.sh
applying patch file ./patches/900-add_options_cfg.sh
creating options.cfg
by symlinking it to .config
applying patch file ./patches/999-remove_run_clock.sh
removing oem: none
installing mod base
installing libs
ld_uClibc
libcrypt
libdl
libfreetz
libgcc_s
libm
libnsl
libpthread
librt
libuClibc
replacing busybox
replacing busybox-8mb
installing symlinks
installing modules
generating modules.dep
installing packages
syslogd-cgi-0.2.3
inetd-0.2
fstyp-0.1
haserl-0.9.29
mod-1.0
modcgi-0.3
invoking custom script
processing mod base options
setting colored style as default
patching security level
rc.external was not integrated into image
integrating stripped .config file into image
stripping leftover unstripped binaries
build/modified/filesystem/usr/share/ctlmgr/libctlusb.so
build/modified/filesystem/lib/libusbcfg.so.1.0.0
build/modified/filesystem/lib/libupnpdevusb.so.1.0.0
build/modified/filesystem/lib/libacgenusb.so.1.0.0
build/modified/filesystem/lib/libled2.so.2.2.0
build/modified/filesystem/lib/libluaxml.so.1.0.0
build/modified/filesystem/lib/libavmacl.so.0.0.0
build/modified/filesystem/lib/libpthread-0.9.29.so
build/modified/filesystem/lib/libtiinterpreter.so.0.0.0
build/modified/filesystem/lib/libpop3lib.so.1.0.0
build/modified/filesystem/lib/libmaillib.so.2.0.0
build/modified/filesystem/lib/libluatextdb.so.1.0.0
done.
STEP 3: PACK
checking for left over Subversion directories
integrate freetz info file into image
packing var.tar
creating filesystem image
squashfs blocksize: 65536
merging kernel image
kernel image size: 7778560 (max: 7798784, free: 20224)
WARNING: Not enough free flash space for answering machine!
packing 7170_preview_04.86freetz-devel.de_20110608-143544.image
Image files can be found in the ./images/ subfolder
done.
FINISHED
---------------------------------------------------------------------------------------------------------------
modimage=7170_preview_04.86freetz-devel.de_20110608-143544.image
`./images/7170_preview_04.86freetz-devel.de_20110608-143544.image' -> `/home/freetz/suse/speed-to-fritz/Firmware.orig/7170_preview_04.86freetz-devel.de_20110608-143544.image'
`/home/freetz/suse/speed-to-fritz/Firmware.conf' -> `/home/freetz/suse/speed-to-fritz/conf-721-freetz'
Invoke 'speed-to-fritz' now? (y/n)?
Be patient ...
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Speed-to-fritz output directory is now set to: /mnt/win/Firmware.new
Firmware configuration taken from: conf-721-freetz
********************************************************************************
Speed-to-Fritz revision: 1277
--------------------------------------------------------------------------------
********************************************************************************
Phase 1: Download or check firmware images
********************************************************************************
Added 7170_preview_04.86freetz-devel.de_20110608-143544.image to ./md5lst
Extracting image files to temporary directories ...
-- Unpacking fw_SpeedportW721V_v_64.04.74.image to:
/home/freetz/suse/speed-to-fritz/SPDIR
remove tichksum
splitting kernel image
Extract Filesystem ...
723 inodes (885 blocks) to write
[===============================================================|] 885/885 100%
created 379 files
created 56 directories
created 186 symlinks
created 158 devices
created 0 fifos
unpacking var.tar
-- Unpacking 7170_preview_04.86freetz-devel.de_20110608-143544.image to:
/home/freetz/suse/speed-to-fritz/FBDIR
remove tichksum
splitting kernel image
Extract Filesystem ...
2805 inodes (3009 blocks) to write
[=============================================================|] 3009/3009 100%
created 1838 files
created 176 directories
created 640 symlinks
created 326 devices
created 1 fifos
unpacking var.tar
Images extracted... Press 'ENTER' to continue
--------------------------------------------------------------------------------
Verifying version of firmware images ...
-- Base firmware version: 64.04.74-14330
-- AVM firmware version: 29.04.86-19957
-- Base # Versioninfo: 64.04.74
-- AVM # Versioninfo: 29.04.86-19957
-- Base # Checkpoint: r14330
-- AVM # Checkpoint: r19957
-- Base # Kernelsize: 7798784
-- AVM # Kernelsize: 7798784
--------------------------------------------------------------------------------
-- Base Kernel version is: 2.6.13.1-ohio
-- AVM Kernel version is: 2.6.13.1-ohio
--------------------------------------------------------------------------------
-- Base uClib version is: 0.9.29
-- AVM uClib version is: 0.9.29
--------------------------------------------------------------------------------
HW Feature Fritz_Box_SpeedportW721V Fritz_Box_7170
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
DECT: not detected not detected
ISDN NT: not detected detected
ISDN TE: detected detected
USB Port: not detected 1.0 detected
a/b Ports: 2 Port(s) 3 Port(s)
eth Ports: 4 Port(s) 4 Port(s)
--------------------------------------------------------------------------------
removed directory: usr/www/1und1
removed directory: /etc/default.Fritz_Box_7170/1und1
moving usr/www/all to usr/www/avm ...
removed directory: usr/www/all
removed directory: /etc/default.Fritz_Box_7170/all
-- merged source and destination /dev directory
********************************************************************************
Phase 2: Apply modell dependend changes
********************************************************************************
721/////////////////////////////////////////////////////////////////////////////
New WEB GUI will be modified
-- VINAX DSL driver was taken from the original base firmware!
-- fw_dcrhp_1150_ap.bin was taken from the original base firmware
-- microvoip-dsl.bin was taken from the original base firmware
Speedport721: line 78: /lib/modules/2.6.13.1-ohio/kernel/drivers/net/wireless/avm_wlan/wlan/tiap.ko: No such file or directory
-- Matching Versions: 04.86-19957 - 04.74-14330
-- Xilinx bitfile was taken from the original base firmware
-- piglet_width_running=1
-- piglet_usb_power_bit=-1
-- piglet_disable_test=1
-- piglet_cs=5
-- piglet_reset_bit=-2
-- piglet_bitfile_offset=0
-- piglet_bitfile_write=-1
-- piglet_bitfile_revbytes=1
-- piglet_enable_button2=1
-- 1st firmware is multicountry
removed language directory: en
language database en removed.
removed TAM language directory: en
removed: /usr/share/telefon/tam-en.html
removed: /usr/share/telefon/fax-en.html
removed: /usr/share/telefon/tam-en.txt
removed: /usr/share/telefon/fax-en.txt
removed language directory: it
language database it removed.
removed TAM language directory: it
removed: /usr/share/telefon/tam-it.html
removed: /usr/share/telefon/fax-it.html
removed: /usr/share/telefon/tam-it.txt
removed: /usr/share/telefon/fax-it.txt
removed language directory: es
language database es removed.
removed TAM language directory: es
removed: /usr/share/telefon/tam-es.html
removed: /usr/share/telefon/fax-es.html
removed: /usr/share/telefon/tam-es.txt
removed: /usr/share/telefon/fax-es.txt
removed language directory: fr
language database fr removed.
removed TAM language directory: fr
removed: /usr/share/telefon/tam-fr.html
removed: /usr/share/telefon/fax-fr.html
removed: /usr/share/telefon/tam-fr.txt
removed: /usr/share/telefon/fax-fr.txt
-- add missing VDSL scale images
-- adjusting config params in:
/etc/init.d/rc.conf
-- changing product to Fritz_Box_7170
-- removing 'internal S0', from setup page ...
-- removing 'USB' from setup page ...
-- removing 'internal FON 3', from setup page ...
/sbin/eventadd
-- removing luna usb ...
removed ram check from file: usb_devices.lua
removed usb count from file: usb_devices.lua
-- removing /usr/www/avm/html/de/menus/menu2_usb.inc
-- removing /usr/www/avm/html/de/home/menu2_usb.html
-- usb menu entry removed from /usr/www/avm/html/de/menus/menu2_konfig.html
-- removing GUI USB-entrys ...
/usr/www/avm/html/de/system/syslog.html
sed: can't read /home/freetz/suse/speed-to-fritz/FBDIR/squashfs-root/usr/www/avm/html/de/system/syslog.html: No such file or directory
sed: can't read /home/freetz/suse/speed-to-fritz/FBDIR/squashfs-root/usr/www/avm/html/de/system/syslog.html: No such file or directory
sed: can't read /home/freetz/suse/speed-to-fritz/FBDIR/squashfs-root/usr/www/avm/html/de/system/syslog.html: No such file or directory
/usr/www/avm/html/de/wlan/common.html
/usr/www/avm/html/de/home/sitemap.html
/usr/www/avm/html/de/menus/menu2_internet.html
/usr/www/avm/html/de/fon_config/fon_config_3fxi.js
/usr/www/avm/html/de/fon_config/fon_config_3fxi.html
-- Removing directory:
/usr/www/avm/html/de/usb
-- remove some 'internal S0' Text in Files ...
/usr/www/avm/html/de/fon_config/fon_config_Start.html
cat: /home/freetz/suse/speed-to-fritz/FBDIR/squashfs-root/usr/www/avm/html/de/fon_config/dect.frm: No such file or directory
cat: /home/freetz/suse/speed-to-fritz/FBDIR/squashfs-root/usr/www/avm/html/de/fon_config/dect.html: No such file or directory
cat: /home/freetz/suse/speed-to-fritz/FBDIR/squashfs-root/usr/www/avm/html/de/fon_config/dect.js: No such file or directory
/usr/www/avm/html/de/home/fondevlist.js
/usr/www/avm/html/de/home/ppFondevices.html
cat: /home/freetz/suse/speed-to-fritz/FBDIR/squashfs-root/usr/www/avm/html/de/home/usbdisk_cut.frm: No such file or directory
cat: /home/freetz/suse/speed-to-fritz/FBDIR/squashfs-root/usr/www/avm/html/de/home/usbdisk_cut.html: No such file or directory
cat: /home/freetz/suse/speed-to-fritz/FBDIR/squashfs-root/usr/www/avm/html/de/home/usbdisk_cut.js: No such file or directory
-- applying Button for sending fonbook ...
********************************************************************************
usr/www/avm/html/de/internet/internet.frm
usr/www/avm/html/de/internet/internet.html
usr/www/avm/html/de/internet/internet.js
usr/www/avm/html/de/internet/inetstat.js
usr/www/avm/html/de/menus/menu2_internet.html
usr/www/avm/html/de/menus/menu2_homehome.html
-- removing files:
ls: cannot access /home/freetz/suse/speed-to-fritz/FBDIR/squashfs-root/usr/www/avm/html/de/help/hilfe_kindersicherung_*.html: No such file or directory
usr/www/avm/html/de/internet/userlist.js
usr/www/avm/html/de/internet/userlist.frm
-- removing directory:
/usr/www/kids
-- removing system help to reduce image size ...
-- removing help button from: /usr/www/avm/html/de/fon/buchsend.html
-- removing help button from: /usr/www/avm/html/de/fon/fon1fxi.html
-- removing help button from: /usr/www/avm/html/de/fon/fon1tam.html
-- removing help button from: /usr/www/avm/html/de/fon/fonbuch.html
-- removing help button from: /usr/www/avm/html/de/fon/fonbuch2.html
-- removing help button from: /usr/www/avm/html/de/fon/foncalls.html
-- removing help button from: /usr/www/avm/html/de/fon/fondevices.html
-- removing help button from: /usr/www/avm/html/de/fon/fonintern.html
-- removing help button from: /usr/www/avm/html/de/fon/quality.html
-- removing help button from: /usr/www/avm/html/de/fon/routing.html
-- removing help button from: /usr/www/avm/html/de/fon/speechfeedback.html
-- removing help button from: /usr/www/avm/html/de/fon/sperre.html
cat: /home/freetz/suse/speed-to-fritz/FBDIR/squashfs-root/usr/www/avm/html/de/fon_config/dect.html: No such file or directory
-- removing help button from: /usr/www/avm/html/de/fon_config/fon1fxi.html
-- removing help button from: /usr/www/avm/html/de/fon_config/fon1tam.html
-- removing help button from: /usr/www/avm/html/de/fon_config/fon_config_emailTest.html
-- removing help button from: /usr/www/avm/html/de/home/bb_applycancel.html
-- removing help button from: /usr/www/avm/html/de/home/bb_refresh.html
-- removing help button from: /usr/www/avm/html/de/home/buchsend.html
-- removing help button from: /usr/www/avm/html/de/home/feedback.html
-- removing help button from: /usr/www/avm/html/de/home/fon1fxi.html
-- removing help button from: /usr/www/avm/html/de/home/fon1tam.html
-- removing help button from: /usr/www/avm/html/de/home/fonbuch.html
-- removing help button from: /usr/www/avm/html/de/home/fonbuch2.html
-- removing help button from: /usr/www/avm/html/de/home/foncalls.html
-- removing help button from: /usr/www/avm/html/de/home/fondevices.html
-- removing help button from: /usr/www/avm/html/de/home/fonintern.html
-- removing help button from: /usr/www/avm/html/de/home/fonlist.html
-- removing help button from: /usr/www/avm/html/de/home/rbb_applycancel.html
-- removing help button from: /usr/www/avm/html/de/home/rbb_applycancelreset.html
-- removing help button from: /usr/www/avm/html/de/home/rbb_applyok.html
-- removing help button from: /usr/www/avm/html/de/home/rbb_refresh.html
cat: /home/freetz/suse/speed-to-fritz/FBDIR/squashfs-root/usr/www/avm/html/de/home/usbdisk_cut.html: No such file or directory
-- removing help button from: /usr/www/avm/html/de/internet/dslsnrset.html
-- removing help button from: /usr/www/avm/html/de/internet/portfw.html
-- removing help button from: /usr/www/avm/html/de/internet/trafficappl.html
-- removing help button from: /usr/www/avm/html/de/internet/trafficappl_edit.html
-- removing help button from: /usr/www/avm/html/de/internet/trafficprio.html
-- removing help button from: /usr/www/avm/html/de/internet/trafficprio_edit.html
-- removing help button from: /usr/www/avm/html/de/internet/trafficprotocol_edit.html
-- removing help button from: /usr/www/avm/html/de/internet/usbdisk_freigabe.html
-- removing help button from: /usr/www/avm/html/de/internet/userlist.html
-- removing help button from: /usr/www/avm/html/de/internet/vpn.html
-- removing help button from: /usr/www/avm/html/de/system/clients.html
-- removing help button from: /usr/www/avm/html/de/wlan/common.html
-- removing help button from: /usr/www/avm/html/de/wlan/monitor.html
sed: can't read /home/freetz/suse/speed-to-fritz/FBDIR/squashfs-root/usr/www/avm/html/de/help/rback.html: No such file or directory
721/////////////////////////////////////////////////////////////////////////////
********************************************************************************
Phase 3: Apply modell independet changes
********************************************************************************
-- Timestamp (Year, month, day, hour, minute): 201106081438
-- copyed conf-721-freetz to ./conf/W721/ADSL/19957/ANNEX_B/201106081438
-- bugfix for home.js
-- removing system help to reduce image size ...
cat: /home/freetz/suse/speed-to-fritz/FBDIR/squashfs-root/usr/www/avm/html/de/fon_config/dect.html: No such file or directory
cat: /home/freetz/suse/speed-to-fritz/FBDIR/squashfs-root/usr/www/avm/html/de/home/usbdisk_cut.html: No such file or directory
sed: can't read /home/freetz/suse/speed-to-fritz/FBDIR/squashfs-root/usr/www/avm/html/de/help/rback.html: No such file or directory
-- Added header: /usr/www/avm/css/default/images/kopfbalken.gif
-- Added header: /usr/www/avm/css/default/images/kopfbalken_mitte.gif
-- add support menu-item...
-- support menue added to: /usr/www/avm/menus/menu_data.lua
-- Replace menu-item assistent...
-- set expertview ...
in file: /default.Fritz_Box_7170/avm/ar7.cfg
-- add tcom link...
-- applying 'check signature' patch ...
-- patching file:
/usr/www/html/de/home/home.js ...
-- signature removed in avm/html/de/home/home.js
-- removing 'Tab0' from updatepage ...
removed Online-Update tab from file: menu_show.lua
-- patching install webpages ...
-- patch update page: avm/html/tools/downgrade.html...
-- patch update page: avm/html/tools/flash.html...
-- patch update page: avm/html/tools/update_not_signed.html...
-- patch update page: avm/html/tools/update_not_signed_no_password.html...
-- patch update page: avm/html/restart.html...
-- patch update page: avm/html/tools/update_result.html...
-- updating module dependency informations
-- add oem links ...
added link: usr/www/all
********************************************************************************
enforce urlader settings
OEM (Branding) set via firmware to: avm
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_7170
-- replaced /etc/inittab.sh ...
-- patch install script ...
********************************************************************************
Phase 4: Pack and deliver
********************************************************************************
********************************************************************************
Settings:
********************************************************************************
Script revision : 1277
Firmware for update via GUI : fw_C_Speedport_721_64.04.74-14330_Fritz_Box_SpeedportW721V_29.04.86-19957-freetz-7088M-sp2fr-1277-1321_OEM-avmB_de.image
Firmware for update via FTP : kernel.image
Output directory : /mnt/win/Firmware.new
for Speedport model : W721V
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: 7508224 (max: 7798784, free: 290560)
-- Approximately free time for the answering machine: 28s (0min 28s)
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.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Looking for bootloader start kernel start and kernel end ...
bootloader start at: 12352693
kernel start at: 249944
kernel end at: 12352640
Extracting executabel first part ...
exe_length:249944
exe_start, start @ 0, length: 249944
Extracting root kernel (kernel.image) ...
kernel.image, start @ 249944, length: 12102696, end @ 12352640
exe_mid, start @ 12352640, length: 53, end @ 12352693
Firmware version: 74.04.90
Extracting bootloader (urlader.image) ...
urlader.image, start @ 12352693, length: 65536, end @ 12418229
file is a possible bootloader candidate
Extracting executabel end part ...
exe_end, start @ 12418229, length: 107339, end @ 12525568
actual size= 12525568, new actual size= 12525568
do the main patch ...
New recoverversion: .29.04.86 .
patch revison ...
concat all parts ...
New recover: /mnt/win/Firmware.new/Speedport_W721V.recover-image.exe
To load firmware into your router, transfer this new recover to windows and start it.
This is another 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.
********************************************************************************
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 /mnt/win/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=/mnt/win/Firmware.new
oem: avm Produkt: Fritz_Box_7170 HWResvison: 134.1.1.0 Eth: eth0 IP: 192.168.178.1 jffs2size: 32 kernel_args: annex=B
PC Netcard Addr:10.0.2.15 Bcast:10.0.2.255 Mask:255.255.255.0
-----------------------------------------------------------------------
All settings will be removed, because clear mtd3 and mtd4 was selected!
-----------------------------------------------------------------------
Press 'ENTER' to proceed!
You should now reboot your box. Waiting for box to shut down for restart ...
......
Initiating file transfer of 'kernel.image' ...
Please be patient, it takes about one minute to erase the mtd1 partition ...
Debugging on (debug=1).
---> PASV
---> STOR mtd1
/bin/bash====================================> ]
---> PASV
---> STOR mtd3
/bin/bash
---> PASV
---> STOR mtd4
/bin/bash
---> REBOOT
---> QUIT
SIOCSIFADDR: Permission denied
SIOCSIFFLAGS: Permission denied
Waiting for box to shut down and restart ...
.
Box is back up again...
All done .... Press 'ENTER' to finish