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.
I'm using a Raspberry Pi with Raspbmc on it to hold my media files, and then I'm using samba to play it over my network from my Mint Debian machine.
I can see all my files through samba, and they all have the permission of:
Code:
-rwxrwxrwx 1 pi pi 348684902 Jun 6 07:45 Watchdog_Series_31_-_Episode_6_b02vzftn_default.mp4
But when I open it through VLC I get the follow message, over and over again until I clock stop:
Code:
Your input can't be opened:
VLC is unable to open the MRL 'smb://raspbmc/devices/Video/11iPlayer/Watchdog_Series_31_-_Episode_6_b02vzftn_default.mp4'. Check the log for details.
The VLC log shows the following repeated:
Code:
main debug: TIMER module_need() : 0.252 ms - Total 0.252 ms / 1 intvls (Avg 0.252 ms)
main debug: creating access 'smb' location='raspbmc/devices/Video/11iPlayer/Watchdog_Series_31_-_Episode_6_b02vzftn_default.mp4', path='(null)'
main debug: looking for access module: 1 candidate
qt4 debug: IM: Deleting the input
main debug: TIMER input launching for 'smb://raspbmc/devices/Video/11iPlayer/Watchdog_Series_31_-_Episode_6_b02vzftn_default.mp4' : 108.925 ms - Total 108.925 ms / 1 intvls (Avg 108.925 ms)
qt4 debug: IM: Setting an input
main debug: incoming request - stopping current input
main debug: dying input
access_smb error: open failed for 'raspbmc/devices/Video/11iPlayer/Watchdog_Series_31_-_Episode_6_b02vzftn_default.mp4' (Connection timed out)
main debug: no access module matching "smb" could be loaded
main debug: TIMER module_need() : 94.484 ms - Total 94.484 ms / 1 intvls (Avg 94.484 ms)
main debug: dead input
qt4 debug: IM: Deleting the input
i find it ironic that you are using a kludgy software that was designed to fool microsoft servers into believing a linux machine was actually a windows client so it could connect and share. as well as fooling windows clients into believing a linux server is actually a windows server so they would connect and share.
since you are going linux to linux i would cut out the buggy middle-man and just use something like nfs or sshfs.
i find it ironic that you are using a kludgy software that was designed to fool microsoft servers into believing a linux machine was actually a windows client so it could connect and share. as well as fooling windows clients into believing a linux server is actually a windows server so they would connect and share.
since you are going linux to linux i would cut out the buggy middle-man and just use something like nfs or sshfs.
Not at all ironic if you have a heterogeneous network. Or when a friend with a Windows computer visits you and wants to connect to that share.
Not at all ironic if you have a heterogeneous network. Or when a friend with a Windows computer visits you and wants to connect to that share.
Not just that either - I use nothing but Linux and I still go with samba for my file shares because it's all but impossible to mount an NFS share on an Android device, but samba support is built into Android itself as well as nearly all apps that could possibly need it.
Hi TobiSGD, what I am doing is using Caja to mount the device via 'Network' and going in through that way. I then double click on the icon to play the video and that's where this error starts. See the screen shot below for what I'm doing. I hope you can see it appears to be mounted within Caja and it might point to what I'm doing wrong?
There are two reasons as to why I'm using Samba, the first is ease of setup, this is the one time I've ever had a problem with Samba, NFS I tried for years with no success. Secondly, my work laptop runs Windows and without Samba I'd have no music to listen to.
I mount my Samba shares using the fstab. No GUI tool for that and works without a hitch. AFAIK, VLC should support Samba, but since I am not using it that way I can't comment on that.
That's a fantastic idea you gave me, it's VLC's problem with the video on the Pi. It works fine with Totem, and VLC works fine accessing another computer with Samba and playing videos.
Edit: Right, mounted through the command line and it works fine in VLC! I'm just looking at how to add it to fstab now. For everyone elses record, as well as mine, the following worked for me.
Code:
sudo mount -t cifs //192.168.0.176/devices /mnt -o guest
Thanks for the fantastic inspiration!
Last edited by NotAComputerGuy; 06-14-2013 at 12:40 PM.
Right, for now (at least, using umount and mount) this appears to be solved. Massive thanks to TobiSGD for giving me a different view on how to solve it, which using his view, made it fairly simple and straight forward to solve.
Overview of my solution:
Forget mounting samba in Caja (file manager)
Mount through the command line!
For ease of access, add to fstab.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.