Click to See Complete Forum and Search --> : Mapping Network Drive to RH8.0
ixthus
01-27-2003, 10:02 PM
Ok what am I missing :confused:
The first hurdle is terminology. In the winblows world I would want to map a network drive to a particular machine.
No problem, I have my RH8.0 users folder mapped to my XP machine.
I can transfer files between the RH8.0 box and the XP boxes till the cows come home.
Now, how do I map [mount?] a drive on my XP box to a logical drive on my RH8.0 box?
Bokkenka
01-27-2003, 10:45 PM
The easiest way would be to install LinNeighborhood. It allows you to browse a Windows network, and to mount shares.
If you use KDE, then you can set-up LISA to browse a Windows network. Check in Control Center.
If you want to do in manually, you need to use smbclient and mount.
Use smbclient to find out what shares are available...
smbclient -L computer_name
Replace the computer_name with the actual computer name, if you have /etc/hosts set up, or the IP address. It will ask Windows user password. We'll just use "xp" for now.
This will list the shares that are available on "xp". You will be looking especially at the "Sharename" column. We'll pretend you have a folder full of your MP3s you want to share as "mp3".
You need a mount-point to mount. You can either use one in your home directory, or one in /mnt/ . You 'll need to be root to make a new dir in /mnt/ . You'll also need to be root to mount, the first time anyway. Later, you can add a line to your /etc/fstab to allow users to mount the share. We'll say you created a "music" in /mnt/ . If it's in a home, then only that user and root can get to it. If it's in /mnt/ , any user can get to it.
As root, run...
mount -t smb //xp/mp3 /mnt/music
It's mount -t type //computer(or IP)/share /mountpoint.
Now you can ls /mnt/music to see everything in there.
To unmount it, make sure you don't have anything using anything in the share, and as root, run...
umount /mnt/music
Note, it's umount, not uNmount.
ixthus
01-27-2003, 11:06 PM
Originally posted by Bokkenka
The easiest way would be to install LinNeighborhood.If you want to do in manually, you need to use smbclient and mount.
Use smbclient to find out what shares are available...
smbclient -L computer_name
As root, run...
mount -t smb //xp/mp3 /mnt/music
It's mount -t type //computer(or IP)/share /mountpoint.
Now you can ls /mnt/music to see everything in there.
To unmount it, make sure you don't have anything using anything in the share, and as root, run...
umount /mnt/music
Note, it's umount, not uNmount.
Great Info Bokkenka - thanks!
ixthus
01-28-2003, 11:51 PM
this great, thanks Bokkenka that was all that i needed.
only problem now, the system admin's at work are blocking ftp :(. i still can't listen to my mp3's. guess i'll have to go back to shoutcast and start broadcasting again.:D