LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 05-24-2002, 12:03 PM   #1
TennesseeJeff
LQ Newbie
 
Registered: May 2002
Location: Tennessee
Distribution: Mandrake, Slackware, Red Hat
Posts: 3

Rep: Reputation: 0
Question Mounting windows network shares at boot


Am trying to mount shared directories at boot time. The goal is to mount these directories with rw access for users just like they are mapped under win98se on same box. I can mount them after boot with the following line:

mount -t smbfs //speedy1/tunes /mnt/speedy1/Tunes

from root with no problem, (with complete rw access) then log into my user account and access these direcories (alas with ro access).

//speedy1/tunes /mnt/speedy1/Tunes smbfs defaults 0 0

in fstab doesn't work. I get a "need config line" error. Any help would be appreciated.

Thanks

TNJ
 
Old 05-24-2002, 12:58 PM   #2
sewer_monkey
Member
 
Registered: May 2002
Location: Toronto, ON, Canada
Distribution: Ubuntu, Debian, RedHat/CentOS
Posts: 624

Rep: Reputation: 31
Try

//speedy1/tunes /mnt/speedy1/Tunes smbfs auto,_netdev,user 0 0

auto = mount automatically at boot time
_netdev = requires networking to be running
user = allow any user to mount (up to you)

Also read "man fstab" for more options.
 
  


Reply



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 and viewing network shares GraemeK Linux - Networking 4 01-27-2004 03:23 AM
Mounting windows shares... mattbeekler Linux - Software 2 11-24-2003 01:35 PM
Mounting Windows Shares ilumin8d Linux - Networking 4 07-15-2003 02:36 AM
Mounting Windows Shares Thermos Linux - Networking 3 07-09-2003 01:34 PM
mounting windows shares Moebius Linux - Newbie 12 12-19-2002 08:58 PM

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

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