Zum Inhalt springen

Fonera: Unterschied zwischen den Versionen

MariusKintel (Diskussion | Beiträge)
MariusKintel (Diskussion | Beiträge)
Zeile 6: Zeile 6:
=== Mac OS X ===
=== Mac OS X ===


FON2200 am Mac OS X flashen (kein easyflash).
Since EasyFlash isn't available for Max OS X, we do this manually (FON2200 + ethernet only):
Für FON2200 + ethernet only:


'''1. Set IP address of your Mac:'''
<pre>
<pre>
sudo ifconfig en0 192.168.1.254
sudo ifconfig en0 192.168.1.254
</pre>
</pre>
'''2. Enable tftp'''


Either temporarily enable tftpd serving files from /private/tftpboot/:
Either temporarily enable tftpd serving files from /private/tftpboot/:
Zeile 29: Zeile 32:
</pre>
</pre>


openwrt(vmlinux+rootfs) files ins tftpdir kippen
'''3. Copy OpenWRT files to tftp dir:'''
 
These files are typically what you want to use:
* openwrt-atheros-2.6-vmlinux.lzma
* openwrt-atheros-2.6-root.squashfs


dann wie hier vorgehen:
'''4. Get access to the RedBoot bootloader:'''
http://forum.openwrt.org/viewtopic.php?pid=63402
 
See also http://forum.openwrt.org/viewtopic.php?pid=63402.


<pre>
<pre>
echo -e "\003" > break
echo -e "\003" > break
</pre>
fonera an den strom, wenn das 2te led zu blinken beginnt:
fonera an den strom, wenn das 2te led zu blinken beginnt:
<pre>
nc -vvv 192.168.1.1 9000 < break;
nc -vvv 192.168.1.1 9000 < break;
</pre>
danach ctrl+c
danach ctrl+c
<pre>
telnet 192.168.1.1 9000
telnet 192.168.1.1 9000
</pre>
-> You should now have a "RedBoot>" prompt. If not, rince and repeat.


'''5. Flash new kernel and filesystem images in RedBoot:'''
In RedBoot:
<pre>
fis init
fis init
load -r -b 0x80041000 openwrt-atheros-vmlinux.lzma
load -r -b 0x80041000 openwrt-atheros-2.6-vmlinux.lzma
fis create -e 0x80041000 -r 0x80041000 vmlinux.bin.l7
fis create -e 0x80041000 -r 0x80041000 vmlinux.bin.l7
load -r -b 0x80041000 openwrt-atheros-root.squashfs
load -r -b 0x80041000 openwrt-atheros-2.6-root.squashfs
fis create -l 0x06F0000 rootfs
fis create -l 0x06F0000 rootfs
fis load -l vmlinux.bin.l7
</pre>
exec


warten....
'''6. Reboot'''


telnet 192.168.1.1
You are now where EasyFlash ends.
</pre>
Wait for the boot to finish and telnet to 192.168.1.1 and set a root password.


=== Windows/Linux (easyflash): ===
=== Windows/Linux (easyflash): ===