Welcome! Log In Create A New Profile

Advanced

PogoPlug Mobile SSH?

Posted by Darkphyer 
PogoPlug Mobile SSH?
June 20, 2016 03:41PM
hi, I cant seem to get ssh enabled on my PogoPlug Mobile
the option is not listed in my.pogoplug.com and https not accepting connections
"https://[Device.IP.address]/sqdiag/HBPlug?action=command&command=dropbear%20start"
I can access the "http://[Device.IP.address]/sqdiag/" pages
i did a port scan 80,3333,3334 all accept http connections and
i forwarded the ports 4365,54003 in my router settings,

What am i Missing?
Re: PogoPlug Mobile SSH?
June 20, 2016 03:56PM
Darkphyer Wrote:
-------------------------------------------------------
> hi, I cant seem to get ssh enabled on my PogoPlug
> Mobile
> the option is not listed in my.pogoplug.com and
> https not accepting connections
> "https://[Device.IP.address]/sqdiag/HBPlug?action=
> command&command=dropbear%20start"
> I can access the
> "http://[Device.IP.address]/sqdiag/" pages
> i did a port scan 80,3333,3334 all accept http
> connections and
> i forwarded the ports 4365,54003 in my router
> settings,
>
> What am i Missing?

IIRC, some forum member have reported about this SSH enable option is no longer available at pogplug.com. You would need to connect serial console to log in.

http://forum.doozan.com/read.php?2,27943,28014#msg-28014

Also read a couple posts below that.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)



Edited 2 time(s). Last edit at 06/20/2016 04:02PM by bodhi.
Re: PogoPlug Mobile SSH?
July 07, 2016 07:06PM
Quote
bodhi
IIRC, some forum member have reported about this SSH enable option is no longer available at pogplug.com. You would need to connect serial console to log in.

http://forum.doozan.com/read.php?2,27943,28014#msg-28014

The link you provided confirmed my suspicions. I've been wrestling with a POGO-V4-A3-01 for better than a week and have unregistered and re-registered the device no less than a dozen times. I've tried every conceivable combination of media types, USB stick, SD Card, SATA drive, top USB 2.0 port, USB 3.0 port 0, USB 3.0 port 1, etc.

Glad to have some closure.

I'm ready to go the serial console route but want to make sure I'm sourcing the right components. I'm considering the following:

Armorview PL2303HX USB To TTL To UART RS232 COM Cable Module Converter
https://www.amazon.com/gp/product/B008AGDTA4/

and

Phantom YoYo 40P dupont cable 200mm male to female
https://www.amazon.com/gp/product/B00A6SOGC4/

Is there anything I'm missing? Or, is there any reason these pieces won't work?

As for the process of actually establishing console access, is there anything particular I need software-wise? I will be using a 64-bit Window 10 workstation but can spin up a Linux VM if that would be more straightforward. I would appreciate any insight.

Kind regards.
Re: PogoPlug Mobile SSH?
July 07, 2016 10:19PM
I settled on the Armorview PL2303HX and 3 pin JST SM Male Female plug. The last time I connected to a device via console I used HyperTerminal but nowadays I think PuTTy will be the best utility for Windows. Let me know if anyone has a better suggestion.

Is it possible to flash new uboot from serial console? If so, are there any reference material?

It appears the PogoPlug has abandoned SSH support and my goal is to use the serial console to get the unit to a point where I can employ Qui Hong's method of installing Arch Linux on a POGO-V4-A3-01 outlined here:
http://blog.qnology.com/2014/07/hacking-pogoplug-v4-series-4-and-mobile.html

Any leads would be appreciated.

Kind regards.



Edited 1 time(s). Last edit at 07/07/2016 10:44PM by brainflurry.
Re: PogoPlug Mobile SSH?
July 08, 2016 12:46AM
brainflurry,

It is best to login into stock OS with serial console and then flash new u-boot from stock OS.

You should also create USB Debian rootfs in advance using another Linux box, so it can be booted right after u-boot installation on the Pogo Mobile.

