Tr069fwupdate
From Fritz!Box
| AVM Wiki >> Shell-Befehle >> tr069fwupdate | @ whmf - IRC-Chat - hu nl it English |
| Community | Modelle | Zubehör | Environment | Konfiguration | Shell-Befehle | Software | Freetz | Lexikon | Tipps+Tricks | Bilder |
| Startup-Scripts | AVM-Befehle | BusyBox-Befehle | Linux-Befehle | Shared Libraries | Kernel-Module | Listings | Todo |
Contents |
Befehl
| Befehl: | tr069fwupdate | Man | Code | Wiki | Freetz | IPPF | whmf | AVM | Web |
| Pfad: | /usr/bin | ||||||||
| Typ: | Executable | ||||||||
| Status: | Closed Source oder Unfrei | ||||||||
| Pakete: | AVM_TR069 (CONFIG), AVM_DECT2 (CONFIG) | ||||||||
| Modelle: | 7170 4.80 (Listing) | ||||||||
| Remove: | TODO | ||||||||
| Funktion: | Eigentlich ein TR-069 Firmware-Aktualisierungs-Helfer für ctlmgr, macht aber viel mehr | ||||||||
tr069fwupdate unterstützt prinzipiell die selben Funktionen wie firmwarecfg, ist aber kein CGI-Programm sondern für die Ausführung in einer Shell im Zusammenhang mit einer TR-069-Sitzung optimiert. Es wird auch von dect_manager über start_dect_update.sh genutzt um signierte DECT-Firmware zu verarbeiten.
Aufgerufen von
- ctlmgr
- tr069starter (configimportbyusb)
- libtr069.so (ctlmgr)
- libtr069.so (7270, configexport)
- start_dect_update.sh (7270, packet)
Kommunikation
- DEV: tiatm (Client)
- DEV: watchdog (Client über libwdt.so)
- DEV: new_led (Client über libled.so)
- DEV: new_led oder led (Client über libewnwled.so)
- MEM: .tr069stat (über libboxlib.so)
- ME: me_tr069fwupdate.ctl (FWR, Server)
- ME: me_ctlmgr.ctl (Client)
- ME: me_logic.ctl (Client über libcm.so)
- ME: me_upnpd.ctl (Client)
- ME: me_voipd.ctl (Client)
- ME: me_igdd.ctl (7150, Client)
- ME: me_nlr_touch.ctl (FWR, Client)
Environment
- CONFIG_FON
- CONFIG_WLAN
- CONFIG_TAM
- CONFIG_USB_HOST
- CONFIG_USB_HOST_TI
- CONFIG_USB_HOST_AVM
- CONFIG_USB_GSM
- CONFIG_VERSION_MAJOR
- CONFIG_VERSION
- CONFIG_INSTALL_TYPE
- CONFIG_LABOR_ID_NAME
Konfiguration
Identisch zu firmwarecfg:
- ar7.cfg (direkt und über libar7cfg.so)
- tr069.cfg (direkt und über libar7cfg.so)
- voip.cfg (direkt und über libar7cfg.so)
- vpn.cfg (direkt und über libar7cfg.so)
- user.cfg (direkt und über libar7cfg.so)
- wlan.cfg (direkt und über libwlanparams.so)
- usb.cfg (direkt und über libusbcfg.so)
- nlr.cfg (FWR)
- fx_cg
- fx_conf
- fx_def
- fx_lcr
- telefon_misc
- phonebook
- calllog (!!!)
- fonctrl
- dect_misc (7270)
- dect_eeprom (7270)
- dmgr_handset_user (7270)
- umts.cfg (7270)
- configd (tffs) (7270)
- optional beliebige
Tempfiles
- ctlmgr.pid (Abfrage)
- voipd.pid (Abfrage)
- upnpd.pid (Abfrage)
- avmike.pid (Abfrage)
- Der Inhalt eines Firmware-Images
- configimport.tmp
- configexport (7270)
- pbd.import (für pbd)
- vpncfgimport.eff
- vpncfgimport.tmp
- xml_import.tmp
- tr069fw*.log
- dl_err
- fwsign.log (über libfwsign.so oder libfwsign_simple.so)
- install_error.log
- install_out.log
- vpnroutes (7270, über libcm.so)
Aufruf
# tr069fwupdate -? This is an 'internal' tool for TR-069 - don't run it from a shell If you run from a shell, use parameters: packet <url> [<savefile>]
Hehe: Bloß nicht aber wenn dann so :)
Enthaltene Optionen:
configexport check_configimport configimport configimportbyusb vpn_config packet <url> [<savefile>]
TR-06x Funktionen
$ strings usr/bin/tr069fwupdate | grep 06[49] | sort | uniq free_tr069_config /home/jpluschke/FBox/0-spezial/GU_HU09_8mb_26/RELEASE_NETWORK_SOURCE_8mb_26_build/ar7/ctlmgr/src/tr069fwupdate/../../../../sharedlibs/pwcrypt/pwcrypt.c load_tr069_config save_tr069_config start_tr069 This is an 'internal' tool for TR-069 - don't run it from a shell tr069 tr-069 TR069CFG_config TR069CFG_struct tr069fwupdate tr069fwupdate.c tr069stat_exit tr069stat_init tr069stat_set_active_download /var/flash/tr069.cfg
Beispiele
TODO
Symbole
BuildFileNameHash BuildStartIV CreatePassword DecryptBuffer EncryptBuffer FindConfigFile GetCipherEnv GetCipherIVSize GetCipherKeyLen GetImportCountry GetImportLanguage IsPasswordValid IsProviderDefaultConfigImport ProviderDefaultConfigExists SetImportExportPassword SetVPNImportPassword VPNCFG_client_access_rule_alloc VPNCFG_client_access_rule_free VPNCFG_connipid_alloc VPNCFG_connipid_free VPNCFG_connipid_memberbymagic VPNCFG_connxauthcfg_alloc VPNCFG_connxauthcfg_free VPNCFG_ipaddrrangeid_alloc VPNCFG_ipaddrrangeid_free VPNCFG_ipnetid_alloc VPNCFG_ipnetid_free VPNCFG_load VPNCFG_varfree VPNCFG_varinit VPNCFG_varload VPNCFG_varload_merge VPNCFG_varload_overwrite VPNCFG_varsave VPNCFG_vpncfg_alloc VPNCFG_vpncfg_free VPNCFG_vpnconnection_alloc VPNCFG_vpnconnection_free ar7fdecrypt call_install_file current_time_string dec_filename default_signature_get_crc default_signature_set_crc exec_cmd exec_reboot exec_shellcmd export_config file_base_name free_usb_config free_wlan_config load_usb_config load_usb_lib load_wlan_config load_wlan_lib main process_configimport_file process_vpncfgimport_file pwcrypt_init pwencrypt_memdecrypt pwencrypt_memencrypt save_usb_config save_wlan_config sign_wrapper_init usb_config_save_diff_to_factorydefaults wlan_config_save_diff_to_factorydefaults xml_umschluesseln
Abhängigkeiten
- libcm.so
- libboxlib.so
- libar7cfg.so
- libavmcipher.so
- libavmhmac.so
- libewnwlinux.so
- libavmcsock.so
- libwdt.so
- libpthread.so
- libdl.so
- libled.so
- libewnwled.so
- libc.so
- libwebsrv.so
- libewnwnet.so
- libled2.so
- ld.so
Siehe auch
Firmware: (109)
- Lexikon: FRITZ!OS, Firmware, Firmware 5.x, Support, Update-Check, Dual-Boot-System
- Lexikon: Firmware-Image, Update, Downgrade, Signierung, SDK-Firmware
- Lexikon: Bootloader, ADAM2, Branding, Feature-Overlay
- Lexikon: Linux, Kernel, LZMA, LZMA-Kernel, uClibc, BusyBox
- Urlader: linux_fs_start
- ShellEnv: CONFIG_LABOR_ID_NAME, CONFIG_SDK
- Webinterface: Online-Update, Firmware-Datei, Neustart, Werkseinstellungen, AVM-Dienste, Anbieter-Dienste
- UI-Module: updatecheck (ui), logic
- Konfig: startinfo.txt, featovl.cfg, userifSCPD.xml
- Konfig: avm_firmware_public_key1, avm_firmware_public_key2, avm_firmware_public_key3
- Tempfiles: signature, fw_attrib, info.txt, urlader.config, flash.html, flash2.html, flash2_params.inc
- Tempfiles: dl_err, fw_ip, firmware_flag, firmware_error_status, firmware_stream_result, firmware_update_started
- Tempfiles: fwsign.log, install_error.log, install_out.log, update_error.log, update_out.log
- Tempfiles: delayed_reboot.pid, jason_boxinfo.xml, updatecheck, featovl.tmp
- Befehle: urlader.setconfig24, urlader.setconfig26, update_led_on, update_led_off
- Befehle: wget, httpsdl, firmwarecfg, tr069fwupdate, prepare_fwupgrade
- Befehle: install (ram), chksum, regelex, post_install, split_image, boot_sdk.sh, update_kernel
- Befehle: evaput, evaput26, dect_update, boxfeaturedisable
- Befehle: tichksum, tikeygen, tisign
- Libraries: libfwsign.so, libfwsign_simple.so, libjasonclient.so
- Kernel: flash_update.ko, squashfs.ko, tffs.ko
- Devices: tiatm
- Images: filesystem.image, kernel.image, urlader.image, dect_firmware.bin, plugins.update
- Modding: Fritzen, Freetz, Speedport2Fritz, OpenWRT
Überwachung und Einrichtung: (129) - Kleingedrucktes ist laufende Entwicklung.
- Lexikon: TR-064, TR-069, ACS, CWMP, UPnP, SNMP, MIB, Forensik
- Urlader: tr069_serial, tr069_passphrase
- ShellEnv: CONFIG_TR064, CONFIG_TR069, CONFIG_IGD, CONFIG_UPNP
- Webinterface: Anbieter-Dienste, Netzwerkprogramme, FRITZ!Box Support, Paketmitschnitt
- UI-Module: tr064, tr069, capture
- Konfig: tr069.cfg, tr069.cfg (etc), tr069_cert.pem, websrv_ssl_key.pem, websrv_ssl_cert.pem
- Konfig: websrv_ssl_key.pem (etc), websrv_ssl_cert.pem (etc)
- Konfig: websrv_tr064_ssl_key.pem, tr064_ssl_cert.pem, tr064.key, tr064.cer, websrv_ssl_cert.pem (ram)
- Konfig: root_ca.pem, root_ca_mnet.pem, root_ca_ta.pem, root_ca_ti.pem, verisign_class3_root_ca.pem
- Konfig: congstar_root_ca.pem, tr069start.config
- Konfig: fritzboxconfig.import, provider_default_fritzboxconfig.import, provider_add_fritzboxconfig.import
- Konfig: tr64desc.xml, tr64desc.xml (ram), tr64desc-template.xml, ligd.gif
- Konfig: deviceinfoSCPD.xml, deviceconfigSCPD.xml, layer3forwardingSCPD.xml, lanconfigsecuritySCPD.xml
- Konfig: mgmsrvSCPD.xml, timeSCPD.xml, userifSCPD.xml
- Konfig: x_voipSCPD.xml, x_storageSCPD.xml, x_remoteSCPD.xml, x_myfritzSCPD.xml
- Konfig: x_contactSCPD.xml, x_webdavSCPD.xml, x_upnpSCPD.xml, wlanconfigSCPD.xml, hostsSCPD.xml
- Konfig: ethifconfigSCPD.xml, lanhostconfigmgmSCPD.xml,wancommonifconfigSCPD.xml, wandslifconfigSCPD.xml
- Konfig: wandsllinkconfigSCPD.xml, wanethlinkconfigSCPD.xml, wanpppconnSCPD.xml, x_tamSCPD.xml
- Tempfiles: ctlmgr.pid, upnpd.pid, tr069.cfg (ram), openssl_tr064.cnf, tr069pingdiag.log, debug_tr069_response.txt
- Daemons: ctlmgr, tr069discover, igdd, upnpd
- Befehle: tr069fwupdate, tr069starter
- Befehle: supportdata, supportdata.dect, supportdata.wlan, supportdata.dsl
- Befehle: supportdata.usb, supportdata.lte, supportdata.plc
- Befehle: showdsldstat, showaddrs, showroutes, showvoipdstat
- Befehle: openssl_genrsa, openssl_req,
cm_query - Befehle: phonebook.lua, calllist.lua, download.lua, tr064cgi
- Libraries: libavmupnp.so, libavmupnpapi.so, libavmupnpbig.so, libigd.so, libavmigdapi.so
- Libraries: libupnpdev.so, libupnpdevusb.so, libupnponstore.so
- Libraries: libtr064.so, libtr069.so, tr064.lua
- Ports: Port 1900, Port 49000, Port 49443, me_upnpd.ctl, me_igdd.ctl
- Ports: Port 8089, Port 7170, me_tr069discover.ctl, me_TR064.ctl
- Puffer: .tr069stat
- Freetz: REMOVE_TR064, REMOVE_TR069,
REMOVE_SUPPORT, REMOVE_UPNP - Freetz:
PACKAGE_CM_QUERY, PACKAGE_CM_SNMP