Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
1 Please be language friendly I am a Linux noob, just installed it for the first time.
I have MediaGate MG350 HD players:
I want to make it play my network shared files. What I did so far was right click on the folder and share it using SMB - Read Only mode (I also tried none read only mode)
I can see the folders that I have shared on my mediagate player but I cannot access them.
What happens on my other windows computers when I try to access the folders - it asks me for the password and I have no idea what it is, my root password is not the correct one.
I have Ubuntu 6.10
Please help.
I want to make it play my network shared files. What I did so far was right click on the folder and share it using SMB - Read Only mode (I also tried none read only mode)
I can see the folders that I have shared on my mediagate player but I cannot access them.
What happens on my other windows computers when I try to access the folders - it asks me for the password and I have no idea what it is, my root password is not the correct one.
Not sure what a mediagate player is, but here is a minimal smb.conf for Samba that should allow remote systems passwordless access to your share. I guess that the mediagate thingy you have won't access the share because it asks for a password, and the firmware on the device cannot cope with this - viz a viz that you state that Windows machines asks for a password when you try to access the share...
Try this smb.conf and substitute stuff as needed to fit your IP addresses / disk setup:
The above should then give you passwordless access from Windows machines to the defined share above... it might also mean that your "mediagate" device might now be able to access the share, because it should not ask for a password...
Distribution: Linux Redhat 9.0, Fedora Core 2,Debian 3.0, Win 2K, Win95, Win98, WinXp Pro
Posts: 344
Rep:
There are always two issues when using Samba and any file access from a remote computer. First you need to allow Samba to access the files and then you have to set up the Linux file permissions to allow access. In your case you might want to allow root to own the files and then set up a group to access the files. Do this in your Linux file directory setup and then use the same group in Samba. Try that and give it a repost if you need more help.
There are always two issues when using Samba and any file access from a remote computer. First you need to allow Samba to access the files and then you have to set up the Linux file permissions to allow access. In your case you might want to allow root to own the files and then set up a group to access the files. Do this in your Linux file directory setup and then use the same group in Samba. Try that and give it a repost if you need more help.
Sorry, but me being a linux noob, it is a bit hard to understand how to do these things.
Same thing happens again, mediagate - whenever I try to access any of the folders it sees them but once I try to enter it it tries to open it and it cannot, just open a blank page and only option I have is to go back to folder list.
On windows machine it still asks me for the password. ? I though that "security = share" will make it so that it will not ask for the password.
Yes, I do restart samba after I change my smb.conf
Please see my smb.conf. Any more ideas ?
Last edited by robertpolson; 01-05-2007 at 11:11 AM.
Distribution: Linux Redhat 9.0, Fedora Core 2,Debian 3.0, Win 2K, Win95, Win98, WinXp Pro
Posts: 344
Rep:
According to the Samaba manual, the "share" security level (as all of them do) require a user name and password. One way around this is on the Windows machines, when you first try to log on (the first time) click on the remember me box and you wont have to do it again. There is one caveat that you can mess around with. You could try the guest account. It will not ask for a user name and password. But you must set up the share with
guest ok = yes
guest only = yes
Remove any other users that you might have setup for the share.
This type of access must still have the linux file permissions set though. I didn't notice in your smb.conf file if you had browseable = yes for this share but you will need to do that.
I uninstalled Ubuntu and installed Vista. Perhpas some time later smaba will catch up to function properly without wasting all day in a txt file.
Thank you very much for you help though. I wanted open source to work, but it is too early.
Another problem with Linux is that there is no Internet Explorer there, there is via wine and I tried it, but there is no way to make the fonts big enough for my 1680x1050 resolution and it is pain to look at tiny fonts.
Why explorer? Because the stupid site I need for work only supports Internet Explorer. :-(
There is a Force User and Force Group option you can use in the samba config that allows free and open access to a share. It may still require a username and password entry, but it doesn't matter what you enter. I don't know if that would help. In the back of my mind is a feature that should always be disabled ( using the registry editor ) called password caching. This is not secure, but I wonder if the media player requires it.
The "Force User" and "Force Group" options are used in a couple sample configurations in the "Samba 3 by Example" book that you can download from the Samba.org website.
What about fat32 ? Isn't linux supposed to use fat32 system ? How come regular sharing does not work for fat32 like it does for ext3 ? Same crap needs to be done as for the ntfs file system.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.