-
Notifications
You must be signed in to change notification settings - Fork 66
PiServer not issuing DHCP address to a Pi4 #76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Yes that's correct we now have a new OUI |
Note that besides the MAC filter, only devices that are actually trying to boot from the network (have "PXEClient" in the DHCP packet) are shown. |
Does that mean that they will not be given a DHCP address (if the filter were expanded to allow the new OUI) or just that they would not show up in the PiServer GUI? |
I am only talking about the GUI. If you add the hosts manually to the /var/lib/piserver/hosts.json, no restrictions apply. |
BTW I do was assuming that you do want to use the Pi 4 with Piserver.
If that was not your intention, and you want independent Pi using SD cards, that do need a DHCP lease, just alter the dnsmasq configuration. Can give non-piserver hosts an IP out of a different range ("dhcp-range=[start-ip],[end-ip],[netmask]") |
Absolutely; my end goal is to be able to use the Pi 4 with PiServer - I thought that even with /boot on and SD Card Buster was still not working correctly over NFS... or does this issue: raspberrypi/linux#3067 only effect Pi 3 running Buster? If it is possible to get the PI 4 booting from SD Card and then everything else running from PiServer then this is where I would love to be ready for September (assuming that the network boot of Pi 4 will not be ready in time)... Any pointers towards getting this working would be gratefully received! I am more than happy to test things out if that helps others too and will try to document what I do if that would help others too. :-D |
It only seems to occur with Pi that are being PXE booted. So I am guessing there is either a bug in the firmware part that is responsible for PXE booting, that leaves the firmware in such state that things go wrong when the firmware part that is responsible for camera wants to do its thing. |
So if I were to get an SD Card image of Buster how would I go about adding it to PiServer for my Pi 4 clients to boot from? I have seen some talk of a convert.sh script but not sure where that is... |
http://ftp.de.debian.org/debian/pool/main/b/binfmt-support/binfmt-support_2.2.0-2_i386.deb @XECDesign
|
Thanks! I will give this a go later today hopefully!
Am I able to perform a distribution upgrade to Debian Buster of the PiServer or is this untested? I am still working on testing servers at the minute as I need to rebuild my production PiServer for a couple of reasons...
Should I use the RPi Desktop image and try to update to Buster or just install Buster from Debian and then compile PiServer on that? |
Will leave the answer on what the status is of "Debian Buster with Raspberry Pi desktop for x86" to someone else. But regarding storage expansion:
If you want easy expansion, choose LVM partitioning during Debian installation. |
It's all being built in VMWare so need for SATA ports! Easier to expand a virtual HDD on the SAN and VMWare than it is to bother with LVM! ;-) |
Added to the todo list. Thanks for the heads up. |
Added commit that adds support for the new OUI. (Still defaults to only showing Pi that are actually netbooting in the "add servers" screen. |
When attempting the final step here:
I am told I need to install pxz. Should that be added to the list of dependencies? |
Not sure. (and it is possible to compress the image without pxz as well, but pxz has the advantage it can use multiple CPU cores to compress) |
OK... I have got this up and running on my testing virtual machine and have one of my Pi 4 booting and logging in through PiServer :-D I am going to get a Buster image updated and tweaked how we need it here in school and then look at getting this set up and running on production. In the end I did not upgrade the PiServer to Buster as this just seemed to create a far too unstable solution. I will write this all up into a blog post to in case others are interested! One last question... Is it safe to unmount the /boot SD Card once the Pi has booted? If it is I was thinking of writing a Bash script which runs at login and unmounts the SD Card so that it does not show on the desktop of the logged in Pi... Thanks for all your help on this |
The kernel is loaded from SD card into memory by the Pi firmware, not by Linux itself. If it is, it is probably caused by LXDE/gvfs's habit to automatically mount any removable storage available. |
You also might want to check via |
Small hurdle. Qemu 3.1 requires a newer version of libcacard (smartcard support) than what's in Stretch. So I need to do one of the following:
Although the downsides of 1 and 2 are very unlikely, 3 seems like the easiest and has the lowest risk, so if there are no objections, I'll go for that option. |
Thanks all! :-D I now have a production PiServer up and running for my Pi 4s. I am going to test it a bit more later this week once I get all of the classroom Pis set up. I have written a blog post up here: https://www.jonwitts.co.uk/archives/1222 about the whole setup process. Thanks again :-D |
I have received my class set of Pi4s and was starting to set them up (in the knowledge that I will probably be running them on SD Cards to start with), however when I connect them to the same DHCP network as my PiServer they do not get issued an IP Address...
Looking at it I think that the Pi4s have new MAC Address range... All of my connected Pi3s start b8:27:eb yet the Pi4 I am testing with starts dc:a6:32....
Have Raspberry Pi been allocated another MAC address range? If so, is it possible to get PiServer to at least serve DHCP requests to clients in this range too?
Thanks :-D
The text was updated successfully, but these errors were encountered: