I'm in the UK and I've recently changed internet provider. I'm now with PlusNet. They have provided a router which has a USB socket. The USB socket can be used for shared storage across the network. Sadly, the router uses Samba version 1, and there don't seem to be any plans to update its firmware to provide a later version. For information, the router lives at 192.168.1.254 (most are at 192.168.0/1.0/1 but PlusNet and BT routers use 1.254).
I have amended /etc/samba/smb.conf to include in the [Global] section:
Code: Select all
hosts allow = 192.168.1.254
min protocol = NT1
Despite this, the "Configure Samba" option in MX Tools doesn't detect anything.
I have created a folder /mnt/router and have found that the following line of code mounts a USB stick in the socket:
Code: Select all
mount -t cifs //192.168.1.254/usb1/ /mnt/router -o vers=1.0,noperm,guest
However, it can't be unmounted in the usual way, if you try it just hangs for a while before returning to the command line without unmounting. You have to add the -i switch:
If you don't do this, it will cause delays on shut down.
I know how to run commands on Startup and Shutdown as a user when logging in, my question is, how do you do it when starting the system and closing it down?
EDIT: In MX Linux, at least when using init.d, there's no noticeable delay on shut down.
Desktop: Mini-Box M350 with Asus H110i-plus motherboard, Pentium G4600 processor, 2TB SSD and 16Gb RAM DDR4-2133
Printer/Scanner: Brother MFC-J5335W
Laptop: Lenovo V15 ADA
Media Centre: Lenovo Q190