Streaming Video files on LAN Network
I am using Redhat Linux, I have installed smb client as well as server on my box. I could see and even access the shared files by windows systems on our LAN. I would like to play video files shared in the network, if i try to double click the video file, ( i have configured Mplayer for video files). The file first gets downloaded .. to my system then starts playing.. :(..
guys if you recall you can directly map the network folder as a Drive letter .. or even Windows Media player can directly play the video/audio without downloading.. the entire file..
I use konqueror for browsing the WINDOWS shared files.
Any help ???
you can mount the remote location on a local mount point. LinNeighborhood can make this very easy for you. Get LinNeighborhood at http://www.bnro.de/~schmidjo/
Once you browse to the folder containing videos, you can mount that on a Local mount point such as /mnt/videos, you can also configure tLinNeighborhood to open a certain program such as konqueror as soon as it mounts a remote directory. Then you can just click on the file and it will play without being downloaded to your computer.
If you like to play in the shell rather than using the GUI, you can also use the mount command to do the same thing. Lets say you had a 'videos' folder on a machine called 'xion' then you would do the following. (I am assuming that the username is guest and that the password is blank)
First make a mount point
mkdir -p /mnt/xion/videos
Now the mount command
mount -t smbfs -o username=guest,password= //xion/videos /mnt/xion/videos
you can then simply
and there you go. Now you can play files remotely without downloading them. Just use the mplayer command or browse to /mnt/xion/videos using konqueror.
Thanks yaar, it really worked. :).
Thanks again for your prompt Reply.
how can i make this auto mount everytime after i reboot?
You can add these lines to your /etc/fstab file
#mount -t smbfs -o username=guest,password= //xion/videos /mnt/xion/videos
/dev/hda1 /mnt/winc vfat defaults
//xion/videos /mnt/xion smbfs username=guest
nice nice thx for the tip mate. :)
whats wrong with my code? it wont mount as i added it to fstab:
//newmexico/zeries$ /home/rbolt/mnts/newmexico smbfs username=*****,password=*****,domain=learn
//southpark/borogod0y2$ /home/rbolt/mnts/southpark smbfs username=*****,password=*****,domain=*****
done it manually i got this error:
5104: session setup failed: ERRDOS - ERRnoaccess (Access denied.)
SMB connection failed
Im sure my credentials are correct.. what am i missing?
i just masked the credentials for post reasons. thx for the help.
Try if the port is open by using nmap
# > nmap ip-address
this is the port for SMB share
445/tcp open microsoft-ds
also the folders ending with "$" are they system sharing they wont be accessible. first step try sharing some folder with "Guest" access then go for the next authentication based sharing..
if you are using KDE (konqueror) > 3.4, you can network places in konqueror address bar type
then you can add remote places in it.
Google "VLC" - Video LAN Client. I use it. it works great without any reconfiguring. It plays and serves network streams. It'll play/stream cd's, dvd's, VCD's, mp3's, etc. Powerful, yet small. It loads a lot faster than gxine, mplayer, and noatun.
smb port is open. i can even access it on the nautilus with smb://(address). the problem is the auto-mounting.
i successfully mounted them using the LinNeighborhood tool. i dont know what im missing here. thx for the help anyway.
yah i used that while opening thru network share. wont open up not until its mounted.
|All times are GMT -5. The time now is 04:18 PM.|