[EdLUG] Problem with ssh

Alistair Boak alistairboak at gmail.com
Fri Jun 26 12:02:06 UTC 2020


Hi Mathew,

I’ve managed to have a look at the USB disk and will have have a look at the logs etc. and then fiddle around with the start up tiles as suggested - big learning curve, but good.

I’ll let everyone know how I get on, might take a while but hopefully I’ll get there!

Cheers,

Alistair

> On 24 Jun 2020, at 19:42, Matthew Rankine <matthew at mrankine.com> wrote:
> 
> My understanding is that as part of the Archlinux/arm installation process, you've flashed some Arch-specific firmware to the device (as per steps 13-14 of https://archlinuxarm.org/platforms/armv5/seagate-goflex-net <https://archlinuxarm.org/platforms/armv5/seagate-goflex-net>). So it's not going to boot without the USB disk containing Arch OS, nor will it revert Seagate OS. But it sounds like Arch successfully boots with the USB disk, so that's good.
> 
> What about removing the Arch USB disk and editing it from another machine before putting it back in the GoFlex? If you can edit a script that executes on startup, then you can run arbitrary commands on the device and diagnose/solve the problem from "inside". One route would be creating a cron job which runs on startup ("@reboot") by saving a file to /etc/cron.d. May take some trial and error (permissions etc).
> 
> The startup script could try:
> - restarting the SSH server and saving a log to disk for your later investigation in another machine
> - listing the firewall rules - the device responding to ping but refusing port 22 suggests maybe a firewall issue?
> 
> Good luck
> 
> Matthew
> 
> 
> On Wed, 24 Jun 2020 at 18:04, Alistair Boak <alistairboak at gmail.com <mailto:alistairboak at gmail.com>> wrote:
> Hi Mark,
> 
>> On 24 Jun 2020, at 15:16, Mark Turner <replicant.mark at gmail.com <mailto:replicant.mark at gmail.com>> wrote:
>> 
>> Hi,
>>           I seem to recall that these goflex boxes used busybox/uclibc and if you did a reset, maybe you can just access the web interface with default user/pass and enable ssh
>> Mark
> 
> Thank you, I’ve done a soft and hard reset and have tried router-reset.com <http://router-reset.com/>’s 30,30,30 reset, however, the 'Net' reset to the old IP address, but still no luck as  I had removed the USB disk with Archlinux/arm on it hoping it would go back to Seagates OS what ever it is but it didn’t even start and I couldn’t ping it.  But now with the USB disk back in the light settles and I can ping it but it won’t accept the Archlinux default password for the user account or the root account (neither of which I had changed as I was just playing around with it.) The ‘Net’ is on another router behind my main one and there’s no port forwarding or anything, just in case you thought I was being more of an idiot then I’ve been so far!).
> 
> Anyway thanks for the assistance, but, I think I’m going to have to go with the serial cable route, but thats fine I enjoy the tinkering and I’ll let everyone know how it goes.  Now where did I put that solder…!!
> 
> Cheers
> 
> Alistair
> -- 
> EdLUG mailing list
> EdLUG at lists.edlug.org.uk <mailto:EdLUG at lists.edlug.org.uk>
> https://lists.edlug.org.uk/mailman/listinfo/edlug <https://lists.edlug.org.uk/mailman/listinfo/edlug>-- 
> EdLUG mailing list
> EdLUG at lists.edlug.org.uk
> https://lists.edlug.org.uk/mailman/listinfo/edlug

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.edlug.org.uk/pipermail/edlug/attachments/20200626/1aa33717/attachment.html>


More information about the EdLUG mailing list