-
Notifications
You must be signed in to change notification settings - Fork 20
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
setup with synology and fritzbox router - wrong tftp address #3
Comments
I have this same issue running the samdbmg/dhcp-netboot.xyz image. The DHCP proxy is not found. I understand that allowance for a proxy has now been added (following netbootxyz/netboot.xyz#952) but there's no literature I can find about how to implement this ie, what is the environment variable/option I need to invoke or define? I assume it would be something like |
No i dont think you have to do something. I think his image isnt up-to-date so the fix for the proxy dhcp isnt working in his version. I spent the last day to get the netbootxyz working and all you need to do is to set this up + your proxy dhcp. My docker compose file: version: "3.4" |
Sorry about this one - it's been sat on my list of stuff to do for 5 months, and I only found time to have a look at this last week! That explains why I can't reproduce the problem you were having, although curiously even prior to the proxy dhcp fix upstream it still worked on my network with various systems and Virtualbox at least. I've re-enabled the Github Actions workflow that builds and pushes the container, which should rebuild it tomorrow morning and (hopefully 🤞 ) pick up the proxy fix. I'm also working on https://github.com/samdbmg/dhcp-netboot.xyz/tree/feat/dnsmasq-for-tftp which switches to using dnsmasq for TFTP rather than tftpd. In the docs for the
I've also added a Just need to test it on Hyper-V now and then tidy up the commit history mess. |
Thank you for pointing this out!
I have to seriously question if this is really the docker-compose.yml file you used! I'm definitely relatively new to this, but running this I found:
I hope this doesn't come across as ungrateful for the help - just more that I'm surprised that yaml file works for you and I'm trying to work out if there's something I missed that would make this all work. |
Hey @hutchwilco, you are probably right if i remember correctly of the port mapping in host mode. I run this via portainer and got no errors so far (but i think you dont need to run this in host mode). So i think if you run this in host mode, port mapping isnt an option. So instead of:
The last 3rd point: Not sure whats happend here. I think its a follow-up error because your dnsmasq.conf isnt present where the user and group is defined for the service. (Just a guess!) Hope this helps a bit, im not a docker expert yet and just started with the new world too. |
Did you get this working in the end @hutchwilco? I've just merged a change to add a I've added a note about the DHCP proxy prompt in 73bcc9c as well, and (finally!) confirmed it works on Hyper-V |
@samdbmg yes! sort of! I created an alpinelinux VM on proxmox, installed docker (don't try to run docker on an LXC on proxmox!) clone your repo, opened the ports as suggested, set the environment variables and quickly had the container running. |
Best bet is probably to put the ISOs somewhere on your host, and then add another volume mount, e.g. a
Then have a look at https://netboot.xyz/docs/docker/#local-mirror-access for how to make it pull assets locally (although if you only want to pull some distros locally, you might want to go edit the URL line in the menu itself instead because changing the
becomes (obviously the IP may be different for you)
|
Hello all. First of all appologies since I might be doing something wrong, but I'm also hitting this issue. I am running the docker compose in portainer. However the VM doesn't grab the proxydhcp TFTP file, and loads the regular netboot file through the Internet. Also, it appears that the next-server info appearing in the top of the menu, is the router's IP. What can be done to solve this one ? |
Hey,
i found your project because you set up the netboot.xyz with an integrated proxy dhcp server.
I tried to use your image but if i try to network boot the tftp address is always the ip of my gateway.
It is possible to tell them to use the ip of the tftp server instead of gateway? Im not able to set the tftp server in my router (fritzbox) and due to my isp provider im currently not able to change this shitty configuration.
I also run this configuration on a synology through portainer.
I combined your setup with this one: https://www.technorabilia.com/dockerized-netboot-xyz-on-synology-nas-and-router/ (exluded the router configuration part in the post)
Im trying to avoid enabling the dhcp on the synology because its already running on my fritzbox which is running 24/7 and dont want do run two of them.
Im not sure but i think i need to edit the dnsmasq.conf to get this working. Like adding the tftp ip (in my case 192.168.1.6) at the end of each line of "dhcp-boot=..."
You copied the config from the dd-wrt part. But there is also mentioned to replace the ip with the one you define.
(https://github.com/linuxserver/docker-netbootxyz#dd-wrt) (see YOURSERVERIP)
Maybe you can take a look and have some hint to help me out.
Image of the VM
My docker-compose file:
EDIT:
Okay im not alone and the main problem is netboot.xyz.
See this issue: netbootxyz/netboot.xyz#952
The text was updated successfully, but these errors were encountered: