Networking Overhaul...please!

I don’t do any file sharing so I’m afraid I won’t be of much further help to you, I was hoping that what I had posted would help!. :confused:

Start here if @alpinejohn’s links don’t help you further!:

https://help.ubuntu.com/12.04/serverguide/windows-networking.html

Thank You All,
I shall invest some time over the coming weekend to try to figure this out, being as you can share files between Linux machines with Samba, I’m sure it can be done, seems as though others have. I could, as I said, use Kodi but it’s Wi-Fi drop outs make it annoying, if I could fix that part it would be dandy. Would anyone know; when I dbl click a network share via Kodi it mounts an icon on desktop, is that stoppable?

@smartnoise Possibly my experience with a NAS might help. There are 3 different computers that connect to my NAS, 2 of the 3 are dual boot Linux and Windows 7, the 3rd is a MAC Book Pro. In each case I only had to browse the network to discover the NAS, log into it, set a book mark in the browser. Now the entire NAS is available to all 5 OSes. I don’t remember exactly which protocol is being used on Win 7 or MAC OSX, but I know SMB is being used on Linux.

Maybe because the NAS is ‘always on’ made the process seamless - now it just works. Yes there’s a slight delay when accessing using WIFI but a simple retry always gets connected.

Regards,
Pete

My NAS is not a standalone server but a WIN 7 machine with everything on a secondary drive, not sure if that makes a difference here?

1 Like

My 3TB NAS has an always attached USB3 4TB drive that provides:

 1) backup for the NAS 
 2) extra storage for any one of the 5 OSes 

I am able to browse both the NAS and the 4TB drive when using Ububtu Mate 16 or Ubuntu 14.04.4 LTS.

Possibly the ease this happens for me has prevented some extra learning.

smartnoise,

Would highly suggest you set up your NAS using freenas 9.1. Free for download at Distrowatch. It is a learning curve getting the volume, storage, data set and sharing ‘stuff’ setup but then it’s almost ‘idiot’ proof. I started as a complete ‘newbie’ with NAS and finally got the system up and running. NAS sets up storage based on the number of drives connected in the NAS and uses the zetabyte file system which is data friendly. My freenas is set up with two drives, mirroring, and contains music, pictures, downloads and other ‘stuff’. The network sees my Linux boxes(2) and a windows laptop(wife’s). My boxes are hard wired and hers is wireless. As I said, some learning curve but the ‘how to’ tutorials available on the freenas web site and youtube vids were a great help. Good luck and do not give up. It took me over three installs to get ‘things’ right.

marvinudy

In the Software Boutique the is a Servers category, in there you will find Caja Share. It will enable you to share folders from Ubuntu MATE by right clicking on folder in Caja in much the same way you can on Windows.

For connecting to Windows Servers, the required “stuff” is already in Ubuntu MATE. Just use Place -> Connect to Server and change the type to Windows Share.

2 Likes

Can you make permanent folders on Mate from Win network connections, much the same as in Win? Would that be a Samba deal…

Have a great day… unless you’ve made other plans !

I also prefer the NAS type approach to sharing files on my home network. I have used freeNAS in the past and it worked decently well, but also found bit of learning curve with drive setup, etc. This was also a few years back and I ran into issues if I tried using any file system type but their own default (though this may have improved with latest releases). This mattered to me as I wanted my data share stored on a 2nd dedicated hard drive with a file system I could easily access on another computer should the OS hard drive fail or PC give up the ghost completely.

I ended up running a headless Ubuntu server (14.04) and set it up to share my data drive with SAMBA. Took me a few iterations to sort things out, but in the end it really wasn’t all the complicated. And it has worked great for sharing files between all my Ubuntu-MATE, MacOS and Windows computers (multiple of each os).

This may be more than you are looking to get in to right away, but I thought it was a great project to learn a lot about Linux. I’m working on a tutorial at the moment (which is based on Ubuntu 14.04) which I can share here once completed if you’re interested. And I promise, no “Greek” required, lol. I’m not a Linux or even a networking guru, but I’m learning and will share my learning in as plain English as possible!

