LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   WD MyCloud (https://www.linuxquestions.org/questions/linux-newbie-8/wd-mycloud-4175535962/)

macanucaire 03-06-2015 11:07 AM

WD MyCloud
 
I'm new to Linux but have a WD MyCloud 2TB NAS. I want to run Logitech Media Server (LMS) on it and have found instructions on Logitech Forums on how to do it. Unfortunately it does not work for me. I've downloaded the deb file and used dpkg -i on that file. This gives a load of lines like this
dpkg: warning: files list file for package 'libpam-winbind:armhf' missing; assuming package has no files currently installed
and in the end LS does not appear to be running. Would anyone know what these lines are telling me and any suggestions as to how to fix the problem.
I can get no response from the Logitech forums so any help here would be greatly appreciated.
PS:The version of Linux seems to be
Linux WDMyCloud 3.2.26 #1 SMP Tue Jun 17 15:53:22 PDT 2014 wd-2.2-rel armv7l

rtmistler 03-06-2015 12:15 PM

Where did you get that deb file, from what repository? Likely it's for x86 and the WD appears to be running armv7.

macanucaire 03-07-2015 09:43 AM

Quote:

Originally Posted by rtmistler (Post 5327920)
Where did you get that deb file, from what repository? Likely it's for x86 and the WD appears to be running armv7.

This is the list of versions I can pick from. Other forums said to use the deb oe but I'm open to suggestions.
[ICO] Name Last modified Size Description
[DIR] Parent Directory -
[ ] LogitechMediaServer-7.8.0-whs.msi 27-Mar-2014 21:07 57M Windows Home Server Pa>
[ ] LogitechMediaServer-7.8.0.exe 27-Mar-2014 21:11 56M Windows Executable
[ ] LogitechMediaServer-7.8.0.pkg 27-Mar-2014 21:14 43M OSX Installer
[ ] logitechmediaserver-7.8.0-1.noarch.rpm 27-Mar-2014 21:22 112M RedHat Package Manager
[ ] logitechmediaserver-7.8.0-FreeBSD.tgz 27-Mar-2014 21:23 21M GZIP compressed TAR ar>
[ ] logitechmediaserver-7.8.0-arm-linux.tgz 27-Mar-2014 21:25 41M GZIP compressed TAR ar>
[ ] logitechmediaserver-7.8.0-arm-readynas.bin 27-Mar-2014 21:27 23M ReadyNAS Add-On
[ ] logitechmediaserver-7.8.0-i386-readynas.bin 27-Mar-2014 21:28 22M ReadyNAS Add-On
[ ] logitechmediaserver-7.8.0-noCPAN.tgz 27-Mar-2014 21:30 18M GZIP compressed TAR ar>
[ ] logitechmediaserver-7.8.0-powerpc-linux.tgz 27-Mar-2014 21:32 34M GZIP compressed TAR ar>
[ ] logitechmediaserver-7.8.0-sparc-readynas.bin 27-Mar-2014 21:33 21M ReadyNAS Add-On
[ ] logitechmediaserver-7.8.0.tgz 27-Mar-2014 21:41 117M GZIP compressed TAR ar>
[ ] logitechmediaserver_7.8.0_all.deb 27-Mar-2014 21:47 112M Debian Package

rtmistler 03-09-2015 06:49 AM

I'd start with logitechmediaserver-7.8.0-arm-linux.tgz.

That appears to be source, which in my opinion would be good and you may have to try and build it on that system to properly get it installed. If you unzip and it is source, there should be a readme file to give you instructions for building.

Another option is if you can find a package repository which would work with kernel 3.2.26 for armv7l.

A further look at the warning you posted, it is complaining that it does not see an arm "hf" or hard float package it expected to see. A guess here is that when configuring to build it you will have to choose hard float versus not and you may have to install other libraries to support a compilation. If you find a repository and package you may get the dependencies as part of installing the whole package. Had you performed a dpkg update?

macanucaire 03-09-2015 04:48 PM

Quote:

Originally Posted by rtmistler (Post 5329199)
I'd start with logitechmediaserver-7.8.0-arm-linux.tgz.

That appears to be source, which in my opinion would be good and you may have to try and build it on that system to properly get it installed. If you unzip and it is source, there should be a readme file to give you instructions for building.

Another option is if you can find a package repository which would work with kernel 3.2.26 for armv7l.

A further look at the warning you posted, it is complaining that it does not see an arm "hf" or hard float package it expected to see. A guess here is that when configuring to build it you will have to choose hard float versus not and you may have to install other libraries to support a compilation. If you find a repository and package you may get the dependencies as part of installing the whole package. Had you performed a dpkg update?

I think you put your finger on it with armhf. When I did apt=get update I get the message
Failed to fetch http://debian.slimdevices.com/dists/...armhf/Packages
and when I looked at the folders on the site there is only a folder for i386 and amd64. I've found files for armhf on ftb.us.debian.org and have put line in /etc/apt pointing to this but apt-get update still says it cannot find binary-armhf and the program still does not start.
Any further help would be gratefully received.

rtmistler 03-10-2015 06:49 AM

It's a tough situation because they're not giving you an open form of Linux and they're likely not supporting a repository. Or if they have a repository, it's private to them, but also only supports what they support. For instance their field service organization may have access too or knowledge of a repository, but if that repository merely has kernel updates and application updates germane to their product offering (most sensible course of action) then it's not going to contain anything you're trying to obtain for packages.

They've also customized their kernel. Sure it started with 3.2, but that's all you got, otherwise it is WDMyCloud Linux. Not surprised that Western Digital (? guess on my part) is large enough that they have a team which developed a custom kernel for their storage products.

I think the best chance at success would be to build from source and I think it will take a few iterations to get it right. You'll need to understand what dependencies you need on the system to accomplish the build. Then further you'll need to understand whether or not the hard float matters or if you can ignore that entirely and let a default choice be your option.

To go further, building alone requires things like the build-essentials package. So a first question would be whether or not you can even run gcc on that system. If not, then you'd need to install it, and gcc is pretty much the one thing you can't install by "building from source" because gcc is what you use to build from source.

Another suggestion:
Find the exact microprocessor which they have on that. Find binaries which run on that exact kernel version and on that exact processor and try them out on that box. If they work, they work, and maybe you can get to where you want to go by that strategy.


All times are GMT -5. The time now is 03:27 PM.