[Solved]How do I start the Samba Server in antiX 17.4?

Forum Forums New users New Users and General Questions [Solved]How do I start the Samba Server in antiX 17.4?

  • This topic has 4 replies, 3 voices, and was last updated Feb 1-7:23 pm by Speedyg869.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #32311
    Member
    Speedyg869

      antiX 17.4 Live USB w/persistence.
      How do I start the Samba Server in antiX 17.4?
      The package manager shows that samba-common, samba-libs, libwbclient0, libsmbclient are installed and are the latest. No other packages are available matching “samba”. There is no Samba service running. When I search for documentation, I find old entries from 2013 and none of those commands seem to work. The commands from Debian don’t seem to work either.
      Connectshares seems to apply only to remote systems, not shares on the local system. Maybe I’m wrong about that.
      Can someone tell me how to start the Samba server?

      Thanks in advance.

      • This topic was modified 3 years, 3 months ago by Speedyg869. Reason: Marking [Solved]
      #32320
      Anonymous
        #32348
        Member
        Speedyg869
          Helpful
          Up
          0
          ::

          I followed the thread “antiX 13.2 / SAMBA” you referred to and tried the same things the OP did.

          sudo apt-get update && sudo apt-get dist-upgrade
          
          sudo apt-get remove --purge samba
          	Package 'samba' is not installed, so not removed
          sudo apt-get remove --purge smbclient libsmbclient
          	Package 'smbclient' is not installed, so not removed
          
          sudo apt-get install samba
          Package samba is not available, but is referred to by another package.
          ...
          However the following packages replace it:
          	samba-common samba-libs
          
          sudo apt-get install samba-client
          ...
          E: Unable to locate package samba-client ?
          
          sudo apt-get install smbclient
          ...
          E: Unable to locate package smbclient ?

          The conlusion was that smbclient is not available in the antiX repo.
          Your last post in that thread talks about getting the package from debian. But then you say “OK, thanks. If push comes to shove I’ll look into that.”. So I don’t know what you ended up doing.

          If smbclient or samba-client aren’t in the antiX repo, then what?
          Should I add the deb http://ftp.us.debian.org/debian/ stretch main contrib non-free to my sources.list and install it from there?
          Does smbclient require/use systemd?
          I have never added package from another distro before. Can someone confirm?

          • This reply was modified 3 years, 3 months ago by Speedyg869. Reason: Fix code tag
          #32352
          Moderator
          christophe
            Helpful
            Up
            0
            ::

            I see that smbclient is available in Debian Stretch. So I don’t know why you can’t see it. Have you changed your repos?

            Also (and maybe this is of more help) at the debian site, https://packages.debian.org/stretch/smbclient, it mentions this:
            “Utilities for mounting shares locally are found in the package cifs-utils.”

            See if this may be helpful: https://www.raspberrypi.org/documentation/remote-access/samba.md

            • This reply was modified 3 years, 3 months ago by christophe. Reason: bad answer
            • This reply was modified 3 years, 3 months ago by christophe.
            • This reply was modified 3 years, 3 months ago by christophe.

            confirmed antiX frugaler, since 2019

            #32356
            Member
            Speedyg869
              Helpful
              Up
              0
              ::

              That’s exactly what I thought too.

              I went int the Repo Manager and selected Chose the fastest server and then looked at the Individual Sources tab in order to document my question. Apparently. that did something good, Although at the time I did not know it.

              For documentation purposes I tried to install it again:
              sudo apt-get install smbclient
              Reading package lists… Done
              Building dependency tree
              Reading state information… Done
              Package smbclient is not available, but is referred to by another package.
              This may mean that the package is missing, has been obsoleted or is only available from another source
              E: Package ‘smbclient’ has no installation candidate

              This time it gave a slightly different error. So I Google it and they recommended running this:
              sudo apt-get update && sudo apt-get upgrade
              I did and then I ran the install again and it worked!

              Earlier I ran: sudo apt-get update && sudo apt-get dist-upgrade. So I thought that as sufficient. But I guess I’m still learning.

              Thanks for everyones help!

            Viewing 5 posts - 1 through 5 (of 5 total)
            • You must be logged in to reply to this topic.