|
|
# liberation: ZyXEL NWA1121-NI
|
|
|
|
|
|
|
|
|
[[_TOC_]]
|
|
|
|
|
|
|
|
|
[<http://wiki.openwrt.org/toh/zyxel/nwa1123-ac>]
|
|
|
|
|
|
|
|
|
## modifications
|
|
|
|
|
|
[ajouter les notes de Mickael]
|
|
|
|
|
|
|
|
|
## installation
|
|
|
|
|
|
# mkdir -p /srv/tftp
|
|
|
# apt-get install tftpd-hpa
|
|
|
# nano /etc/default/tftpd-hpa
|
|
|
[remplacer]
|
|
|
TFTP_DIRECTORY="/srv/tftp/"
|
|
|
# service tftpd-hpa restart
|
|
|
|
|
|
# mkdir -p /srv/tftp/ZyXEL_NWA1121-NI
|
|
|
# cd !$
|
|
|
# cp /path/to/inubo/commun/Realisation/OpenWrt/ZyXEL_NWA1121-NI/openwrt-ar71xx-generic-nwa-1121-ni-squashfs-factory.bin .
|
|
|
# sha1sum openwrt-ar71xx-generic-nwa-1121-ni-squashfs-factory.bin
|
|
|
07b40c2243a15d946e392287e785e7cfb7a3a5b4 openwrt-ar71xx-generic-nwa-1121-ni-squashfs-factory.bin
|
|
|
[si nécessaire:
|
|
|
# service network-manager stop
|
|
|
# ip address add 192.168.1.10 dev eth0
|
|
|
# ip link set eth0 up
|
|
|
]
|
|
|
[connect the AP via the serial port:
|
|
|
J1
|
|
|
+----------------+
|
|
|
|VCC3|TXD|RXD|GND|
|
|
|
+----------------+
|
|
|
+-----+
|
|
|
|Power|
|
|
|
+--------+
|
|
|
|Ethernet|
|
|
|
]
|
|
|
# screen /dev/ttyUSBn 115200
|
|
|
[allumer la borne, arrêter le démarrage en cours en lisant le prompt]
|
|
|
ar7240> tftp 0x80060000 ZyXEL_NWA1121-NI/openwrt-ar71xx-generic-nwa-1121-ni-squashfs-factory.bin&&erase 0x9f050000 +$filesize;cp.b $fileaddr 0x9f050000 $filesize
|
|
|
Trying eth0
|
|
|
Using eth0 device
|
|
|
TFTP from server 192.168.1.10; our IP address is 192.168.1.1
|
|
|
Filename 'ZyXEL_NWA1121-NI/openwrt-ar71xx-generic-nwa-1121-ni-squashfs-factory.bin'.
|
|
|
Load address: 0x80060000
|
|
|
Loading: #################################################################
|
|
|
[...]
|
|
|
####
|
|
|
done
|
|
|
Bytes transferred = 15990784 (f40000 hex)
|
|
|
Erase Flash from 0x9f050000 to 0x9ff8ffff in Bank # 1
|
|
|
First 0x5 last 0xf8 sector size 0x10000
|
|
|
Erased 244 sectors
|
|
|
Copy to Flash... write addr: 9f050000
|
|
|
done
|
|
|
ar7240> setenv bootcmd bootm 0x9f050000
|
|
|
ar7240> saveenv
|
|
|
Saving Environment to Flash...
|
|
|
Protect off 9F040000 ... 9F04FFFF
|
|
|
Un-Protecting sectors 4..4 in bank 1
|
|
|
Un-Protected 1 sectors
|
|
|
Erasing Flash...Erase Flash from 0x9f040000 to 0x9f04ffff in Bank # 1
|
|
|
First 0x4 last 0x4 sector size 0x10000
|
|
|
Erased 1 sectors
|
|
|
Writing to Flash... write addr: 9f040000
|
|
|
done
|
|
|
Protecting sectors 4..4 in bank 1
|
|
|
Protected 1 sectors
|
|
|
ar7240> reset
|
|
|
[si nécessaire:
|
|
|
# ip link set eth0 down
|
|
|
# ip address remove 192.168.1.10 dev eth0
|
|
|
# service network-manager start
|
|
|
]
|
|
|
# exit |