Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

The Unofficial Ubuntu Starter Guide
Prev Home Next

Q: How to mount network folders on boot-up, and allow all users to read/write?

  1. Read General Notes
  2. Read How to install Samba Server for files/folders sharing service?
  3. e.g. Assumed that network connections have been configured properly
         Network computer's IP: 192.168.0.1
         Network computer's Username: myusername
         Network computer's Password: mypassword
         Shared folder's name: linux
         Local mount folder: /media/sharename
  4. sudo mkdir /media/sharename
    sudo gedit /root/.smbcredentials
  5. Insert the following lines into the new file
    username=myusername
    password=mypassword
  6. Save the edited file (sample)
  7. sudo chmod 700 /root/.smbcredentials
    sudo cp /etc/fstab /etc/fstab_backup
    sudo gedit /etc/fstab
  8. Append the following line at the end of file
    //192.168.0.1/linux        /media/sharename  smbfs   credentials=/root/.smbcredentials,dmask=777,fmask=777   0       0
  9. Save the edited file (sample)
  10. Read How to remount /etc/fstab without rebooting?


Remote Desktop


The Unofficial Ubuntu Starter Guide
Prev Home Next

 
 
  Published under the terms of the GNU General Public License Design by Interspire