ROBIN -  Open Source Mesh Network Forum Index ROBIN - Open Source Mesh Network
users community forum
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Correct ways to flash various Ubiquity devices with Sparrow

 
Post new topic   Reply to topic    ROBIN - Open Source Mesh Network Forum Index -> Ubiquiti Unclassified & Misc
View previous topic :: View next topic  
Author Message
Ads






Posted: Tue Sep 26, 2017 11:48 am    Post subject: Ads

Back to top
dalenorman
Ultimate User
Ultimate User


Joined: 24 Mar 2008
Posts: 379
Location: Toronto, Ontario

PostPosted: Tue Apr 14, 2009 3:05 am    Post subject: Correct ways to flash various Ubiquity devices with Sparrow Reply with quote

I have several Ubiquity devices on hand for testing:

Nano2
NanoLoco2
NanoLoco5
Pico2 (regular Pico, not PicoHP)

Anyone have any suggestions on how to flash any/all of these with the new Sparrow build?

I'm hoping i don't have to dig out my level shifter to make an rs-232 connection to these things.

I know i'm asking something that others have asked in other threads.

I suggest we use this thread to identify methods of flashing and their respective success/failure on each model of Ubiquity device.

To start this thread off, i've attempted to flash a NanoLoco2 using the old Windows Flash-GUI.exe application. I simply followed the steps i'd use to flash an Accton node. It fails immediately with an error "Telnet not enabled in Redboot" or something similar.
Back to top
View user's profile Send private message
FrTed
Skilled User
Skilled User


Joined: 28 Mar 2008
Posts: 163

PostPosted: Tue Apr 14, 2009 8:44 pm    Post subject: Reply with quote

I don't have Ubiquiti

but someone might Try

Only registered users can see links on this forum!
Register or Login on forum!



cheers
T

_________________
Careful now!!, Down with that sort of thing!!
Back to top
View user's profile Send private message
Mike_UK
User
User


Joined: 25 Apr 2008
Posts: 24

PostPosted: Wed Apr 15, 2009 11:32 pm    Post subject: Reply with quote

I find the easiest way to put the router in to recovery mode by pressing the reset button while applying power. After about 10 seconds the red and orange signal strength LEDs flash alternately indicating the unit is ready to receive a new firmware file.

Set your pc to 192.168.1.1 and tftp put the file to 192.168.1.20, the router will burn the flash and reboot.

A great open source win32 tftp server / tftp client / dhcp / syslog server is
Only registered users can see links on this forum!
Register or Login on forum!

Back to top
View user's profile Send private message
funchip
Moderator
Moderator


Joined: 12 Sep 2008
Posts: 267
Location: Sacramento, California, USA

PostPosted: Sun Apr 19, 2009 5:57 am    Post subject: Reply with quote

I'm having the same question as @dalenorman. There have been many good instructions on handling UBNT and its interface. Now we need to figure what to do on the ROBIN image side.

I found Antonio's Sparrow Build Update thread under Technical Communications. Follow the link
Only registered users can see links on this forum!
Register or Login on forum!


there are 5 files.

openwrt-atheros-root.jffs2-64k
openwrt-atheros-ubnt2-squashfs.bin
openwrt-atheros-ubnt5-squashfs.bin
openwrt-atheros-vmlinux.gz
openwrt-atheros-vmlinux.lzma

Could anyone kindly share a step-by-step instruction on how to flash a UBNT device from a PC using those files?

Many thanks in advance!
Back to top
View user's profile Send private message
ispyisail
Site Admin
Site Admin


Joined: 12 Sep 2008
Posts: 4604
Location: New Zealand

PostPosted: Sun Apr 19, 2009 6:14 am    Post subject: Reply with quote

I've only just figured out how to do it a few hours ago.

I appears that ubnt have locked the redboot so we need to use ubnt flashing methods.

Having said that i suspect that redboot can be unlocked and you can still use serial methods.

I'll write on the wiki
Back to top
View user's profile Send private message
ispyisail
Site Admin
Site Admin


Joined: 12 Sep 2008
Posts: 4604
Location: New Zealand

PostPosted: Sun Apr 19, 2009 6:16 am    Post subject: Reply with quote

Quote:
Requirements:

* Direct ethernet cable connection between PC and LiteStation
* Network settings of PC: 192.168.1.254/255.255.255.0
* TFTP client on PC
* LiteStation firmware file (e.g. LS2.v1.5.bin for LiteStation2)

Recovery procedure

