watch videos off another pc

wezhira

Well-Known Member
Joined
Jun 15, 2008
Messages
467
Reaction score
5
i have two pcs one runs mandriva 2009 the other dual boots winxp and opensuse now i am currently storing all my vids on the mandriva 2009 pc its a pretty low spec pc .What i wanna do is to be able too watch the videos directly from the mandriva pc when i'm using either winxp or opensuse i have a crossover cable ianyhelp would be really appreciated
 
Do you want to stream to your Windows PC, or will a fileshare do? If you want to go the fileshare option, go to Mandriva control centre, look under Network sharing, and select "share drives and directories with Windows". It will install Samba and thats it. I got this working on Mandriva 2008.1 no problem.

If you want to stream... I have no idea. :(
 
well i'll try that may be it will allow me to play the video while its on the mandriva pc
 
if you want to be able to stream even when using xp, you will have to look at a samba solution. there's a lot of literature out there to help you setup.

i did it some 3-4 years ago so i can't remember the specifics. but it worked well.
 
All you need to do is to set up your network, share the dir with the movies with read-only access and you should be set, it is really that simple, the exact same as streaming videos between two windows machines. We make too much of SAMBA, always making it sound like such a mission to set up properly but I honestly believe Mandriva will have a pretty straight forward networking wizard.

Once you have set up your samba, on the windows PC:
Start-> Run-> //192.168.0.x or //my-linux-machine-hostname

This will open file explorer with the shares visible. You can try through Network Neighbourhood, but that always takes to long for me, the above example is a straight link to the Linux PC.

I would highly recommend that you get a cheap switch, it does make life a lot easier. Crossover cables will work, but just every now and then either windows or Linux will have a bee in the bonnet and you will have to reset the network.

Just plug the cable between the PC's, run the network set up wizard on both machines and you should be set. I have not played with Mandriva in a long time, but I figure it will have a very easy to follow wizard to set up a normal network. And for sanity sake, use static ip's, I'm not sure if you need a hub/switch to do dhcp, so use static for starters.

On my home network I have been using static IP's for over 8 years now and have never had a mayor network issue. I can only see the benefit of DHCP if you go over x amount of PC's (say over 10 PC's). Much easier to maintain, setup and troubleshoot a network with static IP's IMHO.
 
MyWorld are you saying that samba is not needed? I haven't had a windows unit on my network for sometime so I just want to know if things have changed?
 
All you need to do is to set up your network, share the dir with the movies with read-only access and you should be set, it is really that simple, the exact same as streaming videos between two windows machines. We make too much of SAMBA, always making it sound like such a mission to set up properly but I honestly believe Mandriva will have a pretty straight forward networking wizard.

Super easy wizard! It's even Slobber proof. :P

Edit: On Mandriva that is.
 
Last edited:
this thread makes me see how much windows knowledge i have lost. i know for sure that using NFS I am able to stream video between linux distros. So I would suggest that you run both NFS and Samba. NFS for suse-mandriva and samba for xp-mandriva.
 
MyWorld are you saying that samba is not needed? I haven't had a windows unit on my network for sometime so I just want to know if things have changed?
No, I just say that we make it sound harder than it is to set up SAMBA.

I would say just use samba all round, even between linux boxes in a mixed network (windows and Linux PC's networked together). NFS is faster in Linux, I agree, but I must have samba for windows networking so it is easier to just use that and stick with one standard on a mixed network.

To stream media, that is also a very loose term and I take it that we are talking about watching movies/listening to music on my windows box with the media hosted on Mandriva.

Then just do what I said you are set.
 
Will try it i wanted too upgrade my mandriva but noticed the 2009 distro does not have kppp or the bluetooth packages so cant use my phone as a modem so i'll stick with my current setup
 
will enabling samba share on XBMC allow me to burn movies from it on my vista machine? I have a few stuff to burn to dvd but its on my XBMC box and i want to burn it to dvd directly from the media box to dvd on my vista machine..
 
Yeah once you have it working, it's just like a normal windows fileshare. With 2008.1 I havent had any issues copying to and from my Windows PC.
 
will enabling samba share on XBMC allow me to burn movies from it on my vista machine? I have a few stuff to burn to dvd but its on my XBMC box and i want to burn it to dvd directly from the media box to dvd on my vista machine..

In theory it will work and I have done it before, but beware for larger files, it takes only a little glitch for a burn to fail.

My advice would be to start small, burn the smallest files first and see if there is a problem before moving over to the larger files.

I would rather copy larger files over and burn them rather than burning them directly from the network source.
 
Hi guys,
I found this link last night, trying to play my movies directly from my XBMC to my vista pc and to upload files like you would between to windows machine shares..

Linky

After some tweaks and setting up, i finally got my XBMC pc to allow me to upload and view my files like on normal windows sharing. Works like a charm, no more FTP and SSH. hehe

Here is the howto:

Install samba
"sudo apt-get install samba"

Now we stop samba
"sudo /etc/init.d/samba stop"

Now we copy the old config for backup
"sudo cp /etc/samba/smb.conf /etc/samba/smb.conf.backup"

Now we edit the samba config
"sudo gedit /etc/samba/smb.conf"

Now copy what I have written below:

[global]
; General server settings
netbios name = yourcomputername
server string = (leavethisblank)
workgroup = MSHOME
announce version = 5.0
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE SO_RCVBUF=8192 SO_SNDBUF=8192

;interfaces = 127.0.0.1, 192.168.2.1/24
interfaces = lo, eth1 (put you ethX here ,eth0 or 1 etc.)
bind interfaces only = true

hosts allow = 127.0.0.1, 192.168.2.12 (the ip of your xbox goes here)
hosts deny = 0.0.0.0/0

passdb backend = tdbsam
security = user
encrypt passwords = true
username map = /etc/samba/smbusers
obey pam restrictions = yes
invalid users = root

name resolve order = hosts wins bcast

wins support = no

; printing = CUPS
; printcap name = CUPS

syslog = 1
syslog only = yes

# Do something sensible when Samba crashes: mail the admin a backtrace
panic action = /usr/share/samba/panic-action %d

; NOTE: If you need access to the user home directories uncomment the
; lines below and adjust the settings to your hearts content.
;[homes]
;valid users = %S
;create mode = 0600
;directory mode = 0700
;browseable = no
;read only = yes
;veto files = /*.{*}/.*/mail/bin/

; NOTE: Only needed if you run samba as a primary domain controller.
; Not needed as this config doesn't cover that matter.
;[netlogon]
;path = /var/lib/samba/netlogon
;admin users = Administrator
;valid users = %U
;read only = yes

; NOTE: Again - only needed if you're running a primary domain controller.
;[Profiles]
;path = /var/lib/samba/profiles
;valid users = %U
;create mode = 0600
;directory mode = 0700
;writeable = no
;browseable = no

; NOTE: Inside this place you may build a printer driver repository for
; Windows - I'll cover this topic in another HOWTO.
;[print$]
;path = /var/lib/samba/printers
;browseable = no
;guest ok = no
;read only = yes
;write list = root
;create mask = 0644
;directory mask = 0755

;[printers]
;path = /tmp
;printable = no
;guest ok = no
;browseable = no

; Uncomment if you need to share your CD-/DVD-ROM Drive
;[DVD-ROM Drive]
;path = /media/cdrom
;browseable = no
;read only = yes
;guest ok = no

[MyFiles]
path = /path/to/your/share/folder/or/partition/
browseable = no
read only = yes
guest ok = no
create mask = 0600
directory mask = 0700
force user = yourusername
force group = yourusername

Now we add a user
"sudo smbpasswd -a yourusername"
enter you samba passwd

Now we enable samba
"sudo smbpasswd -e yourusername"

Now start samba
"sudo /etc/init.d/samba start"

I just had to change this part:

[MyFiles]
path = /path/to/your/share/folder/or/partition/
browseable = yes
read only =no
guest ok = no
create mask = 0777
directory mask = 0777
force user = yourusername (The username you are using to login with on linux)
force group = yourusername (The username you are using to login with on linux)


Enjoy..
 
Last edited:
Top
Sign up to the MyBroadband newsletter
X