A few months ago, I built a samba 4 DC on a RPi 2B v1.1 with Louis' packages. It's just like a normal Intel cpu based installation with a couple of minor exceptions. I built mine on Raspbian Lite. You'll have to add an additional user and give it sudo privileges.The network setup was like the older Debian 9 by simply adjusting /etc/network/interfaces. To add Louis' repo you'll need to "apt install apt-transport-https gnupg2" to install his repo. The gnupg2 package was missing from Louis' instructions on his repo page, might be there now.. Other than that it should install just like normal package install. Post question here on the mailing list. On Tue, Sep 22, 2020 at 2:16 PM Rowland penny via samba < samba at lists.samba.org> wrote:> On 22/09/2020 19:25, Paul R. Ganci via samba wrote: > > Is there a version of Samba that will run on a Raspberry Pi 2? If so, > > can somebody point me to it? If not can, Samba be compiled on a > > Raspberry Pi 2? Thanks for your help. > > > I know of a version of Samba for the later versions of the Rpi, but not > the Pi2. You should be able to compile Samba on your Pi2, I used to > compile Samba on an Rpi1 (case of run 'make' and then go to bed and it > would have finished compiling in the morning). > > If you want to build packages, then it might be worth having a look > here: http://apt.van-belle.nl/ > > Louis builds for armhf (amongst others) and may be able to help with any > build problems you may have. > > Rowland > > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba >
I thought I'd chime in here a bit. I'm no RPi guru - but I've used them quite a lot for monitoring installs - stuff like Smokeping/Nagios/OMD/Cacti. They were cheap and seemed attractive low-power devices for client installs - back 5-6 years ago. I'm definitely using regular PC's now. Yes, the hardware is more expensive - but an Optiplex 7010 or the like off of ebay, with a SSD is _WAY_ more capable. and while it might cost $150 or so, it's far more reliable. Frankly, a decent i5 class machine with 8G of memory, you can run something like Xen/XCP and run all that stuff, or an ADDC in a VM - which is, IMO, way more attractive than a Pi. (Way easier to test with, spin up a new instance to test upgrades, bring up a VM to do something new, etc.) So, far be it for me to tell anyone what to do - but I'm not nearly as happy with RPi (their disks are fragile and the biggest issue, IMO) vs a PC. The only real benefit for the Pi is space and power draw. (Though we're only talking like $30/year in power differential costs) As an old sage (curmudgeon if you like) I'd encourage people to really consider if the Pi is really what you want. For me, it's not - even though it's a totally cool device conceptually. They're a ton of fun to tinker with too. For something like a MAME I'd say go for it. Samba/ADDC? Probably not. Feel free to ignore me too! :) -Greg RWvs> A few months ago, I built a samba 4 DC on a RPi 2B v1.1 with Louis' RWvs> packages. RWvs> It's just like a normal Intel cpu based installation with a couple of minor RWvs> exceptions. RWvs> I built mine on Raspbian Lite. You'll have to add an additional user and RWvs> give it sudo privileges.The network setup was like the older Debian 9 by RWvs> simply adjusting /etc/network/interfaces. To add Louis' repo you'll need to RWvs> "apt install apt-transport-https gnupg2" to install his repo. The gnupg2 RWvs> package was missing from Louis' instructions on his repo page, might be RWvs> there now.. RWvs> Other than that it should install just like normal package install. RWvs> Post question here on the mailing list. RWvs> On Tue, Sep 22, 2020 at 2:16 PM Rowland penny via samba < RWvs> samba at lists.samba.org> wrote:>> On 22/09/2020 19:25, Paul R. Ganci via samba wrote: >> > Is there a version of Samba that will run on a Raspberry Pi 2? If so, >> > can somebody point me to it? If not can, Samba be compiled on a >> > Raspberry Pi 2? Thanks for your help. >> > >> I know of a version of Samba for the later versions of the Rpi, but not >> the Pi2. You should be able to compile Samba on your Pi2, I used to >> compile Samba on an Rpi1 (case of run 'make' and then go to bed and it >> would have finished compiling in the morning).>> If you want to build packages, then it might be worth having a look >> here: http://apt.van-belle.nl/>> Louis builds for armhf (amongst others) and may be able to help with any >> build problems you may have.>> Rowland>> -- >> To unsubscribe from this list go to the following URL and read the >> instructions: https://lists.samba.org/mailman/options/samba
On 9/22/20 2:14 PM, Gregory Sloop via samba wrote> As an old sage (curmudgeon if you like) I'd encourage people to really consider if the Pi is really what you want. > For me, it's not - even though it's a totally cool device conceptually. They're a ton of fun to tinker with too.I am also an old guy and didn't want to use the Rpi for this purpose. However, many years ago I turned off our land lines and had a Sprint femtocell in the house serving as the base station for our cell phones. My wife and I just used our cell phones as our main phones. For that to work a good GPS antenna was necessary (the little antenna which came with the femtocell just didn't work given the femtocell location and GPS signal). I chose an active Trimble Bullet III GPS Antenna requiring a 5V supply that was compatible with the femtocell and could be roof mounted. Once WiFi calling became available, Sprint dropped support for the femtocell. So I added a Trimble RES 360 Carrier Board and Rpi2 and created a Strata I time server. In July of 2017 a lightening strike took everything out (despite the lightening arrestor) so I migrated to RPI3 with a GPS Networking L1GPSA-N L1 Roof Antenna. I split the GPS signal and have two RPI3s each with a Trimble RES 360 Carrier Board. Since I already have this hardware providing approximately 1uS time accuracy (wouldn't want to be late for dinner), I thought I might try using them for ADs too.> For something like a MAME I'd say go for it. > Samba/ADDC? Probably not.I agree with you but circumstances (such as I retired) made me change my mind. I have Dell R710s one of which functions as my AD as well as performing other server tasks. I prefer to run CentOS 7 but given RHEL's refusal to support Samba AD functionality I have been using the Sernet packages. I thought if I used the RPI3s for the AD I could use the Samba source directly. I only use the AD for my home network and and a non-profit Alaskan malamute rescue website I support so running Samba is somewhat a hobby. Since I presently have only 1 AD using the two RPI3s would allow me to run two ADs so given that I presently only have one AD that might mitigate some of the potential issues should one of the RPI3s fail. A better idea, which I had not thought of until your message, would be to run a Debian or Ubuntu virtual machine on the Dell R710 and install the AD there. Then I could directly use Louis's packages. This option is very agreeable. -- Paul (ganci at nurdog.com) Cell: (303)257-5208