E
E
Evgeny Kotov2015-04-14 18:18:22
DHCP
Evgeny Kotov, 2015-04-14 18:18:22

Server to install and diskless boot?

There is a server for downloading thin clients over the network. Ordinary PXE
2 Interfaces
, one looks into the company's network, the
other into the workshop's network,
all addresses of the company's static

auto lo
iface lo inet loopback

auto eth1
iface eth1 inet static
address 10.0.0.1
netmask 255.255.255.0
network 10.0.0.0
broadcast 10.0.0.255

auto eth0
iface eth0 inet static
address 192.168.1.210
netmask 255.255.255.0
gateway 192.168.1.1
dns-nameservers 192.168.1.1

DHCP is running on the second interface
option domain-name-servers 10.0.0.1;
authoritative;
allow bootp;
option ip-forwarding on;
default-lease-time 60;
min-lease-time 120;
max-lease-time 300;
ddns-update-style interim;
log-facility local7;
shared-network PXE-Netwotk {
  subnet 10.0.0.0 netmask 255.255.255.0 {
  range 10.0.0.10 10.0.0.254;
  interface eth1;
  option routers 10.0.0.1;
  option subnet-mask 255.255.255.0;
  option domain-name-servers 10.0.0.1;
  filename "pxelinux.0";
  next-server 10.0.0.1;
  option root-path "10.0.0.1:/tftpboot/";

  }
}

ERPXE was delivered
TFTP_USERNAME="tftp"
TFTP_DIRECTORY="/tftpboot" 
TFTP_ADDRESS="10.0.0.1:69"
TFTP_OPTIONS="--secure  -l -v -m /tftpboot/erpxe.remap -vvvvv -s -r blksize"

erpxe.remap
e ^pxelinux.cfg/                # exclude pxelinux.cfg folder
e ^boot/                        # exclude boot folder
e ^KIWI/                        # exclude KIWI folder
gr \\ /                         # Convert backslashes to slashes
gr ([A-Z]) \L\1                 # Convert all to lowercase

/tftpboot/ The
problem is as follows:
It is not possible to download files via TFTP, for example, bzImage says that it does not exist,
although if you put test.txt next to it, then this file can be transferred
, which could be an error

Answer the question

In order to leave comments, you need to log in

2 answer(s)
T
throughtheether, 2015-04-14
@throughtheether

for example bzImage says it doesn't exist,
And if you try bz i mage?

S
Sergey, 2015-04-15
@bk0011m

On tftp in the directory, with the rights to files everything is all right?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question