LinuxMCE Forums

General => Installation issues => Topic started by: pigdog on June 07, 2014, 11:14:41 PM

Title: NAS Detection/UpdateMedia
Post by: pigdog on June 07, 2014, 11:14:41 PM
Hi,

Just a heads up.

if you want things to go a little smoother, (save yourself a bunch of PITA, grrr, grrr, you dumb a$$), do your editing for  /etc/samba/smb.conf to include "client lanman auth = yes" and "service smbd restart", before you power up your NAS for auto-detection.

Follow your install notes.  If you don't have any - write some, and follow them.

Cheers.
Title: Re: NAS Detection/UpdateMedia
Post by: tschak909 on June 09, 2014, 07:25:07 AM
Thanks, have you filed a bug in trac? We'll fix this. :)

-Thom
Title: Re: NAS Detection/UpdateMedia
Post by: phenigma on June 28, 2014, 06:43:45 AM
Has this been filed in trac yet?
Title: Re: NAS Detection/UpdateMedia
Post by: pigdog on June 28, 2014, 03:31:06 PM
Hi,

I have not filed a trac ticket (yet).  I've tried auto-detection a couple of times on re-installs without adding client lanman in smb.conf.

I have yet to find a way to get around "the mistake" and have the system function properly.

My "dev" box is totally messed up right now with 12.04 and 14.04 (I've been trying things and screwed the loads up real good).

What I will try again and make some comprehensive (I hope) notes and add them to this topic.

Sorry for forgetting about this thread.
Title: Re: NAS Detection/UpdateMedia
Post by: Marie.O on June 28, 2014, 04:05:52 PM
This fix is in svn
Title: Re: NAS Detection/UpdateMedia
Post by: pigdog on June 28, 2014, 04:21:50 PM
OK, thanks for that.

Cheers. :)
Title: Re: NAS Detection/UpdateMedia
Post by: maverick0815 on July 13, 2014, 06:26:17 PM
I got a NAS, which I used in a previous install with once-restructure (8.10). Now running 10.04 I wanted to reactivate the NAS, unchanged configuration, but it doesn't get detected. I modified smb.conf, restarted everything, but no change.
Title: Re: NAS Detection/UpdateMedia
Post by: pigdog on July 14, 2014, 02:11:35 PM
Hi,

On 12.04 if you don't have client lanman setup in global parameters with username/password you can end up with symbolic link errors.

System security has been beefed up on 12.04

On 10.04 you can still be open on your NAS - no username/password required.

What type/make of NAS are you using?

Cheers
Title: Re: NAS Detection/UpdateMedia
Post by: maverick0815 on July 14, 2014, 05:17:51 PM
I have a Seagate blackarmor 220 NAS.
Title: Re: NAS Detection/UpdateMedia
Post by: pigdog on July 15, 2014, 01:56:46 PM
Hi,

What software are you running on it, windows discovery, Mac or Lenny?

Just to verify, you are using LMCE directory structure?

Are you presently using username/password for NAS login?

Is your NAS on the LMCE network connected via a switching hub via ethernet or another method?

Cheers
Title: Re: NAS Detection/UpdateMedia
Post by: maverick0815 on July 15, 2014, 04:00:58 PM
The NAS is connected via a gigabit Ethernet switch together with all the rest. It is configured for public access, no username, no password needed. It also uses lmce-filestructure.
Software is the standard firmware from Seagate...no modifications. In theory, on would assume, that everything should be working, unfortunately once disagrees.

One other question comes to mind: when does updatemedia actually run? I'm asking, because so far I always have to manually add new files to the database or hit synchronize. I checked the status of updatemedia and it was stopped.when I start it, it will run for a while and stops again...so is there a fixed intervals, or a trigger?
Title: Re: NAS Detection/UpdateMedia
Post by: pigdog on July 15, 2014, 08:08:15 PM
Hi,

UpdateMedia runs automatically.

Have you tried using top from a terminal window [  <ctrl/alt> F1  ] just to see if UpdateMedia is running?

Cheers.
Title: Re: NAS Detection/UpdateMedia
Post by: pigdog on July 15, 2014, 08:34:04 PM
Hi,

I'm installing another HDD into my "play" system.

I'm going to install 10.04 and change my NAS to no username/password.

We'll see what happens.

Cheers.
Title: Re: NAS Detection/UpdateMedia
Post by: pigdog on July 15, 2014, 11:09:26 PM
Hi,

I have a 2 bay NAS.  One drive was setup without a password and one with.

At this point I am curious.  Was your NAS detected at all?  Mine was, no problem.

UpdateMedia ran immediately and discovered my videos.

If your NAS wasn't discovered at all, try cabling, I've had some weird issues happen with my ethernet cables.

Does ifconfig show eth assignments correctly?  Can you get to the weather channel via Advanced>Computing>Weather?

I have setup my NAS with my LMCE username, not 'public' as a username.

I hope that there's something in there that can help.

Please advise.

Cheers.
Title: Re: NAS Detection/UpdateMedia
Post by: maverick0815 on July 16, 2014, 11:40:52 AM
The NAS simply does not get discovered. It gets an IP address from echo and I can access it from my Windows box...lmce..no go so far. However I checked for unknown devices. I will just unblock them all and hope that will kick it into gear.
----------------------
Update: I changed the cable on the NAS, rebooted it, threw out all unknown devices and waited. The only thing that showed up was this bogus dlink530 device...
Title: Re: NAS Detection/UpdateMedia
Post by: pigdog on July 17, 2014, 03:32:07 AM
Hi,

Does webadmin show anything under device tree?

Even partially?

I understand it's not detected, so nothing should be there, but... weird.

Cheers.
Title: Re: NAS Detection/UpdateMedia
Post by: maverick0815 on July 17, 2014, 04:14:00 PM
There is nothing showing in the devicetree. Perhaps I should check in irc.
Title: Re: NAS Detection/UpdateMedia
Post by: pigdog on July 18, 2014, 02:20:14 AM
Hi,

I saw this part of a review on CNET...

The server comes with a discovery software utility, making setting up the BlackArmor a simple task. Once set up, the utility assists in finding the NAS server on the network and allows you to map network drives to its two default share folders, "public" and "download." Fortunately, no software is needed to access the NAS, as it fully supports the SMB protocol and can be easily found using Windows Explorer.

Can you easily find the NAS via Windows Explorer?

Then can you easily find the NAS under that Windows "other networks or network neighbourhood" or under my computer whatever?

If you can see it as part of the network neighbourhood the I don't understand why LMCE couldn't see it.

There should not be any other parameters that would be needed in 10.04 global section. 

Unless, there is one different thing you might need for connecting to a Windows OS box.  All the other necessary fields are in the global section.

I can't remember off the top off my head...

I'll look through my notes.


Cheers
Title: Re: NAS Detection/UpdateMedia
Post by: maverick0815 on July 18, 2014, 12:11:03 PM
Like I said,I don't know either. I can access the damned thing from Windows, only lmce doesn't care about it. Some of the other devices I unblocked showed up again, but not the nasbox. I would invite you over, so you could see it with your own eyes, but I guess that would be quite a stretch :-)
Title: Re: NAS Detection/UpdateMedia
Post by: pigdog on July 18, 2014, 03:30:26 PM
Hi,

My D-link NAS is based on a condensed version of Debian, so it's linux to linux.

I was wondering if the 220 was maybe some kinda embedded Windows variant.

So I tried this.

I run two networks in the house - one for the family and their Windows machines and one for LMCE.

I reconfigured the network to include the family side ( just switching a BIX block RJ45 x-connect to the LMCE switching hub).

I powered up my wife's XP box.

No changes to existing smb.conf, her PC has Windows shares and is in the LINUXMCE workgroup.

Took 3-5 minutes but the PC hard drive was detected as a File Server.

On her PC My Network Places>Entire Network>Microsoft Windows Network>Linuxmce>Dcerouter was displayed.

I tried to log into dcerouter but couldn't connect but I don't really care @ this point because I just wanted to be seen form the LMCE side.

On 12.04 to talk to a WIN7 box in the smb.conf global section you need...

follow symlinks = yes


Cheers.


p.s.  If you are somewhere around the St. Lawrence valley area in Ontario, Canada a roadtrip would be possible - a cold, frosty milk would be nice ;)
Title: Re: NAS Detection/UpdateMedia
Post by: maverick0815 on July 18, 2014, 03:53:08 PM
Thanks for your input. Perhaps I will just wait until 12.04 or 14.04 has become stable and will try it again then.
If you ever make it to Germany, be sure to ring me up....frosty milk, or cold beer...your choice