hfam Posted March 9, 2012 Share Posted March 9, 2012 Hopefully this is an easy one. I've got 2 hornet-ub's with OpenWRT already loaded on them. Trying to put the "upgrade.bin" file on them to upgrade them to an MK4. I'm connected with a serial cable and an eth cable in PoE/LAN. I've connected to the serial port with PuTTY, set the password, and started dropbear per the instructions in another thread. I'm on Win7, so I grabbed WinSCP (both .exe and .com). I put winscp.com and the upgrade.bin in the same directory. I open a command prompt, go to the "scp" directory, and run "winscp 192.168.2.1" It connects, and prompts me for a username, which I respond "root" It prompts me for a password, which I provide the one I created: "pineapplesareyummy" It then indicates "Authenticated" The next thing that happens is I get: "Connection has been unexpectedly closed. Server sent command exit status 127. Cannnot initialize SFTP protocol. Is the host running a SFTP server?" and I'm stuck. I've followed the steps outlined in the flashing thread to a "T" (at least the relevant parts...I didn't need to put OpenWRT on these as it's already there, so I started from that point Once OpenWRT finishes booting press ENTER to active the console. Issue passwd and set a root password. Next start the ssh service /etc/init.d/dropbear startMove the Ethernet cable from the WAN/LAN port to the PoE LAN port. From the PC ping 192.168.2.1 to verify a connection. From here you'll need to SCP over the latest MK4 update from http://wifipineapple.com/mk4/firmware SCP the latest firmware .bin file to the Pineapple's /tmp/ directory (windows: http://winscp.net/eng/index.php linux: you already have scp) scp firmware.bin email@example.com:/tmp/ Once the firmware has been copied to the pineapple's /tmp/ directory you're ready to update the factory firmware to the latest version of the Jasager suite. On the pineapple issue: sysupgrade -n -v /tmp/firmware.bin The upgrade process takes 2-3 minutes. When complete the Pineapple will reboot and all will be happy again in the land of the pineapple. Continue with normal usage (ie: change your PC's ethernet interface back to DHCP or static it to 172.16.42.42) Darren? seb? Anyone? I don't see where I'm supposed to turn on a SFTP server on the board, but it appears that scp is looking for that. I also ran the GUI version of Winscp, and told it to "allow fallback to scp" (it defaults to SFTP), and I get the same results. Any help would be GREATLY appreciated! Thanks guys! Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.