LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 04-25-2007, 05:17 PM   #1
linzz
LQ Newbie
 
Registered: Feb 2006
Location: England -- Newcastle
Distribution: FC6
Posts: 20

Rep: Reputation: 0
How To Automount Localnetwork Share Files?


hello everyone.
i'm new in ubuntu, please help me to solve this problem.
here is my auto.master file below
#
# $Id: auto.master,v 1.4 2005/01/04 14:36:54 raven Exp $
#
# Sample auto.master file
# This is an automounter map and it has the following format
# key [ -mount-options-separated-by-comma ] location
# For details of the format look at autofs(5).
#/smb /etc/auto.smb
#/misc /etc/auto.misc
#/net /etc/auto.net
/misc /etc/auto.misc --timeout=60

and this one is auto.misc file

# $Id: auto.misc,v 1.2 2003/09/29 08:22:35 raven Exp $
#
# This is an automounter map and it has the following format
# key [ -mount-options-separated-by-comma ] location
# Details may be found in the autofs(5) manpage

cd -fstype=iso9660,ro,nosuid,nodev :/dev/cdrom
share01 -fstype=cifs,username=liyi%19851108 ://192.168.0.1/share1
share02 -fstype=cifs,username=liyi%19851108 ://192.168.0.1/share2

# the following entries are samples to pique your imagination
#linux -ro,soft,intr ftp.example.org:/pub/linux
#boot -fstype=ext2 :/dev/hda1
#floppy -fstype=auto :/dev/fd0
#floppy -fstype=ext2 :/dev/fd0
#e2floppy -fstype=ext2 :/dev/fd0
#jaz -fstype=ext2 :/dev/sdc1
#removable -fstype=ext2 :/dev/hdd


but when i type command $ sudo ls /misc/share01

system shows a error message NO SUCH FILES OR DIRECTORY
i've tried to use cifs and smbfs both in auto.misc file,,but it still doesn't work.


is there anyone know what's wrong with it, and how to automount windows localnetwork share in the right way?,,,thanks very much!

Last edited by linzz; 04-25-2007 at 05:44 PM.
 
Old 04-25-2007, 06:30 PM   #2
linzz
LQ Newbie
 
Registered: Feb 2006
Location: England -- Newcastle
Distribution: FC6
Posts: 20

Original Poster
Rep: Reputation: 0
come on guys
give me a hand please!! i'm online waiting for your answer!
many thanks
 
  


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
how to share files? vinnywrite Linux - Networking 11 01-31-2007 08:13 PM
not able to automount files in nfs at startup time kool124 Linux - Networking 4 10-03-2005 11:04 AM
Automount network smb share with fstab phatboyz Linux - Networking 2 11-03-2004 12:05 PM
want to share files airmikeyy Linux - Networking 1 04-14-2004 11:15 PM
share files? Longinus Linux - Newbie 2 03-20-2004 12:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

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