LinuxMCE Forums

General => Installation issues => Topic started by: colinjones on August 28, 2007, 09:16:33 am

Title: No media - pnp doesn't seem to work!
Post by: colinjones on August 28, 2007, 09:16:33 am
I have installed 0704 1.1 without any problems (this time!) But when I add a PC to the network, it gets the IP lease and the LMCE discovers it and starts adding it after I confirm I want it to use it. Then after that it seems to be detecting "shares" and asks me if I want to use those. I say yes - I want to use them and provide login and passwords for both the "file server" and then the "file shares". But the "file shares" are clearly the LMCE users and nothing to do with the Windows file shares I want it to connect to. I tried removing it in the admin panel and asked it to use the LMCE default folder structure. But NONE of this seems to make any difference at all - I cannot see any of my video media in the "Video" menu, it is completely empty. I figured it might take some time to catalogue them, esp as it may be connecting to the C$ admin share with all the system files, but it isn't doing anything. I tried sharing the media folder directly so that it could go through all my video and audio folders, again nothing. I managed to get some JPGs appearing under the Pictures menu when I plugged in a thumb drive and told it to use the default, waited for it to create the structure, then moved some pictures into the right location. But I don't seem to be able to get it to even create the folder structure on the remote PC.

Periodically it displays the same messages in the top right that seem to suggest that it is constantly scanning and doing things and this seems to be related to the problem given the messages below - and the message number is now well over 1000!

"Existing device already enabled xxx ....
Done with new device xxx...."

Its supposed to be pnp, but I just don't seem to be able to get it to find any media on my other PC, nor how to direct it to specific shares.... Can anybody suggest what might be wrong, or even how to get it to completely forget this PC (I have deleted all the related Devices in the Admin console and this doesn't seem to have done it as it is re-adding the device but now ignoring the shares) so I can try again and this time choose to use the default folder structure!

Thanks!
Col
Title: Re: No media - pnp doesn't seem to work!
Post by: Hagen on August 28, 2007, 01:28:12 pm
In your share:
Check that LMCE did make it's folder structure
public
user1
user2 
and so on

Check for files in:
public/data/video
There should not be any there, but that is where you need to put your videos (move).

Now if you had selected "make all content public" you should have seen the existing media after a cataloguing pause (5-10 minutes).
Title: Re: No media - pnp doesn't seem to work!
Post by: colinjones on August 28, 2007, 10:37:50 pm
That's the problem, even when it finds my "Media" share on the PC and I provide login/password credentials it doesn't create any folder structure at all - even after a long time. I have checked and none of the folders already in that share conflict with the names (Public/Home/<usernames>) - I intended to just move the media out of the other folders into the Public folder's subfolders after it had done this.

Secondly - I have checked that the LMCE is showing media at a very simple level by using Windows' Network Neighbourhood and browsing the other way into the LMCE Public folder and copying a test video file onto the Core, locally - then this file appears and plays just fine, so it doesn't appear to be anything to do with the cataloguing or database.

Another thing is, it seems to think it is detecting public/home/<username1>/<username2> on DCEROUTER and keeps asking me to confirm adding these and providing username/password for those as well - I don't understand this, surely that is local to the Core and it should do that without pnp?

Finally, as I say, it is constantly detecting the DCEROUTER and "file server" again and again, with the messages below, and the little log messages appear in the top left corner of the screen ... that can't be right, but it is even displaying repeated messages about the DCEROUTER....

Any other thoughts?
Title: Re: No media - pnp doesn't seem to work!
Post by: Hagen on September 01, 2007, 06:36:28 pm
Thought #2
It adds the machine the share is on first.
Then after X amount of time and a bunch of other machines (I got a bit tires there pressing ignore, never ask again for machines that will not be added)
It will start to display "shares", and asks if you want to use the share as (in your case)  a "window share", only after that will it "deploy" it's folder structure.

Make everything public is ok to use if you just have media on the share, the LMCE folder structure is (according to Paul) just to pin point the locations LMCE needs to monitor for media, and not waste time cataloging office documents and spreadsheets etc. etc.
Title: Re: No media - pnp doesn't seem to work!
Post by: colinjones on September 01, 2007, 11:15:36 pm
Worked it out - seems it doesn't handle Windows <domain>\<username> syntax very well or the LSA format of .\<username> so it was trying to authenticate against an account that "doesn't exist", in the end I created a new local account and used that instead and everything started working!

Thanks for your help.

Col.
Title: Re: No media - pnp doesn't seem to work!
Post by: Hagen on September 02, 2007, 08:55:54 pm
Great  ;D
Title: Re: No media - pnp doesn't seem to work!
Post by: nilspils on September 03, 2007, 10:24:05 pm
Worked it out - seems it doesn't handle Windows <domain>\<username> syntax very well or the LSA format of .\<username> so it was trying to authenticate against an account that "doesn't exist", in the end I created a new local account and used that instead and everything started working!

Thanks for your help.

Col.

What do you mean by creating a new user account? On MCE or windows?
Title: Re: No media - pnp doesn't seem to work!
Post by: colinjones on September 03, 2007, 11:06:09 pm
On Windows, an LSA local account rather than domain account, specifically for media sharing.
Title: Re: No media - pnp doesn't seem to work!
Post by: nilspils on September 05, 2007, 09:05:04 pm
On Windows, an LSA local account rather than domain account, specifically for media sharing.

Ok thanks. Can you tel me how to make an LSA account
Title: Re: No media - pnp doesn't seem to work!
Post by: colinjones on September 06, 2007, 01:42:41 am
Sure - I am assuming that your PC is a member of a domain rather than a workgroup... in the home editions, or professional in workgroup mode the entire security model is different.

You need to open Computer Management - under Administrative Tools. Expand the Users & Groups section, then in the Users container, create a new account. Make the account a member of the Administrators local group and give it a decent password.

Away you go...
Title: Re: No media - pnp doesn't seem to work!
Post by: nilspils on September 06, 2007, 07:31:12 am
Thank you very much for a quick answer. I'm using work group, will this mean that I have to use a domain? If so is how do I sett up a domain?

And another question I can see that you say that I have too enter shell, but how do you exit shell and enter kde?
Title: Re: No media - pnp doesn't seem to work!
Post by: llherin on September 06, 2007, 03:46:10 pm

Finally, as I say, it is constantly detecting the DCEROUTER and "file server" again and again, with the messages below, and the little log messages appear in the top left corner of the screen ... that can't be right, but it is even displaying repeated messages about the DCEROUTER....

Any other thoughts?

My first post here!  ;D

About the detecting DCE router it was happening ro me as well: I have a single ethernet card configuration (I tried using an USB WLAN stick as internal lan but failed miserably  ???) with double IP configuration.
Eth0 was set to retrieve ip from DHCP server (my adsl modem/router) while eth0:0 in my idea was to be the dhcp server for the internal lan.
Well, was pretty stupid from me to expect that it would have worked! What in truth happened was that eth0 was receiving its IP address from the dhcp server running on eth0:0, so LinuxMCE PnP thought to have detected a new windows share and started asking what to do about it.
I had to go to "my devices" and manually delete the wrong "DCERouter file server" it had found after having  reconfigured my network.
Hope this can help you.
Title: Re: No media - pnp doesn't seem to work!
Post by: colinjones on September 07, 2007, 12:31:56 am
Thank you very much for a quick answer. I'm using work group, will this mean that I have to use a domain? If so is how do I sett up a domain?

And another question I can see that you say that I have too enter shell, but how do you exit shell and enter kde?

Sorry, can't see the reference to a shell - can you point it out? The process I described doesn't require a shell on either the LMCE or Windows PC...

Col.
Title: Re: No media - pnp doesn't seem to work!
Post by: teedge77 on September 07, 2007, 01:11:51 am
nilspils...you would need to have Windows Server 2003 to set up the domain. i have a reasonable feeling that setting that up and starting an active directory domain controller may be a little over your head. its worth learning if you want to though. your first step would be getting a server to run windows server 2003 on. i believe the way he had it set up that would also be your file server with your shares...i may have misunderstood something though.
Title: Re: No media - pnp doesn't seem to work!
Post by: dopey on September 07, 2007, 04:58:14 am
There are Linux options for domain controllers, but I don't really use them so I won't be of much help in setting them up. I just wanted you to know that's an option if you wanted to set up a domain controller on the core.
Title: Re: No media - pnp doesn't seem to work!
Post by: nilspils on September 07, 2007, 07:28:19 am
Thank you very much for a quick answer. I'm using work group, will this mean that I have to use a domain? If so is how do I sett up a domain?

And another question I can see that you say that I have too enter shell, but how do you exit shell and enter kde?

Sorry, can't see the reference to a shell - can you point it out? The process I described doesn't require a shell on either the LMCE or Windows PC...

Col.

Sorry it was a other tread.
Title: Re: No media - pnp doesn't seem to work!
Post by: nilspils on September 07, 2007, 07:29:52 am
nilspils...you would need to have Windows Server 2003 to set up the domain. i have a reasonable feeling that setting that up and starting an active directory domain controller may be a little over your head. its worth learning if you want to though. your first step would be getting a server to run windows server 2003 on. i believe the way he had it set up that would also be your file server with your shares...i may have misunderstood something though.

This is getting over my head. Is ther not a way to shear the windows shears with out creating a LSA account?
Title: Re: No media - pnp doesn't seem to work!
Post by: dopey on September 07, 2007, 07:34:18 am
Yes, you don't need a domain controller to share files from Windows. All you have to do is right click on whatever you want to share from Windows, click on sharing and security, and share it. LinuxMCE will detect the share.
Title: Re: No media - pnp doesn't seem to work!
Post by: Hagen on September 07, 2007, 11:14:30 am
Nilspils

I think the whole problem comes about when using a domain...
You should therefore NOT add a domain.
If you use a normal home network/workgroup you should be fine, as all users in that system is really local users and therefore woun't get the 
(domain)/(user) setup
I don't have a domain controller either, that is why I didn't get the actual problem.

(And why would anyone want to set up a Windows 2003 server to make a Linux application work?!)
Title: Re: No media - pnp doesn't seem to work!
Post by: nilspils on September 11, 2007, 05:09:35 pm
Wel tanks fore all your help. Now on the windows machine I have shared the E drive. No I have found 4 new folders in this drive, Public, user 1, user 2, and user 3. Under each of these folders ther are a folder named data, and under this there is 4 new folders named audio video picture and documents.  So I copyed some picture from my windows machine and pasted them in the folder picture. Then I went in to the mce and browsed to the folder home/public/data/picture/windows share:E [106] and found the picture I copyed. So now I seems ok, but when I go in to the orbiter ( I thin it is named orbiter the window where I have a line at the bootom where I can pick media the picture.) And pres media then picture I get up 2 folders Flicker and Windows share E: . So I pick Windows share E: and it is emty.

1.What am I doing wrong?
2.Do I have to manually copy the files that I want to have on the mce ore can the core/hybrid scan the windows share fore files?
3.I see that in the flicker folder the picture is named xx.jpg.tnj, do I have to rename all my pictures?
4.I also copyed some videos to the folder public/data/video and I can find them but no thumbnails. Do I have to make some thumbnails for each of the videos? And if so is there a easy way to do this?
5. When I press the media butten and then manage Drives I get up 3 drives but they are all empty. Why?
Title: Re: No media - pnp doesn't seem to work!
Post by: rwilson131 on September 11, 2007, 05:19:38 pm
Pictures do not work.  This has been a issue for quite sometime with Pluto and and with LinuxMCE.  Flickr is separate and has nothing to do with the pictures.  I would try it with an audio file to see if you have everything up correctly. 

Thanks,
Rob
Title: Re: No media - pnp doesn't seem to work!
Post by: nilspils on September 11, 2007, 07:15:22 pm
Thanks for the answer. Will try it.
But do I have to copy files frome win to mce, isent it suposed to scan the share on the file server for media?
Title: Re: No media - pnp doesn't seem to work!
Post by: dopey on September 12, 2007, 07:39:03 am
Pictures worked fine for me... It just took a while for the updatemedia daemon to find the files and add them to the database. This is normal. Your can force it to scan a folder at any time by going to the admin site, choosing Files & Media->Media Files sync, select the folder to scan, and then click re-synchronize. I (and probably others) posted more thorough explanations of this in other posts.
Title: Re: No media - pnp doesn't seem to work!
Post by: Hagen on September 13, 2007, 12:46:30 pm
Thanks for the answer. Will try it.
But do I have to copy files frome win to mce, isent it suposed to scan the share on the file server for media?
Hei igjen Nils
Yes, it will add all media automatically IF:
You chose the "make all content public", which is not recommended as you will then be sharing your whole E disk on the network, and the updater must go trough (possibly) a bunch of files that are not media. Windows system files, program files... anything you have on E

If you chose the "use the LMCE structure" then all media added to the appropriate folders will be detected, but nothing else. This is to save your network from bogging down with an update routine that will never find much of use anyway.
If on the other hand your E share ONLY has media you can use the "make all content public", but again, you will not be able to "reserve" media from other users.

So moving the media to the LMCE folders makes sense