NOTE: I fully understand that it is recommended that we buy and use an actual NAS instead of using the router as a NAS. When I'm no longer a nomad, I'll do that. For now, I need what fits in 23kg. Therefore, I want to configure the router to do what it is advertised as capable of doing.
It is my understanding that I should create a timemachine.service file for Avahi to advertise TimeMachine capabilities on my router. Can I simply add the file to /tmp/avahi/services? I know for some things we need to use /jffs/configs or /jffs/addons (I think?). Is it okay to have multiple files in that directory? This is what I want to add:
I already managed to install version 4.18.8 of smbd from entware instead of using version 3.6.25 that is built into the Merlin (and/or stock) firmware. My personal experience is that I've seen lower CPU usage from using 4.18.8. I believe this next step (timemachine.service) is required for proper advertisement to avoid the need for SparseBundles.
AGAIN: I fully understand that it is recommended that we buy and use an actual NAS instead of using the router as a NAS. When I'm no longer a nomad, I'll do that. For now, I need what fits in 23kg. Therefore, I want to configure the router to do what it is advertised as capable of doing.
It is my understanding that I should create a timemachine.service file for Avahi to advertise TimeMachine capabilities on my router. Can I simply add the file to /tmp/avahi/services? I know for some things we need to use /jffs/configs or /jffs/addons (I think?). Is it okay to have multiple files in that directory? This is what I want to add:
XML:
<?xml version="1.0" standalone='no'?>
<!DOCTYPE service-group SYSTEM "avahi-service.dtd">
<service-group>
<name replace-wildcards="yes">%h</name>
<!-- advertise SMB -->
<service>
<type>_smb._tcp</type>
<port>445</port>
</service>
<!-- advertise TimeMachine -->
<service>
<type>_adisk._tcp</type>
<port>9</port>
<!-- sys=waMa=0,adVF=0x82 flags it as TM over SMB -->
<txt-record>sys=waMa=0,adVF=0x82</txt-record>
</service>
<!-- device-info to look like a Time Capsule -->
<service>
<type>_device-info._tcp</type>
<port>0</port>
<txt-record>model=TimeCapsule</txt-record>
</service>
</service-group>
I already managed to install version 4.18.8 of smbd from entware instead of using version 3.6.25 that is built into the Merlin (and/or stock) firmware. My personal experience is that I've seen lower CPU usage from using 4.18.8. I believe this next step (timemachine.service) is required for proper advertisement to avoid the need for SparseBundles.
AGAIN: I fully understand that it is recommended that we buy and use an actual NAS instead of using the router as a NAS. When I'm no longer a nomad, I'll do that. For now, I need what fits in 23kg. Therefore, I want to configure the router to do what it is advertised as capable of doing.