RISC OS / Linux file transfer
Julie Stamp (8365) 462 posts |
I’m trying to share files from Linux to RISC OS. I’ve set up an nfs server on Linux, which I can mount fine from Linux. I can also set up an nfs server (Moonfish) on RISC OS, and access that from RISCOS (OmniClient NFS). But I can’t use NFS to get to Linux from RISC OS :-( :-( It goes
I’ve not used Sunfish because that just crashes. |
Julie Stamp (8365) 462 posts |
Actually I can’t access Moonfish from OmniClient. I can see the files in NFS::Test.$, but if I open them I get
|
David Pitt (3386) 1248 posts |
It is only the frontend that crashes, connections can be established, just don’t subsequently touch the frontend.
Nearly, NFS needs to be set as the filing system. On the Titanium this line found a MoonFish mount on the Raspberry Pi. *NFS:Mount -host 192.168.1.208 RPi3 /Pi3_Work HTH |
Julie Stamp (8365) 462 posts |
Sunfish on my Raspberry Pi crashes if I use ‘Search for Host’, so I can’t even make a connection. I’ve tried connecting from RPCEmu on the Linux computer, and from the Raspberry Pi, and Ominclient says the same thing about RPC both times as above. |
David Pitt (3386) 1248 posts |
The version I have, from here, does at least get that far. It shows its version as |
John Rickman (71) 629 posts |
’m trying to share files from Linux to RISC OS Have you thought to use FTP? It is reliable, relatively easy to set and likely much faster than sunfish/moonfish and works both ways with FTPc Most Linux systems have a native FTP Server – I have used VSFTPD successfully. |
Colin (478) 2433 posts |
I use samba on linux and LanManFS. |
Steve Fryatt (216) 2046 posts |
Does it work as a proper filing system? |
Grahame Parish (436) 469 posts |
Is there a guide to setting up and using OmniClient with LanMan and/or NFS? I do a lot of networking on the Windows and Linux side for over 30 years, but I’ve never really got to grips with OmniClient/LanMan and have stuck with Sunfish as it does what I want very well, at least connecting to NAS and Linux boxes. If LanMan is limited to SMB1 then it won’t be a good fit on my network anyway. |
Julie Stamp (8365) 462 posts |
Thanks John, FTPc gets through and I can copy stuff over :-) I did have Samba working from RPi on another installation of Linux once in the distant past, but I must not be setting the server configuration up right this time, and the same with NFS. It is just so frustrating that the server or client will neither tell me what went wrong. I was about to give up and use USB sticks instead. |
David Pitt (3386) 1248 posts |
SMB1, the best that RISC OS can manage, may be deprecated in Linux distros such as Ubuntu. It can be renabled for local use. https://www.samba.org/samba/docs/current/man-html/smb.conf.5.html#SERVERMINPROTOCOL Open [global] server min protocol = LANMAN1 then restart samba :- sudo systemctl restart smbd.service Works here on Ubuntu 20.04 and 18.04.4 |
Julie Stamp (8365) 462 posts |
Bingo! Putting that LANMAN1 line in made it pop up right away on Omniclient :=D |
David J. Ruck (33) 1495 posts |
I’m using Sunfish now I’ve moved my NAS disc from the router (SMB only) to a Pi4B. Sunfish was a pain to set up, it discovered and mounted ok, but crashed when changing any settings. Luckily it crashed after changing the setting and saving it, so it was possible to complete the process. Now it runs on boot and auto mounts the NAS disc with no problems. This is using the ARMv7 build font end on RO 5.27rc16. 5.27 does seem to be exposing a lot of issues with Wimp programs, which weren’t seen or as bad on 5.24. |
Julie Stamp (8365) 462 posts |
Hooray! I’ve finally got through to NFS on Linux. My /etc/nfs.conf had a line
I changed it to
then did
and everything suddenly worked :-D |
Steffen Huber (91) 1945 posts |
Interesting – sounds like something on your network maybe blocked TCP transfers, but not UDP transfers (ports are the same for TCP and UDP IIRC). With NFS, UDP is likely to be faster anyway, so unless you have a local network that has many errors and retransmits (i.e. highly-loaded congested Ethernet), UDP should be better. |
GavinWraith (26) 1532 posts |
Thanks to this thread I have managed, at last, to transfer files between my RISC OS and Linux raspberry pi machines. I installed vsftpd for Raspbian and already had FTPc for RISC OS. For ages I was satisfied with moving stuff across on a memory stick, rather dreading the setting up of the requisite software; but my fears were unfounded. |
Steve Pampling (1551) 7932 posts |
The first port of call for failed communication using a specific IP port between machines on a network where other traffic passes should always be the firewall implementation on the individual machines involved. |