mount network drive

Is it possible to mount a network drive?

I have two windows 98 machines and one linux machine. I would like to mount the hard drive from one of the windows machine while I'm in linux. Is this possible?
LVL 1
jfleminAsked:
Who is Participating?
 
The--CaptainConnect With a Mentor Commented:
The easiest way to do this is probably to use the 'smbmount' command, which is part of the samba package.  All you should have to do is share your drives under windows (assuming you have TCP/IP installed), and then use smbmount to mount them under linux.  Try 'man smbmount' to get started once you've installed samba (if it isn't already), and if you need further assistance, just ask.

-Jon
0
 
NormalCommented:
you should also try Network File Systems a.k.a. NFS
or samba.. They both work well
0
 
The--CaptainCommented:
If you go w/ samba (the best and easiest solution), I would hope you would reject the above "answer" and accept mine instead, since the above advice duplicates my own in that area, but is much less specific.

Normal - please honor site policy and post your suggestions as comments, and do not duplicate the advice of others.

-Jon




0
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
jfleminAuthor Commented:
I used samba and it worked well. The--Captain beat you to the answer ... sorry.
0
 
jfleminAuthor Commented:
I don't remeber submitting this questions twice, but I do see it as a duplicate. Hmmmm?

Is smbmount a new or old thing? I have rh 6.2, and I tried the smbmount, but it gave me a syntax error saying to use mount with a different option (below). I can't remember the exact syntax, but it was something like:

mount -t smb \\mymachine\myshare /mnt/win98

Then smbmount did get me on the right track. Thanks!
0
 
The--CaptainCommented:
Here's how I do it:

smbmount //captainpc/c /mnt/30gig

Note the forward (rather than reverse) slashes...

-Jon

0
 
The--CaptainCommented:
Most stock redhat kernels will do this out-of-the-box - if you still have problems, you may have to recompile your kernel to enable the smb filesystem in the networking section of the kernel config.

-Jon

0
 
The--CaptainCommented:
Oops - that should say "the network filesystem section of the kernel config"

-Jon

0
All Courses

From novice to tech pro — start learning today.