-   Linux - Networking (
-   -   Streaming Video files on LAN Network (

sendilkumar 10-19-2004 11:38 AM

Streaming Video files on LAN Network
Hi everybody,

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 ???


n3tw0rk 10-19-2004 01:39 PM

you can mount the remote location on a local mount point. LinNeighborhood can make this very easy for you. Get LinNeighborhood at

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

cd /mnt/xion/videos

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.

sendilkumar 10-19-2004 02:57 PM


Thanks yaar, it really worked. :).

Thanks again for your prompt Reply.


rbolt168 11-05-2006 01:17 AM

how can i make this auto mount everytime after i reboot?

sendilkumar 11-05-2006 10:30 AM

You can add these lines to your /etc/fstab file

#mount -t smbfs -o username=guest,password= //xion/videos /mnt/xion/videos

for. e.g
/dev/hda1 /mnt/winc vfat defaults
//xion/videos /mnt/xion smbfs username=guest

rbolt168 11-05-2006 05:10 PM

nice nice thx for the tip mate. :)

rbolt168 11-05-2006 06:40 PM

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.

sendilkumar 11-05-2006 10:59 PM


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..

gud luck

sendilkumar 11-05-2006 11:02 PM

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.

mpyusko 11-05-2006 11:13 PM

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.

rbolt168 11-06-2006 12:22 AM

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 07:12 PM.