Welcome! Log In Create A New Profile

Advanced

root password not working FreeAgent GoFlex Home

Posted by narddawg314 
root password not working FreeAgent GoFlex Home
April 01, 2014 09:57PM
I just recently bought a GoFlex and wanted to setup a library box with it but I can't even gain root access to try and install the new OS.

I tried stxadmin and ceadmin with root as the username but no joy.
I tried with and without a USB drive plugged in
from a ubuntu box, and via putty from my windows machine.

This is a Seagate Certified Repair model, so maybe they changed the password? Any help would be appreciated.

EDIT:
Do I need to register an account online to be able to SSH into the device? I'm not sure if this applies to this device or not.
Seagate GoFlex Security

Thanks :)



Edited 1 time(s). Last edit at 04/01/2014 10:11PM by narddawg314.
Re: root password not working FreeAgent GoFlex Home
April 01, 2014 11:36PM
Yes, certified repair means stock, so you will need to register online to get access to SSH.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: root password not working FreeAgent GoFlex Home
April 02, 2014 08:19PM
Ok I've registered and have an account on the seagate share site and I'm able to access the device with a web browser using the local IP and through the seagate site. Is there a setting somewhere to enable SSH? I'm still not able to gain access with that root/password combination.

EDIT: found this guys blog about logging in via SSH with an admin account that you can create from the web gui and then sudo as root to do your thing...sounds good to me! it worked :) john j camilleri GoFlex blog

EDIT: yeah I somehow screwed that up...I guess I didn't create the right partitions or something. Now I'm only getting a flashing green light that changes to red(or orange) and then eventually flashes green for a little bit again but back to the reddish orange. I can't SSH, Ping, or telnet.



Edited 2 time(s). Last edit at 04/02/2014 09:46PM by narddawg314.
Re: root password not working FreeAgent GoFlex Home
April 03, 2014 01:30AM
Arch Linux instruction
http://archlinuxarm.org/platforms/armv5/seagate-goflex-home

Once you get in, just run Jeff script to install U-Boot and Debian (run the squeeze script, not the wheezy script), and upgrade to wheezy.

Or use this rootfs:
http://forum.doozan.com/read.php?2,12096

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: root password not working FreeAgent GoFlex Home
April 03, 2014 11:16AM
I would love to do that but the device is no longer requesting an IP and is just flashing a red light. I can work on it some more when I get home this evening, but is there a recovery option with using a console cable or something like that?
Re: root password not working FreeAgent GoFlex Home
April 03, 2014 03:25PM
narddawg314,

If you have not installed anything (e.g. changing U-Boot) in NAND mtd partitions, and have only messed with your stock HDD, then you can do a factory recovery:
http://support.goflexhome.hipserv.com/en/reflash/index.html

But if you can't do factory recovery then you will need serial console. Most GoFlex Home have serial header, but some don't, so you need to open it to see if soldering is needed. See this thread for parts:
http://forum.doozan.com/read.php?8,13263

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: root password not working FreeAgent GoFlex Home
April 03, 2014 04:17PM
I'll report back ASAP. Thank you very very very much!!

EDIT: No such luck. I think the USB is being read briefly because the light will flicker a few times but then the red flashing light comes back.



Edited 1 time(s). Last edit at 04/04/2014 09:29AM by narddawg314.
Re: root password not working FreeAgent GoFlex Home
April 05, 2014 03:39PM
narddawg314 Wrote:
-------------------------------------------------------
> I'll report back ASAP. Thank you very very very
> much!!
>
> EDIT: No such luck. I think the USB is being
> read briefly because the light will flicker a few
> times but then the red flashing light comes back.

Did you change anything related to U-Boot? if you did not, keep trying the factory reset. I recall that I did try this several times before it took.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: root password not working FreeAgent GoFlex Home
April 08, 2014 03:05PM
I really don't know if I changed anything related to U-Boot or not. .. I performed these steps:

Find your devices's IP address and connect via SSH.

Partition your flash drive with fdisk:

fdisk /dev/sda
# Configure partion 1 as Linux (I'd recommend making this at least 512Mb. The default bare-bones installation uses 280Mb.)
# Configure partion 2 as Linux Swap (I used 256MB.  Adjust according to your anticipated memory usage.)
# Set partition 1 active
Download and run the Debian Wheezy installer:

cd /tmp
wget http://projects.doozan.com/debian/kirkwood.debian-wheezy.sh
chmod +x kirkwood.debian-wheezy.sh
export PATH=$PATH:/usr/sbin:/sbin
./kirkwood.debian-wheezy.sh


