Comments (6)
Here are logs:
2017/01/04 23:17:25 [DHCP] Offering to boot 80:e0:1d:d7:2a:5c
2017/01/04 23:17:25 [DHCP] Ignore request from unexpected NIC enp21s0/10.10.10.86
2017/01/04 23:17:25 [DHCP] Offering to boot 80:e0:1d:d7:2a:5c
2017/01/04 23:17:29 [TFTP] Sent "80:e0:1d:d7:2a:5c/0" to 172.16.10.15:2070
2017/01/04 23:17:29 [TFTP] clamping blocksize to "172.16.10.15:2071": 1456 -> 1450
2017/01/04 23:17:29 [TFTP] Sent "80:e0:1d:d7:2a:5c/0" to 172.16.10.15:2071
2017/01/04 23:17:29 [DHCP] Offering to boot 80:e0:1d:d7:2a:5c
2017/01/04 23:17:29 [DHCP] Ignore request from unexpected NIC enp21s0/10.10.10.86
2017/01/04 23:17:29 [DHCP] Offering to boot 80:e0:1d:d7:2a:5c
2017/01/04 23:17:29 [HTTP] Sending ipxe boot script to 172.16.10.15:15471
And netstat:
tcp 0 0 172.16.10.30:18081 0.0.0.0:* LISTEN 28791/pixiecore
udp 0 0 172.16.10.30:69 0.0.0.0:* 28791/pixiecore
udp 0 0 172.16.10.30:4011 0.0.0.0:* 28791/pixiecore
raw 0 0 0.0.0.0:17 0.0.0.0:* 7 28791/pixiecore
from netboot.
I think this bit me a while a go, but I failed to report it here. Thanks for reporting and fixing it!
i suggest that you create a pull request with your changes, so that danderson can process it more easily. Also, note that you will have to sign a "Contributor License Agreement' (CLA). Don't worry, the googlebot will guide you through it.
Cheers!
from netboot.
Thanks for the report! I need to debug some more and figure out why the raw socket behavior is weird. Your patch seems fine, although I will probably write my own by adding more logic to the BPF program, if I can't make the socket work properly.
from netboot.
Ah, I suspect I know. My guess is that binding the raw socket to a specific IP filters out broadcast packets, so the dhcp4 package never receives the DHCPDISCOVER. Fortunately, that's easy to fix with a small extension of the BPF program. I'll test that now.
from netboot.
@hangxie I think the commit I just pushed fixes -l
to work correctly. I've tested both with and without --dhcp-no-bind
, and now I can boot machines with a pixiecore listening on a specific address. Can you confirm?
from netboot.
It works, thanks for the quick fix.
from netboot.
Related Issues (20)
- Running on macOS fails with setsockopt: invalid argument HOT 3
- Package from packagecloud.io not working. Status code 429.
- Option to disable the DHCP server HOT 1
- make update-ipxe error HOT 5
- enable docker hub autobuild and update docker image(s) HOT 2
- RPI4 netboot support HOT 2
- TFTP bug: response source IP is not client request HOT 1
- tftp test is failing: package go.universe.tf/netboot/cmd/pixiecore: cannot find package HOT 3
- quick for archlinux not working HOT 3
- docker pull pixiecore/pixiecore fails
- pixiecore quick xyz is legacy BIOS only by default? HOT 4
- unsupported client firmware type '0' (please file a bug!) HOT 7
- Cannot install pixiecore HOT 2
- how to prevent pxe boot looping HOT 1
- Is it possible to run pixiecore with cloud-init config? HOT 1
- Netboot with NixOS HOT 1
- Arch Linux quick command needs cms_verify=y HOT 1
- [Discussion] IPV6 Exploration pixiecore HOT 1
- [DHCP] Unusable packet from xx:xx:xx:xx:xx:xx: unsupported client firmware type '16' (please file a bug!) despite using AMD64 HOT 2
- [PIXIECORE] No configuration method succeeded
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from netboot.