[Prev][Next][Index][Thread]

Re: bootp problems using netboot kernel



Hi Pete,

I had the same problem before, so I might be able to help ...

> I'm trying to use the netboot kernel, but I'm having a problem with bootpd on my server.  Bootpd runs fine, I've use the bootptest program to test it on the server machine and it appears to be working OK and sending out all the requisite information.  How
> ever, when I try to use the netboot kernel, it complains about not being given enough information.  I bunged a few lines of code in netboot to show what information it was getting, and it's just the IP address.

Here's an e-mail I received from Kevin Van Maren, which helped me
making netboot work:


>                 required_flags = (BOOTP_NET_IP |
>                                   BOOTP_NET_NETMASK |
>                                   BOOTP_NET_GATEWAY |
>                                   BOOTP_NET_HOSTNAME);
> 
> The client doesn't think that it is getting all the fields it
> needs.  You can add a printf in oskit/boot/net/driver.c to see
> what fields it thinks it is missing.
> 
> You probably just need to add ":vm=rfc1048:\" in the config file,
> as that is the magic cookie used to check the vendor-specific
> fields for a few of the `extended' entries, such as the netmask.
> You might want to also set the domain name (dn).

Also, here's my /etc/bootptab

.default:\
        :vm=rfc1048:\
        :hn:\
        :dn=citi.umich.edu\
        :sm=255.255.255.128:\
        :hd=/export/client/root:bf=netbsd:\
        :ds=141.211.92.141:\
        :ns=141.211.92.141:\
        :nt=141.211.92.141:\
        :gw=141.211.92.129:

charlie:tc=.default:ht=ethernet:ha=00a0241d3794:ip=141.211.92.137:


Hope it helps. 


--
Concentration .. Naomaru Itoi
=================================
To subscribe or unsubscribe, send mail with "subscribe" or "unsubscribe"
to oskit-users-request@flux.cs.utah.edu.  The oskit-announce list is low
volume - if you want to subscribe, mail oskit-announce-request@flux.cs.utah.edu


References: