View previous topic :: View next topic |
Author |
Message |
scone Tux's lil' helper
Joined: 10 Jun 2003 Posts: 78
|
Posted: Wed Jun 25, 2003 2:56 am Post subject: windows/linux network (sharing, etc) |
|
|
hey all
i just got linux working w/ x running (YAY!!!)
and now i'd like to be able to play the MP3s off one computer to my linux machine, so i cna play games and listen to music at the same time, and such, i dont care about the cost of windows machine resources (this baby can take it:)
so anyways, what packages do i have to install to be a ble to acess my windows machine harddrives? _________________ peace, love (lots of love), linux (and anime!!!) |
|
Back to top |
|
|
chizu Tux's lil' helper
Joined: 28 Apr 2003 Posts: 127
|
Posted: Wed Jun 25, 2003 3:40 am Post subject: |
|
|
Assuming Windows NT 4.0 or Greater, samba should be enough. Just emerge samba. |
|
Back to top |
|
|
stim Tux's lil' helper
Joined: 21 Jan 2003 Posts: 116 Location: Brisbane, Australia
|
Posted: Wed Jun 25, 2003 4:02 am Post subject: |
|
|
Hello scone,
I just need to clarify what you are asking. You have two computers one windows one linux. You want to share mp3s off your windows machine so you can listen to them through the linux computer while playing games on your windows machine. I'm gonna assume from here on that that is correct.
Assuming you have the network set up properly, just share whaetever you want in windows as if you had a windows-to-windows network.
To have you linux programs use the network transparently, you must mount the share in the linux filesystem. This requires both samba and for the kernel to be compiled with smbfs support. Samba is easy, just do emerge samba, and the kernel might already be set up like that by default (I'm not sure about the defaults). Anyway, if you're using gentoo I presume you've recompiled your kernel.
After that, look at smbmount. It should be fairly simple, something like:
Code: |
smbmount "\\\MYWINDOWSMACHINE\mp3s" /mnt/mp3s/ -o username=WINDOWS_USER,password=WINDOWS_PASSWORD
|
You'll have to create the /mnt/mp3s (or whatever you want to call it) directory first.
I think I've made this seem much more difficult than it actually is, I'm not that good at explaining, but hopefully it helps.
Stim |
|
Back to top |
|
|
slartibartfasz Veteran
Joined: 29 Oct 2002 Posts: 1462 Location: Vienna, Austria
|
Posted: Wed Jun 25, 2003 4:55 am Post subject: |
|
|
if u execute the code stim provided at boot time, u can simply create a folder on your desktop pointing to /mnt/whatever and your files will be ready for u as soon as your displaymanager starts
however using this solution puts all the workload to the gentoo machine - it has to handle the file transfer via samba and the music itself...
if u really want to have the workload on your MS machine, the whole thing gets more complicated. u would have to generate a music stream on your MS box and grab it from the gentoo box. unfortunatly i cant help u with this a lot. i'd suggest to try the samba solution and try something different only if this doesnt work... _________________ To an engineer the glass is neither half full, nor half empty - it is just twice as big as it needs to be. |
|
Back to top |
|
|
nbensa l33t
Joined: 10 Jul 2002 Posts: 799 Location: Buenos Aires, Argentina
|
Posted: Wed Jun 25, 2003 5:56 am Post subject: |
|
|
chizu wrote: | Assuming Windows NT 4.0 or Greater, samba should be enough. Just emerge samba. |
Even win3.11 can mount samba shares. |
|
Back to top |
|
|
nbensa l33t
Joined: 10 Jul 2002 Posts: 799 Location: Buenos Aires, Argentina
|
Posted: Wed Jun 25, 2003 5:59 am Post subject: |
|
|
stim wrote: | Code: |
smbmount "\\\MYWINDOWSMACHINE\mp3s" /mnt/mp3s/ -o username=WINDOWS_USER,password=WINDOWS_PASSWORD
|
|
No need for backslash (\) you can use normal slash /
Code: | mount -t smb //windowsbox/share /mnt/win |
|
|
Back to top |
|
|
scone Tux's lil' helper
Joined: 10 Jun 2003 Posts: 78
|
Posted: Wed Jun 25, 2003 9:24 pm Post subject: |
|
|
yeah, ok, i got samba, and it emergedfine
im having difficulties getting it to run
when i do /etc/init.d/samba start, it gives me the [!!] thing, and wont start
im going through the samba diagnosis file, and i get an error that isnt mentionedin the smbclient //BIGSERVER/tmp step
it tells me that "tree connect fail: NT_STATUS_BAD_NETWORK_NAME" and i thought it referred to my samba machine name (scone) which, as i presume, is not a "BAD_NETWORK_NAME"
so anway yeah, what you assumed was right, i basically just wanna be able to share files and play mp3s/movies (perhaps more difficult) from my windows machine... if its tied up
thanks all _________________ peace, love (lots of love), linux (and anime!!!) |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|