Create the latest FritzBox! Firmware for the Speedport W 900V

Installation of the Tool download_speed-to-fritz.sh

First, get the script download_speed-to-fritz.sh. Run it and install all required tools.

cd ~/Downloads
wget https://freetzlinux.svn.sourceforge.net/svnroot/freetzlinux/download_speed-to-fritz.sh.tar.gz
tar -xf download_speed-to-fritz.sh.tar.gz
./download_speed-to-fritz.sh

Configuration and Firmware Creation

Setup:

  • Choose Hardware Type → Speedport W900V
  • Select a special AVM firmware → yes, choose 7170 19138 - pre-release

Exit the menuconfig and the firmware creation will begin.

At first, I encountered the following problem (due to the fact that I was using a 64 bit system):

*** End of Speed-to-fritz configuration.
*** Execute 'sp-to-fritz.sh' to build Speed-to-fritz.


!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

ERROR: ld.so: object 'libfakeroot.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object 'libfakeroot.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object 'libfakeroot.so' from LD_PRELOAD cannot be preloaded: ignored.
ATTENTION! You must run this skrit as root or wraped with fakeroot!
ERROR: ld.so: object 'libfakeroot.so' from LD_PRELOAD cannot be preloaded: ignored.

So I executed the following command to build some tools for the image creation process (such as tar, busybox, squashfs, fakeroot) on a 64bit system:

cd ~/Downloads/speed-to-fritz
./install-tools

Then I repeated the step download_speed-to-fritz.sh, set the options again, exited (and saved) and the firmware was created successfully. The name of the firmware image is:

fw_C_Speedport_900_34.04.57-10974_Fritz_Box_DECT_W900V_29.04.86-19138-sp2fr-11.03.12-r-1206M-1256_OEM-avm_annexB_de.image

Flash the New Firmware

Connect a switch to the LAN1 port of the device, connect your computer to another port on the switch. (If you would be directly connected to the LAN1 port of the W900V, your connection would be reset when rebooting the Speedport W900V and we don't want that as our network configuration might get lost because of this.)

Set your IP to 192.168.178.19 (or anything between 192.168.178.2 and 192.168.178.19) and the netmask to 255.255.0.0. Personally I simply set up an IP alias (this way I can keep my normal network configuration untouched):

sudo ifconfig eth1:0 192.168.178.19 netmask 255.255.0.0 up

To flash the firmware run ./ftpXXX.

A successfull flashing of the firmware looks like this:

philipp@lion:~/Downloads/speed-to-fritz$ ./ftpXXX

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.
eth0: Fehler beim Auslesen der Schnittstelleninformation: Gerät nicht gefunden
Ethernet card found on: eth1
Imagedirectory=/home/philipp/Downloads/speed-to-fritz/Firmware.new
oem: avm  Produkt: Fritz_Box_7170  HWResvison: 102.1.1.0  Eth: eth1  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!
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

Waiting for box to shut down and restart ...
........................................................

Result

The created image runs great as IP client and WiFi access point with sipgate VoIP service.

resources

All resources are in German:

Comments