Go to advanced search

by marcosd
Tue Oct 04, 2016 11:27 am
Forum: Advanced users
Topic: Network booting with isc-dhcp and tftpd not working
Replies: 19
Views: 9993

Re: Network booting with isc-dhcp and tftpd not working

Here is a hack that worked for the time being. I leave the DHCP server to pick an address from the pool, hence performing an ICMP echo, and then forced the Rpi 3 to do a mac address spoofing once it boots to get a fixed IP address. My dhcpd.conf looks like this: subnet 192.168.2.0 netmask 255.255.25...
by marcosd
Tue Oct 04, 2016 10:56 am
Forum: Advanced users
Topic: Network booting with isc-dhcp and tftpd not working
Replies: 19
Views: 9993

Re: Network booting with isc-dhcp and tftpd not working

To elaborate a little further on the topic, I still have not found a solution, but if I set

Code: Select all

ping-check false;
to remove the ICMP test for ip addresses assigned from the pool, the boot does not work. It does seem that the delay introduced by the ICMP test does the trick for network booting a Rpi 3.
by marcosd
Tue Oct 04, 2016 8:17 am
Forum: Advanced users
Topic: Network booting with isc-dhcp and tftpd not working
Replies: 19
Views: 9993

Re: Network booting with isc-dhcp and tftpd not working

I think I found the source of the problem, but I do not know how to solve it. If I do a packet capture when forcing a fixed-address I see something like this: 07:28:00.324637 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from b8:27:eb:ad:76:1e (oui Unknown), length 320 07:28:00.324...
by marcosd
Tue Oct 04, 2016 7:01 am
Forum: Advanced users
Topic: Network booting with isc-dhcp and tftpd not working
Replies: 19
Views: 9993

Re: Network booting with isc-dhcp and tftpd not working

I did, I swapped them. But the issue seems to be the fixed-address assignment. If I remove: host rpi-1 { hardware ethernet b8:27:eb:ad:76:1e; fixed-address 192.168.2.12; option host-name "rpi-2"; } from the dhcpd.conf file and let the server pick an address from the pool, it works :-/
by marcosd
Mon Oct 03, 2016 5:33 pm
Forum: Advanced users
Topic: Network booting with isc-dhcp and tftpd not working
Replies: 19
Views: 9993

Re: Network booting with isc-dhcp and tftpd not working

The issue seems to be the fixed-address assignment in the host scope. If I remove the host declaration and let the DHCP server to pick an address from the pool (even if it happens to pick the same I was previously specifying as fixed-address), the boot process continues with the subsequent ARP/TFTP ...
by marcosd
Mon Oct 03, 2016 4:17 pm
Forum: Advanced users
Topic: Network booting with isc-dhcp and tftpd not working
Replies: 19
Views: 9993

Re: Network booting with isc-dhcp and tftpd not working

Solskogen, my dhcpd.conf was similar to yours, except that I swapped options 66 and 43 as described above. But the Rpi will still send a couple of DHCP Discover packets before it stops and it does not seem to send any ARP or TFTP request: 16:05:55.898188 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: B...
by marcosd
Mon Oct 03, 2016 12:29 pm
Forum: Advanced users
Topic: Network booting with isc-dhcp and tftpd not working
Replies: 19
Views: 9993

Re: Network booting with isc-dhcp and tftpd not working

Have you managed to make the network boot work with ISC DHCP server? I've included both options 43 and 66 as explained above with no success. I've also included three spaces at the end of the vendor string as explained in: https://www.raspberrypi.org/documentation/hardware/raspberrypi/bootmodes/net....

Go to advanced search