Browse Source

scripte

master
uni 4 years ago
parent
commit
56c9678913
2 changed files with 32 additions and 0 deletions
  1. +9
    -0
      flash.sh
  2. +23
    -0
      preparefreetz.sh

+ 9
- 0
flash.sh View File

@ -0,0 +1,9 @@
#!/bin/bash
echo "Fritzbox Flash Script by TRONX2100 (please try also LAN2 on FBOX!)"
cd freetz-ng
sudo ifconfig eth0 192.168.178.11 up
./tools/push_firmware
sudo ifconfig eth0 192.168.178.11 down
cd ..
echo "...vIelen Dank dass Sie mit TRON gereist sind :) "

+ 23
- 0
preparefreetz.sh View File

@ -0,0 +1,23 @@
#!/bin/bash
echo "Automated prepare Installer for Freetz by TRONX2100 01/2022"
if [ ! -d freetz-ng ] ; then
wget -nc http://ftp.no.debian.org/debian/pool/main/p/prelink/execstack_0.0.20131005-1+b10_amd64.deb
sudo apt update
sudo apt-get -y install imagemagick subversion git \
gcc g++ binutils autoconf automake autopoint libtool-bin \
make bzip2 libncurses5-dev libreadline-dev zlib1g-dev flex bison patch \
texinfo tofrodos gettext pkg-config ecj fastjar coreutils perl libstring-crc32-perl \
ruby ruby1.8 gawk python3 libusb-dev unzip intltool libacl1-dev libcap-dev \
libc6-dev-i386 lib32ncurses5-dev gcc-multilib lib32stdc++6 libglib2.0-dev paxtest \
subversion ftp
sudo apt install ./execstack_0.0.20131005-1+b10_amd64.deb
echo "Done"
git clone https://github.com/Freetz-NG/freetz-ng ./freetz-ng
fi
cd freetz-ng
make menuconfig
make
cd ..

Loading…
Cancel
Save