Or if you prefer Arch, then create Arch rootfs, u-boot envs will be a little bit different when you boot Arch. So it is best that you can boot Debian rootfs first and then adjust the envs to boot Arch. The good thing about booting Debian: the instruction is ready. Adjusting u-boot envs to boot Arch is depending on which Arch rootfs version you use.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)



Edited 2 time(s). Last edit at 07/08/2016 01:01AM by bodhi.
Re: PogoPlug Mobile SSH?
July 08, 2016 11:30AM
Thanks @bodhi for taking the time to respond.

I will plan to go the USB Debian rootfs route, since the instructions are readily available.

Is it possible to go from booting Debian on the POGO-V4-A3-01 to booting Debian (or ALARM) from a SD Card per Qui Hong's method? If so, what section of his tutorial should I start with after booting the USB Debian rootfs?

Thanks for your help.
Re: PogoPlug Mobile SSH?
July 08, 2016 02:00PM
brainflurry,

After you have installed new u-boot and the new default envs, then it does not matter which device the rootfs is on (USB, SD, SATA). It will detect and boot it properly.

Pardon me for not bother reading other tutorials :) it is usually obsolete, and it is not really worth reading (I don't mean there is anything wrong with the turorial, because it was good at the time of writing). Just that I ususally release a new u-boot version every few months, and the envs are updated with the latest release.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: PogoPlug Mobile SSH?
July 08, 2016 05:22PM
Thank you for sharing your time @bodhi.
Re: PogoPlug Mobile SSH?
July 09, 2016 12:20AM
brainflurry Wrote:
-------------------------------------------------------
> Thank you for sharing your time @bodhi.

You're welcome!

If you like to update Qui Hong's tutorial to the latest u-boot and envs to contribute back to his blog, then list the commands here and I'll help you to do that.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Juwin Thomas
Re: PogoPlug Mobile SSH?
July 25, 2016 07:53PM
I am also stuck with this. Is there any good guide explaining how to connect serial cable to Pogoplug V4? I am not an electronics expert. Is this something which a layman can do?

I recently bought Pogoplug-V4-A4-01, and didn't expect Pogoplug support team to be a autoreply mailbox.

Thanks,
Juwin
Re: PogoPlug Mobile SSH?
July 25, 2016 11:45PM
Juwin,

Basically, with the Pogo Mobile/V4, you will need to open it up and solder a serial header to the board. See this Wiki post:
http://forum.doozan.com/read.php?2,23630

scroll down to the section:

Quote

Serial Console & JTAG console

Repair Pogo E02 with Raspberry PI (JTAG) and OpenOCD
Serial Port connector - what are people using to make it work
Serial Console hookup - GoFlex Net (external link)
Serial Console hookup - Pogoplug E02 and Pogoplug Pro V3 (external link)
OSX Serial/Net Console
Use Phone Jack - Phone Jack Serial Console Pics

"Serial Console hookup - GoFlex Net (external link)" is the good description. It's for GoFlexNet, but you'd do the same steps for the Pogo Mobile.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
rado
Re: PogoPlug Mobile SSH?
October 16, 2016 03:42PM
This is the tutorial I used to get serial access:
http://mhassan.me/2012/11/17/pogoplug-v4-disassembly-and-attaching-serial-cable/

Here is the Prime eligible USB serial connector I used:
https://www.amazon.com/gp/product/B009T2ZR6W

I used this uboot installation script and disk images with modifications (a repackaging of bodhi's work):
https://github.com/pepaslabs/pogoplug_mobile_uboot_installer
rado
Re: PogoPlug Mobile SSH?
October 16, 2016 03:44PM
I also couldn't get the ssh enabled with the "https://[Device.IP.address]/sqdiag/HBPlug?action=command&command=dropbear%20start"
I can access the "http://[Device.IP.address]/sqdiag/" because the https port was not open. I didn't try activating it through the website.
Wes
Re: PogoPlug Mobile SSH?
November 26, 2016 03:39PM
Hey, just wanted to maybe see if anyone can help me out here. So I think I've got the serial connection to my pogoplug (Any way to verify?) as I can't get the web SSH to work... but now how do I proceed?

In putty, it doesn't look like I can send commands through the serial interface, and I'm not sure how to go about activating / doing SSH through putty as it asks for an IP address?

Basically I'm in way too deep, and don't know how to proceed from Soldered serial cables -> Drivers for USB Serial connector -> Open serial session in putty -> ?? (I powered on my pogo mobile at this stage, but there was no output in the console, stock firmware BTW)
Re: PogoPlug Mobile SSH?
November 26, 2016 03:50PM
Wes,

> to proceed from Soldered serial cables -> Drivers
> for USB Serial connector -> Open serial session in
> putty -> ?? (I powered on my pogo mobile at this
> stage, but there was no output in the console,
> stock firmware BTW)

- Make sure your serial module converter is working, has it been used before?
- Make sure wires are connected properly. Only 3 wires should be connected: GND, TX, RX. Never connect 3.3V to the serial port (you could fry it by connecting this).
- Make sure your putty COM settings is correct (COM port, baud rate, parity,....).

- Lastly, if all of the above were verified and still no output, try swaping TX and RX.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: PogoPlug Mobile SSH?
November 26, 2016 03:55PM
Verify your connections and port settings in putty you should wind up with a bash shell
Wes
Re: PogoPlug Mobile SSH?
November 26, 2016 04:51PM
Well, I thought I had exhausted all of my skill in debugging, turns out I haven't. I had two issues, both my own fault, first off one of my solder points must have broke after I hot glued all of them down, so after re-soldering that, and then after switching what I thought were the correct RX/TX ports, I'm finally getting output on the console. Yay for double checking everything! I'm now deep into Qui's tutorial on installing debain.
Re: PogoPlug Mobile SSH?
November 26, 2016 05:08PM
Good luck
Wes
Re: PogoPlug Mobile SSH?
November 26, 2016 06:11PM
Hey all, fast forward a bit, I've gotten Debian installed, booted, updated, and now I'm working on the kernal. I am going off of Bodhi's page on the latest packages for the kernal and rootfs, and after entering all of the commands, came to this error: "Please check your kernal config and/or bootloader." and I cannot enter commands into the terminal anymore. Here is a pastebin of all I've done so far: http://pastebin.com/ACFCZYwk
Re: PogoPlug Mobile SSH?
November 26, 2016 06:49PM
Wes,

Your u-boot envs are not set up properly. You should have upgraded to u-boot-2016.05, that version has everything setup for you. The version you've installed is a little old (it's fine, but need setup a little more).

-----

Here how to solve this. Kernel 4.8.3 is FDT. And the booting log showed that you're loading only uImage and uInitrd but not the DTB. That's why this error occured.

Interrupt serial console and get the listing of envs
printenv
and post here.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Wes
Re: PogoPlug Mobile SSH?
November 26, 2016 06:53PM
Okay, good to know I haven't bricked or anything like that. Here is the output from printenvs: http://pastebin.com/WpdFtfR1
Wes
Re: PogoPlug Mobile SSH?
November 26, 2016 08:04PM
Should I just start over with the whole installation? I can still boot into the pogoplug OS, and the script here "https://github.com/pepaslabs/pogoplug_mobile_uboot_installer"; made installation really simple
Re: PogoPlug Mobile SSH?
November 26, 2016 09:06PM
Wes Wrote:
-------------------------------------------------------
> Should I just start over with the whole
> installation? I can still boot into the pogoplug
> OS, and the script here
> "https://github.com/pepaslabs/pogoplug_mobile_uboo
> t_installer" made installation really simple

You don't need to go that far. Let me write a few variables and you'll be able to boot.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: PogoPlug Mobile SSH?
November 26, 2016 10:10PM
Wes,

Power up, interrupt serial console and then

setenv usb_load_dtb 'ext2load usb $device 0x1c00000 /boot/dts/kirkwood-pogoplug_v4.dtb'
setenv usb_boot 'mw 0x800000 0 1; run usb_load_uimage; run usb_load_dtb;  if run usb_load_uinitrd; then bootm 0x800000 0x1100000 0x1c00000; else bootm 0x800000 - 0x1c00000; fi'
boot

After booting into Debian, either

1. Set them for real:

fw_setenv usb_load_dtb 'ext2load usb $device 0x1c00000 /boot/dts/kirkwood-pogoplug_v4.dtb'
fw_setenv usb_boot 'mw 0x800000 0 1; run usb_load_uimage; run usb_load_dtb;  if run usb_load_uinitrd; then bootm 0x800000 0x1100000 0x1c00000; else bootm 0x800000 - 0x1c00000; fi'


or

2. install new u-boot-2016.05:
http://forum.doozan.com/read.php?3,12381

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: PogoPlug Mobile SSH?
November 26, 2016 10:15PM
Wes Wrote:
-------------------------------------------------------
> Well, I thought I had exhausted all of my skill in
> debugging, turns out I haven't. I had two issues,
> both my own fault, first off one of my solder
> points must have broke after I hot glued all of
> them down, so after re-soldering that, and then
> after switching what I thought were the correct
> RX/TX ports, I'm finally getting output on the
> console. Yay for double checking everything! I'm
> now deep into Qui's tutorial on installing debain.

BTW, good troubleshooting! for a soldering-challenge dude like me I always ask others to do it for me for a six pack of beers in return :)

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Wes
Re: PogoPlug Mobile SSH?
November 26, 2016 10:42PM
Haha, makes it extra hard with my $5 iron and ruined tips. I would like to return the thanks, as I've never had someone be so dedicated and so helpful to a project, so thank you very much for supporting me and all the other noobs out there.

