[OT] bootowanie terminali przez bootp

Robert 'dzeus' Graużenis dzeus w zatorze.slupsk.pl
Czw, 30 Gru 2004, 15:46:22 CET


Pozwolę sobie na mały offtopic. Walczę od kilku dni z bootowaniem
terminali via bootp. Po dhcp wszystko lata aż miło. Poniżej
zamieszczam fragmenty konfiguracji i wycinki z logów:

/etc/bootptab:
.default:\
:sm=255.255.255.0:\
:ds=192.168.0.1:\
:gw=192.168.0.1:\
:ht=ethernet:\
:td=/var/lib/tftp:hd=/var/lib/tftp/2.4.26-ltsp-1:bf=pxelinux.0:
terminal-10:ha=0090271d849b:ip=192.168.0.10:tc=.default:
terminal-12:ha=0090271d9e82:ip=192.168.0.12:tc=.default:

/etc/dhcpd.conf:

authoritative;
ddns-update-style ad-hoc;
default-lease-time 7200;
max-lease-time 14400;
allow booting;
allow bootp;

option subnet-mask 255.255.255.0;
option broadcast-address 192.168.255.255;
option routers 192.168.0.1;
option domain-name-servers 192.168.0.1;
option root-path "192.168.0.1:/home/services/ltsp/i386";

shared-network terminal {
    subnet 192.168.0.0 netmask 255.255.255.0 {
    }

group {
    server-identifier 192.168.0.1;
    use-host-decl-names on;
    option log-servers 192.168.0.1;


    host terminal-11 {
    hardware ethernet 00:d0:b7:0e:92:46;
    fixed-address 192.168.0.11;
#    filename "/lts/vmlinuz-2.4.26-ltsp-1";
    filename "/lts/2.4.26-ltsp-1/pxelinux.0";
    }

    host terminal-12 {
    hardware ethernet 00:90:27:1d:9e:82;
    fixed-address 192.168.0.12;
#    filename "/lts/vmlinuz-2.4.26-ltsp-1";
    filename "/lts/2.4.26-ltsp-1/pxelinux.0";
    }
}

logi:

Dec 30 15:36:31 master dhcpd: DHCPDISCOVER from 00:90:27:1d:9e:82 via
eth0
Dec 30 15:36:31 master dhcpd: DHCPOFFER on 192.168.0.12 to
00:90:27:1d:9e:82 via eth0
Dec 30 15:36:31 master bootpd[25631]: recvd pkt from IP addr 0.0.0.0
Dec 30 15:36:31 master bootpd[25631]: bootptab mtime: Thu Dec 30
15:04:39 2004
Dec 30 15:36:31 master bootpd[25631]: request from Ethernet address
00:90:27:1D:9E:82
Dec 30 15:36:31 master bootpd[25631]: found 192.168.0.12 (terminal-12)
Dec 30 15:36:31 master bootpd[25631]:
bootfile="/var/lib/tftp/2.4.26-ltsp-1/pxelinux.0"
Dec 30 15:36:31 master bootpd[25631]: vendor magic field is
99.130.83.99
Dec 30 15:36:31 master bootpd[25631]: request message length=548
Dec 30 15:36:31 master bootpd[25631]: request has DHCP msglen=1260
Dec 30 15:36:31 master bootpd[25631]: extended reply, length=1260,
options=1024
Dec 30 15:36:31 master bootpd[25631]: Received: DHCPDISCOVER
Dec 30 15:36:31 master bootpd[25631]: Sent: DHCPOFFER
Dec 30 15:36:31 master bootpd[25631]: sending reply (with RFC1048
options)
Dec 30 15:36:31 master bootpd[25631]: setarp 192.168.0.12 -
00:90:27:1D:9E:82
Dec 30 15:36:31 master bootpd[25631]: ioctl SIOCSARP: Invalid argument
Dec 30 15:36:31 master bootpd[25236]: recvd pkt from IP addr 0.0.0.0
Dec 30 15:36:31 master bootpd[25236]: bootptab mtime: Thu Dec 30
15:04:39 2004
Dec 30 15:36:31 master bootpd[25236]: request from Ethernet address
00:90:27:1D:9E:82
Dec 30 15:36:31 master bootpd[25236]: found 192.168.0.12 (terminal-12)
Dec 30 15:36:31 master bootpd[25236]:
bootfile="/var/lib/tftp/2.4.26-ltsp-1/pxelinux.0"
Dec 30 15:36:31 master bootpd[25236]: vendor magic field is
99.130.83.99
Dec 30 15:36:31 master bootpd[25236]: request message length=548
Dec 30 15:36:31 master bootpd[25236]: request has DHCP msglen=1260
Dec 30 15:36:31 master bootpd[25236]: extended reply, length=1260,
options=1024
Dec 30 15:36:31 master bootpd[25236]: Received: DHCPDISCOVER
Dec 30 15:36:31 master bootpd[25236]: Sent: DHCPOFFER
Dec 30 15:36:31 master bootpd[25236]: sending reply (with RFC1048
options)
Dec 30 15:36:31 master bootpd[25236]: setarp 192.168.0.12 -
00:90:27:1D:9E:82
Dec 30 15:36:31 master bootpd[25236]: ioctl SIOCSARP: Invalid argument
Dec 30 15:36:31 master bootpd[24879]: recvd pkt from IP addr 0.0.0.0
Dec 30 15:36:31 master bootpd[24879]: bootptab mtime: Thu Dec 30
15:04:39 2004
Dec 30 15:36:31 master bootpd[24879]: request from Ethernet address
00:90:27:1D:9E:82
Dec 30 15:36:31 master bootpd[24879]: found 192.168.0.12 (terminal-12)
Dec 30 15:36:31 master bootpd[24879]:
bootfile="/var/lib/tftp/2.4.26-ltsp-1/pxelinux.0"
Dec 30 15:36:31 master bootpd[24879]: vendor magic field is
99.130.83.99
Dec 30 15:36:31 master bootpd[24879]: request message length=548
Dec 30 15:36:31 master bootpd[24879]: request has DHCP msglen=1260
Dec 30 15:36:31 master bootpd[24879]: extended reply, length=1260,
options=1024
Dec 30 15:36:31 master bootpd[24879]: Received: DHCPDISCOVER
Dec 30 15:36:31 master bootpd[24879]: Sent: DHCPOFFER
Dec 30 15:36:31 master bootpd[24879]: sending reply (with RFC1048
options)
Dec 30 15:36:31 master bootpd[24879]: setarp 192.168.0.12 -
00:90:27:1D:9E:82
Dec 30 15:36:31 master bootpd[27646]: version 2.4.3
Dec 30 15:36:31 master bootpd[27646]: getsockname: not an INET socket
Dec 30 15:36:31 master bootpd[27646]: bootptab mtime: Thu Dec 30
15:04:39 2004
Dec 30 15:36:31 master bootpd[27646]: reading "/etc/bootptab"
Dec 30 15:36:31 master bootpd[27646]: read 11 entries (10 hosts) from
"/etc/bootptab"
Dec 30 15:36:31 master bootpd[27646]: recvd pkt from IP addr 0.0.0.0
Dec 30 15:36:31 master bootpd[27646]: bootptab mtime: Thu Dec 30
15:04:39 2004
Dec 30 15:36:31 master bootpd[27646]: request from Ethernet address
00:90:27:1D:9E:82
Dec 30 15:36:31 master bootpd[27646]: found 192.168.0.12 (terminal-12)
Dec 30 15:36:31 master bootpd[27646]:
bootfile="/var/lib/tftp/2.4.26-ltsp-1/pxelinux.0"
Dec 30 15:36:31 master bootpd[27646]: vendor magic field is
99.130.83.99
Dec 30 15:36:31 master bootpd[27646]: request message length=548
Dec 30 15:36:31 master bootpd[27646]: request has DHCP msglen=1260
Dec 30 15:36:31 master bootpd[27646]: extended reply, length=1260,
options=1024
Dec 30 15:36:31 master bootpd[27646]: Received: DHCPDISCOVER
Dec 30 15:36:31 master bootpd[27646]: Sent: DHCPOFFER
Dec 30 15:36:31 master bootpd[27646]: sending reply (with RFC1048
options)
Dec 30 15:36:31 master bootpd[27646]: setarp 192.168.0.12 -
00:90:27:1D:9E:82
Dec 30 15:36:31 master bootpd[27646]: ioctl SIOCSARP: Invalid argument

.11 śmiga po dhcp .12 chce się bootować po bootp i tu jest zonk (Intel
LanDesk ... 0.99b)


-- 
Robert 'dzeus' Graużenis
LRU #291194 & PLD user




Więcej informacji o liście dyskusyjnej pld-users-pl