Samba with LinuxCNC

More
09 Jun 2020 20:04 - 09 Jun 2020 20:05 #170856 by Poppniete
Samba with LinuxCNC was created by Poppniete
Hi folks,

I'm trying to get Samba running on my LinuxCNC machine. It is version 2.7.15, uname -a gives the following output:
Linux linuxcnc1 3.4-9-rtai-686-pae #1 SMP PREEMPT Debian 3.4.55-4linuxcnc i686 GNU/Linux

When I try to install Samba with
sudo apt-get install samba
I get a message stating that there is no installation candidate. The packages "samba-common-bin", "smbclient" and "samba-common" are suggested as replacements. When I'm trying to install these, apt tells me they're already installed on the system. But, actually, there is no Samba demon/service running.

Running /etc/init.d/samba restart ends with
bash: /etc/init.d/samba: file or directory  not found

Some binaries are present, such as smbpasswd, testparm, but other essentials are completely missing (smbstatus for example)

It seems I've got some kind of zombie install, with some bits missing.

I tried to reinstall the packages samba-common and samba-common-bin by using apt-get install --reinstall --force-yes but it just quits...

Do you have a hint on how to proceed from here?

Regards,

Jan
Last edit: 09 Jun 2020 20:05 by Poppniete.

Please Log in or Create an account to join the conversation.

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
09 Jun 2020 20:10 #170859 by tommylight
Replied by tommylight on topic Samba with LinuxCNC
It seems you are using Debian Wheezy that is no longer supported, so no updates or installation will work, but you can try adding the archived repositories and that should work.
www.howtoforge.com/using-old-debian-vers...in-your-sources.list
Just replace the distro name with wheezy.

Please Log in or Create an account to join the conversation.

More
09 Jun 2020 20:31 #170862 by Poppniete
Replied by Poppniete on topic Samba with LinuxCNC
Hi Tommy,

Thank you for your answer, but it did not work. I added the package sources and ran apt-get update afterwards, but installing samba is failing in the same way.

Regards

Jan

Please Log in or Create an account to join the conversation.

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
09 Jun 2020 20:50 #170868 by tommylight
Replied by tommylight on topic Samba with LinuxCNC
Well i did read that they deleted the Wheezy repos while i was searching for it, so that might explain it.
Besides upgrading to a new distro, i have no clue what else to do.
If you have a working config, make sure you save it to a USB stick or external hard drive.

Please Log in or Create an account to join the conversation.

More
10 Jun 2020 13:59 #170963 by Todd Zuercher
Replied by Todd Zuercher on topic Samba with LinuxCNC
You might be able to download ISOs of the whole Wheezy distro from an archive, and save the contents to a hard drive directory and install the debs directly from there.
cdimage.debian.org/mirror/cdimage/archive/7.11.0/i386/iso-dvd/

You would essentially be creating your own mirror, and you might be able to set the repositories to point to your new local mirror and install software using apt or synaptic.

I have not tried this myself. (perhaps I should) Most of my Linuxcnc machines are still running Wheezy. But I have not needed to install any software on any of them since the Wheezy archives disappeared.

Please Log in or Create an account to join the conversation.

More
10 Jun 2020 18:58 #170986 by erdavis
Replied by erdavis on topic Samba with LinuxCNC
I just spun up a linuxcnc-2.7.14-wheezy.iso vm and found a way to install samba

Change the date back to before the security certificate expired.
sudo date +%Y%m%d -s "20180101"
sudo apt-get update
sudo apt-get install samba

Worked here.

serverfault.com/questions/960970/wheezy-...eturns-404-not-found
The following user(s) said Thank You: tommylight, wesolowskig

Please Log in or Create an account to join the conversation.

Time to create page: 0.056 seconds
Powered by Kunena Forum