And now to the bad news, haha, I interrupted the boot, and entered the commands, but unfortunately I'm getting the same error, pastebin: http://pastebin.com/WP4uXK2v

Almost thinking starting from scratch and installing the most-up-to-date things would help here, as I did install the debian / uBoot version that was in Qui's blog, which is a full 2 years old now.
Re: PogoPlug Mobile SSH?
November 26, 2016 10:56PM
Wes Wrote:
-------------------------------------------------------
> Haha, makes it extra hard with my $5 iron and
> ruined tips. I would like to return the thanks, as
> I've never had someone be so dedicated and so
> helpful to a project, so thank you very much for
> supporting me and all the other noobs out there.

No need to, but here is something that might interests people who'd like to know:
https://mibodhi.blogspot.com

> And now to the bad news, haha, I interrupted the
> boot, and entered the commands, but unfortunately
> I'm getting the same error, pastebin:
> http://pastebin.com/WP4uXK2v
>
> Almost thinking starting from scratch and
> installing the most-up-to-date things would help
> here, as I did install the debian / uBoot version
> that was in Qui's blog, which is a full 2 years
> old now.

Are you booting fromSD card? that was not clear from your previous question. The settings I've just posted were for USB.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Wes
Re: PogoPlug Mobile SSH?
November 26, 2016 11:01PM
Haha, I'd throw in a donation, but there's a reason I'm trying to get a $10 NAS up and running, but that's pretty cool of you as well.

Quote
Are you booting fromSD card?

I'm booting from a MicroSD in an SD card adapter, so yes just an SD card, 2gb in size.
Re: PogoPlug Mobile SSH?
November 26, 2016 11:02PM
Boot with SD card:

setenv mmc_load_dtb 'ext2load mmc $device 0x1c00000 /boot/dts/kirkwood-pogoplug_v4.dtb'
setenv mmc_boot 'mw 0x800000 0 1; run mmc_load_uimage; run mmc_load_dtb; if run mmc_load_uinitrd; then bootm 0x800000 0x1100000 0x1c00000; else bootm 0x800000 - 0x1c00000; fi'
boot

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Wes
Re: PogoPlug Mobile SSH?
November 26, 2016 11:27PM
The SD card commands worked! You are a magician, haha. I guess I should try to either update Uboot and the Debian kernal at this stage? My final goal for the system, is as mentioned briefly, a NAS that can stream media and store files on a 750gb external HDD.
Author:

Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: