raymac46 2,829 Posted March 7 Share Posted March 7 Since I upgraded the SSD on my main desktop I have a spare 480GB solid state drive. So I put this spare SSD into an external drive enclosure and connected it to the USB3 port on my Linksys router. Then I went into the router configuration and set it up as External Storage. Obviously the router runs on Linux as the drive shows up as sda1. I was able to Map the drive from Windows 10 and then copy over my Pictures folder to it. That gives me another backup of my digital photos. I then went into the Thinkpad that runs Debian and was able to connect over the LAN to the external drive using SAMBA. I then copied a few folders from the external drive to the Thinkpad. This is the first time I've done this sort of copying without a thumbdrive so it's pretty cool. Link to post Share on other sites
securitybreach 11,431 Posted March 7 Share Posted March 7 Nice I prefer NFS but samba is ok too. I use scp a lot too but that is just ssh. 1 Link to post Share on other sites
raymac46 2,829 Posted March 8 Author Share Posted March 8 I have a mix of Windows 10 Pro, Windows 10 Home, and Linux. I figured I would use Samba because I knew it would work with Windows and Linux supports it too. NFS looks like the way to go for all-Linux machinery. Link to post Share on other sites
securitybreach 11,431 Posted March 8 Share Posted March 8 WIndows fully supports NFS http://jermsmit.com/mount-nfs-share-in-windows-10/ https://docs.microsoft.com/en-us/windows-server/storage/nfs/nfs-overview Link to post Share on other sites
raymac46 2,829 Posted March 8 Author Share Posted March 8 I haven't been able to figure out if you need Windows Pro to use NFS or if it works with Windows Home. Link to post Share on other sites
securitybreach 11,431 Posted March 8 Share Posted March 8 You'll know when you go to Add Windows Features. If it shows up, then it works on home too. 1 Link to post Share on other sites
raymac46 2,829 Posted March 8 Author Share Posted March 8 I do not see this option with Windows 10 Home. Samba works though. Link to post Share on other sites
securitybreach 11,431 Posted March 8 Share Posted March 8 Oh well, both are good. I just always preferred NFS. 1 Link to post Share on other sites
raymac46 2,829 Posted March 8 Author Share Posted March 8 (edited) I've connected up another couple of Linux machines to the router USB3 drive. With Linux Mint I used Thunar and just put the address of the drive into the address bar. With Linux Mint Nemo I didn't see this bar, but I found a neat little program called Gigolo which allowed me to mount the drive (which then shows up in Nemo.) I think there is a way to get the address bar showing up in Nemo but I haven't discovered it as yet. Edited March 8 by raymac46 Link to post Share on other sites
raymac46 2,829 Posted March 9 Author Share Posted March 9 (edited) I had fun getting SAMBA to work on my little Toshiba netbook that runs Arch Linux. Install samba package and dependencies. Create, configure and test /etc/samba/smb.conf Add myself to the samba user list. List the samba accounts to make sure it worked. Enable and test smb.service install gvfs-samba package to get Thunar to find the network drive. All nicely explained in the Archwiki. https://wiki.archlinux.org/index.php/samba Edited March 9 by raymac46 1 Link to post Share on other sites
raymac46 2,829 Posted March 21 Author Share Posted March 21 I've discovered that although it is easy enough to share samba files between my Linux computers it is a PITA to get Windows to share or login. I was able to get the Windows PCs to map to the attached drive on the router but not to any other Linux machine. I keep getting password incorrect errors. Nor can I log into a Windows machine from a Linux machine. Same issue. It's nt a big deal because most of the fles I want to share are on the router attached drive but it is annoying. Link to post Share on other sites
securitybreach 11,431 Posted March 21 Share Posted March 21 In /etc/samba/smb.conf change: ntlm auth = true Link to post Share on other sites
securitybreach 11,431 Posted March 21 Share Posted March 21 Probably why you are getting password incorrect. Link to post Share on other sites
securitybreach 11,431 Posted March 21 Share Posted March 21 Other solutions including making a change in windows https://superuser.com/questions/1125438/windows-10-password-error-with-samba-share Link to post Share on other sites
zlim 1,250 Posted March 21 Share Posted March 21 (edited) Content removed. Edited March 23 by zlim questions ignored by people viewing this thread Link to post Share on other sites
raymac46 2,829 Posted March 21 Author Share Posted March 21 13 minutes ago, securitybreach said: In /etc/samba/smb.conf change: ntlm auth = true Have done that. Link to post Share on other sites
raymac46 2,829 Posted March 21 Author Share Posted March 21 12 minutes ago, securitybreach said: Other solutions including making a change in windows https://superuser.com/questions/1125438/windows-10-password-error-with-samba-share Working my way through this as well. No luck so far. Link to post Share on other sites
securitybreach 11,431 Posted March 21 Share Posted March 21 You did restart samba, right? Link to post Share on other sites
raymac46 2,829 Posted March 21 Author Share Posted March 21 32 minutes ago, securitybreach said: You did restart samba, right? Yes. I can share Linux computer files among Linux machines, just cannot log into Windows or login from Windows. I asume I have to use my Microsoft account credentials on Windows but that doesn't work either. Link to post Share on other sites
raymac46 2,829 Posted March 21 Author Share Posted March 21 I can reach Windows machines from Linux and vice versa. I just cannot log in. Link to post Share on other sites
securitybreach 11,431 Posted March 21 Share Posted March 21 57 minutes ago, raymac46 said: Yes. I can share Linux computer files among Linux machines, just cannot log into Windows or login from Windows. I asume I have to use my Microsoft account credentials on Windows but that doesn't work either. Did you try this part? The solution is to use the Microsoft Account Credentials when trying to log into the Samba share (I know, this still does not make sense to me but it worked). Type: User:MicrosoftAccount\me@email.com PW: This is documented here How to login to network share when Microsoft Account is tied to windows login? Link to post Share on other sites
raymac46 2,829 Posted March 21 Author Share Posted March 21 (edited) Yes I tried that and it still doesn't work. I think the problem is with Windows 10. Edited March 21 by raymac46 Link to post Share on other sites
securitybreach 11,431 Posted March 21 Share Posted March 21 Could be Link to post Share on other sites
raymac46 2,829 Posted March 22 Author Share Posted March 22 (edited) Well this is interesting. I could map a drive easily between my two Windows machines - Boom! So the problem is with one of the Windows machines connecting to Linux. Thanks Josh for your suggestions. I have configured Samba properly. Linux machines see each other and can connect. Every machine connects to a networkdrive attached to the router. Windows machines see each other and can connect. Now I see what HJ meant about samba shares being a PITA with Windows. Edited March 22 by raymac46 Link to post Share on other sites
Hedon James 920 Posted March 22 Share Posted March 22 38 minutes ago, raymac46 said: Well this is interesting. I could map a drive easily between my two Windows machines - Boom! So the problem is with one of the Windows machines connecting to Linux. Thanks Josh for your suggestions. I have configured Samba properly. Linux machines see each other and can connect. Every machine vonnects to a networkdrive attached to the router. Windows machines see each other and can connect. Now I see what HJ meant about samba shares being a PITA with Windows. 'Twas a time when, despite being a PITA, networking actually worked on Windows XP and Win 7 machines. I could surf the network locations, see the machines by name, and navigate to the directory for the file I wanted/needed. Not with Windows 10....can't get it to work and frankly, have given up. My wife has the only remaining Windows machine in the house, and the only reason to connect via network protocols would be to copy music or something. None of the Linux machines can even SEE her Win10 on the network, and her Win10 can't see any of the other computers. While it would be nice to restore that 2-way network functionality, for convenience's sake, it's needed so infrequently nowadays that the juice isn't worth the squeeze. Flash drives work just fine, as long as they're FAT formatted, LOL! 2 Link to post Share on other sites
raymac46 2,829 Posted March 22 Author Share Posted March 22 @HJ thanks for your input. I was beginning to think I was the only idiot who couldn't get samba to go with Windows 10. Link to post Share on other sites
Hedon James 920 Posted March 22 Share Posted March 22 nah....there's at least 2 idiots who can't get samba to play nice with Win10. 1 Link to post Share on other sites
raymac46 2,829 Posted March 22 Author Share Posted March 22 I am happy that all my machines can connect and log into the router attached SSD. That makes transfer convenient enough. Link to post Share on other sites
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now