Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
08-29-2003, 11:31 PM
|
#1
|
Member
Registered: Jul 2003
Location: Florida
Distribution: Red Hat 7.2/8/9, Fedora Core 1/2/3, Smoothwall, Mandrake 7.0/10, Vecter 4, Arch 0.6, EnGuarde
Posts: 289
Rep:
|
MAP into Linux?
I can TELNET into linux. Say I want to copy a file into it? Say I need to know how to do it, both on Linux and on Windows XP. How would I?
The Linux I need to map into is Linux Redhat 7.3.
The Linux I will be mapping from is Linux Redhat 7.3 & 9.0.
Windows XP Pro is the other OS I need to map from.
Thanks in advance.
|
|
|
08-30-2003, 02:43 PM
|
#2
|
Moderator
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047
Rep:
|
I have no idea what you mean by mapping but I would look at either:
samba and windows file sharing
scp and winscp
|
|
|
08-31-2003, 02:59 AM
|
#3
|
Member
Registered: Jul 2003
Location: Florida
Distribution: Red Hat 7.2/8/9, Fedora Core 1/2/3, Smoothwall, Mandrake 7.0/10, Vecter 4, Arch 0.6, EnGuarde
Posts: 289
Original Poster
Rep:
|
Mount/MAP a Network Drive?
I have a program of which runs on Windows and saves a file there.
I would like to copy this file into Linux, where the server I host will load it up.
Currently, in order for me to get this file there, I must first restart the server in Windows 98, where I can MAP a network drive, then copy the file to a directory.
Then I restart the computer back into linux, where I can TELNET and initialize the server.
Currently, I'm using the nwserver (Neverwinter Nights Dedicated Server for Linux) software.
MAPPING is a DOS/Windows Term. It simply means to mount a Network Drive. (C:\ on Computer 1) = (Z:\ on Computer 2 (//mshome/computer_1/c)
________________________________
David. I heard samba was used for this type of thing. Could you give me a little detail on how I can mount drive C:\ from computer 1 w/ Windows, to /mnt/map_c on computer 2 /w Linux? Also in vis'versa if you know how? Windows 98 or Windows XP will do.
Last edited by dolvmin; 08-31-2003 at 03:11 AM.
|
|
|
08-31-2003, 10:13 AM
|
#4
|
Moderator
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047
Rep:
|
Share the drive on windows then create a mount point and mount the share:
mkdir /mnt/myshare
mount -t smbfs -o username=USERNAME,password=PASSWORD //winbox/myshare /mnt/myshare
If you want the share to be mounted on each boot then you can create an entry in /etc/fstab
If you want to map a linux directory to a windows drive then just create a share in smb.conf and follow your usual mount procedure as if it was another windows machine.
|
|
|
09-01-2003, 03:27 AM
|
#5
|
Member
Registered: Jul 2003
Location: Florida
Distribution: Red Hat 7.2/8/9, Fedora Core 1/2/3, Smoothwall, Mandrake 7.0/10, Vecter 4, Arch 0.6, EnGuarde
Posts: 289
Original Poster
Rep:
|
I can not automatically mount a network drive on Linux because I do not know how to setup an automatic password with fstab.
When I mount the network drive manually, it request a password in order to gain access to my directory on my windows box. It works fine if I enter it.
However, after setting up fstab to auto-mount the network drive, this option is not being asked of me when Linux boots up. It waits for me to simply push enter and when done, it fails because it could not athenticate. I need to have the password automatically enter when it is auto-mounting with fstab.
How do I enter a password option in fstab so I may automatically map a network drive? Man pages were not very helpful...
Computer 1: //Athlon_xp
Shared Directory on Windows: F:\NeverwinterNights\nwn
MAP DIRECTORY: //Athlon_xp/nwn
Computer 2: //Gateway
Shared Directory on Linux: /home/c/NeverwinterNights
MAP DIRECTORY: //Gateway/home/c/NeverwinterNights
Last edited by dolvmin; 09-02-2003 at 04:28 AM.
|
|
|
All times are GMT -5. The time now is 11:58 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|