======WRT54GL=======
**ACHTUNG: das ist eine interne Gedächtnisstütze, keine Garantie für nichts!** \\
**HOWTO's: Hotspot mit WRT54GL**
- http://www.bndlg.de/kursangebote/aglinux/index.php/Wrt54gl-hotspot
- http://www.pug.org/mediawiki/index.php/Coova_Chilli_Hotspot/Installation#FreeRadius_Server
**Requirements:** \\
- Knoppix, Ubuntu oder Linuxbetriebssystem deiner Wahl
- die nötigen Skillz
**Anmerkung:**\\
- wenn ... steht, ist das "durchtabben" mit Tabulator gemeint
- // sind Kommentare im Code
====1. WRT54GL mit OpenWRT flashen====
wget http://downloads.openwrt.org/backfire/10.03-rc3/brcm-2.4/openwrt-wrt54g-squashfs.bin
flashen in der Weboberfläche...\\
====2. Rootzugriff====
mit Netzwerkkabel und Browser auf 192.168.1.1 einloggen -> Standardpasswort: -keins-\\
dort WLAN aktivieren und rootpasswort setzen \\
ssh root@192.168.1.1
====3. Speicherkarte als ext2 formatieren====
Quelle: hendlsofen.de ((http://www.hendlsofen.de/WRT54GL/deu/WRT54GL_MMCtreiber.html))
!!!!!!!!!!!Erst checken welches die SD-Karte ist!!!!!!!!!!!!!! \\
Karte ins Lesegerät stecken \\
mount
df -h
dmesg | tail
richtiges Device gefunden??? \\
mkfs.ext2 /dev/SPEICHERKARTE
====4. SD/MMC-Treiber installieren====
cd /lib/modules/2...
wget http://wiki.openwrt.org/_media/oldwiki/openwrtdocs/customizing/hardware/mmc-v1.3.4-gpio2.tgz
ODER \\
wget wget http://programmingstuff.free.fr/files/openwrt/whiterussian/mmc/1_3_4/gpio2/mmc.o
tar zxvf mmc-v...
mv mmc--v.../mmc-v.../mmc.o .
echo "0x9c" > /proc/diag/gpiomask
insmod mmc // rmmod mmc wenn schon vorhanden
dmesg
====5. SD/MMC-Karte (beim Start) mounten====
mkdir /mmc
mount /dev/mmc/disc0/part1 /mmc
beim Start: \\
cd /etc/init.d/
wget http://www.hendlsofen.de/WRT54GL/deu/WRT54GL_configs/mmcAutostart/S51mmc
chmod +x S51mmc
====6. B.A.T.M.A.N.-advanced====
Quelle: openwrt.org ((http://wiki.openwrt.org/inbox/batman-adv-howto))
Benötigte Pakete: \\
gcc, binutils, patch, bzip2, flex, bison, make, gettext, pkg-config, unzip, libz-dev, libc headers subversion \\
\\
Unter Ubuntu:\\
sudo apt-get install gcc, binutils, patch, bzip2, flex, bison, make, gettext, pkg-config, unzip, libz-dev, libc headers subversion
svn co svn://svn.openwrt.org/openwrt/branches/backfire
cd backfire/
./scripts/feeds update
./scripts/feeds install -a -p luci
./scripts/feeds install kmod-batman-adv-kernelland
make menuconfig