LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 08-29-2003, 10:31 PM   #1
dolvmin
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: Reputation: 30
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.
 
Old 08-30-2003, 01:43 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
I have no idea what you mean by mapping but I would look at either:
samba and windows file sharing
scp and winscp
 
Old 08-31-2003, 01:59 AM   #3
dolvmin
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: Reputation: 30
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 02:11 AM.
 
Old 08-31-2003, 09:13 AM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
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.
 
Old 09-01-2003, 02:27 AM   #5
dolvmin
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: Reputation: 30
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 03:28 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can map shared linux drive in XP but CANNOT SEE FILES johannlo Linux - Networking 10 11-16-2005 03:42 PM
SYSERR(root): hash map "generics": missing map file /etc/mail/genericstable.db? singying304 Linux - Networking 4 02-28-2005 06:49 AM
Is there a good road map program for linux? pahbi Linux - Software 7 09-15-2004 09:34 PM
How do i map linux on Windows? vicky4u_hyd Linux - Networking 1 08-25-2004 01:29 AM
Linux map network drive across internet Linux6574 Linux - Networking 6 04-12-2004 11:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:43 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration