Subject: netboot from Windows 2000?
To: None <port-next68k@netbsd.org>
From: Tom Sobczynski <tcs@MIT.EDU>
List: port-next68k
Date: 06/17/2000 16:14:56
Hello all!

I'm trying to netboot NetBSD on my mono slab from a Windows 2000
machine.  I have HCL Inetd at my disposal for W2K, and have been
trying to adapt the instructions for netbooting from NetBSD.  Needless
to say, it doesn't work yet, though I have no idea why.  My
understanding of the bootp and tftp protocols is essentially zero, so
I'm really stumbling here.  In trying to debug the problem, I fired up
a packet sniffer and watched what happened when I tried btp()netbsd on
the NeXT.  The NeXT fired off a broadcast bootp request every now and
then, and each one resulted in a reply from the Windows box.  Here's
one of the replies:

* FF FF FF FF | FF FF 00 10 | 5A 17 06 A2 | 08 00 45 00
[........Z.....E.]
* 01 48 97 F6 | 00 00 80 11 | 8D BF 12 F5 | 00 FB FF FF
[.H..............]
* FF FF 00 43 | 00 44 01 34 | 9F 31 02 01 | 06 00 00 00
[...C.D.4.1......]
* 02 AF 00 00 | 00 00 00 00 | 00 00 12 F5 | 02 63 12 F5
[.............c..]
* 00 FB 00 00 | 00 00 00 00 | 0F 00 A4 67 | 00 00 00 00
[...........g....]
* 00 00 00 00 | 00 00 6D 65 | 72 65 00 00 | 00 00 00 00
[......mere......]
* 00 00 00 00 | 00 00 00 00 | 00 00 00 00 | 00 00 00 00
[................]
* 00 00 00 00 | 00 00 00 00 | 00 00 00 00 | 00 00 00 00
[................]
* 00 00 00 00 | 00 00 00 00 | 00 00 00 00 | 00 00 00 00
[................]
* 00 00 00 00 | 00 00 2F 6E | 65 78 74 2F | 62 6F 6F 74
[....../next/boot]
* 00 00 00 00 | 00 00 00 00 | 00 00 00 00 | 00 00 00 00
[................]
* 00 00 00 00 | 00 00 00 00 | 00 00 00 00 | 00 00 00 00
[................]
* 00 00 00 00 | 00 00 00 00 | 00 00 00 00 | 00 00 00 00
[................]
* 00 00 00 00 | 00 00 00 00 | 00 00 00 00 | 00 00 00 00
[................]
* 00 00 00 00 | 00 00 00 00 | 00 00 00 00 | 00 00 00 00
[................]
* 00 00 00 00 | 00 00 00 00 | 00 00 00 00 | 00 00 00 00
[................]
* 00 00 00 00 | 00 00 00 00 | 00 00 00 00 | 00 00 00 00
[................]
* 00 00 00 00 | 00 00 4E 65 | 58 54 01 00 | 00 00 00 00
[......NeXT......]
* 00 00 00 00 | 00 00 00 00 | 00 00 00 00 | 00 00 00 00
[................]
* 00 00 00 00 | 00 00 00 00 | 00 00 00 00 | 00 00 00 00
[................]
* 00 00 00 00 | 00 00 00 00 | 00 00 00 00 | 00 00 00 00
[................]
* 00 00 00 00 | 00 00       |             |

I wish I knew what should be in this packet, because the NeXT never
sends a response to it.  A solid whack over the head with a
clue-by-four would be greatly appreciated.

I wasn't terribly worried about exactly what the reply consisted of,
because I figured I could solve that later.  I was most concerned with
just seeing some communication back and forth, and getting to the
point where the NeXT would attempt a tftp connection.

Thanks in advance,
Tom Sobczynski
tcs@mit.edu