sudo ./sp-to-fritz.sh -m 907 [sudo] password for xtc: ******************************************************************************** Settings: ******************************************************************************** Script version : 07.12.07-beta Start building file : kernel.image for Speedport model : W900V Branding set to : tcom Hostname is : fritz.box Caller ID lookup patch : will not be applied AVM source is : FRITZ!Box Fon WLAN 7170 ******************************************************************************** Phase 1: Check firmware images. ******************************************************************************** Looking for TCOM firmware file 'Speedport_w900v_Beta_SP_W_900V.AnnexB.34.04.38-7186.image'. -- TCOM firmware file found in directory: /home/xtc/paschermod/8.12/speed-to-fritz/Firmware.orig Looking for AVM FBFImage firmware file 'FRITZ.Box_Fon_WLAN_7170.29.04.48-9599.image'. -- AVM firmware file found in directory: /home/xtc/paschermod/8.12/speed-to-fritz/Firmware.orig ******************************************************************************** Phase 2: Unpack and extract files from images. ******************************************************************************** Extracting image files to temporary directories ... -- Unpacking Speedport_w900v_Beta_SP_W_900V.AnnexB.34.04.38-7186.image to: /home/xtc/paschermod/8.12/speed-to-fritz/SPDIR -- Unpacking FRITZ.Box_Fon_WLAN_7170.29.04.48-9599.image to: /home/xtc/paschermod/8.12/speed-to-fritz/FBDIR Images extracted... Press 'ENTER' to contiue ******************************************************************************** Phase 3: Copy sources. ******************************************************************************** Verifying version of TCOM and AVM firmware images ... -- TCOM firmware image version is: 04.38 -- AVM firmware image version is: 04.48-9599 907///////////////////////////////////////////////////////////////////////////// ******************************************************************************** Phase 3a: Apply changes. ******************************************************************************** -- Copy Speedport LED-configfile: /etc/led.conf Replacing hardwarerelated files of AVM firmware images ... Matchig Versions..: 04.38 - 04.48-9599 /usr/www/avm/html/de/fon/dect.frm /usr/www/avm/html/de/fon/dect.html /usr/www/avm/html/de/fon/dect.inc /usr/www/avm/html/de/fon/dect.js /usr/www/avm/html/de/fon/fon1dect.frm /usr/www/avm/html/de/fon/fon1dect.html /usr/www/avm/html/de/fon/fon1dect.inc /usr/www/avm/html/de/fon/fon1dect.js /usr/www/avm/html/de/fon/foneditdect.frm /usr/www/avm/html/de/fon/foneditdect.html /usr/www/avm/html/de/fon/foneditdect.inc /usr/www/avm/html/de/fon/foneditdect.js /usr/www/avm/html/de/fon/fonlistdect.frm /usr/www/avm/html/de/fon/fonlistdect.html /usr/www/avm/html/de/fon/fonlistdect.inc /usr/www/avm/html/de/fon/fonlistdect.js /usr/www/avm/html/de/fon/fonlist.html /usr/www/avm/html/de/fon/fonsetupdect.frm /usr/www/avm/html/de/fon/fonsetupdect.html /usr/www/avm/html/de/fon/fonsetupdect.inc /usr/www/avm/html/de/fon/fonsetupdect.js /usr/www/avm/html/de/fon/fondevices.html /usr/www/avm/html/de/help/hilfe_fon_setupdect.html /usr/www/avm/html/de/help/hilfe_fon_editdect.html /usr/www/avm/html/de/help/hilfe_fon_fon1dect.html /usr/www/avm/html/de/help/hilfe_fon_dect.html /usr/www/avm/html/de/help/hilfe_fon_dect_festnetzrufnummer.html /usr/www/avm/html/de/help/hilfe_fon_dect_fon1isdn.html /usr/www/avm/html/de/help/hilfe_fon_listdect.html /usr/www/1und1/html/de/fon/dect.frm /usr/www/1und1/html/de/fon/dect.html /usr/www/1und1/html/de/fon/dect.inc /usr/www/1und1/html/de/fon/dect.js /usr/www/1und1/html/de/fon/fon1dect.frm /usr/www/1und1/html/de/fon/fon1dect.html /usr/www/1und1/html/de/fon/fon1dect.inc /usr/www/1und1/html/de/fon/fon1dect.js /usr/www/1und1/html/de/fon/foneditdect.frm /usr/www/1und1/html/de/fon/foneditdect.html /usr/www/1und1/html/de/fon/foneditdect.inc /usr/www/1und1/html/de/fon/foneditdect.js /usr/www/1und1/html/de/fon/fonlistdect.frm /usr/www/1und1/html/de/fon/fonlistdect.html /usr/www/1und1/html/de/fon/fonlistdect.inc /usr/www/1und1/html/de/fon/fonlistdect.js /usr/www/1und1/html/de/fon/fonlist.html /usr/www/1und1/html/de/fon/fonsetupdect.frm /usr/www/1und1/html/de/fon/fonsetupdect.html /usr/www/1und1/html/de/fon/fonsetupdect.inc /usr/www/1und1/html/de/fon/fonsetupdect.js /usr/www/1und1/html/de/fon/fondevices.html /usr/www/1und1/html/de/help/hilfe_fon_setupdect.html /usr/www/1und1/html/de/help/hilfe_fon_editdect.html /usr/www/1und1/html/de/help/hilfe_fon_fon1dect.html /usr/www/1und1/html/de/help/hilfe_fon_dect.html /usr/www/1und1/html/de/help/hilfe_fon_dect_festnetzrufnummer.html /usr/www/1und1/html/de/help/hilfe_fon_dect_fon1isdn.html /usr/www/1und1/html/de/help/hilfe_fon_listdect.html /usr/www/freenet/html/de/fon/dect.frm /usr/www/freenet/html/de/fon/dect.html /usr/www/freenet/html/de/fon/dect.inc /usr/www/freenet/html/de/fon/dect.js /usr/www/freenet/html/de/fon/fon1dect.frm /usr/www/freenet/html/de/fon/fon1dect.html /usr/www/freenet/html/de/fon/fon1dect.inc /usr/www/freenet/html/de/fon/fon1dect.js /usr/www/freenet/html/de/fon/foneditdect.frm /usr/www/freenet/html/de/fon/foneditdect.html /usr/www/freenet/html/de/fon/foneditdect.inc /usr/www/freenet/html/de/fon/foneditdect.js /usr/www/freenet/html/de/fon/fonlistdect.frm /usr/www/freenet/html/de/fon/fonlistdect.html /usr/www/freenet/html/de/fon/fonlistdect.inc /usr/www/freenet/html/de/fon/fonlistdect.js /usr/www/freenet/html/de/fon/fonlist.html /usr/www/freenet/html/de/fon/fonsetupdect.frm /usr/www/freenet/html/de/fon/fonsetupdect.html /usr/www/freenet/html/de/fon/fonsetupdect.inc /usr/www/freenet/html/de/fon/fonsetupdect.js /usr/www/freenet/html/de/fon/fondevices.html /usr/www/freenet/html/de/help/hilfe_fon_setupdect.html /usr/www/freenet/html/de/help/hilfe_fon_editdect.html /usr/www/freenet/html/de/help/hilfe_fon_fon1dect.html /usr/www/freenet/html/de/help/hilfe_fon_dect.html /usr/www/freenet/html/de/help/hilfe_fon_dect_festnetzrufnummer.html /usr/www/freenet/html/de/help/hilfe_fon_dect_fon1isdn.html /usr/www/freenet/html/de/help/hilfe_fon_listdect.html -- Patching modules.dep /lib/modules/2.6.13.1-ohio/modules.dep -- Addapt parameters for Piglet bitfile. piglet_irq_gpio=18 piglet_irq=9 piglet_width_running=1 piglet_usb_power_bit=-1 piglet_disable_test=1 piglet_cs=5 piglet_reset_bit=-2 piglet_bitfile_offset=0x51 piglet_bitfile_write=-1 piglet_bitfile_revbytes=1 Fritz_Box_7170 ---> Fritz_Box_DECT_W900V -- Move contents of OEM directory: move /etc/default.Fritz_Box_7170 --> /etc/default.Fritz_Box_DECT_W900V ******************************************************************************** Phase 5: adjust configs. ******************************************************************************** -- Adjusting config parms in: /etc/init.d/rc.conf -- Setting 'HOSTNAME=fritz.box' in: /etc/init.d/rc.conf -- Changing product to Fritz_Box_DECT_W900V /etc/init.d/rc.conf Applying 'check signature' patch ... -- Patching file: /usr/www/.../html/de/home/home.js ... ******************************************************************************** 907///////////////////////////////////////////////////////////////////////////// ******************************************************************************** Phase 9: Pause. ******************************************************************************** Ready for packaging... Press 'ENTER' to ... Completed data retrieval. Removing sources ... /home/xtc/paschermod/8.12/speed-to-fritz/FBDIR ******************************************************************************** Phase 10: Pack and deliver. ******************************************************************************** Building new 'kernel.image' ... -- Compressing filesystem (Blocksize is 65536) ... -- Adding checksum ... Generation of new 'kernel.image' completed successfully! You may now use it in regular firmware upgrade process. Press 'ENTER' to continue ... Moving kernel.image to output directory: /home/xtc/paschermod/8.12/speed-to-fritz/Firmware.new -- Removing temporary directory: /home/xtc/paschermod/8.12/speed-to-fritz/SPDIR -- Changing ownership of kernel.image ... ******************************************************************************** Done! Continue with upload of new kernel.image to speedport via ftp ... 1. Login to 192.168.178.1 as adam2 (pw adam2) 2. Issue commands: bin, passiv, quote MEDIA FLSH 3. Transfer file: put kernel.image mtd1 4. Change branding: quote SETENV firmware_version tcom 5. Reboot speedport: quote REBOOT 6. Exit ftp: quit ******************************************************************************** All done .... Press 'ENTER' to finish xtc@schlepp-tux:~/paschermod/8.12/speed-to-fritz$ xtc@schlepp-tux:~/paschermod/8.12/speed-to-fritz$