LinuxQuestions.org
Help answer threads with 0 replies.
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 04-13-2010, 02:30 PM   #1
lexington2
LQ Newbie
 
Registered: Apr 2010
Posts: 2

Rep: Reputation: 0
mounting samba shares?


A Google search suggests that I can modify /etc/fstab to permanently mount an SMB share but I don't want to permanently mount one. I just want to mount it this once while I'm on this network. When I go home I don't want my laptop trying to automount some non-existant SMB share.

Any ideas?

In Windows, what you'd do is this:

net use z: \\computername\path\to\directory
 
Old 04-13-2010, 02:31 PM   #2
devnull10
Member
 
Registered: Jan 2010
Location: Lancashire
Distribution: Slackware Stable
Posts: 547

Rep: Reputation: 115Reputation: 115
Code:
man mount
 
Old 04-13-2010, 02:40 PM   #3
switch10
LQ Newbie
 
Registered: Dec 2009
Location: Mammoth Lakes California/ currently in Austin Texas for a year
Distribution: slackware, ubuntu, ubuntu studio
Posts: 8

Rep: Reputation: 1
If you want to mount it manually, you can do this:
Code:
mount //192.168.1.100/your/share /media/dir/on/local/machine
replace the IP with the IP of the machine you want to connect to, followed by the dir you want access to on the remote machine. then mount it somewhere in /media on the local machine.

it is way easier to just add it to /etc/fstab. it is automatically mounted while you are on that network. If it fails to mount, It wont cause you any problems.
 
Old 04-13-2010, 04:13 PM   #4
netman4ttm
Member
 
Registered: Aug 2007
Distribution: FreeBSD 8.0 xubuntu
Posts: 49

Rep: Reputation: 16
mount_smbfs -I 192.168.1.100 -W your domain or workgroup //your login@server/share /mount point on your pc

This always seems to work
 
  


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
mounting samba shares wheaties_box Linux - Software 1 01-23-2007 01:21 AM
mounting shares with samba darkleaf Linux - Software 1 02-13-2005 07:13 AM
Mounting Samba Shares (Newbie) disinformation Mandriva 3 09-20-2003 09:01 AM
Mounting Samba shares and Samba Share Login time112852 Linux - Software 1 09-14-2003 03:23 PM
Mounting windows shares...using samba tarballed Linux - Software 7 07-01-2003 06:11 PM


All times are GMT -5. The time now is 10:33 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration