LinuxQuestions.org
Review your favorite Linux distribution.
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 09-30-2005, 09:08 PM   #1
watha
Member
 
Registered: Jun 2004
Location: Boston, MA USA
Distribution: Suse 9.3
Posts: 68

Rep: Reputation: 15
Playing Windows files on Linux box?


I'm running XP on one machine, Linux on another, using Samba to network them. Windows lets me run multimedia files stored on the Linux machine. I just go to the folder, click the file, and it streams into whatever player I'm using. I can create a playlist of files on the Linux machine, and play them in any order.

When I switch to the Linux computer and try to play files stored on Windows, Linux doesn't cooperate so easily. I have to copy the file into the /tmp directory before it will play, and I can't create a list of files on the Windows machine and play them one after the other.

I get the impression that I'd have to mount the Windows files on a partition of the Linux machine to run them seamlessly. I don't know how to do this. Or is there some other solution? Thanks.
 
Old 09-30-2005, 09:49 PM   #2
ag2uki
Member
 
Registered: Oct 2004
Location: Yogyakarta, Indonesia
Distribution: Mandrake 9.0, 9.1, 9.2, 10.0
Posts: 84

Rep: Reputation: 16
I usually use LinNeighborhood to mount shared directories.
 
Old 09-30-2005, 11:10 PM   #3
watha
Member
 
Registered: Jun 2004
Location: Boston, MA USA
Distribution: Suse 9.3
Posts: 68

Original Poster
Rep: Reputation: 15
And what is LinNeighborhood? I never heard of it. I'm running SUSE 9.3, in case that matters...
 
Old 10-01-2005, 12:19 AM   #4
ag2uki
Member
 
Registered: Oct 2004
Location: Yogyakarta, Indonesia
Distribution: Mandrake 9.0, 9.1, 9.2, 10.0
Posts: 84

Rep: Reputation: 16
LinNeighborhood is a GUI tool to solve your problem.
Basically, you can mount it from command prompt, like this:
Code:
# mount -t smbfs -o username=wedhus,password=wedhus //winsystem/Shared /mnt/Shared/
LinNeighborhood do the same way, but it's much better.

regards
ag2uki
 
Old 10-01-2005, 02:20 PM   #5
watha
Member
 
Registered: Jun 2004
Location: Boston, MA USA
Distribution: Suse 9.3
Posts: 68

Original Poster
Rep: Reputation: 15
And how does one get LinNeighborhood?
 
Old 10-01-2005, 08:56 PM   #6
watha
Member
 
Registered: Jun 2004
Location: Boston, MA USA
Distribution: Suse 9.3
Posts: 68

Original Poster
Rep: Reputation: 15
OK, I found LinNeighborhood and installed it. Now I can't get it to work. It identifies the folder I want to mount on my Linux box, but when I click "mount," it says "cannot resolve address."


Can anyone help? Thanks.
 
Old 10-03-2005, 09:34 PM   #7
ag2uki
Member
 
Registered: Oct 2004
Location: Yogyakarta, Indonesia
Distribution: Mandrake 9.0, 9.1, 9.2, 10.0
Posts: 84

Rep: Reputation: 16
perhaps you installed a firewall on either your Suse or your Windows machines.
I have found a similar question, and i hope it will work for you.

http://www.linuxquestions.org/questi...04/07/2/197829

Good Luck!


regards
ag2uki
 
Old 10-04-2005, 12:30 AM   #8
watha
Member
 
Registered: Jun 2004
Location: Boston, MA USA
Distribution: Suse 9.3
Posts: 68

Original Poster
Rep: Reputation: 15
The firewall on my SUSE box is off. I have a firewall on my Windows machine. I disabled it and tried again. It still won't resolve the address. So if both firewalls are shut down entirely, why else might it not work? Thanks.
 
Old 10-04-2005, 01:41 PM   #9
FliesLikeABrick
Member
 
Registered: Aug 2005
Location: NY,USA
Distribution: Debian, Gentoo, Ubuntu
Posts: 103

Rep: Reputation: 15
If you wanna try doing it by hand instead of using LinNeighborhood (can't say i'm familiar with it at all) then try to make some sense of this:


to mount the windows shares under linux, install smbclient and smbfs (both are in apt repositories if you happen to be using debian or ubuntu) and I'm sure there's an RPM for them as well.


After that is all happy, it is just a matter of using smbmount (basically "mount" with special stuff to tell it that it is a windows network share) or you can add a line into your /etc/fstab file telling it to mount //computername/sharename into a mount path as filesystem type smbfs


you can also mount it using mount with filesystem type smbfs too. see man smbmount and man mount for more info, it is really straightforward

Last edited by FliesLikeABrick; 10-04-2005 at 01:43 PM.
 
Old 10-04-2005, 09:19 PM   #10
watha
Member
 
Registered: Jun 2004
Location: Boston, MA USA
Distribution: Suse 9.3
Posts: 68

Original Poster
Rep: Reputation: 15
Sounds like a plan, dude. I'll try it. Thanks.
 
Old 10-04-2005, 09:57 PM   #11
watha
Member
 
Registered: Jun 2004
Location: Boston, MA USA
Distribution: Suse 9.3
Posts: 68

Original Poster
Rep: Reputation: 15
Yep, I puzzled out the right text command for mounting. Part of the problem was the Windows filename. I needed to put it in quotes. Still, it now works. Just wish I could automate the process. Oh, well, at least I made a copy of the command, so I can reissue it whenever I log on. Thanks much.
 
Old 10-06-2005, 08:43 PM   #12
Randall Slack
Member
 
Registered: Feb 2005
Location: Rotterdam, The Netherlands
Distribution: Debian - Ubuntu
Posts: 219

Rep: Reputation: 30
hi
i'm using slackware so don't know how to do it with suse, but with slack i can edit a file called /etc/fstab (think you have the same file in suse)
this file tells the system what to mount at startup, my cdrom and floppy are listed there as well,
i can simply add a new line with the smbmount command in there and it will mount the windows share automatically at boot instead of typing it in.
 
Old 10-06-2005, 09:10 PM   #13
watha
Member
 
Registered: Jun 2004
Location: Boston, MA USA
Distribution: Suse 9.3
Posts: 68

Original Poster
Rep: Reputation: 15
Yeah, I mean to try that one of these days. For now, I'd just as soon type the command as needed. Long as I can mount the share, I'll die happy.

Thanks.
 
  


Reply


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
Playing Windows Media Files in Mandriva/Mandrake Linux dudeman41465 Linux - Software 15 12-25-2006 01:19 AM
Playing Windows media player files(WMA) in Linux akiko_f Linux - Newbie 4 06-21-2005 04:26 AM
Transfairing files from windows xp box to mandrake linux 10.0 box. tyledogg Linux - Newbie 4 07-26-2004 12:24 AM
Pushing files from a Linux box to a Windows Box scottpioso Programming 2 11-27-2003 03:29 PM
Windows files on Linux box artman62 Linux - Networking 3 12-21-2001 05:48 AM


All times are GMT -5. The time now is 04:33 PM.

Main Menu
Advertisement
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