Quantcast
Channel: Linux Device Hacking
Viewing all 46971 articles
Browse latest View live

Re: Install Debian on old GoFlex Home

$
0
0
Hi Bodhi and Skia,

I think there may be a larger issue involved here. In coming days you will see many more users stuck with a box they cannot access after they have factory reset it.

Seagate turned their server off on Dec 31, 2018. Any one who resets their device after this date will be unable to create a user name and password to access the Goflex Home. Unless someone figures out a hidden root user name and password. Though there may be a way to hack it using serial cable and installing Debian on it, but I am sure a username and password will still be needed when connecting through the physical serial cable.

(I was also thinking of restoring it back to factory because I am having difficult time installing Samba and OpenMediaVault on my box, both give some strange fork error). But Now I will wait until a solution is found for Skia's issue, until then my box will be hibernating or I will figure out how to install Samba and OpenMediaVault on it.

So everyone running debian on these boxes is now stuck and should not try to revert to factory OS, unless they have a backup somewhere that includes username and passwords from before flashing Debian.

Regards,

Navi

Re: Install Debian on old GoFlex Home

$
0
0
Here is info from Seagate site on this issue:

====================================================================================

http://knowledge.seagate.com/articles/en_US/FAQ/007867en/?language=en-us

This article is for informational purposes only and no longer being updated by Seagate.
What to know about GoFlex Home and the Discontinuation of Remote Access.
GoFlex Home Remote Access will be shut off December 31st, 2018.

All other GoFlex Home features should continue to work on your local network. The data on the device should not be deleted or altered in any way. Only the remote access feature will be discontinued.

Once the service has been shut down there are a few important things you need to know.
How to disable port forwarding
How to access your data locally
What not to do

How to disable UPnP (port forwarding) on the GoFlex Home:
Open a Browser and type the following in the URL field: http://goflex_home

Login with your Username and Password.
Choose Preferences.
Under Server Preferences, UPnP Router Configuration, select No for Configure Router via UPnP.
Click Submit.
Reboot the router.

Note: If you manually set up port forwarding in the router’s setup page, those entries should be deleted. Please refer to your router’s documentation for instructions.

It may be necessary to go into your router’s setup page and disable UPNP then re-enable UPnP. This would clear any unused port forwarding in the UPnP list. Please see your router's documentation for instructions.

How to access the GoFlex home on your local network:

Via Web browser
Open a Browser and type the following in the URL field.
http://goflex_home
Login with your Username and Password.
To connect via Finder or File Explorer see the article below.
Connecting to a Seagate Consumer NAS


The following information is very important:


Do not use the Factory Reset Button on the side of the device’s base to reset the device.

Note: After resetting the GoFlex Home the Setup Wizard will attempt to re-activate the GoFlex Home and would prompt for a new GoFlex Home Name and Password. Since the Remote Access Service is no longer available, the device would be unable to authenticate the new Name and Password. Therefore Setup would not be able to complete.

Do not attempt to upgrade or downgrade the GoFlex Home firmware.
=======================================================================================================

Re: Install Debian on old GoFlex Home

