Differences
This shows you the differences between two versions of the page.
|
toh:fon:fonera [2012/12/05 12:26] gecco |
toh:fon:fonera [2013/04/01 00:23] (current) gene_wood typo'd the copy and paste, fixing |
||
|---|---|---|---|
| Line 472: | Line 472: | ||
| </code> | </code> | ||
| - | We now configure the address of the TFTP (or HTTP) server. Below, replace the two IP address placeholders with something that applies to you. The router IP address is only temporary, it must be a free IP address from the subnet of the server. If you are connected to RedBoot via Telnet, use the same address that you telnetted to. The switch //-l// is for //local//. | + | We now configure the address of the TFTP (or HTTP) server. Below, replace the two IP address placeholders with something that applies to you. The first IP in the command, "IP address of the server", is the IP address of the TFTP server that you have running that will serve the OpenWRT images to La Fonera. The second IP in the command, "IP address for the router" is only temporary, it must be a free IP address in the same subnet as the TFTP server. If you are connected to RedBoot via Telnet, set the "IP address for the router" to the IP address that you telneted to (192.168.1.254). The switch //-l// is for //local//. |
| <code> | <code> | ||
| RedBoot> ip_address -h <IP address of the server> -l <IP address for the router>/24 | RedBoot> ip_address -h <IP address of the server> -l <IP address for the router>/24 | ||
| Line 684: | Line 684: | ||
| Done. Restarting device... | Done. Restarting device... | ||
| </code> | </code> | ||
| + | |||
| + | ===== Software Hacks ===== | ||
| + | |||
| + | ==== Disabling serial console ==== | ||
| + | |||
| + | Easy hack to disable serial console without recompiling kernel, unpack vmlinuz.lzma, search for console= and replace with null and spaces using mfill in redboot. Also comment out /dev/ttyS0 in /etc/inittab. This is fconfig for Backfire 10.03.1 : | ||
| + | |||
| + | <code> | ||
| + | RedBoot> fconfig -l | ||
| + | Run script at boot: true | ||
| + | Boot script: | ||
| + | .. fis load -l vmlinux.bin.l7 | ||
| + | .. mfill -b 0x802B3FF8 -l 4 -4 -p 0x6E756C6C | ||
| + | .. mfill -b 0x802B3FFc -l 6 -1 -p 0x20 | ||
| + | .. exec | ||
| + | Boot script timeout (1000ms resolution): 10 | ||
| + | Use BOOTP for network configuration: false | ||
| + | Gateway IP address: 0.0.0.0 | ||
| + | Local IP address: 192.168.1.1 | ||
| + | Local IP address mask: 255.255.255.0 | ||
| + | Default server IP address: 192.168.1.10 | ||
| + | Console baud rate: 9600 | ||
| + | GDB connection port: 9000 | ||
| + | Force console for special debug messages: false | ||
| + | Network debug at boot time: false | ||
| + | </code> | ||
| + | |||
| ===== Hardware Hacks ===== | ===== Hardware Hacks ===== | ||
toh/fon/fonera.1354706776.txt.bz2 · Last modified: 2012/12/05 12:26 by gecco
