[Solved] Cant SSH Dockstar after reboot (de-noob'd)

This forum is for Marvell Kirkwood devices such as the GoFlex Home/Net, PogoPlug v1/v2, SheevaPlug, and ZyXEL devices.

[Solved] Cant SSH Dockstar after reboot (de-noob'd)

Postby LinuxNOOB » Fri Apr 05, 2013 7:57 pm

Hi all,

Serious linux noob here, however i am enjoying the journey!

I have setup an htpc with openelec running xbmc, i bought the dockstar with a view to hacking and having a cheap nas server for my usb external drives which hold things like my time machine back-ups etc and obviously to attach more media storage.

Having followed the instructions to install alarm onto the USB flash drive via the u booted dockstar, annoyingly i had it working after the 1st reboot... i say annoyingly as i managed to corrupt this install by doing something stupid, and now im running into problems!!

I can SSH into the dockstar without the flash drive but with it, it never gets assigned an ip on my router... really frustrating! I have tried to reinstall 3 times and i still cant get it to reboot into linux from the usb drive.

As it has been working, i know the equipment im using has the capabilities... I have tried to follow others peoples cases on here yet none come to a conclusion that i can understand. Im not clued up on command-line lingo, so any pointers will have to be 'wife friendly!' lol!!

If anyone could help me i would love to donate a pint to their paypal account as this would make my day!!

Thanks,

Chris
Last edited by LinuxNOOB on Sun Apr 07, 2013 10:32 pm, edited 2 times in total.
LinuxNOOB
 
Posts: 9
Joined: Fri Apr 05, 2013 7:44 pm

Re: Cant SSH Dockstar after reboot!!! :@:@

Postby LinuxNOOB » Fri Apr 05, 2013 8:04 pm

just to add i have tried these solutions to no avail:

1) Make sure to sync before reboot
2) Set the usb_rootfstype to ext3
3) ensured usb flash drive is in the port adjacent to ethernet port

Thanks again for anyones time!
LinuxNOOB
 
Posts: 9
Joined: Fri Apr 05, 2013 7:44 pm

Re: Cant SSH Dockstar after reboot (de-noob'd)

Postby pepedog » Fri Apr 05, 2013 8:26 pm

You extracted the rootfs as user root?
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Cant SSH Dockstar after reboot (de-noob'd)

Postby LinuxNOOB » Fri Apr 05, 2013 9:20 pm

Ty for the swift reply pepedog!

excuse the idleness but what does that mean in lea-mans terms. is this a terminal command on the uboot firmware?
LinuxNOOB
 
Posts: 9
Joined: Fri Apr 05, 2013 7:44 pm

Re: Cant SSH Dockstar after reboot (de-noob'd)

Postby moonman » Fri Apr 05, 2013 9:33 pm

See my signature for reinatallation instructions. Use ext3 if you've set usb_rootfstype to ext3
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: Cant SSH Dockstar after reboot (de-noob'd)

Postby LinuxNOOB » Fri Apr 05, 2013 9:48 pm

hi moonman,

can i use an emulator for live cd? its just i cant find my cd/rs and other memory stick in a move!

thanks again, hopefully this will work...

I havent tried this yet as i am managing to install alarm onto the stick via the dockstar, yet everytime i try to reboot, the light goes green and bam, no lan access.

unknown-00-23-6c-8b-98-b4-2:~ Chris$ ssh root@192.168.1.74
ssh: connect to host 192.168.1.74 port 22: Operation timed out

why would it have worked the 1st time, yet now every reinstall of the usb drive ends with the same lock-out... i dont understand :?
LinuxNOOB
 
Posts: 9
Joined: Fri Apr 05, 2013 7:44 pm

Re: Cant SSH Dockstar after reboot (de-noob'd)

Postby tedm » Fri Apr 05, 2013 11:51 pm

Curious, how does one use ext3 to format the usb, when the available tool (in the current install d/l here) only has mkfs for ext2?


$this->bbcode_second_pass_quote('moonman', 'S')ee my signature for reinatallation instructions. Use ext3 if you've set usb_rootfstype to ext3
tedm
 
Posts: 88
Joined: Tue Jan 01, 2013 1:12 am

Re: Cant SSH Dockstar after reboot (de-noob'd)

Postby moonman » Sat Apr 06, 2013 12:32 am

You obviously haven't followed the link...

Also, if you were using the stock os to reformat the drive, you could use -j argument to make mkfs add journal to the f/s which will make ext2 ext3.
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: Cant SSH Dockstar after reboot (de-noob'd)

Postby tedm » Sat Apr 06, 2013 1:47 am

Thanks Moonman, again you are correct. The next time I install, I will follow your instructions.

On the dockstar instructions here (or 2 weeks ago), the mkfs from the boot loader did not have ext3 support, nor tune2fs, but now I know. I wish they'd integrate your tips on using a 2nd pc to format for the install (or putting the tools needed for -j in the boot loader). Thanks.


$this->bbcode_second_pass_quote('moonman', 'Y')ou obviously haven't followed the link...

Also, if you were using the stock os to reformat the drive, you could use -j argument to make mkfs add journal to the f/s which will make ext2 ext3.
tedm
 
Posts: 88
Joined: Tue Jan 01, 2013 1:12 am

Re: Cant SSH Dockstar after reboot (de-noob'd)

Postby moonman » Sat Apr 06, 2013 5:32 am

Bootloader doesn't have any tools like this, it just loads the linux kernel into memory and hands the control over to it.

The tool to format in ext3 IS there though, it's the same binary in the instructions that you download to format the hdd:

$this->bbcode_second_pass_code('', 'http://archlinuxarm.org/os/pogoplug/mke2fs')

but instead of
$this->bbcode_second_pass_code('', './mke2fs /dev/sda1')

you would do this to get ext3

$this->bbcode_second_pass_code('', './mke2fs -j /dev/sda1')
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Next

Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 15 guests