$
0
0
Navi , I have already read this article, but my device didn`t load without reset (( So now i try to find the way to use GoFlex Home without seagate servers

Install Debian on GoFlex Home using serial console

$
0
0
When Seagate service is EOL like this, we should not try to keep stock OS. As a matter of fact, this forum mission is to help users install and run the latest Linux kernel on Debian (we don't care about stock).

For most of the Kirkwood boxes, such as the GF Home, when you cannot log in to stock using SSH, the path to install new system is to connect serial console. And then use kwboot to load and run the new u-boot, and run new u-boot and Debian.

1. Create a new rootfs using the tarball Debian-4.12.1-kirkwood-tld-1-rootfs-bodhi.tar.bz2 from the release thread.

2. Download the latest u-boot tarball uboot.2017.07-tld-1.goflexhome.bodhi.tar from the u-boot release thread..

3. Download latest kwboot binary from this post. This is an ARM version. If you are running another ARM or x86 Ubuntu-like box to connect serial console, you can also use kwboot version on that system by installing u-boot-tools. It is not possible to run kwboot on Windows system.

4. Run kwboot to load the u-boot image uboot.2017.07-tld-1.goflexhome.mtd0.kwb. And example for the Kirkwood NSA320S can be found here:
https://forum.doozan.com/read.php?3,51739,51919#msg-51919

5. Adjust the u-boot env dtb_file to the GoFlex Home version. And boot.

6. After you can boot into the new Debian rootfs, you can install new u-boot from there to make it permanent.

I'll create a new post for the detailed instruction to run kwboot on GF Home, to help make it easier.

Re: NETGEAR STORA - Bad Magic Number

$
0
0
dirkpitt74,

> It seems that the configuration of the u-boot has
> been lost.

Yes. Looks like the envs area was corrupted.

I guess it is depending whether you want to install and run new u-boot and Debian. Or stay with what you have in this system and just try to fix the problem.

Whichever you decided, I think you should attempt to run kwboot to load the new Stora u-boot (uboot.2017.07-tld-1.netgear_ms2110.mtd0.kwb) from the u-boot release thread.

An example to to unbrick the NSA320S with kwboot is here:
https://forum.doozan.com/read.php?3,51739,51919#msg-51919

Once you can load the new u-boot and run it, you can be assure there is a recovery path. And then decide where you want to go next (fix the error or install new Debian system).

Fixing the error is not without risk. Since this stock u-boot is quite old, I'm not sure the env reset will work. If it does not work, you need to find the stock Stora u-boot envs and type them in at u-boot console.

Re: Install Debian on GoFlex Home using serial console

$
0
0
Skia,

This from Jude Periera blog may be helpful:

https://judepereira.com/blog/hacking-your-goflex-home-2-uart-serial-console/
-----------------------------------------------------------------------------

PIN Configuration:
On the GoFlex Home:

10 9 8 7 6
5 4 3 2 1

1 => GND (Ground for the serial communication)
2 => RX (Receiving bits)
3 => TX (Transmitting bits)

Note: The RX and TX are interchanged at one end, this is because the RX of the GoFlex becomes the TX of the USB adapter, and vice cersa.

After you connect the USB end to your desktop/laptop, you can use screen to display the serial console:

# screen /dev/ttyUSB0 115200

The serial console is especially useful for debugging the kernel boot and setting the u-boot environment.

Re: Install Debian on GoFlex Home using serial console

$
0
0
> Note: The RX and TX are interchanged at one end,
> this is because the RX of the GoFlex becomes the
> TX of the USB adapter, and vice cersa.

That's not entirely accurate. The GoFlex Home serial port, like all other serial ports, have defined pinouts that are true.

It depends on what type of serial converter being used, that the TX and RX might need to be crossed. The CP2xxx type converter do not cross (eg. its RX should be connected to the box RX). The Prolific PL3xxx type converter must be crossed (eg. its RX should be connected to the box TX).

For further info, see forum Wiki

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
Adding serial connector to Pogoplug Mobile (external link)
WD Mycloud EX2100/4100 Serial Console pic1, also pic2, pic3
Dreamplug Serial Console
How to unbrick your box using serial console with kwboot
kwboot on Mac OSX 10
Unbrick a Pogoplug Pro v3 OXNAS by flashing u-boot in serial console

Re: NETGEAR STORA - Bad Magic Number

$
0
0
Hi Bodhi,
thanks for the reply.

I've try to upload the latest uboot image and this is the output.
pi@raspberrypi:~/kwboot-tool $ ./kwboot  -t -B 115200 /dev/ttyUSB0 -b uboot.2017.07-tld-1.netgear_ms2110.mtd0.kwb -p
Sending boot message. Please reboot the target...|
Sending boot image...
  0 % [......................................................................]
  1 % [......................................................................]
  3 % [......................................................................]
  5 % [......................................................................]
  6 % [......................................................................]
  8 % [......................................................................]
 10 % [......................................................................]
 11 % [......................................................................]
 13 % [......................................................................]
 15 % [......................................................................]
 17 % [......................................................................]
 18 % [......................................................................]
 20 % [......................................................................]
 22 % [......................................................................]
 23 % [......................................................................]
 25 % [......................................................................]
 27 % [......................................................................]
 29 % [......................................................................]
 30 % [......................................................................]
 32 % [......................................................................]
 34 % [......................................................................]
 35 % [......................................................................]
 37 % [......................................................................]
 39 % [......................................................................]
 41 % [......................................................................]
 42 % [......................................................................]
 44 % [......................................................................]
 46 % [......................................................................]
 47 % [......................................................................]
 49 % [......................................................................]
 51 % [......................................................................]
 53 % [......................................................................]
 54 % [......................................................................]
 56 % [......................................................................]
 58 % [......................................................................]
 59 % [......................................................................]
 61 % [......................................................................]
 63 % [......................................................................]
 64 % [......................................................................]
 66 % [......................................................................]
 68 % [......................................................................]
 70 % [......................................................................]
 71 % [......................................................................]
 73 % [......................................................................]
 75 % [......................................................................]
 76 % [......................................................................]
 78 % [......................................................................]
 80 % [......................................................................]
 82 % [......................................................................]
 83 % [......................................................................]
 85 % [......................................................................]
 87 % [......................................................................]
 88 % [......................................................................]
 90 % [......................................................................]
 92 % [......................................................................]
 94 % [......................................................................]
 95 % [......................................................................]
 97 % [......................................................................]
 99 % [....................................]
[Type Ctrl-\ + c to quit]
?

No console prompt or other message....
Where can i find a different uboot image??

After some search I've find a stock list of env. How can I write it on NAND?
I've try setenv but this is the results...

Marvell>> setenv baudrate 115200
## Error: environment overflow, "baudrate" deleted
Marvell>>

Other suggestions??

DirkPitt74

Re: NETGEAR STORA - Bad Magic Number

Re: NETGEAR STORA - Bad Magic Number

$
0
0
Hi bodhi,
Nice job!!! Whith the new kwboot my stora boot!!
I've try to start linux with the rootfs Debian-4.12.1-kirkwood-tld-1-rootfs-bodhi.tar.bz2.
Unfortunately the boot stop at this point
....
....
Begin: Waiting for root file system ... done.
Gave up waiting for root device.  Common problems:
 - Boot args (cat /proc/cmdline)
   - Check rootdelay= (did the system wait long enough?)
   - Check root= (did the system wait for the right device?)
 - Missing modules (cat /proc/modules; ls /dev)
ALERT!  /dev/disk/by-label/rootfs does not exist.  Dropping to a shell!
[   27.627289] uhci_hcd: USB Universal Host Controller Interface driver
[   27.644883] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[   27.664694] hidraw: raw HID events driver (C) Jiri Kosina
[   27.672478] usbcore: registered new interface driver usbhid
[   27.678121] usbhid: USB HID core driver
(initramfs)

Tomorrow I'll try to solve this problem on a new usb drive.

Which is the next step to install the new uboot?
Boot on Debian and follow this thread.
Only a question, do I have to perform step 8?

Thank

dirkpitt74

Re: Install Debian on old GoFlex Home

$
0
0
Hi Navi,

Installing Samba should straightforward. Bodhi provides a tutorial in the wiki

Here’s the link;
Samba install

If that gives errors your USB stick may be faulty, create a new rootfs and try again.

OMV is too resource intensive for the Goflex, I believe older versions worked on Debian8 though. Again there’s details in the Wiki thread.

Re: NETGEAR STORA - Bad Magic Number

$
0
0
dirkpitt74,

> Nice job!!! Whith the new kwboot my stora boot!!

Cool!

> I've try to start linux with the rootfs
> Debian-4.12.1-kirkwood-tld-1-rootfs-bodhi.tar.bz2.

> Unfortunately the boot stop at this point

Check your USB rootfs partition label, make sure that it is rootfs.

I need to see the serial console log.

- kwboot the new u-boot
- At u-boot prompt, set u-boot envs to boot the STORA like you did before. And list the envs. And then boot.

printenv
boot

Let it boot until the error. And copy and paste the entire serial console log here.

Re: Install Debian on old GoFlex Home

$
0
0
Hi jdwl101,

Thanks, got Samba working. Now on to OMV. However I am getting comfortable using the command line to configure Debian so may not need OMV after all.

Regards,

Navi

Re: Install Debian on old GoFlex Home

$
0
0
Congrats! The Goflex is a great little box once you getting running.

I've used only the command line to set up mine and it is chugging along nicely with Samba, NFS and AFP.

If you decide to setup OMV search the forum, there's a few posts on getting it working on kirkwoods. The lack of RAM will be an issue though.

Happy to answer any questions you have.

J

Edit: Here's the thread I was thinking of; OMV4 on Kirkwood

Re: GoFlex Home Battery Replacement

$
0
0
The battery is AG13. It is easy to read from internet pictures. We do not know if there is one or two AG13s. AG13 is 1.5v. GUESS we need 2 . If it is 2, then it can be replaced by one CR2032. We just need some space and wires for the huge CR2032.

Re: GoFlex Home Battery Replacement

$
0
0
I will open mine later if I have time.

Re: Install Debian on old GoFlex Home

$
0
0
Hi,

Now, I plan to move the Debian to a new Hard Drive and Boot from it without having to depend on USB for booting and I have following questions:

1) (i) what is the recommended partition layout for the New 250 GB WD2500AAJS? Should I (a) create single ext3 Partition? or (b) Two Partitions with one being ext3 and other Swap? or (c) Three Partitions one ext3 for rootfs, other Swap and third ext4 for data? and (ii) what should be the ideal size for these partitions?

2) I should install a rescue system before I do this, what is the recommended rescue system to install on this Box?

I am running Debian-4.12.1-kirkwood-tld-1-rootfs-bodhi.tar.bz2 with uboot.2017.07-tld-1.goflexhome.bodhi.tar.

:~# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 232.9G 0 disk
`-sda1 8:1 0 232.9G 0 part
sdb 8:16 1 14.3G 0 disk
|-sdb1 8:17 1 2G 0 part /
`-sdb2 8:18 1 512M 0 part
mtdblock0 31:0 0 1M 0 disk
mtdblock1 31:1 0 4M 0 disk
mtdblock2 31:2 0 32M 0 disk
mtdblock3 31:3 0 219M 0 disk

-------------------------------------------------------------------------
:~# fdisk -l
Disk /dev/mtdblock0: 1 MiB, 1048576 bytes, 2048 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/mtdblock1: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/mtdblock2: 32 MiB, 33554432 bytes, 65536 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/mtdblock3: 219 MiB, 229638144 bytes, 448512 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/sda: 232.9 GiB, 250059350016 bytes, 488397168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x0006328e

Device Boot Start End Sectors Size Id Type
/dev/sda1 1 488397167 488397167 232.9G 7 HPFS/NTFS/exFAT


Disk /dev/sdb: 14.3 GiB, 15376318464 bytes, 30031872 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x522ef038

Device Boot Start End Sectors Size Id Type
/dev/sdb1 * 2048 4196351 4194304 2G 83 Linux
/dev/sdb2 4196352 5244927 1048576 512M 82 Linux swap / Solaris

---------------------------------------------------------------------------------------------------------------

Regards,

Navi

Re: GoFlex Home Battery Replacement

$
0
0
daviddyer Wrote:
-------------------------------------------------------
,,,
> it is 2, then it can be replaced by one CR2032. We
> just need some space and wires for the huge
> CR2032.

FWIW the CR2032 is frequently Dollar Tree items; two for a dollar. I only say that because of two tower computers I needed those almost exactly two years ago and one computer was unplugged the last year and still held the BIOS charge. At the time they were out at Wal Mart and all I could find were Sunbeam at the dollar store. Lithium is Lithium though, is the moral of the story.

Re: Install Debian on old GoFlex Home

$
0
0
Navi,

> 1) (i) what is the recommended partition layout
> for the New 250 GB WD2500AAJS? Should I (a) create
> single ext3 Partition? or (b) Two Partitions with
> one being ext3 and other Swap? or (c) Three
> Partitions one ext3 for rootfs, other Swap and
> third ext4 for data? and (ii) what should be the
> ideal size for these partitions?

With the new u-boot uboot.2017.07-tld-1 for goflexhome, you can use EXT3 or EXT4, it will work fine with either.

- I would use a swap file, dont use swap partition. You can create a swap file on any partition type EXT3 or EXT4. The good swap file size for the GoFlex Home is 512MB or greater.
- The simplest configuration is that the HDD has only 1 partition that houses the rootfs. And then use different HDD for data.
- Since the GoFlex Home has only 1 SATA port, you might want to use 2 partition: rootfs and data. The rootfs should be about 20 GB to allow for furture growth.

> 2) I should install a rescue system before I do
> this, what is the recommended rescue system to
> install on this Box?

If you have serial console, or have activated netconsole, the rescue system is less necessary. However, if you want to install rescue system for convenient (and have remote access to do the rescue), then

Rescue System V2 (use GoflexNet setup)
https://forum.doozan.com/read.php?4,3896

Re: GoFlex Home Battery Replacement

$
0
0
Yes and Dollar Tree is not bad, especially if you need the item right the way at a much affordable price (US $1).

If you can waste for some shipping time (2+ weeks), AliExpress and/or Chinese sellers on eBay may have the same item at a much lower price than Dollar Tree. For instance, I recently bought a strip of 5x CR2032 from AliExpress US 68¢.
Viewing all 46971 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>