File sharing on a home network
Hi my dad and I are trying to share files over the home network from his Linux Opensuse 15.2 to my Windows 10 computer in another room. What is the simplest way to set this up? Thank you!
On Saturday 12 December 2020 19:18:23 Bob S wrote:
Hi my dad and I are trying to share files over the home network from his Linux Opensuse 15.2 to my Windows 10 computer in another room. What is the simplest way to set this up? Thank you! _______________________________________________ openSUSE KDE 3 mailing list -- kde3@lists.opensuse.org To unsubscribe, email kde3-leave@lists.opensuse.org List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette List Archives: https://lists.opensuse.org/archives/list/kde3@lists.opensuse.org
Windows terminal and Linux compatibility layer if GUI is not needed. I use minidlna on my Rasbian installation so not directly related to SuSE. I'm wrong to assume gui is the way to go so chosen network share (samba, nfs, ...) configured trough YaST should be the way to go?
Install winscp on the windows computer: https://winscp.net/eng/download.php Make sure the Linux computer has ssh server installed and enabled. Find IP address of Linux computer with /sbin/ifconfig and use that for winscp Gianluca On Saturday, December 12, 2020, Bob S <911@pasco.org> wrote:
Hi my dad and I are trying to share files over the home network from his Linux Opensuse 15.2 to my Windows 10 computer in another room. What is the simplest way to set this up? Thank you! _______________________________________________ openSUSE KDE 3 mailing list -- kde3@lists.opensuse.org To unsubscribe, email kde3-leave@lists.opensuse.org List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette List Archives: https://lists.opensuse.org/archives/list/kde3@lists. opensuse.org
On 12/12/2020 18.18, Bob S wrote:
Hi my dad and I are trying to share files over the home network from his Linux Opensuse 15.2 to my Windows 10 computer in another room. What is the simplest way to set this up?
There are many ways. You can transfer a single file, or a bunch of them, using "winscp" installed on windows. It allows you to connect, browse and download files from a Linux machine (that acts as server). Linux machine needs sshd daemon running and ssh port open in the firewall (the default is not installed and port closed). The reverse tool doesn't exist, Windows does not provide this service. This is the fastest and easiest method to setup, fewer complications. You should have your own account at his machine and use that account, not his account. Related to this tool, you could install (on Windows) "putty", which allows you to operate a terminal from your father Linux machine on yours. Text only. This also uses the ssh service. But can not copy files to your machine. Or, you can install "MobaXterm". This tool allows you to display in your Windows graphical programs that run in the Linux machine (can not copy files to your machine). You could also run an http server or an ftp server on the Linux machine and use that to copy files across. This is a better option if the receiving side uses Android. No encryption. Or, you can share files directly, in any direction, Windows style. First step is to start yast in Linux (as root), then install, configure and start the samba server daemon. And tell it what directory to share. Possibly the last step can be done directly in KDE/Gnome using the file browser). Then in Windows you have to browse the network, find the other machine, and connect to the share. The reverse is possible, requires only the samba client in Linux. You have to share the directory in Windows instead, and find it in Linux. quick guides: <http://opensuse-guide.org/windows.php> <https://en.opensuse.org/Samba> Detailed doc: <https://doc.opensuse.org/documentation/leap/reference/html/book-opensuse-reference/cha-samba.html> You could install NFS server in Linux, but the Windows implementation I heard doesn't work well. -- Cheers / Saludos, Carlos E. R. (from 15.1 x86_64 at Telcontar)
On 12/12/20 11:18 AM, Bob S wrote:
Hi my dad and I are trying to share files over the home network from his Linux Opensuse 15.2 to my Windows 10 computer in another room. What is the simplest way to set this up? Thank you!
Late reply, but you have 2 options: 1) ensure sshd is running and then use windows tools like WinScp, etc... 2) start samba on the Linux box and then just use Windows Explorer to browse, copy, etc.. (you will be running samba in STANDALONE mode, not as a domain controller -- much simpler setup) With samba, you can simply map a drive in windows 10. So on Leap 15.2, if you setup say /home/shared as a shared folder, then to share that via samba, you would add a short section to the /etc/samba/smb.conf file, e.g. [shared] comment = %h - Files shared with Dad ; force group = somegroup inherit permissions = Yes path = /home/shared read only = No ; valid users = @somegroup The ; lines are commented out, but show an easy way to add additional permissions where you create a Linux group containing your and your dad's linux user names. 'force group' makes all files created there be owned by the common group. 'valid users' ensures only members of 'somegroup' can connect to the share. (you also use normal Linux file permissions to further tailor access) After doing this for 20+ years, were I in your shoes, I'd just setup samba and map the share to your E:\ drive in windows 10 so Dad could just know that the share files are on the E:\ drive (much easier to teach an old dog that trick) -- David C. Rankin, J.D.,P.E.
On 2021-01-10 03:17:05 David C. Rankin wrote:
On 12/12/20 11:18 AM, Bob S wrote:
Hi my dad and I are trying to share files over the home network from his Linux Opensuse 15.2 to my Windows 10 computer in another room. What is the simplest way to set this up? Thank you!
Late reply, but you have 2 options:
1) ensure sshd is running and then use windows tools like WinScp, etc... 2) start samba on the Linux box and then just use Windows Explorer to browse, copy, etc.. (you will be running samba in STANDALONE mode, not as a domain controller -- much simpler setup)
With samba, you can simply map a drive in windows 10. So on Leap 15.2, if you setup say /home/shared as a shared folder, then to share that via samba, you would add a short section to the /etc/samba/smb.conf file, e.g.
[shared] comment = %h - Files shared with Dad ; force group = somegroup inherit permissions = Yes path = /home/shared read only = No ; valid users = @somegroup
The ; lines are commented out, but show an easy way to add additional permissions where you create a Linux group containing your and your dad's linux user names. 'force group' makes all files created there be owned by the common group. 'valid users' ensures only members of 'somegroup' can connect to the share. (you also use normal Linux file permissions to further tailor access)
After doing this for 20+ years, were I in your shoes, I'd just setup samba and map the share to your E:\ drive in windows 10 so Dad could just know that the share files are on the E:\ drive (much easier to teach an old dog that trick)
Or, use the fish IO-slave in konqueror Leslie --
On 1/10/21 5:18 AM, J Leslie Turriff wrote:
Or, use the fish IO-slave in konqueror
or sftp:// io-slave. Always been my preference over fish. The only time fish was needed was when sftp:// was broken right as 4.0.1a was released and then stayed broken until Tim wrote a patch finding an uninitialized value as the ultimate case. I may have this backwards, but I thought dad was on Win10 and Bob was on 15.2 with KDE3 (or any other desktop). For Bob, I'd say sftp://, but for dad, (depending on dad's Linux prowess), that may be a stretch :) -- David C. Rankin, J.D.,P.E.
On 2021-01-12 19:34:33 David C. Rankin wrote:
On 1/10/21 5:18 AM, J Leslie Turriff wrote:
Or, use the fish IO-slave in konqueror
or sftp:// io-slave.
Always been my preference over fish. The only time fish was needed was when sftp:// was broken right as 4.0.1a was released and then stayed broken until Tim wrote a patch finding an uninitialized value as the ultimate case.
I may have this backwards, but I thought dad was on Win10 and Bob was on 15.2 with KDE3 (or any other desktop). For Bob, I'd say sftp://, but for dad, (depending on dad's Linux prowess), that may be a stretch :)
Can he not save the link in Windows' network settings? (I've not used Windows since 7.) Leslie --
participants (6)
-
Bob S
-
Carlos E. R.
-
David C. Rankin
-
Gianluca Interlandi
-
J Leslie Turriff
-
Kirjavainen Tero