Speedport to Fritz

In meinem Fall war es notwendig die AVM UI auf den Speedport zu bringen, da bei meinem Internetprovider nur ein “leer”-Kennwort unterstützt ist und die T-COM Oberfläche ein leeres Kennwort als zu unsicher einstuft und die Einstellungen damit nicht speichert. Nachfolgend habe ich analog zu spirou beschrieben, was ich gemacht habe - und welche Fehler man besser lassen sollte. !:! Use at your own risk!!

Quellen

Original Firmware flashen mittels adam2

ping

root@Knoppix:/tmp/sp2fritz/sp-to-fritz# ping -b 192.168.178.1
PING 192.168.178.1 (192.168.178.1) 56(84) bytes of data.
From 192.168.178.11 icmp_seq=1 Destination Host Unreachable
From 192.168.178.11 icmp_seq=2 Destination Host Unreachable
From 192.168.178.11 icmp_seq=3 Destination Host Unreachable
From 192.168.178.11 icmp_seq=4 Destination Host Unreachable
From 192.168.178.11 icmp_seq=5 Destination Host Unreachable
From 192.168.178.11 icmp_seq=6 Destination Host Unreachable
From 192.168.178.11 icmp_seq=7 Destination Host Unreachable
From 192.168.178.11 icmp_seq=8 Destination Host Unreachable
From 192.168.178.11 icmp_seq=9 Destination Host Unreachable
64 bytes from 192.168.178.1: icmp_seq=10 ttl=250 time=1.81 ms
64 bytes from 192.168.178.1: icmp_seq=11 ttl=250 time=0.351 ms
64 bytes from 192.168.178.1: icmp_seq=12 ttl=250 time=0.367 ms
</ping>
Jetzt heißt es "schnell sein!", denn ansonsten wird die Adresse wieder Default 192.168.2.1!!

<code|ftp>
root@Knoppix:/tmp/sp2fritz# ftp 192.168.178.1
Connected to 192.168.178.1.
220 ADAM2 FTP Server ready
Name (192.168.178.1:root): adam2
331 Password required for adam2
Password:
530 not logged in
Login failed.
ftp> user adam2
331 Password required for adam2
Password:
230 User adam2 successfully logged in
Remote system type is AVM.
ftp> bin
200 Type set to BINARY
ftp> passive
Passive mode on.
ftp> ! ls
Anleitung Speedport to Fritz_11.03.2007.pdf  Passid.exe
fritz.box_fon_wlan_7050.14.04.01.image       patch_tcom.tar.gz
fritz.box_fon_wlan_7141.40.04.37.image       sp-to-fritz
fritz.box_fon_wlan_7170.29.04.40.image       sp-to-fritz_27_11_2007.tar.gz
fw_Speedport_W_900V.34.04.21.image
ftp> quote MEDIA FLSH
200 Media set to MEDIA_FLASH
ftp> put fw_Speedport_W_900V.34.04.21.image mtd1
local: fw_Speedport_W_900V.34.04.21.image remote: mtd1
227 Entering Passive Mode (192,168,178,1,4,171)
227 Entering Passive Mode (192,168,178,1,4,171)
150 Opening BINARY data connection
226 Transfer complete
5160960 bytes sent in 20.88 secs (241.4 kB/s)
ftp> quote SETENV firmware_version tcom
200 SETENV command successful
ftp> quote REBOOT
221 Thank you for using the FTP service on ADAM2
ftp> quit
221 Goodbye.
root@Knoppix:/tmp/sp2fritz#

Erstellen des neuen kernel Image

sp2fritz

root@Knoppix:/tmp/sp2fritz/sp-to-fritz# ./sp-to-fritz.sh
Usage: [sudo] ./sp-to-fritz.sh [OPTIONS] -m MODEL
Script to use Fritz!Box WEB UI on selected Speedport models.

To run properly the scripts needs superuser privileges.
Login as 'root' or use 'sudo ./sp-to-fritz ...' instead.

Example: [sudo] ./sp-to-fritz.sh -tfn -d newimg -m 701

 OPTIONS:
   -t           Create 'tar'ed firmware image file for install via WEB UI;
                If not specified 'kernel.image' file is created for ftp upload.
   -f           Apply patch for reverse lookup of caller id @ 'dasoertliche.de'.
   -n           Add 'FRITZ!Box Fon ' as a prefix to the displayed product name.
                This is required for 'Fax4Box' to work.
   -a           When OEM ist set to 'TCOM' TR069 auto configuration protocol is
                enabled by this option.
   -q           Quiet mode. Suppresses excessive output while processing files.
   -r           restores structure of FON menu and related FON setup pages as
                known from version xx.04.25
   -k           Update kernel. Original TCOM files are updated from AVM
                FRITZ!Box Fon WLAN 7170 firmware source (Speedport W701V only).
   -o OEM       Set branding of the box to the value of 'OEM'.
                'OEM' may be chosen from 'avm', '1und1' or 'tcom'.
                If no brand is specified, 'tcom' is set as the default.
   -d OUTDIR    Specify directory where new images are stored in 'OUTDIR'
                Defaults to 'Firmware.new' if not specified.
   -h HOSTNAME  Sets the hostname of the box to the value specified in
                'HOSTNAME'. Defaults to 'fritz.box'.
   -p [ethX]    Pushes 'kernel.image' to box via ftp. If no other interface is
                specified the IP address '192.168.178.10' is added to 'eth0'.

Required Arguments:
   -m MODEL     where 'MODEL' must be one of the following:
                 '500'  for T-Sinus W 500V or
                 '501'  for Speedport W 501V or
                 '701'  for Speedport W 701V or
                 '900'  for Speedport W 900V
root@Knoppix:/tmp/sp2fritz/sp-to-fritz# ./sp-to-fritz.sh -tfn -d sp900v -m 900
--------------------------------------------------------------------------------
Settings:
--------------------------------------------------------------------------------
Script version             : 27.11.07
Start building file        : new_fw_Speedport_W_900V.34.04.21.image
for Speedport model        : W900V
Branding set to            : tcom
Hostname is                : fritz.box
Autoconfig via tr069       : disabled
Update kernel              : disabled
Product name prefix added  : 'FRITZ!Box Fon '
Caller ID lookup patch     : applied
AVM WEB-UI source is       : FRITZ!Box Fon WLAN 7170
--------------------------------------------------------------------------------
Removing temporary directories:
      /tmp/sp2fritz/sp-to-fritz/SpeedportW900V
********************************************************************************
Phase 1: Check firmware images.
********************************************************************************
Looking for TCOM firmware file 'fw_Speedport_W_900V.34.04.21.image'.
-- TCOM firmware file found in directory:
      /tmp/sp2fritz/sp-to-fritz/Firmware.orig
Looking for AVM FBF7141 firmware file 'fritz.box_fon_wlan_7141.40.04.25.image'.
-- Couldn't locate file in directory:
      /tmp/sp2fritz/sp-to-fritz/Firmware.orig
-- Checking ftp.avm.de for latest FBF7141 firmware file ...
-- Could not retrieve listing from ftp.avm.de.
-- Firmware file does not equal best match.
   Use at your own risk!
Looking for AVM FBF7141 firmware file 'fritz.box_fon_wlan_7170.29.04.40.image'.
-- AVM firmware file found in directory:
      /tmp/sp2fritz/sp-to-fritz/Firmware.orig
********************************************************************************
Phase 2: Unpack and extract files from images.
********************************************************************************
Extracting image files to temporary directories ...
-- Unpacking fw_Speedport_W_900V.34.04.21.image to:
      /tmp/sp2fritz/sp-to-fritz/SpeedportW900V
-- Unpacking fritz.box_fon_wlan_7141.40.04.37.image to:
      /tmp/sp2fritz/sp-to-fritz/Fritzbox7141
-- Unpacking fritz.box_fon_wlan_7170.29.04.40.image to:
      /tmp/sp2fritz/sp-to-fritz/Fritzbox7170
********************************************************************************
Phase 3: Copy sources.
********************************************************************************
Detecting hardware ...
--------------------------------------------------------------------------------
HW Feature       Speedport W 900V        FRITZ!Box Fon WLAN 7170
--------------------------------------------------------------------------------
DECT:            detected                not detected
ISDN NT:         detected                detected
ISDN TE:         detected                detected
USB Port:        detected                detected
a/b Ports:       2 Port(s)               3 Port(s)
eth Ports:       4 Port(s)               4 Port(s)
--------------------------------------------------------------------------------
Verifying version of TCOM and AVM firmware images ...
--------------------------------------------------------------------------------
Firmware         Speedport W 900V        FRITZ!Box Fon WLAN 7170
--------------------------------------------------------------------------------
Version:         34.04.21                29.04.40
--------------------------------------------------------------------------------
Retrieving missing or updated files and links ...
-- Mismatching firmware versions: Some services may not be available.
   -- Push service is not available.
   -- Universal PnP (UPnP) is not available.
-- Checking symbolic link(s):
      /usr/sbin/telnetd
      /usr/www/cgi-bin/system_status
Retrieving setup files ...
Recovering contents of directory:
      /etc/default.Fritz_Box_DECT_W900V/avm
      /etc/default.Fritz_Box_DECT_W900V/tcom
      /etc/default.Fritz_Box_DECT_W900V/1und1
********************************************************************************
Phase 4: Assemble user interface.
********************************************************************************
Creating WEB-UI environment...
-- Copying source directory:
      /usr/www/all
-- Removing menu items and related pages for feature 'Kindersicherung' ...
   -- Removing lines from:
      /usr/www/all/html/de/menus/menu2.inc
      /usr/www/all/html/de/menus/menu2_internet.inc
      /usr/www/all/html/de/internet/internet.frm
      /usr/www/all/html/de/internet/internet.html
      /usr/www/all/html/de/internet/internet.js
      /usr/www/all/html/de/internet/inetstat.js
      /usr/www/all/html/de/menus/menu2_internet.html
      /usr/www/all/html/de/menus/menu2_homehome.html
      /usr/www/all/html/de/help/home.inc
      /usr/www/all/html/de/help/home.html
   -- Removing files:
      /usr/www/all/html/de/help/hilfe_kindersicherung_einstellungen.html
      /usr/www/all/html/de/help/hilfe_kindersicherung_neuer_name.html
      /usr/www/all/html/de/help/hilfe_kindersicherung_onlinezaehler.html
      /usr/www/all/html/de/help/hilfe_kindersicherung_pc_accounts.html
      /usr/www/all/html/de/help/hilfe_kindersicherung_uebersicht.html
      /usr/www/all/html/de/internet/pp_user.html
      /usr/www/all/html/de/internet/pp_user.inc
      /usr/www/all/html/de/internet/useradd1.frm
      /usr/www/all/html/de/internet/useradd1.html
      /usr/www/all/html/de/internet/useradd1.inc
      /usr/www/all/html/de/internet/useradd1.js
      /usr/www/all/html/de/internet/useradd2.frm
      /usr/www/all/html/de/internet/useradd2.html
      /usr/www/all/html/de/internet/useradd2.inc
      /usr/www/all/html/de/internet/useradd2.js
      /usr/www/all/html/de/internet/userlist.frm
      /usr/www/all/html/de/internet/userlist.html
      /usr/www/all/html/de/internet/userlist.inc
      /usr/www/all/html/de/internet/userlist.js
      /usr/www/all/html/de/home/useradd1.frm
      /usr/www/all/html/de/home/useradd1.html
      /usr/www/all/html/de/home/useradd1.js
      /usr/www/all/html/de/home/useradd2.frm
      /usr/www/all/html/de/home/useradd2.html
      /usr/www/all/html/de/home/useradd2.js
      /usr/www/all/html/de/home/userlist.frm
      /usr/www/all/html/de/home/userlist.html
      /usr/www/all/html/de/home/userlist.js
-- Removing selection of 'predefined fon numbers' ...
   -- Patching files:
      /usr/www/all/html/de/fon/route.html
      /usr/www/all/html/de/fon/routing.js
      /usr/www/all/html/de/fon/sperre.js
      /usr/www/all/html/de/fon/sperre1.html
      /usr/www/all/html/de/fon/sperre1.js
-- Removing option 'Anrufliste verwenden' ...
   -- Patching files:
      /usr/www/all/html/de/fon/foncalls.frm
      /usr/www/all/html/de/fon/foncalls.inc
      /usr/www/all/html/de/fon/foncalls.js
      /usr/www/all/html/de/fon/foncalls.html
-- Removing option for setup of 'OKZ' and 'LKZ' ...
   -- Patching files:
      /usr/www/all/html/de/fon/sipoptionen.frm
      /usr/www/all/html/de/fon/sipoptionen.html
      /usr/www/all/html/de/fon/sipoptionen.js
      /usr/www/all/html/de/fon/sipoptionen.inc
-- Removing option for use of 'WMM' and 'WPA + WPA2' combo ...
   -- Patching files:
      /usr/www/all/html/de/wlan/common.html
      /usr/www/all/html/de/wlan/encrypt2.html
-- Removing unsupported features in display of 'dhcp clients' ...
   -- Patching files:
      /usr/www/all/html/de/system/clients.html
-- Removing option to disable WLAN nightly 'forced off' ...
   -- Patching files:
      /usr/www/all/html/de/system/nacht.frm
      /usr/www/all/html/de/system/nacht.inc
      /usr/www/all/html/de/system/nacht.html
      /usr/www/all/html/de/system/nacht.js
-- Restoring SIP and ISP related settings ...
   -- Patching files:
      /usr/www/all/html/de/internet/authform.inc
      /usr/www/all/html/de/internet/authform.frm
      /usr/www/all/html/de/internet/authform.html
      /usr/www/all/html/de/internet/authform.js
      /usr/www/all/html/de/fon/sip1.inc
      /usr/www/all/html/de/fon/sip1.frm
      /usr/www/all/html/de/fon/sip1.html
      /usr/www/all/html/de/fon/sip1.js
      /usr/www/all/html/de/first/first.frm
      /usr/www/all/html/de/first/first_ISP_1.frm
      /usr/www/all/html/de/first/first_ISP_1.html
      /usr/www/all/html/de/first/first_ISP_1.js
      /usr/www/all/html/de/first/first_ISP_1.inc
      /usr/www/all/html/de/first/first_ISP_3.frm
      /usr/www/all/html/de/first/first_ISP_3.html
      /usr/www/all/html/de/first/first_ISP_3.js
      /usr/www/all/html/de/first/first_ISP_4.html
      /usr/www/all/html/de/first/first_ISP_4.js
      /usr/www/all/html/de/first/first_Sip_1.html
      /usr/www/all/html/de/first/first_Sip_1.js
      /usr/www/all/html/de/first/first_Sip_1.inc
      /usr/www/all/html/de/first/first_Sip_2.frm
      /usr/www/all/html/de/first/first_Sip_2.html
      /usr/www/all/html/de/first/first_Sip_2.inc
      /usr/www/all/html/de/first/first_Sip_2.js
      /usr/www/all/html/de/first/first_Sip_3.html
      /usr/www/all/html/de/first/first_Sip_3.inc
      /usr/www/all/html/de/first/first_Sip_3.js
      /usr/www/all/html/de/first/first_Sip_free.frm
      /usr/www/all/html/de/first/first_Sip_free.inc
      /usr/www/all/html/de/first/first_Sip_free.html
      /usr/www/all/html/de/first/first_Sip_free.js
      /usr/www/all/html/de/first/first_Start_ISP.frm
      /usr/www/all/html/de/first/first_Start_ISP.js
      /usr/www/all/html/de/first/first_Start_Sip.frm
      /usr/www/all/html/de/first/first_Start_Sip.inc
      /usr/www/all/html/de/first/first_Start_Sip.html
      /usr/www/all/html/de/first/first_Start_Sip.js
-- Restoring feature 'Rufsperre für anonyme Anrufe' ...
   -- Patching files:
      /usr/www/all/html/de/fon/sperre1.js
-- Removing 'Programme' ...
   -- Patching files:
      /usr/www/all/html/de/menus/menu2.inc
      /usr/www/all/html/de/menus/menu2_fon.html
      /usr/www/all/html/de/menus/menu2_homekonfig.html
      /usr/www/all/html/de/menus/menu2_internet.html
      /usr/www/all/html/de/menus/menu2_system.html
      /usr/www/all/html/de/menus/menu2_usb.html
      /usr/www/all/html/de/menus/menu2_wlan.html
      /usr/www/all/html/de/help/home.html
      /usr/www/all/html/de/help/home.inc
   -- Removing files:
      /usr/www/all/html/de/menus/menu2_software.inc
      /usr/www/all/html/de/menus/menu2_software.html
      /usr/www/all/html/de/help/hilfe_programme.html
   -- Removing directory:
      /usr/www/all/html/de/software
-- Removing 'Energiemonitor' ...
   -- Patching files:
      /usr/www/all/html/de/menus/menu2.inc
      /usr/www/all/html/de/menus/menu2_system.inc
      /usr/www/all/html/de/menus/menu2_homehome.html
      /usr/www/all/html/de/menus/menu2_system.html
      /usr/www/all/html/de/help/home.html
      /usr/www/all/html/de/help/home.inc
   -- Removing files:
      /usr/www/all/html/de/home/energy.frm
      /usr/www/all/html/de/home/energy.js
      /usr/www/all/html/de/home/energy.html
      /usr/www/all/html/de/home/ecosettings.frm
      /usr/www/all/html/de/home/ecosettings.js
      /usr/www/all/html/de/home/ecosettings.html
      /usr/www/all/html/de/system/energy.frm
      /usr/www/all/html/de/system/energy.inc
      /usr/www/all/html/de/system/energy.js
      /usr/www/all/html/de/system/energy.html
      /usr/www/all/html/de/system/ecosettings.frm
      /usr/www/all/html/de/system/ecosettings.inc
      /usr/www/all/html/de/system/ecosettings.js
      /usr/www/all/html/de/system/ecosettings.html
      /usr/www/all/html/de/help/hilfe_system_energieeinstellungen.html
      /usr/www/all/html/de/help/hilfe_system_energiemonitor.html
-- Removing 'DSL Spektrum' ...
   -- Patching files:
      /usr/www/all/html/de/internet/adsl.html
      /usr/www/all/html/de/internet/atm.html
      /usr/www/all/html/de/internet/overview.html
      /usr/www/all/html/de/menus/menu2_internet.html
-- Adding TAM features ...
   -- Copying TAM related help files:
      /usr/www/all/html/de/help/hilfe_fon_anrufbeantworter.html
   -- Copying 'fonab.*' and 'tam.*' files:
      /usr/www/all/html/de/fon/fonab.frm
      /usr/www/all/html/de/fon/fonab.html
      /usr/www/all/html/de/fon/fonab.inc
      /usr/www/all/html/de/fon/fonab.js
      /usr/www/all/html/de/fon/tam.frm
      /usr/www/all/html/de/fon/tam.html
      /usr/www/all/html/de/fon/tam.inc
      /usr/www/all/html/de/fon/tam.js
   -- Patching files (adding features for TAM):
      /usr/www/all/html/de/help/home.html
      /usr/www/all/html/de/menus/menu2_fon.html
-- Adapting fon pages for DECT ...
   -- Patching files:
      /usr/www/all/html/de/fon/isdn.js
      /usr/www/all/html/de/fon/isdn.html
      /usr/www/all/html/de/fon/isdn.inc
-- Adapting textual contents to consider also DECT devices ...
   -- Patching files:
      /usr/www/all/html/de/fon/fonlistisdn.inc
      /usr/www/all/html/de/fon/isdn.inc
      /usr/www/all/html/de/fon/msn.inc
      /usr/www/all/html/de/fon/wecker.inc
      /usr/www/all/html/de/fon/wecker.js
      /usr/www/all/html/de/fon/foncalls.inc
      /usr/www/all/html/de/fon/foncalls.js
      /usr/www/all/html/de/fon/dial.inc
      /usr/www/all/html/de/fon/dial.js
