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
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
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.dmy wrote: possible? if yes, can specify login/pw credentials well?
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
Post a Comment