Can you even use an alternative server to backup android devices?c) Any google drive alternative for auto back android devices and whatsapp backups
This tells me you're on a hype train. You're trying to do way too much in one go.d) Any other softwares which can be recommended?
Depends on how you are connected to the internet in the first place, and what do you understand by "access from the internet" and what do you consider "secure"d) How to get secure access from the internet.


Code: Select all
/mnt/sda1 /mnt/d ntfs defaults 0 0
/mnt/sda2 /mnt/e ntfs defaults 0 0
/mnt/d /export/d none bind 0 0
/mnt/e /export/e none bind 0 0
Code: Select all
/export *(insecure,rw,sync,no_subtree_check,crossmnt,fsid=0)
Code: Select all
COMMON_FLAGS="-O2 -pipe -march=amdfam10"
CFLAGS="${COMMON_FLAGS}"
CXXFLAGS="${COMMON_FLAGS}"
FCFLAGS="${COMMON_FLAGS}"
FFLAGS="${COMMON_FLAGS}"
LC_MESSAGES=C.utf8
MAKEOPTS="--jobs 4"
USE="video_cards_radeon bluetooth samba ffmpeg vlc matroska taglib exiv2 ffmpegthumbnailer grub dracut ctype curl fileinfo filter gd iconv ssl posix session simplexml xmlreader xmlwriter zip zlib curl imagemagick libmount fsv4 uuid caps junction acl python"
VIDEO_CARDS="amdgpu radeonsi"
ACCEPT_LICENSE="*"

All relatively straightforward. Start by working out which servers/protocols are required for access from your client devices, and set them up one at a time.rsnfunky wrote: 1) TVs for playing media saved on HDDs
2) Mobile Phones
3) Linux / Windows PCs / Laptops to access and save data
4) If possible access this data from net using a VPN
Uhh, why? That's well outside the scope of Network Attached Storage.rsnfunky wrote:dual boot with Windows and connect to a TV (Functions as a PC in another room).
What you can use for android backups depends on how you have configured the android device(s) involved.rsnfunky wrote:Any google drive alternative for auto back android devices and whatsapp backups
WebDAV, OpenVPN, or plain-old SSH. Again, depends on what you are trying to connect from.rsnfunky wrote:How to get secure access from the internet.
Sure. First you need to decide how those filesystems are going to be made available. What protocols do your client devices support?rsnfunky wrote:all the internal and external HDDs that I have and these will be availabe whenever I am at home and that too from any device on the wifi.
1) Don't install gtk2-webkit or other GUI trash, it's a server.rsnfunky wrote:The gtk-2-webkit took over 30 hours of compile time and kernel about 8 hours on my Athlon II 965 (4 core processor) with 8 gb ram.
To be expected, browsers talk to webservers, which NFS is not. You should probably go read some basics WRT remote filesystem protocols and webserver configuration.rsnfunky wrote:Got the NFS server functional and exported 2 NTFS partitions
...
I tried opening the file server by typing the ip address on my mobile browser and the error was connection refused.
Just... Why? Why do people keep doing this?rsnfunky wrote:Gnome
LoL, likewise. An overclocked AMD DX4-120 IIRC, with disks far larger than the BIOS supported (because Linux can), and some incredibly janky modem sharing & answering machine services I forget the details of. Lived in a grubby basement, as was the natural habitat of such creatures. Only took me a couple of years to move it from the (literal) cardboard box to a proper case, and that only because the CPU cooler (rubber bands) fell off so I had reason to mess with it.Bob P wrote:The hardware requirements for that sort of thing in the home were so minimal that you could literally use any old boatanchor and a few big IDE disks to do the job. Way back when I used a 486 and then Pentium box for this sort of thing.
Code: Select all
[public]
comment = Public Files
browseable = yes
create mode = 0766
force user = rohit
guest ok = yes
path = /mnt/
[Anonymous]
path = /mnt/
browseable = yes
writeable = yes
read only = no
guest ok = yes

Code: Select all
uid=value, gid=value and umask=value
Set the file permission on the filesystem. The umask value is given
in octal. By default, the files are owned by root and not readable
by somebody else.
Code: Select all
/dev/sda1 /mnt/d ntfs rw,exec,async,auto,user,umask=7007,gid=1001 0 0

Point #3 sorted:rsnfunky wrote:Have been able to set up Samba, Jellyfin and Nextcloud.
3) Nextcloud: Able to get the server up and create user accounts. Unable to get it connected with android phone using nextcloud app. App gives an error that "Access through untrusted domain".
a) How does one use certbot to issue a certificate for the local install
b) The local install shows localhost/nextcloud as server location
c) for certbot, it wants a domain name ending with .com
Code: Select all
127.0.0.1 localhost
::1 localhostCode: Select all
array (
0 => 'localhost',
1 => '192.168.x.x',
),
Code: Select all
# /etc/exports: NFS file systems being exported. See exports(5).
/export *(insecure,rw,sync,no_subtree_check,crossmnt,fsid=0)
Code: Select all
dev/sda1 /mnt/d ntfs rw,exec,async,auto,user,umask=7007,gid=1001 0 0
/dev/sda2 /mnt/e ntfs rw,exec,async,auto,user,umask=7007,gid=1001 0 0
/mnt/d /export/d none bind 0 0
/mnt/e /export/e none bind 0 0
Code: Select all
OPTS_RPC_NFSD="8 -V 3 -V 4 -V 4.1"
Code: Select all
# mount 192.168.1.105:/export /mnt/nfs
mount.nfs: mounting 192.168.1.105:/export failed, reason given by server: No such file or directory
Code: Select all
# mount 192.168.1.105:/ /nfs
mount.nfs: failed to prepare mount: No such deviceCode: Select all
# mount 192.168.1.105:/export /nfs
mount.nfs: failed to prepare mount: No such device
Code: Select all
# showmount -e 192.168.1.105
Export list for 192.168.1.105:
/export *

Code: Select all
# /etc/exports: NFS file systems being exported. See exports(5).
# Portage wants it rw!
/var/cache/binpkgs 192.168.100.0/24(no_subtree_check,no_root_squash,rw,async)
/var/cache/distfiles 192.168.100.0/24(no_subtree_check,root_squash,all_squash,rw,async)
/var/db/repos 192.168.100.0/24(no_subtree_check,root_squash,all_squash,ro,async)Code: Select all
192.168.100.106:/var/cache/binpkgs /var/cache/binpkgs nfs vers=3,noatime,nodev,nosuid 0 0
192.168.100.106:/var/cache/distfiles /var/cache/distfiles nfs vers=3,noatime,nodev,nosuid 0 0
192.168.100.106:/var/db/repos /var/db/repos nfs vers=3,noatime,nodev,nosuid 0 0Code: Select all
192.168.1.105:/ /nfs nfs defaults,rw,_netdev 0 0
Code: Select all
# cd /nfs
/nfs # ls
d e
# cd /nfs/d
-bash: cd: /nfs/d: Permission denied

Code: Select all
# cd /nfs/d
-bash: cd: /nfs/d: Permission denied Code: Select all
ls -l /nfsCode: Select all
# ls -l /nfs
total 8
dr-xr-x--- 1 root 1001 4096 Nov 18 22:24 d
dr-xr-x--- 1 root 1001 4096 Nov 18 22:24 e
Code: Select all
192.168.1.105:/ /nfs nfs noatime,nodev,nosuid,users 0 0