Best of luck working through your solution… And stick with it! It will be worth it!

Thanks for the pointers, still struggling with the whole networking deal, now there’s a Samba update issue to boot! Really feel that this topic is one that could be addressed at a higher level, many ex Win pats are so used to networking these days, this will be a deal breaker for a lot of folks, with the advent of the Homegroup that made it so easy, this is more like how Win used to be, using IP address’ etc
Going to stay the course, maybe it’s easier to move all my Music & Movies to a Linux machine, assuming Linux speaks to itself easily? Take the Win machine out of the equation, although I am stuck with some household users on Win who want to share, big conundrum!

smartnoise,

I have a mix of linux and windows machines on my home network and have no issues accessing windows shares.

Make sure you have cifs-utils installed. That is what you need to access windows shares from linux and make permanent mounts for them. With it installed, go to Caja and “Browse Network”. Make sure you can see your windows box.

If you see your windows box, double click on it. You should now get a credentials prompt for username and password. Enter you info, and you should have access to the windows share. If you do not see your windows share or cannot access it, recheck your sharing setup on your windows box.

Now if everything is working to this point, you can now setup a permanent mount for that share via the fstab file located in the /etc/ directory. First you need to create a directory in your home folder or other place you want to put it to serve as the mount point.

Open fstab with root priveledges, and add the lines you need to make the mount. Here is an example of one of my mounts in my fstab file.

This should be all one line:
//192.168.1.3/storage /home/matt/Storage cifs x-systemd.automount,x-systemd.device-timeout=30,credentials=/home/matt/.smbcredentials 0 0

The first part is the remote location. The second part is the local mount point. Cifs is the mount type. Next is a group of x commands for systemd that allow for automount and wait up to 30 seconds for the mount to happen (usually waiting for network to come up; 30 sec is probably too much). Following that is the location of my credentials file that contains the username and password to access that share. With that all in, save fstab.

The credentials file is simply a file with two lines:
username=
password=

I have it located in my home folder and changed the permissions on the file to 600 once I knew everything was working (for security).

Then you can check and make sure your mount works by executing sudo mount -a. That will recycle the fstab file, and you should hopefully see your share at your local mount point. You can then reboot to make sure the automount works at boot time.

Everything I have written out here with the exception of the systemd commands(maybe) are readily available in how-to’s all over the internet. With systemd being fairly new, not all of them have updated the automount requirements.

Hopefully this help.

@dallasdawg: wow, the fstab route seems complicated even for me and I’m not a windows user.
Wouldn’t it suffice to create a bookmark for the mounted folder in Caja?
Edit: and have the OS store the credentials (keyring)?

1 Like

Thank you for your help, I shall give it shot this weekend, I did end up just using a bookmark to get a link to Windows, which although not as good as a permanent mount, works, I’m happy to be one step forward!

1 Like

I agree. Having the same problem here. I have tried the tutorials provide from how to geek and they are not working.

A while back I tried to use fstab for identifying my NAS, after 3 hours of total non-productive attempts I took the low road and decided that a bookmark works 95% of the time and a simple retry fixes the remaining 5%

@DaveB suggested to hide Windows OS drives
####Here’s another example to easily hide a Windows OS NTFS partition:

UUID=**** /mnt/Windows ntfs noauto 0 0

replacing “****” with relevant NTFS partition UUID string

Did you select the checkbox for updating to the latest software listings in the Software Boutique?
There were some updates concerning the Steam installation, so make sure you get those updates.
With the latest update installed (16.10.0~xenial1.10) I could install Stream just fine from the Software Boutique.

We have a tutorial concerning partitioning written by one of our own … @wolfman

1 Like

Networking tutorial?

Have a great day… unless you’ve made other plans !

that would be awesome if someone made a video and it actually worked.

Hi pfeiffep,

Thanks for sharing! Minor clarification, recommend hiding Windows OS partition/s. :slight_smile: