?
Solved

Permanently/automatically mount smbfs?

Posted on 2003-03-07
3
Medium Priority
?
632 Views
Last Modified: 2008-02-26
Hello all,

We have a samba server here, and right now I can mount it using

mount -t smbfs -o username=<my NT username> //10.xxx.xxx.xxx/ab <local mount dir>

and all is well.

I'd like; however, to get away from all this typing, and have it mount automatically at boot up.

Can this be done, and if so, how?

Thanks!
0
Comment
Question by:edmund_mitchell
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 1

Accepted Solution

by:
splishsplash earned 1000 total points
ID: 8089474
the /etc/fstab file controls all mounts that happen during bootup.

Try adding an entry like this:
//10.xxx.xxx.xxx/ab   <local mount dir>  smbfs  noauto,username=***,password=***  0  0

where the username and password are the *****'s.
0
 
LVL 5

Expert Comment

by:Kocil
ID: 8100499
and don't forget to turn ON your netfs service
0
 
LVL 4

Author Comment

by:edmund_mitchell
ID: 8104117
In case someone searches this out in the archives, I found a link that explains how it can be done, with some nifty details:
http://justlinux.com/nhf/Filesystems/Mounting_smbfs_Shares_Permanently.html
0

Featured Post

Building an interactive eFuture classroom

Watch and learn how ATEN provided a total control system solution including seamless switching matrix switch, HDBaseT extenders, PDU, lighting control to build an interactive eFuture classroom.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Suggested Courses

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question