Specify network path in configuration file - Raspberry Pi Forums


dear all,

please tell me how can specify network path in configuration file? instead of saving files locally have them on nas.

replace path
incoming = /var/spool/sms/incoming

network path like
10.0.1.xx/...

possible? if yes, can specify login/pw credentials well?

many , best regards
dmy

dmy wrote: possible? if yes, can specify login/pw credentials well?
in not how in linux. mount networked filesystem in example "/mnt/mynas" , use "/mnt/mynas/spool/sms/" in config file. mounting happen automatically if edit "fstab" file.

problem if nas not available when pi boots, directory "/mnt/nynas" dicertory , depending on program might start writing it.

there tools autofs/automount can used , closer asking for. complexity of using depend lot on sharing protocols nas support. ( nfs can simple if done right, cifs/samba more complex (google it) )


raspberrypi



Comments

Popular posts from this blog

Connecting Raspberry Pi 2 to P10(1R)-V706 LED Dot Matrix - Raspberry Pi Forums

TypeError: <unknown> is not a numpy array - Raspberry Pi Forums

datso and removing imagetitle - Joomla! Forum - community, help and support