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 |
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.
|
![Reply](https://www.linuxquestions.org/questions/images/buttons/reply.gif) |
|
06-13-2006, 02:59 PM
|
#1
|
Member
Registered: Jun 2006
Posts: 39
Rep:
|
"Mounting" a network drive
I just installed my first distro of linux (Suse 10.1) And am getting adjusted fairly well. I am finding in ALOT more responsive than windows. However Im am at a loss on how to do a few things. Mainly, mapping a network drive. Im not quite sure what its called in linux.
At work we have a wireless connection as well as a standard ethernet connection. I normally dont actully join the domain or a workgroup, I just plug in or attack tot the wireless for internet access and access to my folders on the server. The way I did this under windows was to simply use the "Map Network drive" option and type in the IP followed by the folder name. Example. //192.168.1.222/Storage Folder. And BAM! Instantly mapped folder.
Is there anyway to do something like this in linux without alot of hassele?
Thanks all.
|
|
|
06-13-2006, 03:59 PM
|
#2
|
Member
Registered: Oct 2005
Location: Bhopal, India
Distribution: RHEL 6
Posts: 422
Rep:
|
Yes, it is also very simple in linux too. Just try this command
Code:
mount //192.168.1.222/win_share -t smbfs /mnt/folder_on_linux -o "username=winuser,password=winsharepassword"
But, for this command to work, you must have
1) Same class of ipaddress/subnet on both machines
2) smbfs installed
3) Same workgroup (recommended)
|
|
|
06-13-2006, 04:02 PM
|
#3
|
Member
Registered: Jun 2006
Posts: 39
Original Poster
Rep:
|
Quote:
Originally Posted by manishsingh4u
Yes, it is also very simple in linux too. Just try this command
Code:
mount //192.168.1.222/win_share -t smbfs /mnt/folder_on_linux -o "username=winuser,password=winsharepassword"
But, for this command to work, you must have
1) Same class of ipaddress/subnet on both machines
2) smbfs installed
3) Same workgroup (recommended)
|
Sorry. I am VERY new to this whole thing. What is smbfs?
|
|
|
06-13-2006, 04:12 PM
|
#4
|
Member
Registered: Oct 2005
Location: Bhopal, India
Distribution: RHEL 6
Posts: 422
Rep:
|
Okay. just open konsole and type the command I told and tell me what u see there
Last edited by manishsingh4u; 06-13-2006 at 04:14 PM.
|
|
|
06-13-2006, 04:19 PM
|
#5
|
Member
Registered: Jun 2006
Posts: 39
Original Poster
Rep:
|
Quote:
Originally Posted by manishsingh4u
Okay. just open konsole and type the command I told and tell me what u see there
|
It just says "only root can do that"
I went pasted the command line into notes and then went through and edited it with the information that should be there as opposed to the generic information
Last edited by Rollotamasi; 06-13-2006 at 04:24 PM.
|
|
|
06-13-2006, 04:25 PM
|
#6
|
Member
Registered: Oct 2005
Location: Bhopal, India
Distribution: RHEL 6
Posts: 422
Rep:
|
Okay, if u have a root password, then type
and enter the root password.
Make any directory in your /mnt/ directory (or anywhere else except /root/)
Then try the same mount command.
|
|
|
06-13-2006, 04:33 PM
|
#7
|
Member
Registered: Jun 2006
Posts: 39
Original Poster
Rep:
|
Quote:
Originally Posted by manishsingh4u
Okay, if u have a root password, then type
and enter the root password.
Make any directory in your /mnt/ directory (or anywhere else except /root/)
Then try the same mount command.
|
5058: tree connect failed: ERRDOS - ERRnosuchshare (You specified an invalid share name)
SMB connection failed
But im pretty sure thats the name of the share. I am mapping it exactly like this
mount //192.168.1.238/CENTRAL STORAGE -t smbfs /mnt/windows -o username=*******,password=********
|
|
|
06-13-2006, 04:38 PM
|
#8
|
Member
Registered: Oct 2005
Location: Bhopal, India
Distribution: RHEL 6
Posts: 422
Rep:
|
Quote:
mount //192.168.1.238/CENTRAL STORAGE -t smbfs /mnt/windows -o username=*******,password=********
|
yes, the space in the share name must be creating the problem. Try putting "//192.168.1.238/CENTRAL STORAGE "
The double quotes should work, but I haven't tried it though.
|
|
|
06-13-2006, 04:38 PM
|
#9
|
Senior Member
Registered: Jun 2004
Distribution: Arch, Debian, Slack
Posts: 1,016
Rep:
|
you may need to put the share in single (or double?) quotes since it has a space (or else change share name to not having one). i think the command is probably reading it only as CENTRAL.
|
|
|
06-13-2006, 04:40 PM
|
#10
|
Member
Registered: Jun 2006
Posts: 39
Original Poster
Rep:
|
Quote:
Originally Posted by manishsingh4u
yes, the space in the share name must be creating the problem. Try putting "//192.168.1.238/CENTRAL STORAGE"
The double quotes should work, but I haven't tried it though.
|
Double quotes? Im sorry, I dont see what you mean.
|
|
|
06-13-2006, 04:42 PM
|
#11
|
Member
Registered: Jun 2006
Posts: 39
Original Poster
Rep:
|
Quote:
Originally Posted by Rollotamasi
Double quotes? Im sorry, I dont see what you mean.
|
Ok, I made a guess and just put quotation marks around "central Storage" It didnt error out but I dont think it did anything.
Last edited by Rollotamasi; 06-13-2006 at 04:43 PM.
|
|
|
06-13-2006, 04:47 PM
|
#12
|
Member
Registered: Oct 2005
Location: Bhopal, India
Distribution: RHEL 6
Posts: 422
Rep:
|
Okay, then perhaps it's done
just do
And you must see the shared files from the other PC.
now u can access these files by going to that directory
|
|
|
06-13-2006, 04:51 PM
|
#13
|
Member
Registered: Jun 2006
Posts: 39
Original Poster
Rep:
|
Quote:
Originally Posted by manishsingh4u
Okay, then perhaps it's done
just do
And you must see the shared files from the other PC.
now u can access these files by going to that directory
|
Ok cool. I can see it with the text command, however how do I find it with a file browser?
|
|
|
06-13-2006, 04:53 PM
|
#14
|
Senior Member
Registered: Jun 2004
Distribution: Arch, Debian, Slack
Posts: 1,016
Rep:
|
Quote:
Originally Posted by Rollotamasi
Ok cool. I can see it with the text command, however how do I find it with a file browser?
|
1. open file browser
2. browse
![Big Grin](https://www.linuxquestions.org/questions/images/smilies/biggrin.gif)
|
|
|
06-13-2006, 04:54 PM
|
#15
|
Member
Registered: Oct 2005
Location: Bhopal, India
Distribution: RHEL 6
Posts: 422
Rep:
|
I guess, you must be using Konqueror. So just click "Run" (Run Command) from the KMenu (Similar to Start button in windows) and type /mnt/windows.
And there you go.
Note - In most KDEs you can also see the "Run" option by right clicking anywhere on the Desktop.
|
|
|
All times are GMT -5. The time now is 12:46 PM.
|
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
|
|