Subject: Re: I think I'm going to cry (netbooting)
To: fission <fission@mb.sympatico.ca>
From: Bill Studenmund <wrstuden@nas.nasa.gov>
List: port-macppc
Date: 07/28/1999 12:13:25
On Tue, 27 Jul 1999, fission wrote:

> Okay.  I wired my Mac up to my PC running Linux and am trying to netboot
> from it.  I have bootp installed with the following bootptab:
> 
> -- cut here --
> 
> # /etc/net/bootptab: database for bootp server (/usr/net/in.bootpd)
> # Last update Mon 11/7/88 18:03
> # Blank lines and lines beginning with '#' are ignored.
> #
> # Be careful about including backslashes where they're needed.  Weird (bad)
> # things can happen when a backslash is omitted where one is intended.
> 
> # First, define a global entry which specifies the stuff every host uses.
> .allhost:\
> 	:dn=foo.org:\
> 	:ds=205.200.16.65 205.200.16.69:\
> 	:gw=192.168.0.1 192.168.1.1 192.168.254.1:\
> 	:lg=192.168.0.1 192.168.1.1 192.168.254.1:\
> 	:lp=192.168.0.1 192.168.1.1 192.168.254.1:\
> 	:ts=192.168.0.1 192.168.1.1 192.168.254.1:\
> 	:sm=255.255.255.0:\
> 	:to=auto:\
> 	:vm=auto:

I'd say loose the multiple values, but if you're seeing nothing in the
logs, that might not be the problem (the mac'd have to ask for the info
before the values would cause a problem).

> # Define all individual entries.
> bar:\
> 	:tc=.allhost:\
> 	:ht=ether:\
> 	:ha=00401009F491:\
> 	:hn:\
> 	:ip=192.168.0.10:\
> 	:rp=/export/diskless/bar/:\
> 	:bf=netbsd.ofwboot:
> 
> -- and here --

What file is netbsd.ofwboot? The ofwboot file from /usr/mdec? That one
won't work. You either want ofwboot.elf (for newer OF versions) or
ofwboot.xcoff, which we don't make available right now (xcoff building is
a work in progress).

> Is there anything wrong with this bootptab?  I know bootpd is running in
> /etc/inetd.conf.  I have tftpd running as well (with the directory
> /tftpboot/) and netbsd.ofwboot is in there.  I am not getting _anything_
> whatsoever in /var/adm/messages or /var/adm/syslog.
> 
> I have tried "boot enet" and "boot enet:0", but all that happens is that
> my Mac reboots into MacOS.  I have even tried to do a
> boot /bandit@F2000000/pci1011,14@11
> which is apparently my ethernet card.
> 
> Before I go and bring another Mac home from work so I can use OF through a
> serial line, is there anything I'm missing here?
> 
> The ethernet card has many registers in .properties and such, but no
> words.
> 
> Do you need a special kind of ethernet card to netboot?

Try using the internal ethernet.

Sorry I can't help more. :-(

Take care,

Bill