Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
i am running linux red hat 8.0. i am trying to map a network drive from my linux box to a microsoft windows 2000 file server. does anybody know how i can do this? i am fairly new to linux so any help would be great. thanks
Sorry? Is there something on your Linux machine that you want to share with your Windows machine? If so, then you will need to take a look at something called SAMBA. It should come as a default part of your RedHat 8.0 setup.
If, however, you are trying to access something on the Windows machine, then you do not 'map a network drive' - Windows uses drives, Linux does not - you mount the share. Again, reading a little on Samba will help you enormously here.
I have Samba setup. I am able to see my Linux box from the windows end of things. Now I am trying to mount a drive on my linux box. I am trying to mount a W2K server. So I typed the command mount -t smbfs //servername/share /dev/hda1. It prompts me for a password and then says "cannot mount on /dev/hda1: Not a directory smbnt failed 1
What? //servername/share is the Win2k end of things. If your Windows machine is called BOB and the share is called MUSIC, then you'd have //BOB/MUSIC. The /mnt/mountpoint is where you want to access the files. I would have it as /mnt/bob/music... so that you know which computer and which share it is. Thus, you would have:
mount -t smbfs //BOB/MUSIC /mnt/bob/music
You would never use /dev/hda1 as your mount point! That is the 1st partition on your 1st harddrive on your local machine... ie your Linux machine!
Note: you would need to create (as root) the directory /mnt/bob and the subdirectory /mnt/bob/music before you tried to mount the share else you would get the same error.
Err... JMarsh, you would use -t nfs when you are trying to access 'shares' from a Linux machine to a Linux machine. If you are using Windows in any way, you need to use -t smbfs
If you want to use nfs to share stuff between *nix machines, then you need to read up on that instead. You would need [b]mount -t nfs x.x.x.x:/dirname /mnt/mountpoint[/i] in this case, where x.x.x.x is the ip address of the machine (you can use hostnames too), and /dirname is the directory on the host machine, and /mnt/mountpoint is where you want to access them from on your local machine.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.