LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-01-2009, 08:21 PM   #1
koppes
LQ Newbie
 
Registered: Nov 2009
Location: Eau Claire, Wisconsin
Posts: 8

Rep: Reputation: 0
Mapping to Network Drives and shared server space


Something that is a cinch on Windows is making me grit my teeth on Linux... mapping to a network drive. I've seen a hundred different recipes and I don't know which ones are right or wrong, but I've tried them all to no avail.

Here is my server information.


Here is a recipe that I have been trying to follow.


Could someone explain to me what exactly is what and what goes where?



I just installed the latest release of Ubuntu today, and I haven't used much linux before. Are there better versions of linux? Can anyone tout Suse Linux for me? Are there advantages to using linux (besides being free and open-source)? A German friend of mine is trying to convince me to switch to linux, which is apparently the thing to do for university science students in Germany.
 
Old 11-02-2009, 07:09 AM   #2
cormack
Member
 
Registered: Oct 2005
Location: Scotland, UK
Distribution: Kubuntu 9.10, ubuntu 8.04.2 server
Posts: 156

Rep: Reputation: 30
I have never tried to do it with campus servers, only with my own server at home and it didnt have different usernames, just a single share, and i used smbmount. And i was going to suggest this, but it looks like your guide says this already, so what is going wrong with the guide? any errors?
 
Old 11-02-2009, 08:37 AM   #3
koppes
LQ Newbie
 
Registered: Nov 2009
Location: Eau Claire, Wisconsin
Posts: 8

Original Poster
Rep: Reputation: 0
Well, I don't know what the "lingo" means or where I should put my information.
 
Old 11-02-2009, 09:17 AM   #4
wfh
Member
 
Registered: Sep 2009
Location: Northern California
Distribution: Ubuntu Debian CentOS RHEL Suse
Posts: 164

Rep: Reputation: 44
Quote:
Originally Posted by koppes View Post
Something that is a cinch on Windows is making me grit my teeth on Linux... mapping to a network drive. I've seen a hundred different recipes and I don't know which ones are right or wrong, but I've tried them all to no avail.
Keep it simple. If you know the longname of the Windoze host and the name of the "share", then fill in as many of these as you know:

Places > Connect to server > Windows Share
+Windoze server name (IP might be okay)
+Share name (like "cass1")
+Folder (like "deptdir")
+Login user name (your user name?)
+Windoze Domain Name (Do you know the domain name?)

Then check the "Add Bookmark" box and give your connection a name, so that you don't lose your settings.

Click "Connect"

Quote:
Are there better versions of linux?
We don't start "religious" discussions around here ;-)

Quote:
Are there advantages to using linux (besides being free and open-source)?
Reliability, security, peace of mind. You are never going back to Windoze once you feel comfortable with a Linux desktop. It doesn't matter so much which variant you select. You get the advantages of Linux with any major distribution. I think that much of the discussion you will hear will tout the personal favorite distro of the poster. I started with RedHat, switched to Debian, used Suse, and now I'm running several Ubuntu boxes just because they are easily configured. Nothing is sacred :-)

Last edited by wfh; 11-02-2009 at 09:25 AM.
 
Old 11-02-2009, 06:16 PM   #5
koppes
LQ Newbie
 
Registered: Nov 2009
Location: Eau Claire, Wisconsin
Posts: 8

Original Poster
Rep: Reputation: 0
what do I type? I've never done this before. I don't see the advantage of a command line compared to a program.

I type in "smbmount" in the command line and it gives me a list of options and the form of the prompt:

"Usage: /sbin/mount.cifs <remotetarget> <dir> -o <options>"



Why is there "/sbin/mount.cifs" in front when the link from before only begins with "smbmount"?

The link from above says "/path/to/mount" as well. Do I type exactly this in or is this different?

Gah! Maybe I'll just ask the retards who work at the help desk. I don't know what the "directory" should be or the "remote target" and I can't find a generic example.



Also, I don't know why, but my wireless internet connection keeps turning off and on even though the signal is strong.
 
Old 11-02-2009, 06:51 PM   #6
cormack
Member
 
Registered: Oct 2005
Location: Scotland, UK
Distribution: Kubuntu 9.10, ubuntu 8.04.2 server
Posts: 156

Rep: Reputation: 30
Right here goes,

smbmount //sgs1/username$ /where/you/want (a folder that you want the files to appear in) -o username=(put in your username), workgroup=(put in the workgroup that your campus share is on), uid=(you campus username), ip=(the network address of the server, its hostname may work im not sure)

Then hopefully it should ask you for your network password. I hope this works, i just followed the guide you posted earlier. If your IT helpdesk can so this for you, i would go there first. They will probably know how to do the specifics for your network.


Using the command line is so much more powerful than using a GUI, once you know what exactly you are doing, the command line can be so much fast. It may just take some time before you get used to using it for specific things. I would be very surprised though if there was not a front end somewhere for mapping network drives. It seems like a reasonable and common enough problem that someone would have written something.

Let us know how you get on, or what the IT staff do to get it working, so we or you can tell others with the same issue.

Thanks

Ryan

EDIT:i changed the \\ to // in the server. i got mixed up, smbfs needs // in the share name i beleive

Last edited by cormack; 11-02-2009 at 06:55 PM. Reason: code mistake
 
Old 11-03-2009, 09:37 AM   #7
wfh
Member
 
Registered: Sep 2009
Location: Northern California
Distribution: Ubuntu Debian CentOS RHEL Suse
Posts: 164

Rep: Reputation: 44
Quote:
Originally Posted by cormack View Post
I would be very surprised though if there was not a front end somewhere for mapping network drives. It seems like a reasonable and common enough problem that someone would have written something.
Ryan is correct in saying that the smbmount command is very efficient.


Ryan, I'm using Ubuntu with gnome; peek at this:

Code:
nautilus-connect-server(1)                          nautilus-connect-server(1)

NAME
       Nautilus Connect Server - To Access a remote server

SYNOPSIS
       nautilus-connect-server [options] [URI]

DESCRIPTION
       This manual page documents briefly the nautilus-connect-server command.

       Nautilus Connect Server is the connection manager for the  GNOME  desk‐
       top.

       You  can  use  the file manager to access a remote server, be it an FTP
       site, a Windows share, a WebDav server or an SSH server.
...which puts your mount in $home/.gvfs path.

Cheers!

Last edited by wfh; 11-03-2009 at 09:39 AM.
 
Old 11-03-2009, 02:46 PM   #8
cormack
Member
 
Registered: Oct 2005
Location: Scotland, UK
Distribution: Kubuntu 9.10, ubuntu 8.04.2 server
Posts: 156

Rep: Reputation: 30
OP, there you go, hopefully that can make things a bit easier for you ^^ WFH's post should make things clearer for you, at least easier. And as far as im aware, Ubuntu comes with nautilus as its default file manager, and im sure you could point it to mount where ever you wanted . shame its nautilus only, konqueror FTW. kidding... :P shouldn't play with matches and an open light. But again im sure there is a kde specific help programme, or just a generic app for it.

Hope you manage to connect to your campus files! Or i guess to be really old-skool you could just use a usb pen drive, or i email all my files to myself on gmail, a bit less convienient but they are then with me everywhere

Ryan
 
  


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
Mapping drives Holyninja Linux - Newbie 4 04-08-2008 10:37 PM
Mapping Network Drives in Suse 10.1 Robeasts Linux - Newbie 3 09-07-2006 01:31 PM
mapping network drives foliva SUSE / openSUSE 2 09-20-2005 02:02 PM
mapping windows network drives on a linux host kopite2012 Linux - Newbie 2 04-30-2004 10:00 AM
Mapping a network drive from Windows 2k to an ftp, Apache/1.3.27 Server DumbWindow$User General 5 04-08-2004 12:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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