⇤ ← Revision 1 as of 2009-07-20 14:55:11
Size: 2103
Comment:
|
Size: 2117
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 9: | Line 9: |
{{ | {{{ |
Line 11: | Line 11: |
}} | }}} |
Line 17: | Line 17: |
{{ | {{{ |
Line 19: | Line 19: |
}} | }}} |
Line 25: | Line 25: |
{{ | {{{ |
Line 32: | Line 32: |
}} | }}} |
Line 41: | Line 41: |
{{ | {{{ |
Line 43: | Line 43: |
}} | }}} |
Line 47: | Line 47: |
{{ | {{{ |
Line 59: | Line 59: |
}} | }}} |
Line 61: | Line 61: |
{{ | {{{ |
Line 68: | Line 68: |
}} | }}} |
Line 70: | Line 70: |
{{ | {{{ |
Line 72: | Line 72: |
}} | }}} |
Line 76: | Line 76: |
{{ | {{{ |
Line 79: | Line 79: |
}} | }}} |
Line 83: | Line 83: |
{{ | {{{ |
Line 85: | Line 85: |
}} | }}} |
Line 89: | Line 89: |
Flashare le fonere con dd-wrt
== Prima parte: il maledetto server tftpd =
- installare tftpd, tftp: lui si tirera' pure openbsd-inetd. installare tutto!
apt-get install tftpd tftp
Il client servira' per fare i test.
- configurare /etc/inetd.conf cosi':
tftp dgram udp wait nobody /usr/sbin/tcpd /usr/sbin/in.tftpd /tftpboot
- creare la dir /tftpboot, modo 777, user nobody
- metti li' dentro linux.bin, modo 777, owner nobody. cosi':
root@gemini:~# ls -la /tftpboot/ total 6604 drwxrwxrwx 2 nobody root 4096 2009-07-19 18:57 . drwxr-xr-x 22 root root 4096 2009-07-19 18:47 .. -rwxrwxrwx 1 nobody root 6754304 2009-07-19 18:57 linux.bin root@gemini:~#
- collegare la fonera all'adattatore. questo dipende dall'adattatore!
- 9600,8N1, no hardware flow control altrimenti ctrl-c non funziona.
enter the RedBoot console by pressing CTRL+C
configure the RedBoot bootloader IP and TFTP server settings using
ip_address -l [local ip address] -h [remote server address]
- flash the unit by entering the following commands
RedBoot> fis init About to initialize [format] FLASH image system - continue (y/n)? y *** Initialize FLASH Image System ... Erase from 0xa83e0000-0xa83f0000: . ... Program from 0x80ff0000-0x81000000 at 0xa83e0000: . RedBoot> load -r -v -b 0x80041000 linux.bin Using default protocol (TFTP) Raw file loaded 0x80041000-0x802e3fff, assumed entry at 0x80041000
RedBoot> fis create linux ... Erase from 0xa8030000-0xa82f0000: ............................................ ... Program from 0x80041000-0x80301000 at 0xa8030000: ............................................ ... Erase from 0xa83e0000-0xa83f0000: . ... Program from 0x80ff0000-0x81000000 at 0xa83e0000: .
RedBoot> fconfig
Rispondi alle domande, ed enter the bootscript:
fis load -l linux exec
Poi salva la config uscendo, cosi':
reset
FINE