Buffalo NAS-Central Forums

Welcome to the Linkstation Wiki community
It is currently Sat Aug 19, 2017 12:19 pm

All times are UTC+01:00




Post new topic  Reply to topic  [ 12 posts ] 
Author Message
PostPosted: Fri May 06, 2016 9:42 pm 
Offline
Newbie

Joined: Wed Sep 23, 2009 1:06 am
Posts: 49
Location: Verona, Italy
Hello, I am the proud owner of a LS-CHLv2 (an btw the original author of the Debian Lenny installation howto & the "blstools"...).

Lenny (and later Squeeze) served well for several years. Now I'm trying to give a second (third?) life to my LS-CHLv2 by installing Debian Jessie. I've noticed that Debian repositories include an uImage and an uInitrd (here: http://ftp.debian.org/debian/dists/jess ... o/lschlv2/) but I am not able to find any information on how one is supposed to use/install that stuff.

Can anybody share any information/links on it?

Thanks

_________________
LS-CHL v2 with Debian Jessie


Top
   
PostPosted: Fri May 27, 2016 10:25 am 
Offline
Total Newbie

Joined: Fri May 27, 2016 10:22 am
Posts: 2
I tried today but no luck. jessie's packets use new compression format (xz)
ls-chlv2's dpkg does not understand it. install new dpkg on ls-chlv2 is still a nightmare


Top
   
PostPosted: Mon May 30, 2016 4:47 pm 
Offline
Newbie

Joined: Wed Sep 23, 2009 1:06 am
Posts: 49
Location: Verona, Italy
Hello,

in fact I helped myself and I succeeded... I had to boot from TFTP, provisioning the required files from a laptop. The hard part was to force TFTP boot as it seems there's no way of doing without "corrupting" the boot files (i.e. renaming the uimage or the initrd). Also, in order to boot with the stock uboot, the files in the Jessie distribution must be renamed:
  • uImage -> uImage.buffalo
  • uInitrd -> initrd.buffalo
This way I was able to boot the Debian's network installer, and from there install Jessie. Now my LS is running Jessie, which boots straight from the HDD.

Jessie natively supports LS-CHLv2 custom hardware (fan, switches, leds) through sysfs/gpio.

I may post further details lately, if anyone's interested: looks like this forum is no longer actively visited as it used to be some years ago.

_________________
LS-CHL v2 with Debian Jessie


Top
   
PostPosted: Mon May 30, 2016 7:22 pm 
Offline
Moderator

Joined: Mon Apr 26, 2010 10:24 am
Posts: 2681
please give us a howto or post a link to it


Top
   
PostPosted: Tue May 31, 2016 1:54 am 
Offline
Total Newbie

Joined: Fri May 27, 2016 10:22 am
Posts: 2
I followed this tutorial (stopped at step 8.7) to install Wheezy (just replace squeeze by wheezy in almost cases) and then upgraded to jessie.
there is only 1 thing left is the original Buffalo kernel 3.3.4 (firmware 1.71), I can't replace it w/ debian's kernel yet, flash-kernel said that "Unsupported platform."

thank you for suggestion about "Debian's network installer", I will try it tonight


Top
   
PostPosted: Sat Jul 09, 2016 11:14 pm 
Offline
Newbie

Joined: Wed Sep 23, 2009 1:06 am
Posts: 49
Location: Verona, Italy
Here's a howto I put together: http://buffalo.nas-central.org/wiki/Deb ... n_LS-CHLv2

There's still space for work.

Enjoy

_________________
LS-CHL v2 with Debian Jessie


Top
   
PostPosted: Fri Sep 02, 2016 3:11 pm 
Offline
Newbie

Joined: Wed Mar 03, 2010 4:03 pm
Posts: 32
Quote:
Here's a howto I put together: http://buffalo.nas-central.org/wiki/Deb ... n_LS-CHLv2

There's still space for work.

Enjoy


_________________
LS-CHL v2 with Debian Jessie



Last night and until wee hours this morning I've been trying to install Debian Jessie on my old LS-CHL-V2. I somehow got to the stage of installation, selecting additional components (ext3/4 etc.) and finally when the system rebooted (with me waiting with all that hope) the unit returns to the red blinking light mode and nothing happens. I'm pretty sure its to do with an issue of finding the boot partition but I need some help to get this working (Yes I'm determined no matter what!). I'm able to connect it directly to my laptop with a network cable and changing the gigabit Ethernet port IP address to 192.168.11.1 (which it seems to look for) and I have an FTP server running with the root directory mapped to a folder containing the two uImage.buffalo and initrd.buffalo files. I can see from the logs that the files get imported in and soon after the LED light changes to a steady blue. I then quickly remove the network cable from my laptop and connect to my network switch and my router allocates a fixed IP to the NAS. I can SSH to it and start the installer, but usernames, root, admin or even the one called administrator which I create during installation don't work. I keep getting incorrect password access denied error. I'm forced to use the 'Installer' username and all I get is the installation screen again with an option to load the shell. The shell itself contains nothing useful i.e. no apt-get ipkg .... And when I reboot the NAS, the whole red blinking led cycle starts again. I'm unable to get out of this hideous loop. Please advice! :cry:


Top
   
PostPosted: Sun Sep 04, 2016 11:18 am 
Offline
Newbie

Joined: Wed Mar 03, 2010 4:03 pm
Posts: 32
RESOLVED!! :biglol:

Went back into the installer and under components selected automatic partitioning and then selected EXT3/4 and also added USB selections for good measure. The option came up asking what to do with the disk. I selected rebuild automatically as single partition. Then the installer also gave me an option to create a drive and select the one that say "for most new users" or something like that. And followed through the options. It rebooted, came back quickly, with a steady blue LED!! :up:

I could telnet to it using the user I created during install but not root. for some reason the password I gave for root isn't working. I then used the 'su' command to switch to root with password that I gave during installation.

I'd like to thank the author of this tutorial -> http://buffalo.nas-central.org/wiki/Deb ... n_LS-CHLv2 for the superb step by step instructions. I'm a Windows 7 user so had to adapt the tutorial slightly differently for Windows but its easy to do. The next step is to issue a shutdown when the switch at the back is moved to Off position. As the author says, its not a simple power cutting switch. Its a soft switch which issues a shutdown command to shut down the NAS after about 20 seconds of turning the switch off. Anyone has any pointers on this? I'd be very grateful. Thanks forum!


Top
   
PostPosted: Sun Sep 04, 2016 7:17 pm 
Offline
Newbie

Joined: Wed Mar 03, 2010 4:03 pm
Posts: 32
Following on from my successful installation of Debian Jessie on my LS-CHL-V2, I wanted to at least control the powerdown of the NAS using the off-on-auto switch located at the back of the device. Running 'evtest' gives me the following:


user@debian:~$ sudo evtest /dev/input/event0
Input driver version is 1.0.1
Input device ID: bus 0x19 vendor 0x1 product 0x1 version 0x100
Input device name: "gpio_keys"
Supported events:
Event type 0 (EV_SYN)
Event type 1 (EV_KEY)
Event code 357 (KEY_OPTION)
Event type 5 (EV_SW)
Event code 0 (SW_LID)
Event code 1 (SW_TABLET_MODE)
Properties:
Testing ... (interrupt to exit)
Event: time 1473012304.839320, type 5 (EV_SW), code 0 (SW_LID), value 1
Event: time 1473012304.839320, -------------- EV_SYN ------------
------The following four lines appeared when I pressed the Function key on the front ---------------------
Event: time 1473012389.220676, type 1 (EV_KEY), code 357 (KEY_OPTION), value 1
Event: time 1473012389.220676, -------------- EV_SYN ------------
Event: time 1473012389.428677, type 1 (EV_KEY), code 357 (KEY_OPTION), value 0
Event: time 1473012389.428677, -------------- EV_SYN ------------

---------These lines appeared when I moved the switch from on to off position -------------
Event: time 1473012400.324690, type 5 (EV_SW), code 0 (SW_LID), value 0
Event: time 1473012400.324690, -------------- EV_SYN ------------

---------These lines appeared when I moved the switch from off to on position -------------
Event: time 1473012403.332693, type 5 (EV_SW), code 0 (SW_LID), value 1
Event: time 1473012403.332693, -------------- EV_SYN ------------

---------These lines appeared when I moved the switch from on to auto position -------------
Event: time 1473012405.192673, type 5 (EV_SW), code 0 (SW_LID), value 0
Event: time 1473012405.192673, -------------- EV_SYN ------------
Event: time 1473012405.196683, type 5 (EV_SW), code 1 (SW_TABLET_MODE), value 1
Event: time 1473012405.196683, -------------- EV_SYN ------------
<I interrupted the test here>

Is there a daemon that can monitor the above states and issue commands?


Top
   
PostPosted: Mon Sep 05, 2016 6:49 pm 
Offline
Total Newbie

Joined: Mon Sep 05, 2016 6:12 pm
Posts: 1
Hi, sorry to hijack this thread, but does anyone know if the methods described here work for the LS-GL / HS-DHGL?


Top
   
PostPosted: Sat Sep 10, 2016 10:42 pm 
Offline
Newbie

Joined: Wed Mar 03, 2010 4:03 pm
Posts: 32
http://buffalo.nas-central.org/wiki/Deb ... n_LS-CHLv1 Has a section to control Power Switch. Having installed triggerhappy I was able to use ...

# echo "SW_LID 0 poweroff" > /etc/triggerhappy/triggers.d/gpio_keys.conf

The NAS now completely shuts down then I move the power switch to Off position. :D


Top
   
PostPosted: Thu Nov 10, 2016 1:06 pm 
Offline
Newbie

Joined: Wed Sep 23, 2009 1:06 am
Posts: 49
Location: Verona, Italy
vkanth, thanks for your valuable contribution!

I've added this to the HOWTO:
http://buffalo.nas-central.org/wiki/Deb ... o_switches

_________________
LS-CHL v2 with Debian Jessie


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 12 posts ] 

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 11 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