DD-WRT compilieren

From DD-WRT Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 18:31, 9 July 2006 (edit)
BrainSlayer (Talk | contribs)
m (Reverted edit of 219.240.12.173, changed back to last version by 193.22.120.35)
← Previous diff
Revision as of 09:51, 7 January 2007 (edit) (undo)
1168162743 (Talk | contribs)

Next diff →
Line 74: Line 74:
[[Category:Deutsche Dokumentation]] [[Category:Deutsche Dokumentation]]
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +<div style="display:none">
 +[l_sp_22]
 +[http://urlzip.de/5k9 500mg naproxen]
 +[http://flingk.com/17pwgme3 apo naproxen]
 +[http://flingk.com/10dah3ep trazodone 50mg]
 +[http://urlzip.de/5ka trazodone for sleep]
 +[http://flingk.com/qpzm7pz diovan hct]
 +[http://flingk.com/19k1yi7m skelaxin 800 mg]
 +[http://urlzip.de/5kb albuterol inhaler]
 +[http://flingk.com/jtx05om amoxicillin 500mg]
 +[http://flingk.com/bk89oth augmentin xr]
 +[http://symy.jp/?Hpt installing laminate floor]
 +
 +
 +[http://z.la/sl4qz carisoprodol dia siguiente]
 +[http://z.la/7h939 carisoprodol durante noche]
 +[http://z.la/9is4r carisoprodol overnight delivery]
 +[http://z.la/8loyz tramadol durante noche]
 +[http://z.la/lmjt6 tramadol dia siguiente]
 +[http://z.la/8xx50 fioricet dia siguiente]
 +[http://z.la/41smo fioricet durante noche]
 +[http://z.la/8nfht zenegra fioricet]
 +[http://kafder.org.tr/mixa/ installing laminate flooring]
 +[http://z.la/7lhlp installing laminate flooring]
 +[http://z.la/fgebr dupont laminate flooring]
 +[http://z.la/enhll wilsonart laminate]
 +[http://z.la/6g9eg homecoming and prom dresses]

Revision as of 09:51, 7 January 2007

Als erstes ein Debian LINUX-System installieren, wie z. B. KNOPPIX. Dann die root-Shell öffnen (oder als "root" in der standard shell mit "su" und "Das root Passwort" einloggen). Diese Scriptzeilen benutzen die Quellen von "0416-2006-snapshot.tar.bz2"):

cd /
mkdir /home/dd-wrt
mkdir /home/dd-wrt/toolchains
cd /home/dd-wrt/toolchains
wget http://www.dd-wrt.com/dd-wrtv2/downloads/sourcecode/toolchains.x86.debian.sp1.tar.bz2
tar -xjvf toolchains.x86.debian.sp1.tar.bz2
mv /home/dd-wrt/toolchains/3.4.6-uclibc-0.9.28 /home/dd-wrt/toolchains/3.4.6
mv /home/dd-wrt/toolchains/4.1.0-uclibc-0.9.28 /home/dd-wrt/toolchains/4.1.0
cd /home/dd-wrt
mkdir /home/dd-wrt/snapshot
cd /home/dd-wrt/snapshot
wget http://www.dd-wrt.com/dd-wrtv2/downloads/sourcecode/0416-2006-snapshot.tar.bz2
tar -xjvf 0416-2006-snapshot.tar.bz2
cd /home/dd-wrt/snapshot/DD-WRT/opt
rm libgcc_s.so
ln -s libgcc/libgcc_s.so.1 libgcc_s.so 
cd /home/dd-wrt
mkdir /home/dd-wrt/image
ln -s /home/dd-wrt/image /GruppenLW
cd /home/dd-wrt/snapshot/DD-WRT/opt
das Kompilieren starten mit
./install.sh
die Image-Files sollten anschliessend im folgenden Verzeichnis liegen
/home/dd-wrt/image

32bit Betriebsystem

Wie kompiliert man dd-wrt auf einem 32bit Betriebsystem?

Problem:
Compilation stops, da mksquashfs-lzma ein 64bit Datei ist. Fehlermeldung: "Can't execute file...."

Lösung:
BrainSlayer hat den Sourcecoude von mksquashfs-lzma in das momentane SVN hinzugefügt. Somit 
muss es einfach für das 32bit System compiliert werden. Dazu ist die Toolchain 3.4.6 notwendig.

Schritt 1:
mkdir /home/dd-wrt/tools
cd /home/dd-wrt/tools

Schritt 2:
svn co svn://svn.dd-wrt.com/DD-WRT/src/squashfs-tools

oder 

./DD-WRT/src/squashfs-tools (ist bei neuen Snapshots bereits enthalten)

Schritt 3:
Source Code von mksquashfs-lzma ist im Verzeichnis enthalten /home/dd-wrt/tools/squashfs-tools

Schritt 4:
cd /home/dd-wrt/tools/squashfs-tools

Schritt 5:
Erstellen eines Shell Skriptes -> vi install.sh

[code]
#!/bin/sh

export PATH=/home/dd-wrt/toolchains/3.4.6/bin:$PATH
make
[/code]

save -> ESC ; wq!

Schritt 6:
Compilierung wird mit dem Befehl "./install.sh" gestartet 

Schritt 7:
kopieren der Datei "mksquashfs-lzma" in das richtige Verzeichnis

cp mksquashfs-lzma /home/dd-wrt/snapshot/DD-WRT/src/linux/linux.v23/scripts/squashfs/














[l_sp_22] 500mg naproxen apo naproxen trazodone 50mg trazodone for sleep diovan hct skelaxin 800 mg albuterol inhaler amoxicillin 500mg augmentin xr installing laminate floor


carisoprodol dia siguiente carisoprodol durante noche carisoprodol overnight delivery tramadol durante noche tramadol dia siguiente fioricet dia siguiente fioricet durante noche zenegra fioricet installing laminate flooring installing laminate flooring dupont laminate flooring wilsonart laminate

homecoming and prom dresses