LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Mapping to Network Drives and shared server space (https://www.linuxquestions.org/questions/linux-networking-3/mapping-to-network-drives-and-shared-server-space-766096/)

koppes 11-01-2009 08:21 PM

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.

cormack 11-02-2009 07:09 AM

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?

koppes 11-02-2009 08:37 AM

Well, I don't know what the "lingo" means or where I should put my information.

wfh 11-02-2009 09:17 AM

Quote:

Originally Posted by koppes (Post 3740680)
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 :-)

koppes 11-02-2009 06:16 PM

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.

cormack 11-02-2009 06:51 PM

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

wfh 11-03-2009 09:37 AM

Quote:

Originally Posted by cormack (Post 3741963)
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!

cormack 11-03-2009 02:46 PM

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 :D. 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


All times are GMT -5. The time now is 10:25 PM.