1. First of all, power off the device.
2. Power it on and keep on holding reset button for ~10 seconds (do not hold it longer!)
3. If your device has been already upgraded to v1.5 before, RDY LED should be lit, indicating that device is ready for recovery
4. Make sure LiteStation responds to pinging (ping 192.168.1.20), if it does not, go to step 1
5. rename firmware file into flash_update (not necessary since v1.5 firmware!)
6. using TFTP client software, upload flash_update to 192.168.1.20 in binary mode
7. Signal LEDs will be blinking during firmware upgrade (since v1.5 firmware!)
8. wait for about 7 minutes on LiteStation2 (to be safe) - do not power off the device during procedure! LiteStation5 upgrade takes less time.
9. device should be alive by now

Example of steps 4-5:

Here is log of the steps 4-5 from Linux terminal:
----------------------------------------------------------------
ubnt@dev:/tmp> ping -c 3 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=128 time=0.285 ms
64 bytes from 192.168.1.20: icmp_seq=2 ttl=128 time=0.296 ms
64 bytes from 192.168.1.20: icmp_seq=3 ttl=128 time=0.333 ms

--- 192.168.1.20 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 1998ms
rtt min/avg/max/mdev = 0.285/0.304/0.333/0.028 ms

ubnt@dev:/tmp> mv LS2.v1.5.bin flash_update
ubnt@dev:/tmp> tftp 192.168.1.20
tftp> bin
tftp> put flash_update
Sent 1965199 bytes in 28.8 seconds
tftp> exit
----------------------------------------------------------------
Back to top
View user's profile Send private message
ispyisail
Site Admin
Site Admin


Joined: 12 Sep 2008
Posts: 4604
Location: New Zealand

PostPosted: Sun Apr 19, 2009 8:25 am    Post subject: Reply with quote

I've done a draft

please fix any errors

Only registered users can see links on this forum!
Register or Login on forum!

Back to top
View user's profile Send private message
funchip
Moderator
Moderator


Joined: 12 Sep 2008
Posts: 267
Location: Sacramento, California, USA

PostPosted: Sun Apr 19, 2009 7:10 pm    Post subject: Reply with quote

@ispyisail, I can follow your procedure on the recovery part (if flashing failed). What about the other way, flash the Sparrow?

Antonio posted 5 files in his 26-series link. Which ones are for PC, and how to do it?

Thanks!
Back to top
View user's profile Send private message
ispyisail
Site Admin
Site Admin


Joined: 12 Sep 2008
Posts: 4604
Location: New Zealand

PostPosted: Sun Apr 19, 2009 7:55 pm    Post subject: Reply with quote

sorry I will fix that

sparrow target boards should be the followings:

23-series: MR3201A, OM1P, FON2100A/B/C, Meraki mini, Willigear WBD500, EnGenius EOC-1650, Ubiquiti pico2HP

26-series: FON2201, Ubiquiti nano/bullet/pico

Download and rename:

26-series
openwrt-atheros-ubnt2-squashfs.bin to flash_update
Back to top
View user's profile Send private message
samufugg
Moderator
Moderator


Joined: 31 Aug 2008
Posts: 46
Location: Karlsruhe (Germany)

PostPosted: Sun Apr 19, 2009 10:47 pm    Post subject: Reply with quote

@ispyisail thx for witing this stuff! It helped a lot

Has anyone succeded to flash the bullet2hp with the sparrow builds 26-series?

My Bulltet2hp stays only one hour online. And this only if I didn`t disconnected after flashing. When I turn down the power after a sucessful flash, it does'nt check in dashboard and stays on SSID: open-mesh
Back to top
View user's profile Send private message
dalenorman
Ultimate User
Ultimate User


Joined: 24 Mar 2008
Posts: 379
Location: Toronto, Ontario

PostPosted: Mon Apr 20, 2009 1:58 am    Post subject: Reply with quote

I believe the "firmware recovery mode" method is good for all but the pico devices. The pico's can be flashed with the windows ap51flash-gui or the linux flash application commonly used with other hardware.
Back to top
View user's profile Send private message
mobilexpi
Skilled User
Skilled User


Joined: 22 Nov 2008
Posts: 175

PostPosted: Mon Apr 20, 2009 4:17 pm    Post subject: Reply with quote

ispyisail wrote:
I've done a draft

please fix any errors

Only registered users can see links on this forum!
Register or Login on forum!



I've a PicoStation 2
I follow the intructions, and it doesn't work for the Sparrow 26 (I can upload the file, but the Pico2 doesn't flash it) But when I follow the steps and select the ubiquiti firmware it works fine..
What can I do?

Best regards
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    ROBIN - Open Source Mesh Network Forum Index -> Ubiquiti Unclassified & Misc All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
c d
e



Powered by phpBB © 2001, 2005 phpBB Group

Abuse - Report Abuse - TOS & Privacy.
Powered by forumup.it free forum, create your free forum! Created by Hyarbor & Qooqoa
Confirmed

Page generation time: 0.202