metroplex009
Dabbler
- Joined
- Dec 23, 2011
- Messages
- 13
Hey folks,
I decided to figure out how I can advertise some of the services that are running on freenass such as Sickbeard, couch potato and sabnzbd. These can be discovered with Bonjour/DNS-SD.
Its real simple and we can augment this procedure for any service running on freenas.
1. Make / writeable. As root issue
2. Change directory to where avahi service configurations are stored.
3. Create Different Services. I am showing the example for Sabnzbd.
Paste. Remember to change the Port to the configured port of Sabnzbd on your freenas.
In case you are wondering the %h will be replaced with your freenas hostname.
4. Reboot and enjoy
The different services I am using can be found below. I am unable to combine all the services in a single file thats next step. Remember you will need to repeat these steps on every upgrade. :). There is a way to advertise services running on other devices in the network using avahi. If people are interested i can document them.
I am planning on advertising my router's services as I don't feel like installing opt ware on it.
Sickbeard
Couch Potato
Headphones
FreeNas Admin GUI
I decided to figure out how I can advertise some of the services that are running on freenass such as Sickbeard, couch potato and sabnzbd. These can be discovered with Bonjour/DNS-SD.

Its real simple and we can augment this procedure for any service running on freenas.
1. Make / writeable. As root issue
Code:
mount -uw /
2. Change directory to where avahi service configurations are stored.
Code:
cd /conf/base/etc/local/avahi/services
3. Create Different Services. I am showing the example for Sabnzbd.
Code:
nano sabnzbd.service
Paste. Remember to change the Port to the configured port of Sabnzbd on your freenas.
Code:
<?xml version="1.0" standalone="no"?> <service-group> <name replace-wildcards="yes">Sabnzbd on %h</name> <service> <type>_http._tcp</type> <port>8085</port> </service> </service-group>
In case you are wondering the %h will be replaced with your freenas hostname.
4. Reboot and enjoy
The different services I am using can be found below. I am unable to combine all the services in a single file thats next step. Remember you will need to repeat these steps on every upgrade. :). There is a way to advertise services running on other devices in the network using avahi. If people are interested i can document them.
I am planning on advertising my router's services as I don't feel like installing opt ware on it.
Sickbeard
Code:
<?xml version="1.0" standalone="no"?> <service-group> <name replace-wildcards="yes">Sickbeard on %h</name> <service> <type>_http._tcp</type> <port>8081</port> </service> </service-group>
Couch Potato
Code:
<?xml version="1.0" standalone="no"?> <service-group> <name replace-wildcards="yes">Couch Potato on %h</name> <service> <type>_http._tcp</type> <port>5000</port> </service> </service-group>
Headphones
Code:
<?xml version="1.0" standalone="no"?> <service-group> <name replace-wildcards="yes">Headphones on %h</name> <service> <type>_http._tcp</type> <port>8181</port> </service> </service-group>
FreeNas Admin GUI
Code:
<?xml version="1.0" standalone="no"?> <service-group> <name replace-wildcards="yes">Admin GUI on %h</name> <service> <type>_http._tcp</type> <port>80</port> </service> </service-group>