If you like BoxMatrix then please contribute Supportdata, Supportdata2, Firmware and/or Hardware (get in touch).
My metamonk@yahoo.com is not reachable by me since september. Please use hippie2000@webnmail.de instead.

Freetz-Findings

From BoxMatrix

BoxMatrix >> Development >> Freetz-Findings @ BoxMatrix   -   IRC-Chat   -   Translate: de es fr it nl pl
News Selectors Models Accessories Components Environment Config Commands System Webif Software Develop Lexicon Community Project Gallery

Tarballs FW-Probes FW-History FW-News Supportdata Hardware SVN Trac Freetz-News Freetz-Timeline Freetz-Releases Freetz-Mirror OpenWRT Research

Info
This is a quick scratchpad for stuff noticed when working with Freetz.

Freetz Findings-List[edit]

"You have no CPU with AVX2 support, precompiled (download) host-tools automatically disabled."

=> Forced to "Beginner"...

Well done. Barrier service.
2 months ago | Hippie2000 | Permalink

wrong linux_fs_start when using push_firmware without args:

me@xubuntu:~/freetz/fritz0.6430.git$ tools/push_firmware

* Analyzing 'images/6430_07.29.ger_freetz-ng-20474-b4439e920_20221112-182831.image' ...

* Warning: It seems your network is not able to reach
192.168.178.1 directly. This command could help to fix:
tools/push_firmware: Zeile 633: ifconfig: Befehl nicht gefunden
$ sudo ifconfig enp0s3:0 192.168.178. up
Proceed anyway? ([y]/n) y
* Product: Fritz_Box_HW231a (FRITZ!Box 6430 Cable)
* Using command: ftp
* Target host: 192.168.178.1
* Outgoing IP: unknown
* Flash mode: dual-boot
* Designated linux_fs_start: 1

!!! WARNING !!! WARNING !!! WARNING !!! WARNING !!! WARNING !!!
!!!  THERE IS NO WARRANTY AT ALL !!! USE AT YOUR OWN RISK   !!!

* Are you sure, that you want to flash this file to the device?
images/6430_07.29.ger_freetz-ng-20474-b4439e920_20221112-182831.image
Proceed? (y/[n]) y

* You should now reboot your box (192.168.178.1). Waiting for shut down.
Switch off, if reboot is not detected because it happens too quickly.
Some newer bootloader versions allow to flash on power-cycle only.

* Arm-System mtd: 11
* Arm-Kernel mtd: 12
* x86-System mtd: 13
* x86-Kernel mtd: 14

* No reply from box, assuming switch-off or restart. Trying to re-detect box.
Waiting .............. found!

* Box is back up again, initiating transfer.

Debugging on (debug=1).
---> TYPE I
---> MEDIA FLSH
ftp: setsockopt (ignored): Permission denied
---> PASV
---> STOR mtd11
ftp: setsockopt (ignored): Permission denied
---> PASV
---> STOR mtd12
ftp: setsockopt (ignored): Permission denied
---> PASV
---> STOR mtd13
ftp: setsockopt (ignored): Permission denied
---> PASV
---> STOR mtd14
local: mtd: No such file or directory
---> SETENV linux_fs_start 1
---> REBOOT
---> QUIT

done
2 months ago | Hippie2000 | Permalink
rrdstats: permit more network interfaces than 4.
22 months ago | Hippie2000 | Permalink
Replace kernel should be below compile for alien hardware in menuconfig to have a complete model selection block first
22 months ago | Hippie2000 | Permalink
In the warning block I mean.
22 months ago | Hippie2000 | Permalink

Alien 7330_7320 replace kernel reports:

generating modules.dep
unresolved symbol crypto_alloc_shash in file /lib/modules/2.6.32.61/kernel/lib/libcrc32c.ko
unresolved symbol crypto_shash_update in file /lib/modules/2.6.32.61/kernel/lib/libcrc32c.ko
WARNING: Unresolved symbols detected, not all AVM-features may work.
No current sources by AVM? Error in kernel's .config? Ask fritzbox_info@avm.de for sources!

This is a known dependency problem also in avm firmware:

See "unmet dependencies" in libcrc32c.ko.

The kernel runs fine.
22 months ago | Hippie2000 | Permalink
Pages which require javascript to work should have a noscript warning, like update.cgi
22 months ago | Hippie2000 | Permalink
For 7320 and 7320_7330 the passwd applet obviously messes the login. SSH login with freetz works but saving a new pw makes subsequent logins impossible. The only workaround is to ctrl-c when asked for a new password and freetz will continue to work.
22 months ago | Hippie2000 | Permalink

The original shadow file from var.tar:

nobody:!:0:0:99999:7::: root:$1$$zO6d3zi9DefdWLMB.OHaO.:12332:0:99999:7:::

After logging in an using freetz as the new password:

nobody:!:0:0:99999:7:::

root:$6$Yp6CFCOVUuhWwojb$M7RBeEZRsKjp3RzNH/S/Qq.CiAX/CiytppCaNSxEexvEE6Dva5ljx/5kuFTyBTVp0xYPFRbrcik65igLLKIOG1:0:0:99999:7:::
22 months ago | Hippie2000 | Permalink

Workarounds:

  • Ctrl-C before typing in a new password will preserve the default
  • Using Rudi-Shell to restore the default password:
cd / && tar xvf var.tar ./var/tmp/shadow
22 months ago | Hippie2000 | Permalink

After ctrl-c on default login this works:

passwd -a dec

Creates this working shadow file:

root:DuE.9Nh/G3O2M:0:0:99999:7:::
22 months ago | Hippie2000 | Permalink

vnstat all interfaces fails on lan:0 emergency ip if:

Starting VNstat ... failed.
Error: Unable to read database "/var/lib/vnstat/lan:0": No such file or directory
Error: Unable to get interface "lan:0" statistics.
Only available interfaces can be added for monitoring.

The following interfaces are currently available:
fritzbox lo acc0 vlan_master0 (1000 Mbit) eth_udma0 eth_udma1 eth0 (65535 Mbit) eth1 (1000 Mbit) eth2 (1000 Mbit) eth3 (65535 Mbit) adsl ppptty ing0 lan guest wifi0 wifi1 ath0 guest4 ath1 guest5
Is your USB-device yet available?
22 months ago | Hippie2000 | Permalink
rrdstats fails on 6490 internal (­mmcblk0p9) storage
22 months ago | Hippie2000 | Permalink
rrdstats fails on 7530 internal (ubi0_3) and webdav (https:/­/­sd2dav.1und1.de) storage
22 months ago | Hippie2000 | Permalink
remove support should have an option to keep support.lua, since it has more functions than only supportdata.
22 months ago | Hippie2000 | Permalink