![]() So 3 days later I can print on my networked Dell 2150cdn (cups and Dell drivers not part of base Ubuntu), share folders with my VM and my Windows 7 Workgroup (sharing, Samba, cifs not part of VirtualBox or Ubuntu base), copy/paste from host to VM (not part of VirtualBox Base), and use the internet (part of the VirtualBox/Ubuntu base, but is easily broken). But I can at least get to my shares by “Browse Network”. won’t allow a click from Nautilus because of permissions. Now all works, except the “mount-a” from your paragraph 4. If this were a production environment, I would be fired for this incoherence.Īnyway go to the VirtualBox Manager, select your VM, click settings (2nd line from top of Manager Panel, and change the active network adapter from “internal network” to “bridged adapter”. I’m doing this for a couple of on-line courses, for the programming test bed. Of course, now that sharing works, Firefox access to the net does not. You have to go to the VirtualBox Manager, click File (upper left)>preferences>Network>Host-only Network, click on the adapter and then the edit brush on the right of that panel. I eventually found the setting page for the host-only ethernet. Annoyingly, before I figured that out, some pings would work, the Ubuntu VM would show up on the Win7 Network folder, and vice-versa, and ping would resolve the names, but fail. For some reason it gave my VM’s a fixed IP address at 192.168.56.x, where the rest of my LAN was DHCP from my router at a different subnet. The root problem in my case, though was with the VirtualBox VM. “credentials/home/handbook/.smbcredentials”. with the “REPLACE WORDS IN RED” left out a word to replace. This article, and your article “Ubuntu 14.04 LTS: File Sharing With Samba” are very helpful. 192.168.1.5/share /media/ Ji-share cifs credentials=/home/ handbook/.smbcredentials,iocharset=utf8,gid= 1000,uid= 1000,file_mode=0777,dir_mode=0777 0 0įinally run sudo mount -a in terminal and you’ll get the network share mapped in Unity Launcher and Nautilus file browser: Now edit the fstab by running the command: sudo gedit /etc/fstabĪdd below line (one line) to the end and save it. Replace “Ji” & “741852963” with yours and save the file.ģ. Insert the username and password for accessing the remote share. Create a credentials file via: gedit ~/.smbcredentials If you need to restore your backup, run: sudo mv /etc/fstab_old /etc/fstabĢ. Make a backup by running the command below: sudo cp /etc/fstab /etc/fstab_old Now edit the fstab file to mount network share on start up.ġ. sudo apt-get install libnss-winbind winbind Run below command so that your Ubuntu can resolve Windows computer name on a DHCP network. Install it from Ubuntu Software Center, or via below command: sudo apt-get install cifs-utilsģ. Install cifs-utils, which provides support for cross-platform file sharing with Microsoft Windows, OS X and other Unix systems. Paste the command below and run to create a mount point, you can replace ‘Ji-share’ to what you want. Press Ctrl+Alt+T on keyboard to open the terminal. There are a few preliminary actions we need to do before we can start mounting using cifs.ġ. There will be a few pictures to make things more clear. Not familiar with Linux command? Don’t be afraid, just paste the command into terminal and hit enter to run one by one. ![]() Also include hints and tips for less technical readers.This simple tutorial shows you how to map a network drive, Windows share as example, onto Ubuntu 14.04 LTS with read and write permission permanently.Īll things will be done in a terminal window. We welcome posts that include suggestions for good self-hosted alternatives to popular online services, how they are better, or how they give back control of your data. Service: Blogger - Alternative: WordPress Service: Google Reader - Alternative: Tiny Tiny RSS Service: Dropbox - Alternative: Nextcloud While you're here, please Read This FirstĪ place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.
0 Comments
Leave a Reply. |