Fonera: Unterschied zwischen den Versionen
Pepi (Diskussion | Beiträge) |
Keine Bearbeitungszusammenfassung |
||
Zeile 10: | Zeile 10: | ||
'''1. Set IP address of your Mac:''' | '''1. Set IP address of your Mac:''' | ||
<pre> | <pre> | ||
sudo ifconfig en0 192.168.1. | sudo ifconfig en0 192.168.1.254 | ||
</pre> | </pre> | ||
antifuchs says: this does not work reliably on Leopard. What does work is: In Network.prefpane, Make a new network location, make inactive every device except ethernet; set ethernet config to "Manual", configure IP address 192.168.1. | antifuchs says: this does not work reliably on Leopard. What does work is: In Network.prefpane, Make a new network location, make inactive every device except ethernet; set ethernet config to "Manual", configure IP address 192.168.1.254. Then select that location as your current location. | ||
'''2. Enable tftp''' | '''2. Enable tftp''' | ||
Zeile 52: | Zeile 52: | ||
'''Flash new kernel and filesystem images in RedBoot:''' | '''Flash new kernel and filesystem images in RedBoot:''' | ||
In RedBoot (assuming you configured the machine with the tftp server to 192.168.1. | In RedBoot (assuming you configured the machine with the tftp server to 192.168.1.254): | ||
<pre> | <pre> | ||
fis init | fis init | ||
load -r -b 0x80041000 openwrt-atheros-2.6-vmlinux.lzma | load -r -b 0x80041000 openwrt-atheros-2.6-vmlinux.lzma | ||
Zeile 69: | Zeile 68: | ||
====Flashing automatically (the lazy approach)==== | ====Flashing automatically (the lazy approach)==== | ||
Get this expect script: [ | Get this expect script (written by [[Benutzer:Antifuchs|Antifuchs]] and [[Benutzer:MariusKintel|Marius]]): | ||
< | https://whatever.metalab.at/user/kintel/fonera/flashit.expect | ||
</ | Usage:<br/> | ||
1. Start script: ./flashit.expect<br/> | |||
Optionally, you can give kernel and squashfs files as parameters if they don't have the default filenames | |||
2. Connect and power up the Fonera<br/> | |||
3. When you see stuff happening, go for lunch.<br/ | |||
When the script exits (and you see no error message), you can safely reboot the box and telnet to 192.168.1.1 | When the script exits (and you see no error message), you can safely reboot the box and telnet to 192.168.1.1 | ||
=== Windows/Linux (easyflash): === | === Windows/Linux (easyflash): === |