Buffalo NAS-Central Forums

Welcome to the Linkstation Wiki community
It is currently Mon May 21, 2018 4:13 pm

All times are UTC+01:00

Post new topic  Reply to topic  [ 1 post ] 
Author Message
PostPosted: Sun Jan 15, 2012 6:20 pm 

Joined: Thu Jan 05, 2012 8:38 pm
Posts: 10
I noticed one issue with the power switch that may be of more general interest to others experimenting with (hacking) their Linkstation - including those who think they've "Bricked" their Linkstation.

I thought I'd "bricked" mine a few times when working on Debian, but managed to recover it after reading other posts and some experimentation: I didn't want the Linkstation to rebuild itself and avoided this, although taking out the hard disk so I could write to it directly has sometimes helped. My definition of a working Linkstation is that I can ping it and ssh to it (I'd previously setup ssh on the device). So here's the things that have helped me (the easiest are top of the list),
  • After turning the on/off switch to "off" and shutting down your Linkstation ("shutdown -h now" if you've disabled the power switch function by installing e.g. Debian - note using blstools may fix this), wait for the Linkstation to turn off then turn off the power completely (remove plug) before turning on again. This is surprisingly effective to recover the device.
  • If the above doesn't work, repeat once more.
  • Change your network to, netmask; see if the Linkstation becomes visible, possibly on, possibly on another IP address in 192.168.11.x, esp. if using DHCP to automatically allocate IP addresses to your devices. Once you've got into your Linkstation this way you should be able to renumber back to your old IP address range, where the linkstation should remain 'visible' after a restart (including disconnecting the power as above).
  • Copy the files hddrootmode, linkstation_release, rootfs_ok from the original Linkstation [from /etc] to /etc on the Linkstation. I'm not sure if all 3 of these files are needed (take out the hard disk and attach it to your PC to achieve this).
  • (this one may be a red herring) Copy these same files to /boot - i.e. the /boot partition
  • Note that hddrootmode & rootfs_ok are easily re-created, see below
  • If all of the above fail you may need to start from scratch. I've not had to get to that point, but suggestions here (see posts elsewhere) include re-flashing the device and deleting [the contents of] the /boot partition, poss. also the root partition too to force the device into 'EM mode'. Note however that the firmware flasher utility (from Buffalo - lsupdater.exe when you download the firmware) has a 'debug' option that means you can select what things you choose to refresh - details here - setting
    VersionCheck = 0
    ensures that the firmware updater will find your Linkstation even if it's running the same version of the firmware as the updater offers; adding
    Debug = 1
    enables the more selective debug option

On creating those 3 files for /etc and/or /boot previously mentioned:

hddrootmode is a null file, so:
# touch /etc/hddrootmode

rootfs_ok just contains a date, so:
# date > /etc/rootfs_ok

linkstation_release contains some text re. the current installed firmware. Mine's on 1.56 and contains,
BUILDDATE=2011/12/09 16:10:36

Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 1 post ] 

All times are UTC+01:00

Who is online

Users browsing this forum: No registered users and 2 guests

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Limited