Was kann ich als Besitzer einer 7360 tun, um LCR trotz Update auf 6.50 weiterhin nutzen zu können.
# Firmware-Image entpacken:
./fwmod -u -d unpacked_firmware FRITZ.Box_Fon_WLAN_7360.124.06.50.image
# Telnet-Daemon verfuegbar machen:
[ -x unpacked_firmware/original/filesystem/usr/sbin/telnetd ] || ln -s ../../bin/busybox unpacked_firmware/original/filesystem/usr/sbin/telnetd
# Debug.cfg reaktivieren:
sed -i '/echo 1 > \/proc\/sys\/kernel\/panic_on_oops/ a\
if [ -z "$CPU_NR" ] || [ "$CPU_NR" = "1" ] ; then\
mknod /var/flash/debug.cfg c $tffs_major $((0x62))\
if ! /usr/bin/checkempty /var/flash/debug.cfg 2>/dev/null; then\
. /var/flash/debug.cfg\
fi\
fi' "unpacked_firmware/original/filesystem/etc/init.d/rc.tail.sh"
# Firmware-Image packen:
./fwmod -p -d unpacked_firmware FRITZ.Box_Fon_WLAN_7360.124.06.50.image
frank@frank-ThinkPad-X121e:~$ cd Freetz
frank@frank-ThinkPad-X121e:~/Freetz$ cd freetz-1.2
frank@frank-ThinkPad-X121e:~/Freetz/freetz-1.2$ ./fwmod -u -d unpacked_firmware FRITZ.Box_Fon_WLAN_7360.124.06.50.image
./fwmod: Zeile 43: ./tools/build/bin/fakeroot: Datei oder Verzeichnis nicht gefunden
frank@frank-ThinkPad-X121e:~/Freetz/freetz-1.2$
svn checkout http://svn.freetz.org/trunk freetz-trunk
cd freetz-trunk
make menuconfig
make tools
freetz@linux-linux:~/freetz-trunk$ [COLOR=#0000ff]make menuconfig[/COLOR]
Wichtig: hier folgende Werte selektieren
===========================
--- User competence ------------------------
Level of user competence (Beginner) ---> [COLOR=#0000ff]Expert[/COLOR]
--- Hardware/Firmware ----------------------
Hardware type (7390) ---> [COLOR=#0000ff]7360 v2[/COLOR]
Firmware language (de - deutsch) --->
Firmware version (FRITZ!OS 06.2x/06.3x) ---> [COLOR=#0000ff]FRITZ!OS 06.5x - HIGHLY EXPERIMENTAL[/COLOR]
===========================
Kontrolle:
freetz@linux-linux:~/freetz-trunk$ [COLOR=#0000ff]grep FREETZ_TYPE_FIRMWARE_06_5X .config[/COLOR]
[COLOR=#00ff00]FREETZ_TYPE_FIRMWARE_06_5X=y[/COLOR]
freetz@linux-linux:~/freetz-trunk$
U freetz-trunk
Ausgecheckt, Revision 13712.
frank@frank-ThinkPad-X121e:~/freetz-trunk$ make menuconfig
Makefile:103: *** Wrong build directory permissions. Please set umask to 0022 and then unpack/checkout again in a directory having no uid-/gid-bits set. Schluss.
frank@frank-ThinkPad-X121e:~/freetz-trunk$
Hallo elsterkrug,Please set umask to 0022 and then unpack/checkout again in a directory having no uid-/gid-bits set.
freetz@linuxvm:~$ umask
0002
freetz@linuxvm:~$
freetz@linuxvm:~$ umask 022
Kontrolle:
freetz@linuxvm:~$ umask
0022
freetz@linuxvm:~$
freetz@linuxvm:~$ cd ~
freetz@linuxvm:~$ echo "umask 022" >> .profile
freetz@linuxvm:~$ chmod 755 .profile
freetz@linuxvm:~$ cd ~
freetz@linuxvm:~$ rm -r freetz-trunk
Falls man mal ein fertiges Image ausgepackt, verändert und wieder gepackt hat, muss das dann über ruKernel-Tool eingespielt werden oder geht das auch normal über die Web-Oberfläche der Box?
Hallo elsterkrug,Ein fertig bearbeitetes Image hat keiner zum Anbieten?
frank@frank-ThinkPad-X121e:~$ cd freetz-trunk
frank@frank-ThinkPad-X121e:~/freetz-trunk$ make menuconfig
Makefile:108: *** Please run "umask 0022", it is now 0002. Schluss.
frank@frank-ThinkPad-X121e:~/freetz-trunk$ umask 0022
frank@frank-ThinkPad-X121e:~/freetz-trunk$ make menuconfig
ERROR: The header file sys/acl.h was not found in /usr/(local/)include.
ERROR: The header file sys/capability.h was not found in /usr/(local/)include.
WARNING: The header file readline/readline.h was not found in /usr/(local/)include.
Makefile:124: *** Some build prerequisites are missing! Please install the missing packages before trying again. See http://freetz.org/wiki/help/howtos/common/install#NotwendigePakete for installation hints. Schluss.
frank@frank-ThinkPad-X121e:~/freetz-trunk$
http://freetz.org/wiki/help/howtos/common/install#NotwendigePakete
Code:frank@frank-ThinkPad-X121e:~/freetz-trunk$ make menuconfig ERROR: The header file sys/acl.h was not found in /usr/(local/)include. ERROR: The header file sys/capability.h was not found in /usr/(local/)include. WARNING: The header file readline/readline.h was not found in /usr/(local/)include. [COLOR=#ee82ee]Makefile:124: *** Some build prerequisites are missing![/COLOR] Please install the missing packages before trying again. See http://freetz.org/wiki/help/howtos/common/install#NotwendigePakete for installation hints. Schluss. frank@frank-ThinkPad-X121e:~/freetz-trunk$
freetz@freetz-vm:~$ sudo apt-get -y install graphicsmagick subversion gcc g++ binutils autoconf automake automake1.9 libtool make bzip2 libncurses5-dev libreadline-dev zlib1g-dev flex bison patch texinfo tofrodos gettext pkg-config ecj fastjar realpath perl libstring-crc32-perl ruby ruby1.8 gawk python libusb-dev unzip intltool libacl1-dev libcap-dev
freetz@freetz-vm:~$
frank@frank-ThinkPad-X121e:~$ sudo apt-get -y install graphicsmagick subversion gcc g++ binutils autoconf automake automake1.9 libtool make bzip2 libncurses5-dev libreadline-dev zlib1g-dev flex bison patch texinfo tofrodos gettext pkg-config ecj fastjar realpath perl libstring-crc32-perl ruby ruby1.8 gawk python libusb-dev unzip intltool libacl1-dev libcap-dev
[sudo] password for frank:
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
Paket ruby1.8 ist nicht verfügbar, wird aber von einem anderen Paket
referenziert. Das kann heißen, dass das Paket fehlt, dass es abgelöst
wurde oder nur aus einer anderen Quelle verfügbar ist.
Doch die folgenden Pakete ersetzen es:
ruby
E: Für Paket »ruby1.8« existiert kein Installationskandidat.
frank@frank-ThinkPad-X121e:~$
sudo apt-get -y install subversion gcc g++ binutils autoconf automake automake1.9 libtool make bzip2 libncurses5-dev libreadline-dev zlib1g-dev flex bison patch texinfo tofrodos gettext pkg-config ecj realpath perl libstring-crc32-perl gawk python libusb-dev unzip intltool libacl1-dev libcap-dev
frank@frank-ThinkPad-X121e:~$ cd freetz-trunk
frank@frank-ThinkPad-X121e:~/freetz-trunk$ ./fwmod -u -d unpacked_firmware FRITZ.Box_Fon_WLAN_7360.124.06.50.image
STEP 1: UNPACK (SKIPPED)
detected firmware 7360_de 124.06.50 rev32505 (25.02.2016 10:46:29)
FINISHED
frank@frank-ThinkPad-X121e:~/freetz-trunk$ [ -x unpacked_firmware/original/filesystem/usr/sbin/telnetd ] || ln -s ../../bin/busybox unpacked_firmware/original/filesystem/usr/sbin/telnetd
frank@frank-ThinkPad-X121e:~/freetz-trunk$ FILESYSTEM_MOD_DIR=unpacked_firmware/original/filesystem
frank@frank-ThinkPad-X121e:~/freetz-trunk$ sed -e '$ircuser=/var/tmp/rc.user;mkconfigfile $rcuser.tffs 98;! checkempty $rcuser.tffs && cat $rcuser.tffs >$rcuser && delay -d 1 USER "/bin/sh $rcuser";rm $rcuser.tffs' -i "$FILESYSTEM_MOD_DIR/etc/init.d/rc.tail.sh"
frank@frank-ThinkPad-X121e:~/freetz-trunk$ ./fwmod -p -d unpacked_firmware FRITZ.Box_Fon_WLAN_7360.124.06.50.image
detected firmware 7360_de 124.06.50 rev32505 (25.02.2016 10:46:29)
STEP 3: PACK
WARNING: Modifications (STEP 2) and this step should never
ever be run with different configurations!
This can result in invalid images!!!
WARNING: firmware does not seem to be modified by the script
checking for left over Subversion directories
packing var.tar
creating filesystem image
SquashFS block size: 64 kB (65536 bytes)
merging kernel image
kernel image size: 17.7 MB, max 31.4 MB, free 13.7 MB (14357248 bytes)
Aproximately maximal time for the answering machine: 115 min, 55 sec (6955 sec)
packing unpacked_firmware/7360_v2_-.de_20160509-164317.image
image file size: 18.4 MB
done.
FINISHED
frank@frank-ThinkPad-X121e:~/freetz-trunk$