Skip to content
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

OpenWrt Settings doenst seem to work #36

Closed
SquallHalle opened this issue Jan 4, 2022 · 9 comments
Closed

OpenWrt Settings doenst seem to work #36

SquallHalle opened this issue Jan 4, 2022 · 9 comments

Comments

@SquallHalle
Copy link

SquallHalle commented Jan 4, 2022

Using OpenWrt 21.02.0

Expected Behavior

uci set dhcp.@dnsmasq[0].dhcp_match=set:bios,60,PXEClient:Arch:00000 uci set dhcp.@dnsmasq[0].dhcp_boot=tag:bios,netboot.xyz.kpxe,,YOURSERVERIP uci set dhcp.@dnsmasq[0].dhcp_match=set:efi32,60,PXEClient:Arch:00002 uci set dhcp.@dnsmasq[0].dhcp_boot=tag:efi32,netboot.xyz.efi,,YOURSERVERIP uci set dhcp.@dnsmasq[0].dhcp_match=set:efi32-1,60,PXEClient:Arch:00006 uci set dhcp.@dnsmasq[0].dhcp_boot=tag:efi32-1,netboot.xyz.efi,,YOURSERVERIP uci set dhcp.@dnsmasq[0].dhcp_match=set:efi64,60,PXEClient:Arch:00007 uci set dhcp.@dnsmasq[0].dhcp_boot=tag:efi64,netboot.xyz.efi,,YOURSERVERIP uci set dhcp.@dnsmasq[0].dhcp_match=set:efi64-1,60,PXEClient:Arch:00008 uci set dhcp.@dnsmasq[0].dhcp_boot=tag:efi64-1,netboot.xyz.efi,,YOURSERVERIP uci set dhcp.@dnsmasq[0].dhcp_match=set:efi64-2,60,PXEClient:Arch:00009 uci set dhcp.@dnsmasq[0].dhcp_boot=tag:efi64-2,netboot.xyz.efi,,YOURSERVERIP uci commit /etc/init.d/dnsmasq restart

using this and get efi for efi maschiens and kpxe for older maschines

Current Behavior

doenst work, it always uses the last entrie and you find only the last one in /etc/config/dhcp

Solution

thanks to AreYouLoco in this Thread: https://forum.turris.cz/t/add-multiple-dhcp-match-and-dhcp-boot-combinations/12318
if you the following to /etc/dnsmasq.conf it works:

dhcp-match=set:bios,60,PXEClient:Arch:00000 dhcp-boot=tag:bios,netboot.xyz.kpxe,,YOURSERVERIP dhcp-match=set:efi32,60,PXEClient:Arch:00002 dhcp-boot=tag:efi32,netboot.xyz.efi,,YOURSERVERIP dhcp-match=set:efi32-1,60,PXEClient:Arch:00006 dhcp-boot=tag:efi32-1,netboot.xyz.efi,,YOURSERVERIP dhcp-match=set:efi64,60,PXEClient:Arch:00007 dhcp-boot=tag:efi64,netboot.xyz.efi,,YOURSERVERIP dhcp-match=set:efi64-1,60,PXEClient:Arch:00008 dhcp-boot=tag:efi64-1,netboot.xyz.efi,,YOURSERVERIP dhcp-match=set:efi64-2,60,PXEClient:Arch:00009

@github-actions
Copy link

github-actions bot commented Jan 4, 2022

Thanks for opening your first issue here! Be sure to follow the bug or feature issue templates!

@github-actions
Copy link

github-actions bot commented Feb 4, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@aphorise
Copy link

aphorise commented Aug 6, 2022

Why has this been closed without any resolution?

@aptalca
Copy link
Member

aptalca commented Aug 6, 2022

It's not closed

@aphorise
Copy link

aphorise commented Aug 6, 2022

My bad sorry - anything I can do?

@github-actions
Copy link

github-actions bot commented Sep 6, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@drizuid
Copy link
Member

drizuid commented Jan 5, 2023

how to setup your dhcp server is not in scope for our container. I suggest reviewing your dhcp server daemon's documentation and/or seeking guidance from the netbootxyz devs. We support the container, not the application within the container.. so the dhcp server that isn't related to either, is FAR outside of our scope.

Best wishes

@drizuid drizuid closed this as not planned Won't fix, can't repro, duplicate, stale Jan 5, 2023
@Clockwork-Muse
Copy link

@drizuid - Except the DHCP setup is something you display prominently in the readme.

As near as I'm aware your readme is the only documentation for netbootxyz DHCP setup.

@drizuid
Copy link
Member

drizuid commented Jan 27, 2023

the netboot.xyz is where we got that info and we provide that static set as a courtesy.

@linuxserver linuxserver locked as resolved and limited conversation to collaborators Jan 27, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants