LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 10-19-2004, 10:38 AM   #1
sendilkumar
LQ Newbie
 
Registered: Oct 2004
Location: Chennai, India
Distribution: Fedora Core 2
Posts: 7
Blog Entries: 1

Rep: Reputation: 0
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 ???

Thanks
 
Old 10-19-2004, 12:39 PM   #2
n3tw0rk
Member
 
Registered: Sep 2003
Location: Rawalpindi, Pakistan
Distribution: Slackware
Posts: 86

Rep: Reputation: 15
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

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.
 
Old 10-19-2004, 01:57 PM   #3
sendilkumar
LQ Newbie
 
Registered: Oct 2004
Location: Chennai, India
Distribution: Fedora Core 2
Posts: 7
Blog Entries: 1

Original Poster
Rep: Reputation: 0
Hi,


Thanks yaar, it really worked. .


Thanks again for your prompt Reply.

Bye
 
Old 11-05-2006, 12:17 AM   #4
rbolt168
LQ Newbie
 
Registered: Jan 2006
Posts: 13

Rep: Reputation: 0
how can i make this auto mount everytime after i reboot?
 
Old 11-05-2006, 09:30 AM   #5
sendilkumar
LQ Newbie
 
Registered: Oct 2004
Location: Chennai, India
Distribution: Fedora Core 2
Posts: 7
Blog Entries: 1

Original Poster
Rep: Reputation: 0
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
 
Old 11-05-2006, 04:10 PM   #6
rbolt168
LQ Newbie
 
Registered: Jan 2006
Posts: 13

Rep: Reputation: 0
nice nice thx for the tip mate.
 
Old 11-05-2006, 05:40 PM   #7
rbolt168
LQ Newbie
 
Registered: Jan 2006
Posts: 13

Rep: Reputation: 0
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.

Last edited by rbolt168; 11-05-2006 at 06:20 PM.
 
Old 11-05-2006, 09:59 PM   #8
sendilkumar
LQ Newbie
 
Registered: Oct 2004
Location: Chennai, India
Distribution: Fedora Core 2
Posts: 7
Blog Entries: 1

Original Poster
Rep: Reputation: 0
hi

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
 
Old 11-05-2006, 10:02 PM   #9
sendilkumar
LQ Newbie
 
Registered: Oct 2004
Location: Chennai, India
Distribution: Fedora Core 2
Posts: 7
Blog Entries: 1

Original Poster
Rep: Reputation: 0
if you are using KDE (konqueror) > 3.4, you can network places in konqueror address bar type

system:/
then you can add remote places in it.
 
Old 11-05-2006, 10:13 PM   #10
mpyusko
Member
 
Registered: Oct 2003
Location: Rochester, NY, USA
Distribution: Salckware ver 10.1 - 14.1, Debian too.
Posts: 360
Blog Entries: 1

Rep: Reputation: 38
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.
 
Old 11-05-2006, 11:22 PM   #11
rbolt168
LQ Newbie
 
Registered: Jan 2006
Posts: 13

Rep: Reputation: 0
@sendilkumar
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.

@mpyusko
yah i used that while opening thru network share. wont open up not until its mounted.
 
  


Reply

Tags
kde, samba, smb


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
streaming from video lan server starbase_947 Linux - Networking 1 12-25-2005 06:56 AM
streaming video jgtg32a Mandriva 2 04-29-2005 03:22 AM
Streaming Video ripmaster Linux - Software 2 03-17-2005 08:07 AM
setting up video streaming over overlay network using ragzy Linux - Software 1 04-27-2004 12:28 PM
streaming video kasperk Linux - Networking 1 10-01-2003 10:38 AM


All times are GMT -5. The time now is 10:43 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration