Flashen für Anfänger unter Linux der Serie Linksys WRT54
Vorbereitung
BRDu hast dir einen WlanRouter beim Händler deines Vertrauens besorgt. BRDu hast die die richtige OlsrSoftware besorgt.
Herstellung der LAN-Computer-Router-Verbindung
- Verbinde Router und PC per Netzwerkkabel. Verwende dabei beim Router Steckplatz 1 bzw. 2 bzw. 3 oder 4.
- Der Linksys WRT54G hat ab Werk die IP-Adresse 192.168.1.1. Um mit ihm über deinen Computer "Kontakt aufzunehmen", muss dein Computer eine IP-Adresse zwischen 192.168.1.2 und 192.168.1.254 kriegen. Diese kann händisch zugewiesen werden:
BR$> su BRPassword: Hier dein root Passwort eingeben BR$> ifconfig eth0:1 192.168.1.2 BR(die IP wird eth0 hinzugefügt -> :1) BRoder BR$> ifconfig eth0 192.168.1.2 BR(die IP wird geändert)
Flashen
Methode A: Über das Web-Interface Methode B: Über tftp
Methode A:
Wechsle auf das (Original-) Web-Interface des Routers. BRhttp://192.168.1.1
Du wirst daraufhin nach einem Passwort gefragt. BRStandardmäßig lautet dieses Passwort "admin" (ohne Anführungszeichen), der Benutzername bleibt leer. BRWechsle im Web-Interface zu 'Administration -> Firmware Upgrade'. BRWähle das zuvor runtergeladene Firmware File ("openwrt-g-freifunk-x.y.z-en.bin bzw. .trx") aus. BRDer Router beginnt die neue Firmware zu schreiben. BRZum Abschluß bekommst du idealerweise eine Mitteilung dass alles geklappt hat.
Methode B:
LASUS im Firmware Upload Modus starten: BRStart a shell with root privileges. BRChange directories using the cd command to the directory containing the desired firmware. BRExample: type cd /tmp/download/firmware and press the Enter key. BRConfigure the required network interface. Example: ifconfig eth0 192.168.1.2 (see above) BRStart the tftp program: enter tftp 192.168.1.1 and press Enter. TFTP needs to be configured to correctly to transfer the firmware: in the tftp shell enter binary and press Enter, follow this with rexmt 1 and press Enter BREnter the TFTP upload command but do not press Enter. BRExample: BRmyhost#> tftp 192.168.1.1 (WRT54) BRverbose BRbinary BRput openwrt-g-freifunk-%VERSION%-en.bin (WRT54, Do not press Enter now!) BR BRNow jump to the section Firmware Upload Modus of the proper device below and continue from there.
Firmware Upload Modus Linksys WRT54 BRThe network socket of the PC normally has an LED to indicate whether a connection exists. This LED lights up as soon as a network connection is established. After switching on the device, this LED should light up after a couple of seconds. Similarly, one of the four LEDs? on the device should also light up. By power-cycling the device this behaviour can be checked. To check this, do the following: BRRemove the power supply to the device. BRReconnect the power supply to the device. BRWait approximately 2 seconds until the network LEDs? light up. BRWait a further 1-2 seconds. BRPress enter to confirm the TFTP transfer of the firmware. BRThe upload should be completed error free after 5 seconds. BRThe power LED of the device blinks to indicate the update is being done. BRThe update takes at most 2 minutes. The device will automatically start the new firmware.
ab zur RouterKonfiguration
siehe auch: BRhttp://freifunk.net/wiki/LinksysWRT54GInstallationBessererFirmware BRhttp://freifunk.net/wiki/FreifunkFirmwareEnglish BRhttp://wiki.freifunk-leipzig.public-ip.org/index.php/Asus_WL-HDD2.5#Flashen_der_Firmware
Sollte beim Flashen etwas schief gehen, siehe auch: BRhttp://freifunk.net/wiki/FreifunkFirmwareHinweise
Es wird vorausgesetzt, das du dich in der ominösen Karte registriert und eingetragen hast. BRhttp://funkfeuer.wirdorange.org/base/mappe/map.php