Tugger the SLUGger!SLUG Mailing List Archives

Re: [SLUG] Network Booting PA-RISC (HP9000 712/60)


You might want to endalbe the tftp service.. it isn't enabled by default..

/etc/xinetd.d/tftp or something like that probably has a disable=yes..

Dave.

On Mon, 14 Apr 2003, Gerard Blacklock wrote:

> Hi ppl,
>
> My baptism of fire regarding dhcpd, tftpd and network booting has come
> to a stand still....i hope someone who has some expertise can help
> locate the problem! I believe there may be some problem with my dhcp
> configuration, however i have never used dhcp before so i am stabbing in
> the dark when troubleshooting.
>
> I have setup a Redhat 8 machine with dhcp and tfpd rpms installed and
> they are "appearing" to be functioning correctly however when the client
> atempts to boot i have notiiced this problem.
>
> extract from ethereal packet sniffer:
>
> 265.294990      0.0.0.0 -> 255.255.255.255 BOOTP Boot Request from
> 08:00:09:c8:1d:e2
> 265.295422       hotdog -> 192.168.1.25 BOOTP Boot Reply
> 265.634900 192.168.1.25 -> hotdog       TFTP Read Request, File:
> /tftpboot/dists/woody/main/disks-hppa/3.0.23-2003-03-22/lifimage,
> Transfer type: octet
> 265.635075       hotdog -> ff:ff:ff:ff:ff:ff ARP Who has 192.168.1.25?
> Tell 192.168.1.10
> 265.635496  HP_c8:1d:e2 -> hotdog       ARP 192.168.1.25 is at
> 08:00:09:c8:1d:e2265.635537       hotdog -> 192.168.1.25 ICMP
> Destination unreachable
> 266.637618 192.168.1.25 -> hotdog       TFTP Read Request, File:
> /tftpboot/dists/woody/main/disks-hppa/3.0.23-2003-03-22/lifimage,
> Transfer type: octet
> 266.637730       hotdog -> 192.168.1.25 ICMP Destination unreachable
> 268.639750 192.168.1.25 -> hotdog       TFTP Read Request, File:
> /tftpboot/dists/woody/main/disks-hppa/3.0.23-2003-03-22/lifimage,
> Transfer type: octet
> 268.639863       hotdog -> 192.168.1.25 ICMP Destination unreachable
> 272.641761 192.168.1.25 -> hotdog       TFTP Read Request, File:
> /tftpboot/dists/woody/main/disks-hppa/3.0.23-2003-03-22/lifimage,
> Transfer type: octet
> 272.641878       hotdog -> 192.168.1.25 ICMP Destination unreachable
>
>
> and so on until the HP9000 gives up and drops back to boot_admin.
>
> this is also the logs from "messages"
>
>
> Apr 14 11:55:39 hotdog dhcpd: Internet Software Consortium DHCP Server
> V3.0pl1
> Apr 14 11:55:39 hotdog dhcpd: Copyright 1995-2001 Internet Software
> Consortium.
> Apr 14 11:55:39 hotdog dhcpd: All rights reserved.
> Apr 14 11:55:39 hotdog dhcpd: For info, please visit
> http://www.isc.org/products/DHCP
> Apr 14 11:55:39 hotdog dhcpd: Wrote 0 deleted host decls to leases file.
> Apr 14 11:55:39 hotdog dhcpd: Wrote 0 new dynamic host decls to leases file.
> Apr 14 11:55:39 hotdog dhcpd: Wrote 0 leases to leases file.
> Apr 14 11:55:39 hotdog dhcpd: Internet Software Consortium DHCP Server
> V3.0pl1
> Apr 14 11:55:39 hotdog dhcpd: Copyright 1995-2001 Internet Software
> Consortium.
> Apr 14 11:55:39 hotdog dhcpd: All rights reserved.
> Apr 14 11:55:39 hotdog dhcpd: For info, please visit
> http://www.isc.org/products/DHCP
> Apr 14 11:55:39 hotdog dhcpd: Wrote 0 deleted host decls to leases file.
> Apr 14 11:55:39 hotdog dhcpd: Listening on
> LPF/eth0/00:00:e8:d6:d2:74/192.168.1.0/24
> Apr 14 11:55:39 hotdog dhcpd: Sending on
> LPF/eth0/00:00:e8:d6:d2:74/192.168.1.0/24
> Apr 14 11:55:39 hotdog dhcpd: Wrote 0 new dynamic host decls to leases file.
> Apr 14 11:55:40 hotdog dhcpd: Sending on   Socket/fallback/fallback-net
> Apr 14 11:55:40 hotdog dhcpd: Wrote 0 leases to leases file.
> Apr 14 11:55:40 hotdog dhcpd: Listening on
> LPF/eth0/00:00:e8:d6:d2:74/192.168.1.0/24
> Apr 14 11:55:40 hotdog dhcpd: Sending on
> LPF/eth0/00:00:e8:d6:d2:74/192.168.1.0/24
> Apr 14 11:55:40 hotdog dhcpd: Sending on   Socket/fallback/fallback-net
> Apr 14 11:55:40 hotdog dhcpd: dhcpd startup succeeded
> Apr 14 11:55:51 hotdog dhcpd: BOOTREQUEST from 08:00:09:c8:1d:e2 via eth0
> Apr 14 11:55:51 hotdog dhcpd: BOOTREPLY for 192.168.1.25 to parisc
> (08:00:09:c8:1d:e2) via eth0
> Apr 14 11:56:14 hotdog dhcpd: BOOTREQUEST from 08:00:09:c8:1d:e2 via eth0
> Apr 14 11:56:14 hotdog dhcpd: BOOTREPLY for 192.168.1.25 to parisc
> (08:00:09:c8:1d:e2) via eth0
> Apr 14 11:56:22 hotdog kernel: device eth0 left promiscuous mode
>
>
> and my dhcp.conf
>
>
>  ### Example dhcpd.conf file for a Class C subnet 192.168.196.0
>  ###
>
>
> ddns-update-style ad-hoc;
>
> allow booting;
> allow bootp;
>
>
> default-lease-time 600;
> max-lease-time 7200;
> # This will tell the box its hostname while booting:
> use-host-decl-names on;
>
> subnet 192.168.1.0 netmask 255.255.255.0 {
>     range dynamic-bootp 192.168.1.1 192.168.1.255;
>     option routers 192.168.1.4;
>     option subnet-mask 255.255.255.0;
>     option broadcast-address 192.168.1.255;
>     option domain-name-servers 129.78.64.1;
>     allow unknown-clients;
>     }
>
>
> host parisc {
>     hardware ethernet 08:00:09:C8:1D:E2;
>     fixed-address 192.168.1.25;
>     filename
> "/tftpboot/dists/woody/main/disks-hppa/3.0.23-2003-03-22/lifimage";
> #    option root-path "/exports/pariscroot";
>     allow unknown-clients;
>     }
>
> Hope someone can shed some light and/or point me in the right direction.
> If more info is required let me know!
>
> thanks
>
> gerard
>
>

-- 
David Airlie, Software Engineer
http://www.skynet.ie/~airlied / airlied@xxxxxxxxx
pam_smb / Linux DecStation / Linux VAX / ILUG person