Solved

mount network drive

Posted on 2001-07-18
8
454 Views
Last Modified: 2010-05-18
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?
0
Comment
Question by:jflemin
  • 5
  • 2
8 Comments
 
LVL 16

Accepted Solution

by:
The--Captain earned 50 total points
ID: 6297043
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
 

Expert Comment

by:Normal
ID: 6297164
you should also try Network File Systems a.k.a. NFS
or samba.. They both work well
0
 
LVL 16

Expert Comment

by:The--Captain
ID: 6297209
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
 
LVL 1

Author Comment

by:jflemin
ID: 6302174
I used samba and it worked well. The--Captain beat you to the answer ... sorry.
0
Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

 
LVL 1

Author Comment

by:jflemin
ID: 6302184
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
 
LVL 16

Expert Comment

by:The--Captain
ID: 6303486
Here's how I do it:

smbmount //captainpc/c /mnt/30gig

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

-Jon

0
 
LVL 16

Expert Comment

by:The--Captain
ID: 6303528
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
 
LVL 16

Expert Comment

by:The--Captain
ID: 6303532
Oops - that should say "the network filesystem section of the kernel config"

-Jon

0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now