-- Adding DECT handsets setup pages ...
   -- Copying setup files:
      /usr/www/all/html/de/fon/fon1dect.frm
      /usr/www/all/html/de/fon/fon1dect.html
      /usr/www/all/html/de/fon/fon1dect.inc
      /usr/www/all/html/de/fon/fon1dect.js
      /usr/www/all/html/de/fon/foneditdect.frm
      /usr/www/all/html/de/fon/foneditdect.html
      /usr/www/all/html/de/fon/foneditdect.inc
      /usr/www/all/html/de/fon/foneditdect.js
      /usr/www/all/html/de/fon/fonsetupdect.frm
      /usr/www/all/html/de/fon/fonsetupdect.html
      /usr/www/all/html/de/fon/fonsetupdect.inc
      /usr/www/all/html/de/fon/fonsetupdect.js
   -- Copying help files:
      /usr/www/all/html/de/help/hilfe_fon_setupdect.html
      /usr/www/all/html/de/help/hilfe_fon_editdect.html
      /usr/www/all/html/de/help/hilfe_fon_fon1dect.html
   -- Patching menu files to add item for DECT handsets:
      /usr/www/all/html/de/menus/menu2_fon.html
      /usr/www/all/html/de/menus/menu2_fon.inc
-- Copying 'hidden' feature setup pages for DECT and TAM:
      /usr/www/all/html/tam.html
      /usr/www/all/html/dect.html
-- Removing 'FON 3' ...
   -- Removing lines from:
      /usr/www/all/html/de/fon/ppFonbuch.html
      /usr/www/all/html/de/fon_config/fon_config_1.js
      /usr/www/all/html/de/fon/dial.frm
      /usr/www/all/html/de/fon/fon1isdn.frm
      /usr/www/all/html/de/fon/fonbuch.frm
      /usr/www/all/html/de/fon/foncalls.frm
      /usr/www/all/html/de/fon/wecker.frm
      /usr/www/all/html/de/fon/fondevices.frm
      /usr/www/all/html/de/fon/fondevices.html
      /usr/www/all/html/de/fon/fondevices.js
      /usr/www/all/html/de/fon/rulall.frm
      /usr/www/all/html/de/fon/rulall.html
      /usr/www/all/html/de/fon/rulall1.frm
      /usr/www/all/html/de/fon/sip1.frm
      /usr/www/all/html/de/fon/dial.js
      /usr/www/all/html/de/fon/wecker.js
      /usr/www/all/html/de/fon/foncalls.js
      /usr/www/all/html/de/fon/fonbuch.js
      /usr/www/all/html/de/fon/rulall.js
      /usr/www/all/html/de/fon/rulall1.js
      /usr/www/all/html/de/fon/sip1.js
      /usr/www/all/html/de/fon/fonlist.html
      /usr/www/all/html/de/system/nachts.js
-- Removing 'INFO-Anzeige' ...
   -- Removing lines from:
      /usr/www/all/html/de/help/home.inc
      /usr/www/all/html/de/menus/menu2_system.inc
      /usr/www/all/html/de/help/home.html
      /usr/www/all/html/de/menus/menu2_system.html
   -- Removing files:
      /usr/www/all/html/de/help/hilfe_system_infoanzeige.html
      /usr/www/all/html/de/system/infoled.frm
      /usr/www/all/html/de/system/infoled.html
      /usr/www/all/html/de/system/infoled.inc
      /usr/www/all/html/de/system/infoled.js
-- Removing 'Push Service' ...
   -- Removing lines from:
      /usr/www/all/html/de/help/home.inc
      /usr/www/all/html/de/menus/menu2_system.inc
      /usr/www/all/html/de/help/home.html
      /usr/www/all/html/de/menus/menu2_system.html
   -- Removing files:
      /usr/www/all/html/de/help/hilfe_system_pushservice.html
-- Removing 'UPnP' ...
   -- Removing lines from:
      /usr/www/all/html/de/help/hilfe_netzwerkeinstellungen.html
      /usr/www/all/html/de/system/net.html
      /usr/www/all/html/de/system/net.inc
-- Removing directory:
      /usr/www/tcom
-- Creating symbolic link(s) for:
      /usr/www/avm
      /usr/www/tcom
      /usr/www/1und1

Copy completed! Press 'ENTER' to remove source directories and proceed ...
********************************************************************************
Phase 5: Cleanup sources.
********************************************************************************
Completed data retrieval. Removing sources ...
      /tmp/sp2fritz/sp-to-fritz/Fritzbox7141
      /tmp/sp2fritz/sp-to-fritz/Fritzbox7170
********************************************************************************
Phase 6: Apply changes.
********************************************************************************
Assembling configuration files ...
-- Adjusting config parameters in:
      /etc/init.d/rc.init
-- Setting 'HOSTNAME=fritz.box' in:
      /etc/init.d/rc.init
-- Adjusting box specific settings in:
      /etc/init.d/rc.S
********************************************************************************
Phase 7: Patches.
********************************************************************************
Adding 'Info' button and display of mod related data ...
-- Creating new files:
      /usr/www/all/html/de/home/rbb_refresh1.html
      /usr/www/all/html/de/help/hilfe_mod_info.html
-- Patching files:
      /usr/www/all/html/de/home/home.html
      /usr/www/all/html/de/home/home.js
      /usr/www/all/html/de/help/hilfe_mod_info.html
Applying 'timezone' patch ...
-- Patching file:
      /etc/init.d/rc.conf
Applying 'caller id reverse lookup' patch ...
-- Patching file:
      /usr/www/all/html/de/fon/foncalls.js
Applying 'check signature' patch ...
-- Patching file:
      /usr/www/all/html/de/home/home.js ...
Adjusting settings for OEM 'tcom' ...
-- Patching files:
      /usr/www/all/html/de/menus/menuwatch.html
      /usr/www/all/html/de/menus/menu2_internet.html
      /usr/www/all/html/de/internet/pp_wanbridge.html
      /usr/www/all/html/de/internet/overview.html
      /usr/www/all/html/de/internet/authform.html
      /usr/www/all/html/de/system/extended.js
      /usr/www/all/html/de/fon/msn.js
      /usr/www/all/html/de/system/net.frm
      /usr/www/all/html/de/system/net.html
      /usr/www/all/html/de/system/net.inc
      /usr/www/all/html/de/system/net.js
      /usr/www/all/html/de/first/first_Sip_1.js
      /usr/www/all/html/de/first/first_Start_Sip.js
      /usr/www/all/html/de/fon/sip1.js
      /usr/www/all/html/de/first/first_ISP_1.html
      /usr/www/all/html/de/first/first_Sip_1.html
      /usr/www/all/html/de/fon/sip1.html
      /usr/www/all/html/de/first/first_ISP_1.js
      /usr/www/all/html/de/fon/routing.js
Applying patch to enable/disable autoconfig even when in ata mode ...
-- Patching files:
      /usr/www/all/html/de/system/net.js
      /usr/www/all/html/de/system/net.html
      /usr/www/all/html/de/system/net.inc
********************************************************************************
Phase 8: Remove non-essential files and check for errors.
********************************************************************************

Done. Press 'ENTER' to build archive ...
********************************************************************************
Phase 9: Pack and deliver.
********************************************************************************
Building new 'kernel.image' ...
-- Compressing filesystem (Blocksize is 65536) ...
-- Adding checksum ...
Generation of new 'kernel.image' completed successfully!
Building new firmware image ...
-- Creating file:
      sp900v/new_fw_Speedport_W_900V.34.04.21.image
-- Removing temporary directory:
      /tmp/sp2fritz/sp-to-fritz/SpeedportW900V
********************************************************************************

New firmware image completed successfully!
You may now use it in regular firmware upgrade process.
Use at your own risk!!!

********************************************************************************

Jetzt rauf auf den Speedport

welche ports ?

root@Knoppix:/tmp/sp2fritz# nmap -e eth1 -p21,80,443 192.168.178.1

Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2007-12-09 20:58 CET
Interesting ports on 192.168.178.1:
PORT    STATE  SERVICE
21/tcp  open   ftp
80/tcp  closed http
443/tcp closed https
MAC Address: 00:1A:4F:84:89:71 (Unknown)

Nmap finished: 1 IP address (1 host up) scanned in 16.828 seconds

new firmware

root@Knoppix:/tmp/sp2fritz# ftp 192.168.178.1
Connected to 192.168.178.1.
220 ADAM2 FTP Server ready
Name (192.168.178.1:root): adam2
331 Password required for adam2
Password:
230 User adam2 successfully logged in
Remote system type is AVM.
ftp> bin
200 Type set to BINARY
ftp> passive
Passive mode on.
ftp> quote MEDIA FLSH
200 Media set to MEDIA_FLASH
ftp> lcd sp-to-fritz/sp900v
Local directory now /ramdisk/tmp/sp2fritz/sp-to-fritz/sp900v
ftp> !ls
new_fw_Speedport_W_900V.34.04.21.image
ftp> put new_fw_Speedport_W_900V.34.04.21.image mtd1
local: new_fw_Speedport_W_900V.34.04.21.image remote: mtd1
227 Entering Passive Mode (192,168,178,1,6,175)
150 Opening BINARY data connection
226 Transfer complete
5335040 bytes sent in 21.52 secs (242.2 kB/s)
ftp> quote GETENV firmware_version
firmware_version      tcom
ftp> quote REBOOT

ftp> quit
200 GETENV command successful

und so geht es richtig

  • tar xf fw_Speedport_W_900V.34.04.21.image -C /tmp/sp2fritz

put kernel.image

root@Knoppix:/tmp/sp2fritz/var/tmp# ftp 192.168.178.1
Connected to 192.168.178.1.
220 ADAM2 FTP Server ready
Name (192.168.178.1:root): adam2
331 Password required for adam2
Password:
230 User adam2 successfully logged in
Remote system type is AVM.
ftp> bin
200 Type set to BINARY
ftp> passive
Passive mode on.
ftp> quote MEDIA FLSH
200 Media set to MEDIA_FLASH
ftp> put kernel.image mtd1
local: kernel.image remote: mtd1
227 Entering Passive Mode (192,168,178,1,6,239)
150 Opening BINARY data connection
226 Transfer complete
4956936 bytes sent in 19.72 secs (245.5 kB/s)
ftp> quote REBOOT
221 Thank you for using the FTP service on ADAM2
ftp> quit
221 Goodbye.

Jetzt ist der Router nicht mehr erreichbar...

... und plötzlich wieder unter 192.168.2.1... und dort sogar wieder via http!

  • tar xf new_fw_Speedport_W_900V.34.04.21.image -C /ramdisk/tmp/sp900v

neues image drauf

220 ADAM2 FTP Server ready
Name (192.168.178.1:root): adam2
331 Password required for adam2
Password:
230 User adam2 successfully logged in
Remote system type is AVM.
ftp> lcd /tmp/sp900v/var/tmp
Local directory now /ramdisk/tmp/sp900v/var/tmp
ftp> bin
200 Type set to BINARY
ftp> passive
Passive mode on.
ftp> quote MEDIA FLSH
200 Media set to MEDIA_FLASH
ftp> put kernel.image mtd1
local: kernel.image remote: mtd1
227 Entering Passive Mode (192,168,178,1,6,57)
150 Opening BINARY data connection
226 Transfer complete
5133064 bytes sent in 20.90 secs (239.9 kB/s)
ftp> quote REBOOT
221 Thank you for using the FTP service on ADAM2
ftp> quit
221 Goodbye.
 
wissen/hardware/avm/t-com-speedport-w900v-mit-avm-oberflaeche-howto-flash-with-adam2.txt · Zuletzt geändert: 05.09.2010 20:31
 
Recent changes RSS feed Donate Valid XHTML 1.0 Valid CSS Recent cached RSS feed cacert-signed web site: inhalt.serviert.de