Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

HOW-TO : Samba announced over Avahi with unRAID

Featured Replies

Hey guys, I think I am a bit hung up on step 2.  You mentioned you could create the samba.services file in text edit.  what does it need to be saved as?  Do I have to manually create the directory on the flash drive. 

 

does any of the information in the samba.services script need to be edited for my configuration? 

 

Thanks for the help. 

 

here is what I got while trying to start the services.  I am pretty sure everything installed correctly.

 

 

root@Tower:/# /usr/bin/dbus-daemon --system

root@Tower:/# /etc/rc.d/rc.avahidaemon restart

Stopping Avahi mDNS/DNS-SD Daemon: stopped

Starting Avahi mDNS/DNS-SD Daemon:  /usr/sbin/avahi-daemon -D

root@Tower:/# /etc/rc.d/rc.avahidaemon restart

Stopping Avahi mDNS/DNS-SD Daemon: stopped

Starting Avahi mDNS/DNS-SD Daemon:  /usr/sbin/avahi-daemon -D

root@Tower:/# /usr/bin/dbus-daemon --system 

Failed to start message bus: The pid file "/var/run/dbus/dbus.pid" exists, if the message bus is not running, remove this file

 

  • Replies 53
  • Views 32.5k
  • Created
  • Last Reply
  • Author

Hey guys, I think I am a bit hung up on step 2.  You mentioned you could create the samba.services file in text edit.  what does it need to be saved as?  Do I have to manually create the directory on the flash drive. 

 

does any of the information in the samba.services script need to be edited for my configuration? 

 

Thanks for the help. 

 

here is what I got while trying to start the services.  I am pretty sure everything installed correctly.

 

 

root@Tower:/# /usr/bin/dbus-daemon --system

root@Tower:/# /etc/rc.d/rc.avahidaemon restart

Stopping Avahi mDNS/DNS-SD Daemon: stopped

Starting Avahi mDNS/DNS-SD Daemon:  /usr/sbin/avahi-daemon -D

root@Tower:/# /etc/rc.d/rc.avahidaemon restart

Stopping Avahi mDNS/DNS-SD Daemon: stopped

Starting Avahi mDNS/DNS-SD Daemon:  /usr/sbin/avahi-daemon -D

root@Tower:/# /usr/bin/dbus-daemon --system   

Failed to start message bus: The pid file "/var/run/dbus/dbus.pid" exists, if the message bus is not running, remove this file

 

 

You can create the service file on unRAID using the vi command (as you can read in the walkthrough, mind you). You can also create it in a text editor on your OS, but the file has to be saved as UTF8 with LF linebreaks, otherwise the daemon won't be able to read the file.

 

The service file can be copied over as is, no need to change anything.

 

You can use Avahi without dbus by editing the avahi-daemon.conf file.

 

Also, you should read this thread on common issues, because all of your questions have been answered before and it's not that a big thread.

I did create the file in vi.  I wrote it exactly as in your instructions.  Did I need to edit something inside of that file?  Also, where do I find the service.samba file after it is created using vi?  How can I save it to the flash to get reloaded on reboot?  I saw someone mentioned disabling dbus in avahi-daemon.conf.  how do I edit this file?  I have 0 linux experience.  

 

Thanks for your help

  • Author

I did create the file in vi.  I wrote it exactly as in your instructions.  Did I need to edit something inside of that file?  Also, where do I find the service.samba file after it is created using vi?  How can I save it to the flash to get reloaded on reboot?  I saw someone mentioned disabling dbus in avahi-daemon.conf.  how do I edit this file?  I have 0 linux experience.  

 

Thanks for your help

 

Where it is created is entirely dependent on where you were in the filesystem on the moment you called the vi command.

 

If you want to save it on the flash drive you'll have to be specific about the location, like this:

 

vi /boot/config/samba.service

 

You will have to copy the samba.service file to the Avahi's service folder on every boot!

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.