Operating System - HP-UX
1833704 Members
2348 Online
110062 Solutions
New Discussion

bootp problem - I can't assign a bf boot file

 
Mauro Gatti
Valued Contributor

bootp problem - I can't assign a bf boot file

Hi all, this is my only entry in /etc/bootptab

nebula:\
ht=ether:\
ha=0003ba0fe313:\
hn:\
ip=172.16.200.4:\
sm=255.255.252.0:\
gw=172.16.200.85:\
ds=172.16.200.90:\
hd=/usat/tftpboot/:\
bf=/tftpboot.img:\
ba

If I try a bootpquery I get:


leo# bootpquery 0003ba0fe313 ether
Received BOOTREPLY from leo.directline.italy (172.16.200.14)

Hardware Address: 00:03:ba:0f:e3:13
Hardware Type: ethernet
IP Address: 172.16.200.4
Boot file: (None)

RFC 1048 Vendor Information:
Subnet Mask: 255.255.252.0
Gateway: 172.16.200.85
Domain Name Server: 172.16.200.90
Host Name: nebula

Why I can't see boot file name in Boot file field?

Thank You
Ubi maior, minor cessat!
4 REPLIES 4
Elmar P. Kolkman
Honored Contributor

Re: bootp problem - I can't assign a bf boot file

Make sure there is no space behind a . You can check it by moving the bf entry up all the way, to make sure it is read correctly.
Every problem has at least one solution. Only some solutions are harder to find.
Mauro Gatti
Valued Contributor

Re: bootp problem - I can't assign a bf boot file

I've modified my bootptab file like this:

nebula:ht=ether:ha=0003ba0fe313:hn:ip=172.16.200.4:sm=255.255.252.0:gw=172.16.200.85:ds=172.16.200.90:
hd=/usat/tftpboot/:bf=/tftpboot.img:ba

But the result is the same!
Where must to be bf?
Ubi maior, minor cessat!
Elmar P. Kolkman
Honored Contributor

Re: bootp problem - I can't assign a bf boot file

Question: is /usat/tftpboot/tftpboot.img available and readable on your system?
If not, bootpd will not send the bootfile information. Also try to remove the trailing slash from hd.
Every problem has at least one solution. Only some solutions are harder to find.
Mauro Gatti
Valued Contributor

Re: bootp problem - I can't assign a bf boot file

Ok I've changed owner and permission on directory and file giving acces to tftp user and now it works fine.

Thank you
Ubi maior, minor cessat!