1 |
Small experimental setup to enable MDAP update of ants (MDAP capable devices) |
2 |
|
3 |
Written by Dobrica Pavlinusic <dpavlin@rot13.org> |
4 |
|
5 |
^ setup tftp /etc/inetd.conf |
6 |
|
7 |
tftp dgram udp wait nobody /usr/sbin/tcpd /usr/sbin/in.tftpd /srv/tftp |
8 |
|
9 |
^ setup dhcpd /etc/dhcpd.conf |
10 |
|
11 |
option subnet-mask 255.255.255.0; |
12 |
default-lease-time 300; |
13 |
max-lease-time 600; |
14 |
dynamic-bootp-lease-length 300; |
15 |
|
16 |
authoritative; |
17 |
allow bootp; |
18 |
|
19 |
subnet 192.168.1.0 netmask 255.255.255.0 { |
20 |
range dynamic-bootp 192.168.1.101 192.168.1.250; |
21 |
} |
22 |
|
23 |
Special care should be taken with dhcpd server. It complains about unknown IP classes and doesn't |
24 |
start. Also, there is intentional very small limit on IP lease time which should plenty enough |
25 |
for ants to reflash because it takes ~ 3 min at most. |