Dimensione: 2932
Commento:
|
Dimensione: 2931
Commento:
|
Le cancellazioni sono segnalate in questo modo. | Le aggiunte sono segnalate in questo modo. |
Linea 44: | Linea 44: |
* Sembra che per accedere alla cli di Redboot occorra mandare una stringa di breack in questo modo: | * Sembra che per accedere alla cli di Redboot occorra mandare una stringa di break in questo modo: |
Ubiquiti Nanostation 5
- Processore: Atheros (AR2313) 180Mhz
- Memoria: 16Mb RAM, 4Mb flash
- Altro: antenna incorporata, attacco antenna esterna (RP-SMA), power over ethernet incluso, alimentatore incluso, cavi non inclusi
- Prezzo: circa 70 euro
- Di fabbrica (AirOS):
- IP: 192.168.1.20
- username: ubnt
- password: ubnt
- Nanostation 5 = 5 Ghz (802.11a) [Nanostation 2 = 2.4 Ghz (802.11b/g)]
Flashare con OpenWrt
Aggiornare AirOS, scaricando l'immagine da: http://www.ubnt.com/support/airos.php . Scaricare il file che inizia per "NS5"" (per esempio http://www.ubnt.com/downloads/XS-fw/v3.3.1/NS5.ar2313.v3.3.1.4227.090128.1834.bin ), andare su http://192.168.1.20 , cliccare "System", quindi "Upgrade" e scegliere l'immagine scaricata. Questa operazione serve soprattutto ad aggiornare RedBoot.
- Sul PC, impostare l'IP dell'interfaccia collegata alla Nanostation ad 192.168.1.254
- Staccare il cavo ethernet/alimentazione dalla Nanostation, tenere premuto il pulsante reset (con un cacciavite, per esempio) e riattaccare il cavo continuando a tenere premuto reset per circa 8-10 secondi. I led della Nanostation cominciano a lampeggiare alternando tra rosso e giallo
- Pingare 192.168.1.20 ed attendere una risposta
$ ping 192.168.1.20 PING 192.168.1.20 (192.168.1.20) 56(84) bytes of data. 64 bytes from 192.168.1.20: icmp_seq=1 ttl=64 time=0.499 ms 64 bytes from 192.168.1.20: icmp_seq=2 ttl=64 time=0.637 ms 64 bytes from 192.168.1.20: icmp_seq=3 ttl=64 time=1.55 ms 64 bytes from 192.168.1.20: icmp_seq=4 ttl=64 time=0.321 ms 64 bytes from 192.168.1.20: icmp_seq=5 ttl=64 time=0.412 ms ^C --- 192.168.1.20 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4002ms rtt min/avg/max/mdev = 0.321/0.683/1.550/0.446 ms
- Utilizzare tftp per flashare l'immagine
$ tftp 192.168.1.20 tftp> bin tftp> put openwrt-atheros-ubnt5-squashfs.bin tftp> quit
- Sembra che per accedere alla cli di Redboot occorra mandare una stringa di break in questo modo:
$ echo -e "\0377\0364\0377\0375\0006" > break $ nc -vvv 192.168.1.20 9000 < break ; telnet 192.168.1.20 9000
Immagini OpenWrt
openwrt-atheros-ubnt5-squashfs.bin kamikaze 8.09 - 10 febbraio 2009 - Clauz
http://downloads.openwrt.org/kamikaze/8.09_RC2/atheros/openwrt-atheros-ubnt5-squashfs.bin