LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-30-2005, 10:15 PM   #1
mfrangos79
Member
 
Registered: Jun 2005
Posts: 53

Rep: Reputation: 15
Exclamation how to mount a drive from SERVER on PC?


Hi everyone,
After learning about 'copyleft' I decided to switch to Linux both at college and home. As a beginner i have some problems tho!

I tried to find my question answered but it's a bit different ...

From windows I was connecting to my college through VPN and then I could map the drive I needed ..using (tools->map->drive... and adding the address of the server ..like //server.co.gr/username). How do i do this on SUSE?

Please note that I am just trying to map a drive from a server.. which has a name like an Internet address.

Looking forward for your answers! Many many thx

PS : What is the equivalent of Yast in Redhat ???
 
Old 06-30-2005, 11:02 PM   #2
nevarlen
Member
 
Registered: Feb 2005
Distribution: Debian 3.x & Fedora Core 3, Debie on IBM Thinkpad
Posts: 68

Rep: Reputation: 15
Given that you have not given any details on what you are using as your desktop environment, let me make some assumptions..
You have samba installed, if not install it from http://ftp.sernet.de/pub/samba/suse/

In both gnome and kde, if you open a file browser you will see an option like "Connect to Server" from file menu. When you click, you would be able to chose what kind of server you want to connect to. Most likely you are connect to windows server, so chose samba server. New window will open, where you can enter the ip (Here, I am not sure, but try server.co.gr , or find the IP address and enter that), for share name use "username", which is a folder that is designated for you. Also, in this windows you would be able to enter credentials too. Once done, click OK and see if it is mounted (usually onto your desktop) correctly.
If you are connection to linux server, instead of chosing "samba server", select ssh server follow the same procedure above...
If above fails, try mounting in /etc/fstab..
For samba mounts:::
//server.co.gr/username /mnt/studentdrive smbfs credentials=/etc/youcredfile 0 0
For NFS mount (if you are connecting to linux server, I doubt it though)
You may have permission issues, so I do not how to get around it...

I hope this helps you out.
 
Old 07-13-2005, 08:45 PM   #3
mfrangos79
Member
 
Registered: Jun 2005
Posts: 53

Original Poster
Rep: Reputation: 15
Exclamation How to mount nfs drive on linux ..continued

Okk..I am back..

First I realised that my college needs me to connect on VPN first to allow me to connect to servers.. (I have samba)
Therefore I connect on VPN throught 'pptpconfig'

1) I am using KDE and I cannot see anywhere where it says 'Connect to server' or something simillar in any file browser.
so i tried the 2nd way
2)what I don't understand is what do you mean to mount on /etc/fstab...How do I do this??
Also what should I replace 'studentdrive' with ? Do you mean the direction of my files on the server?
If yes ..then what is 'yourcredfile?
And what is credentials??
{//server.co.gr/username /mnt/studentdrive smbfs credentials=/etc/youcredfile 0 0}

sorry but I am new in Linux..

Thanks!

Last edited by mfrangos79; 07-13-2005 at 08:47 PM.
 
Old 07-13-2005, 11:55 PM   #4
JoeUser11
Member
 
Registered: Dec 2004
Location: Austin, TX
Distribution: SuSe9.3
Posts: 143

Rep: Reputation: 15
/etc/fstab is a configuration file. Therefore, to mount something in /etc/fstab you would log in as root, add a certain line to the end of the file, in this case
Code:
//server.co.gr/username /mnt/studentdrive smbfs credentials=/etc/youcredfile 0 0
, then save the file and type "mount /mnt/studentdrive", or restart your computer.

"/mnt/studentdrive" is the place on your system where it will mount, you can make that whatever you want. But be sure to create the directory ( in the commandline type "mkdir /mnt/studentdrive" ) before you try to mount though.
 
Old 07-17-2005, 09:46 PM   #5
mfrangos79
Member
 
Registered: Jun 2005
Posts: 53

Original Poster
Rep: Reputation: 15
ok.... I give up ...
I need VPN ..and then map the drive ..it sounds simple but it is not..
Will probably have to install Windows as well ..just to have access on uni servers....
 
Old 07-20-2005, 09:02 PM   #6
mfrangos79
Member
 
Registered: Jun 2005
Posts: 53

Original Poster
Rep: Reputation: 15
So now i have linux and windows.. What i cannot easily do with one i do it with the other...
thx anyway
 
  


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
sme server cant mount cdrom drive Warmduvet Linux - General 2 07-07-2015 03:30 PM
mount: unknown filesystem type 'ntfs' when trying to mount windows drive... DiZASTiX Linux - Hardware 12 09-28-2008 07:29 PM
Mount usb drive, umount and mount another drive arubin Linux - Hardware 9 01-17-2007 03:46 AM
Mount a windows nt server shared drive yawara Linux - Networking 3 12-19-2002 09:03 PM
HELP! Error from mount: drive is write-protected... won't mount writeable. system Linux - General 2 12-27-2001 09:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:16 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