Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

win2k mp3 server 2

Status
Not open for further replies.

simanek

Programmer
Jan 19, 2001
137
US
Ok, I have an drive shared out on a win2k box that has all of my mp3s on it. I would like to be able to mount this drive on my linux system (mandrake 8.0) so that I can play them over the network and so that it will look like a normal drive on my linux machine. Any ideas on how to do this? Thanks.
Mike
~~~~
simanek@uiuc.edu
"It's a Swingline!"
~~~~
 
dunno if win2k will work but with smbclient u can mount networkdrives. Win2k uses another filesystem, u have to define it, read manual smbclient, cause i dont know the syntax. Good luck mcvdmvs
mick@nederland.net

knows: html, JavaScript, dhtml, css, php, mysql, postgresql, xml, linux
to learn: java, c++, perl, python
 
For most times I only map linux drives in windose using samba. The one time I wanted to do it the other way I used a NFS-client on my windows machine.
That was merely for testing that way of accessing drives, but at least it will solve your problem.
There are many NFS-clients out there and you can certainly find several at or
after installing the client you should be able to do this command on your linux machine.

mount –fNFS –onoexec [win2k-name]:/c/mp3 /usr/home/mp3

The syntaxes are most likely not the same. Check the manual pages for mount to be sure. /Sören
 
Just in case someone wants to do the same thing: Acutally, I managed to do it another way. In samba 2.0 there is a program called smbmount where it basically uses the samba protocols and mounts the drive for you. Thanks for the help guys. Mike
~~~~
simanek@uiuc.edu
"It's a Swingline!"
~~~~
 
You can easily mount windows shares on Linux... IF smb network filesystems have been compiled into your kernel or as a module...

syntax
smbmount //ipaddress/share /mountpoint -o username=joeuser

so .. if your mp3 server is at 10.1.2.3 and is shared as mp3 you mount it to /mnt/mp3s and your user name is musicman type (as root)

smbmount //10.1.2.3/mp3 /mnt/mp3s -o username=musicman ro

(the ro is for read only... if you want read/write, change to rw)

You will be prompted for musicman's password.

Then you can open up xmms and listen all day (This is what I do in my office...)

-John ---
John Hoke
 
you can also do this through 'mount' with the type set as -smbfs . It works essentially the same way. I think this is what Nostradamus was alluding to. Mike
~~~~
simanek@uiuc.edu
"It's a Swingline!"
~~~~
 
Nostadamus' command line was via NFS, not always available on windows ;)

-John ---
John Hoke
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top