Page 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 37

Thread: Samaba headache again

  1. #11
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    20,274
    Blog Entries
    1

    Default Re: Samaba headache again

    Quote Originally Posted by gogalthorp View Post
    Nothing at all shows on Dolphin - Network shows nothing at all not even local shares
    What does avahi-browse report regarding your local machine?
    Code:
    avahi-browse -art
    openSUSE Leap 15.0; KDE Plasma 5

  2. #12
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    15,700

    Default Re: Samaba headache again

    Hmmm avahi-browse not found also nothing provides it and not in search.

    avahi package is installed, here are the files


    Code:
    /etc/avahi
    /etc/avahi/avahi-daemon.conf
    /etc/avahi/avahi-dnsconfd.action
    /etc/avahi/hosts
    /etc/avahi/services
    /etc/avahi/services/sftp-ssh.service
    /etc/avahi/services/ssh.service
    /etc/dbus-1/system.d/avahi-dbus.conf
    /etc/sysconfig/SuSEfirewall2.d/services/avahi
    /etc/sysconfig/network/if-up.d/avahi-daemon
    /run/avahi-daemon
    /usr/lib/avahi
    /usr/lib/avahi/avahi-daemon-check-dns.sh
    /usr/lib/systemd/system/avahi-daemon.service
    /usr/lib/systemd/system/avahi-daemon.socket
    /usr/lib/systemd/system/avahi-dnsconfd.service
    /usr/lib64/avahi
    /usr/lib64/avahi/service-types.db
    /usr/sbin/avahi-daemon
    /usr/sbin/avahi-dnsconfd
    /usr/sbin/rcavahi-daemon
    /usr/sbin/rcavahi-dnsconfd
    /usr/share/avahi
    /usr/share/avahi/interfaces
    /usr/share/avahi/interfaces/avahi-discover.ui
    /usr/share/dbus-1/interfaces/org.freedesktop.Avahi.AddressResolver.xml
    /usr/share/dbus-1/interfaces/org.freedesktop.Avahi.DomainBrowser.xml
    /usr/share/dbus-1/interfaces/org.freedesktop.Avahi.EntryGroup.xml
    /usr/share/dbus-1/interfaces/org.freedesktop.Avahi.HostNameResolver.xml
    /usr/share/dbus-1/interfaces/org.freedesktop.Avahi.RecordBrowser.xml
    /usr/share/dbus-1/interfaces/org.freedesktop.Avahi.Server.xml
    /usr/share/dbus-1/interfaces/org.freedesktop.Avahi.ServiceBrowser.xml
    /usr/share/dbus-1/interfaces/org.freedesktop.Avahi.ServiceResolver.xml
    /usr/share/dbus-1/interfaces/org.freedesktop.Avahi.ServiceTypeBrowser.xml
    /usr/share/dbus-1/system-services/org.freedesktop.Avahi.service
    /usr/share/doc/packages/avahi
    /usr/share/doc/packages/avahi/API-CHANGES-0.6
    /usr/share/doc/packages/avahi/AUTHORS
    /usr/share/doc/packages/avahi/COMPAT-LAYERS
    /usr/share/doc/packages/avahi/DBUS-API
    /usr/share/doc/packages/avahi/HACKING
    /usr/share/doc/packages/avahi/INSTALL
    /usr/share/doc/packages/avahi/MALLOC
    /usr/share/doc/packages/avahi/NEWS
    /usr/share/doc/packages/avahi/README
    /usr/share/doc/packages/avahi/TODO
    /usr/share/doc/packages/avahi/avahi-poll.dia
    /usr/share/doc/packages/avahi/overview.dia
    /usr/share/doc/packages/avahi/server-states.dia
    /usr/share/fillup-templates/sysconfig.avahi
    /usr/share/licenses/avahi
    /usr/share/licenses/avahi/LICENSE
    /usr/share/man/man5/avahi-daemon.conf.5.gz
    /usr/share/man/man5/avahi.hosts.5.gz
    /usr/share/man/man5/avahi.service.5.gz
    /usr/share/man/man8/avahi-autoipd.action.8.gz
    /usr/share/man/man8/avahi-daemon.8.gz
    /usr/share/man/man8/avahi-dnsconfd.8.gz
    /usr/share/man/man8/avahi-dnsconfd.action.8.gz
    
    59 files total

  3. #13
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    20,274
    Blog Entries
    1

    Default Re: Samaba headache again

    Quote Originally Posted by gogalthorp View Post
    Hmmm avahi-browse not found also nothing provides it and not in search.
    It's part of avahi-utils.
    openSUSE Leap 15.0; KDE Plasma 5

  4. #14
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    20,274
    Blog Entries
    1

    Default Re: Samaba headache again

    Further to my earlier comments about samba....

    From 'man smb.conf'...
    If compiled with proper support for it, Samba will announce itself with multicast DNS services like for example provided by the Avahi daemon.
    This parameter allows disabling Samba to register itself.
    Default: multicast dns register = yes
    openSUSE Leap 15.0; KDE Plasma 5

  5. #15
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    15,700

    Default Re: Samaba headache again

    Ok got it avahi-browse -art runs but returns an empty list

  6. #16
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    20,274
    Blog Entries
    1

    Default Re: Samaba headache again

    Quote Originally Posted by gogalthorp View Post
    Ok got it avahi-browse -art runs but returns an empty list
    Status and configuration details would help here...
    Code:
    sudo systemctl status avahi-daemon
    Code:
    cat /etc/avahi/avahi-daemon.conf
    You may need to restart the avahi-daemon service as well.
    openSUSE Leap 15.0; KDE Plasma 5

  7. #17
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    15,700

    Wink Re: Samaba headache again

    Looks like it is running

    Code:
    linux1:/etc/samba # systemctl status avahi-daemon
    ● avahi-daemon.service - Avahi mDNS/DNS-SD Stack
       Loaded: loaded (/usr/lib/systemd/system/avahi-daemon.service; enabled; vendor preset: enabled)
       Active: active (running)
     Main PID: 1055 (avahi-daemon)
       Status: "Server startup complete. Host name is linux1.local. Local service cookie is 369464222."
        Tasks: 1 (limit: 4915)
       CGroup: /system.slice/avahi-daemon.service
               └─1055 avahi-daemon: running [linux1.local]
    
    Aug 11 11:52:56 linux1 avahi-daemon[1055]: Server startup complete. Host name is linux1.local. Local service cookie is 369464222.
    Aug 11 11:52:56 linux1 avahi-daemon[1055]: Service "linux1" (/etc/avahi/services/ssh.service) successfully established.
    Aug 11 11:52:56 linux1 avahi-daemon[1055]: Service "linux1" (/etc/avahi/services/sftp-ssh.service) successfully established.
    Aug 11 11:52:56 linux1 systemd[1]: Started Avahi mDNS/DNS-SD Stack.
    Aug 11 11:52:58 linux1 avahi-daemon[1055]: Joining mDNS multicast group on interface eth0.IPv4 with address 192.168.1.3.
    Aug 11 11:52:58 linux1 avahi-daemon[1055]: New relevant interface eth0.IPv4 for mDNS.
    Aug 11 11:52:58 linux1 avahi-daemon[1055]: Registering new address record for 192.168.1.3 on eth0.IPv4.
    Aug 11 11:53:00 linux1.localdomain avahi-daemon[1055]: Joining mDNS multicast group on interface eth0.IPv6 with address fe80::f2a3:>
    Aug 11 11:53:00 linux1.localdomain avahi-daemon[1055]: New relevant interface eth0.IPv6 for mDNS.
    Aug 11 11:53:00 linux1.localdomain avahi-daemon[1055]: Registering new address record for fe80::f2a3:9cf7:561a:4aba on eth0.*.
    
    
    
    
    
    linux1:/etc/samba # cat /etc/avahi/avahi-daemon.conf
    # This file is part of avahi.
    #
    # avahi is free software; you can redistribute it and/or modify it
    # under the terms of the GNU Lesser General Public License as
    # published by the Free Software Foundation; either version 2 of the
    # License, or (at your option) any later version.
    #
    # avahi is distributed in the hope that it will be useful, but WITHOUT
    # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
    # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
    # License for more details.
    #
    # You should have received a copy of the GNU Lesser General Public
    # License along with avahi; if not, write to the Free Software
    # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
    # USA.
    
    # See avahi-daemon.conf(5) for more information on this configuration
    # file!
    
    [server]
    #host-name=foo
    #domain-name=local
    #browse-domains=0pointer.de, zeroconf.org
    use-ipv4=yes
    use-ipv6=yes
    #allow-interfaces=eth0
    #deny-interfaces=eth1
    #check-response-ttl=no
    #use-iff-running=no
    #enable-dbus=yes
    #disallow-other-stacks=no
    #allow-point-to-point=no
    #cache-entries-max=4096
    #clients-max=4096
    #objects-per-client-max=1024
    #entries-per-entry-group-max=32
    ratelimit-interval-usec=1000000
    ratelimit-burst=1000
    
    [wide-area]
    enable-wide-area=yes
    
    [publish]
    #disable-publishing=no
    #disable-user-service-publishing=no
    #add-service-cookie=no
    #publish-addresses=yes
    publish-hinfo=no
    publish-workstation=no
    #publish-domain=yes
    #publish-dns-servers=192.168.50.1, 192.168.50.2
    #publish-resolv-conf-dns-servers=yes
    #publish-aaaa-on-ipv4=yes
    #publish-a-on-ipv6=no
    
    [reflector]
    #enable-reflector=no
    #reflect-ipv=no
    
    [rlimits]
    #rlimit-as=
    #rlimit-core=0
    #rlimit-data=8388608
    #rlimit-fsize=0
    #rlimit-nofile=768
    #rlimit-stack=8388608
    #rlimit-nproc=3
    A lot is remarked out Should some of this stuff be turned on??

  8. #18
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    20,274
    Blog Entries
    1

    Default Re: Samaba headache again

    That looks as it should. No additional configuration needed (as defaults are ok and services should be published). If samba is running then you should see the samba service advertised.

    For reference, my local services are reported like this
    Code:
    =   eth0 IPv6 linux-4k1z                                    SSH Remote Terminal  local
       hostname = [linux-4k1z.local]
       address = [fe80::a00:27ff:fe74:e4b1]
       port = [22]
       txt = []
    =   eth0 IPv4 linux-4k1z                                    SSH Remote Terminal  local
       hostname = [linux-4k1z.local]
       address = [192.168.30.238]
       port = [22]
       txt = []
    =   eth0 IPv6 linux-4k1z                                    SFTP File Transfer   local
       hostname = [linux-4k1z.local]
       address = [fe80::a00:27ff:fe74:e4b1]
       port = [22]
       txt = []
    =   eth0 IPv4 linux-4k1z                                    SFTP File Transfer   local
       hostname = [linux-4k1z.local]
       address = [192.168.30.238]
       port = [22]
       txt = []
    =   eth0 IPv6 LINUX-4K1Z                                    Microsoft Windows Network local
       hostname = [linux-4k1z.local]
       address = [fe80::a00:27ff:fe74:e4b1]
       port = [445]
       txt = []
    =   eth0 IPv4 LINUX-4K1Z                                    Microsoft Windows Network local
       hostname = [linux-4k1z.local]
       address = [192.168.30.238]
       port = [445]
       txt = []
    =   eth0 IPv6 LINUX-4K1Z                                    _device-info._tcp    local
       hostname = [linux-4k1z.local]
       address = [fe80::a00:27ff:fe74:e4b1]
       port = [0]
       txt = ["model=MacSamba"]
    =   eth0 IPv4 LINUX-4K1Z                                    _device-info._tcp    local
       hostname = [linux-4k1z.local]
       address = [192.168.30.238]
       port = [0]
       txt = ["model=MacSamba"]
    openSUSE Leap 15.0; KDE Plasma 5

  9. #19
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    20,274
    Blog Entries
    1

    Default Re: Samaba headache again

    Sudden thought - make sure your firewall is allowing mdns traffic.

    Code:
    firewall-cmd --list-all
    openSUSE Leap 15.0; KDE Plasma 5

  10. #20
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    15,700

    Default Re: Samaba headache again

    No mdns was not in default. I added it but no go. note that default is public right??? I set public up as I thought it should be with my past experience. But maybe that is wrong. Exactly which zones should be used and what are the new settings in general for samba simple pier to pier on local net only. Things were simpler when there were only 3 zones defined

    Firewall list now
    Code:
    linux1:/home/gogalthorp # firewall-cmd --list-all
    public (active)
      target: default
      icmp-block-inversion: no
      interfaces: eth0
      sources: 
      services: dhcpv6-client samba samba-client mdns
      ports: 
      protocols: 
      masquerade: no
      forward-ports: 
      source-ports: 
      icmp-blocks: 
      rich rules:

Page 2 of 4 FirstFirst 1234 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •