--- README 2007/04/24 20:51:28 35 +++ README 2007/11/16 15:54:20 48 @@ -2,13 +2,28 @@ Written by Dobrica Pavlinusic +Your CPE firmware images goes to /srv/tftp/ + +This documents assumes that you want following network configuration: + +eth0 192.168.1.0 255.255.255.0 internet connection +eth1 10.0.0.1 10.255.255.255 CPEs are connected to this interface + +^^ Setup upsing stand-alone services + +Install udhcpd and tftpd-hpa and run network-setup.sh script to start all required services. + +^^ Setup using inetd + +Install tftpd and dhcpd, this setup is depriciated, but still useful + ^ setup tftp /etc/inetd.conf tftp dgram udp wait nobody /usr/sbin/tcpd /usr/sbin/in.tftpd /srv/tftp ^ setup dhcpd /etc/dhcpd.conf -option subnet-mask 255.255.255.0; +option subnet-mask 255.0.0.0; default-lease-time 300; max-lease-time 600; dynamic-bootp-lease-length 300; @@ -17,9 +32,14 @@ allow bootp; subnet 192.168.1.0 netmask 255.255.255.0 { - range dynamic-bootp 192.168.1.101 192.168.1.250; } +subnet 10.0.0.0 netmask 255.0.0.0 { + range dynamic-bootp 10.0.1.1 10.0.1.254; +} + + Special care should be taken with dhcpd server. It complains about unknown IP classes and doesn't start. Also, there is intentional very small limit on IP lease time which should plenty enough for ants to reflash because it takes ~ 3 min at most. +