9front - general discussion about 9front
 help / color / mirror / Atom feed
* [9front] PXE booting Rpi
@ 2021-03-10 14:05 Daniel Morandini
  2021-03-10 17:20 ` cinap_lenrek
  0 siblings, 1 reply; 17+ messages in thread
From: Daniel Morandini @ 2021-03-10 14:05 UTC (permalink / raw)
  To: 9front

Hi folks,
I’m not able to understand what is missing, but my Rpi2 model B is
not PXE booting. The device has the bootcode.bin file in its fat
partition, it successfully makes the DHCP discovery:
```
030500 ms 
	ether(s=b827ebeda1c9 d=ffffffffffff pr=0800 ln=364)
	ip(s=0.0.0.0 d=255.255.255.255 id=0000 frag=0000 ttl=128 pr=17 ln=350)
	udp(s=68 d=67 ck=0000 ln= 330)
	bootp(t=Req ht=1 hl=6 hp=0 xid=26f30339 sec=0 fl=0000 ca=0.0.0.0 ya=0.0.0.0 sa=0.0.0.0 ga=0.0.0.0 cha=b827ebeda1c9 magic=63825363)
	dhcp(t=Discover  requested=(43 60 67 128 129 130 131 132 133 134 135 66 1 3) T93=0000 T94=010201 T97=00c9a1ed94c9a1ed94c9a1ed94c9a1ed94 vendorclass=PXEClient:Arch:00000:UNDI:002001)
030504 ms 
	ether(s=dca63262c202 d=b827ebeda1c9 pr=0800 ln=312)
	ip(s=10.1.1.1 d=10.1.1.2 id=43e3 frag=0000 ttl=255 pr=17 ln=298)
	udp(s=67 d=68 ck=d9f6 ln= 278)
	bootp(t=Rep ht=1 hl=6 hp=0 xid=26f30339 sec=0 fl=0000 ca=0.0.0.0 ya=10.1.1.2 sa=10.1.1.1 ga=0.0.0.0 cha=b827ebeda1c9 magic=63825363 snam=filefucker file=/arm/9pi2)
	dhcp(t=Offer lease=1800 serverid=(10.1.1.1) mask=(255.255.255.0) router=(10.1.1.254) vendorinfo=)

```
My DHCP server makes an offer but its never accepted (I never see
a subsequent TFTP RRQ packet, the Discover request keeps on popping).

I’m looking at [1] and it says:
```
The important part of the reply is the Vendor-Option Option 43.
This needs to contain the string "Raspberry Pi Boot", although, due
to a bug in the boot ROM, you may need to add three spaces to the
end of the string.
```
Which I'm not sending apparently. The documentation we have though
does not say anything about this detail; I assume I’m not the only
one that wants to PXE boot some pi’s with 9front, hence I infer the
problem is somewhere else. This is my network setup (stripped)
```
sys=filefucker
	ether=dca63262c202
	ip=10.1.1.1

sys=authtrouble
	ether=b827ebeda1c9
	ip=10.1.1.2
	bootf=/arm/9pi2
	
sys=thinkterm
	ether=843a4bd682ac

sys=fastgate
	ether=88e9fe6af9e9
	ip=10.1.1.254

ipnet=home
	ip=10.1.1.0
	ipmask=255.255.255.0
	fs=filefucker
	auth=authtrouble
	tftp=filefucker
	ipgw=10.1.1.254
	dns=fastgate
```

Ideas? Just wondering, do we have a custom bootcode.bin that I should
be using?

Thanks in advance,
Cheers
dan

[1] https://www.raspberrypi.org/documentation/hardware/raspberrypi/bootmodes/net.md
[2] http://man.cat-v.org/plan_9/8/booting

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2021-04-19 16:27 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-10 14:05 [9front] PXE booting Rpi Daniel Morandini
2021-03-10 17:20 ` cinap_lenrek
2021-03-12 10:36   ` Daniel Morandini
2021-03-25 10:55     ` Daniel Morandini
2021-03-25 18:49       ` Noam Preil
2021-03-25 21:49         ` Noam Preil
2021-04-07  8:39         ` Daniel Morandini
2021-04-08 14:21           ` cinap_lenrek
2021-04-08 15:45             ` Daniel Morandini
2021-04-08 16:12               ` cinap_lenrek
2021-04-11 12:11                 ` cinap_lenrek
2021-04-12  9:04                   ` Daniel Morandini
2021-04-12 10:14                     ` cinap_lenrek
2021-04-12 16:48                       ` Daniel Morandini
2021-04-15 21:15                         ` cinap_lenrek
2021-04-19  7:53                           ` Daniel Morandini
2021-04-19 16:20                             ` Daniel Morandini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).