After the device rebooted I was not able to find it on the network. No IP Address is being assigned so I can't troubleshoot anything except to say it's blinking a red light.
Re: root password not working FreeAgent GoFlex Home
April 08, 2014 03:33PM
narddawg314,

You can't go back to factory, because you've updated U-Boot by running this script:
./kirkwood.debian-wheezy.sh

If there was no error during this script execution, then all you need is a good rootfs on a USB thumb drive to boot your GFHome, and then fix your HDD. Or use this rootfs on your HDD from now on.

So create rootfs on a USB drive, using the latest: Debian-3.13.1-kirkwood-tld-2-rootfs-bodhi.tar.bz2 (07 Feb 2014) . From this thread:
http://forum.doozan.com/read.php?2,12096

Unplug your HDD, and boot with the USB drive, after the system booted and running, you can plug the HDD in.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: root password not working FreeAgent GoFlex Home
April 16, 2014 04:51PM
will this serial cable work?

https://www.adafruit.com/products/954

USB to TTL Serial Cable...I mess around with Raspberry PI's anyway so figured I would buy one if I can use it on the GoFlex Home.
Re: root password not working FreeAgent GoFlex Home
April 16, 2014 05:54PM
narddawg314,

> https://www.adafruit.com/products/954

Yes, it would work. The only thing to watch for is GoFlex Home serial header pins might be a little small for this type of wire connector (I have not needed to connect the Raspi to serial console so don't remember exactly if it is the same size).

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: root password not working FreeAgent GoFlex Home
April 16, 2014 08:41PM
Ok I imaged a new USB drive and when I booted the GoFlex this time, the red light didn't come on, AND I got an IP from my router...the device is also showing up as Debian now. I'm not able to SSH though..I tried with root a user, and with no user and each time the connection is refused. I can ping, but cannot telnet either. Any ideas? You've been a really big help thus far. Thank you!!!
Re: root password not working FreeAgent GoFlex Home
April 16, 2014 09:27PM
narddawg314,

If you use the latest rootfs, username: root, password: root.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: root password not working FreeAgent GoFlex Home
April 17, 2014 10:54PM
Do I need to update the kernel as well? Unfortunately I'm not getting an IP any longer...this thing is so inconsistent....I'm losing hope of figuring this out.

Edit1: Also what is the need for sync after unpacking the latest rootfs to the USB?

Edit2: green light flashing on the front, but then it goes out and no light flashing. the ethernet port only flashing orange which tells me there is a connectivity issue, and that makes sense because no IP is being assigned. What network settings should I change? I applied 3.14.0 from April 15

Edit3: Wow...so now it's showing up again as Debian on the network...I did nothing...the device just showed up about 10 minutes after I turned it on and the light went out...but when I attempt to SSH I get "no route to host" error.



Edited 3 time(s). Last edit at 04/17/2014 11:27PM by narddawg314.
Re: root password not working FreeAgent GoFlex Home
April 18, 2014 01:05AM
narddawg314,

- Sync is so that it flush all the writes to the USB.
- No need to change any network settings, it's dhcp.

I think you are probably having some kind of network or hw related problem. Check your ethernet cable, make sure you're booting with only the USB attached... things like that.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: root password not working FreeAgent GoFlex Home
April 18, 2014 06:53AM
I know the cable is good because it's usually connected to my raspberry pi which is connected to my TV as a set top box and I use it constantly. I've reimaged a different USB drive twice and tried on both goflex devices with the same results. Guess I'll know more when I get that serial cable.
Re: root password not working FreeAgent GoFlex Home
April 22, 2014 09:22PM
should the rootfs USB partition be marked as bootable?
Re: root password not working FreeAgent GoFlex Home
April 23, 2014 08:24PM
I got in!!! I rebuilt the USB thumbdrive again and plugged everything in with no disk and powered it up. I let it sit for a couple hours and then checked my router to see if it was on the network. I found it registered and tried to ssh...success! I issued a "apt-get update" and got an error. Will be searching the forums.

root@debian:~# apt-get update
Hit http://ftp.us.debian.org wheezy Release.gpg
Hit http://ftp.us.debian.org wheezy Release
Hit http://ftp.us.debian.org wheezy/main armel Packages      
Hit http://ftp.us.debian.org wheezy/main Translation-en
Get:1 http://security.debian.org wheezy/updates Release.gpg [836 B]
Get:2 http://security.debian.org wheezy/updates Release [102 kB]
Get:3 http://security.debian.org wheezy/updates/main armel Packages [171 kB]
Get:4 http://security.debian.org wheezy/updates/contrib armel Packages [14 B]
Get:5 http://security.debian.org wheezy/updates/non-free armel Packages [14 B]
Get:6 http://security.debian.org wheezy/updates/contrib Translation-en [14 B]
Get:7 http://security.debian.org wheezy/updates/main Translation-en [98.8 kB]
Get:8 http://security.debian.org wheezy/updates/non-free Translation-en [14 B]
Fetched 373 kB in 2s (143 kB/s)  
Reading package lists... Error!
E: Read error - read (5: Input/output error)
E: Failed to truncate file - ftruncate (5: Input/output error)
E: The package lists or status file could not be parsed or opened.
Re: root password not working FreeAgent GoFlex Home
April 23, 2014 09:39PM
Looks like your USB thumb drive has gone bad or was mounted as RO for other reason. Check the mount status, see if the rootfs was mounted as ro:
mount

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: root password not working FreeAgent GoFlex Home
April 23, 2014 10:12PM
I had to disconnect and now can't get back in....rebuilding the thumbdrive and will give it another go.


EDIT:

This is the output after rebuilding and logging back in.
root@debian:~# mount
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,relatime,size=10240k,nr_inodes=14530,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=12268k,mode=755)
/dev/sda1 on / type ext2 (rw,noatime,errors=remount-ro,user_xattr,acl)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /run/shm type tmpfs (rw,nosuid,nodev,noexec,relatime,size=24520k)
tmpfs on /tmp type tmpfs (rw,relatime)
rpc_pipefs on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw,relatime)



Edited 2 time(s). Last edit at 04/23/2014 11:02PM by narddawg314.
Re: root password not working FreeAgent GoFlex Home
April 23, 2014 10:52PM
Now that I see this output I'm wondering if I didn't format the USB correctly. The rootfs partition I created was ext3. Should I rebuild it as ext2?

Tried to apt-get update again and it got to 10% reading before getting stuck. I canceled out of that and tried to start it again but then started getting I/O errors

root@debian:/var# whoami
-bash: whoami: command not found
root@debian:/var# mount
-bash: /bin/mount: Input/output error
root@debian:/var# apt-get update
-bash: /usr/bin/apt-get: Input/output error
root@debian:/var# ls
-bash: /bin/ls: Input/output error



Edited 1 time(s). Last edit at 04/23/2014 11:01PM by narddawg314.
Re: root password not working FreeAgent GoFlex Home
April 24, 2014 12:22AM
Make sure that U-Boot env for rootfstype is set to ext3

#fw_printenv usb_rootfstype
usb_rootfstype=ext3

Better yet, post your output of fw_printenv and we'll verify if anything peculiar, if you'd like to.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: root password not working FreeAgent GoFlex Home
April 24, 2014 10:57AM
I can do that tonight..need to rebuild again..maybe I should go try another new USB drive just in case. Also, when building the usb drive, do I need any other partitions or just one big ext3 partition labeled rootfs? I want to make sure there isn't anything I'm missing there. I insert the thumbdrive in my ubuntu laptop and sudo gparted /dev/sdb (location of drive) then I unmount the partition and delete it..apply changes, and then create a new ext3 partition....unplug the drive when it finishes and then plug it back into the laptop. after the drive mounts again, I tar -xjvf the latest Debian-3.14 rootfs to the root of the usb drive..then type sync after it finishes unpacking. once that completes I eject the drive.

Once that is all complete, I'm able to boot the goflex home and gain root access no problem. After I try to write to the disk with updates, I start to have failures and the inability to use basic commands and eventually the OS stops responding and gets stuck on I/O errors. After logging out, I am no longer able to log in at all.
Re: root password not working FreeAgent GoFlex Home
April 24, 2014 03:59PM
narddawg,

Quote

I tar -xjvf the latest Debian-3.14 rootfs to the root of the usb drive

as root user? must be root user, sudo won't work.

When you see IO errors occur frequently, then probably the USB thumb is failing.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: root password not working FreeAgent GoFlex Home
April 24, 2014 08:46PM
Should the partition be marked with a bootable flag?
Re: root password not working FreeAgent GoFlex Home
April 24, 2014 09:40PM

Linux debian 3.14.0-kirkwood-tld-1 #1 PREEMPT Tue Apr 1 22:54:58 PDT 2014 armv5t                         el

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Tue Apr 15 17:03:23 2014 from 192.168.0.100


root@debian:~# mount
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,relatime,size=10240k,nr_inodes=14530,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmod                         e=000)
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=12268k,mode=755)
/dev/sda1 on / type ext2 (rw,noatime,errors=remount-ro,user_xattr,acl)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /run/shm type tmpfs (rw,nosuid,nodev,noexec,relatime,size=24520k)
tmpfs on /tmp type tmpfs (rw,relatime)
rpc_pipefs on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw,relatime)


root@debian:~# fw_printenv
ethact=egiga0
bootdelay=3
baudrate=115200
mainlineLinux=yes
console=ttyS0,115200
led_init=green blinking
led_exit=green off
led_error=orange blinking
mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)
mtdids=nand0=orion_nand
partition=nand0,2
stdin=serial
stdout=serial
stderr=serial
rescue_installed=0
rescue_set_bootargs=setenv bootargs console=$console ubi.mtd=2 root=ubi0:rootfs ro rootfstype=ubifs $mtdparts $rescue_custom_params
rescue_bootcmd=if test $rescue_installed -eq 1; then run rescue_set_bootargs; nand read.e 0x800000 0x100000 0x400000; bootm 0x800000; else run pogo_bootcmd; fi
pogo_bootcmd=if fsload uboot-original-mtd0.kwb; then go 0x800200; fi
force_rescue=0
force_rescue_bootcmd=if test $force_rescue -eq 1 || ext2load usb 0:1 0x1700000 /rescueme 1 || fatload usb 0:1 0x1700000 /rescueme.txt 1; then run rescue_bootcmd; fi
ubifs_mtd=3
ubifs_set_bootargs=setenv bootargs console=$console ubi.mtd=$ubifs_mtd root=ubi0:rootfs rootfstype=ubifs $mtdparts $ubifs_custom_params
ubifs_bootcmd=run ubifs_set_bootargs; if ubi part data && ubifsmount rootfs && ubifsload 0x800000 /boot/uImage && ubifsload 0x1100000 /boot/uInitrd; then bootm 0x800000 0x1100000; fi
usb_scan=usb_scan_done=0;for scan in $usb_scan_list; do run usb_scan_$scan; if test $usb_scan_done -eq 0 && ext2load usb $usb 0x800000 /boot/uImage 1; then usb_scan_done=1; echo "Found bootable drive on usb $usb"; setenv usb_device $usb; setenv usb_root /dev/$dev; fi; done
usb_scan_list=1 2 3 4
usb_scan_1=usb=0:1 dev=sda1
usb_scan_2=usb=1:1 dev=sdb1
usb_scan_3=usb=2:1 dev=sdc1
usb_scan_4=usb=3:1 dev=sdd1
usb_init=run usb_scan
usb_device=0:1
usb_root=/dev/sda1
usb_rootfstype=ext2
usb_rootdelay=10
usb_set_bootargs=setenv bootargs console=$console root=$usb_root rootdelay=$usb_rootdelay rootfstype=$usb_rootfstype $mtdparts $usb_custom_params
usb_bootcmd=run usb_init; run usb_set_bootargs; run usb_boot
usb_boot=mw 0x800000 0 1; ext2load usb $usb_device 0x800000 /boot/uImage; if ext2load usb $usb_device 0x1100000 /boot/uInitrd; then bootm 0x800000 0x1100000; else bootm 0x800000; fi
bootcmd=usb start; run force_rescue_bootcmd; run ubifs_bootcmd; run usb_bootcmd; usb stop; run rescue_bootcmd; run pogo_bootcmd; reset
arcNumber=2097


root@debian:~# apt-get update
Bus error

I forgot to pick up a new USB drive today so I guess I'll try that tomorrow. This thing is brand new and I previously used it as a TAILS live usb so I don't know why it would be failing for this.



Edited 1 time(s). Last edit at 04/24/2014 09:45PM by narddawg314.
Re: root password not working FreeAgent GoFlex Home
April 24, 2014 10:57PM
- Partition boot flag does not really matter, but it's good to set it to active anyway.
- This is a Certified Refurbished GF Home? did you check the power adapter to see if it is the GF Home 2V 2A apdapter?
- Bus error is one of the symptoms when the drive is failing. What brand of USB thumb is this one?

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: root password not working FreeAgent GoFlex Home
April 25, 2014 11:14AM
Re: root password not working FreeAgent GoFlex Home
April 25, 2014 09:01PM
unbelievable...third thumb drive is the charm! I stopped at MicroCenter and bought two of these 8 GB USB 3.0 thumb drives. First one booted up and I was able to successfully update, and upgrade so far. Thank you very very much for sticking with me!
Author:

Your Email:


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: