/[mdap]/README
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /README

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 42 by dpavlin, Fri Nov 16 13:04:56 2007 UTC revision 48 by dpavlin, Fri Nov 16 15:54:20 2007 UTC
# Line 4  Written by Dobrica Pavlinusic <dpavlin@r Line 4  Written by Dobrica Pavlinusic <dpavlin@r
4    
5  Your CPE firmware images goes to /srv/tftp/  Your CPE firmware images goes to /srv/tftp/
6    
7    This documents assumes that you want following network configuration:
8    
9    eth0            192.168.1.0     255.255.255.0   internet connection
10    eth1            10.0.0.1        10.255.255.255  CPEs are connected to this interface
11    
12  ^^ Setup upsing stand-alone services  ^^ Setup upsing stand-alone services
13    
14  Install udhcpd and tftpd-hpa and run network-setup.sh script to start all required services.  Install udhcpd and tftpd-hpa and run network-setup.sh script to start all required services.
# Line 18  tftp   dgram   udp     wait    nobody  /usr/sbin/tcp Line 23  tftp   dgram   udp     wait    nobody  /usr/sbin/tcp
23    
24  ^ setup dhcpd /etc/dhcpd.conf  ^ setup dhcpd /etc/dhcpd.conf
25    
26  option subnet-mask 255.255.255.0;  option subnet-mask 255.0.0.0;
27  default-lease-time 300;  default-lease-time 300;
28  max-lease-time 600;  max-lease-time 600;
29  dynamic-bootp-lease-length 300;  dynamic-bootp-lease-length 300;
# Line 27  authoritative; Line 32  authoritative;
32  allow bootp;  allow bootp;
33    
34  subnet 192.168.1.0 netmask 255.255.255.0 {  subnet 192.168.1.0 netmask 255.255.255.0 {
   range dynamic-bootp 192.168.1.101 192.168.1.250;  
35  }  }
36    
37    subnet 10.0.0.0 netmask 255.0.0.0 {
38      range dynamic-bootp 10.0.1.1 10.0.1.254;
39    }
40    
41    
42  Special care should be taken with dhcpd server. It complains about unknown IP classes and doesn't  Special care should be taken with dhcpd server. It complains about unknown IP classes and doesn't
43  start. Also, there is intentional very small limit on IP lease time which should plenty enough  start. Also, there is intentional very small limit on IP lease time which should plenty enough
44  for ants to reflash because it takes ~ 3 min at most.  for ants to reflash because it takes ~ 3 min at most.

Legend:
Removed from v.42  
changed lines
  Added in v.48

  ViewVC Help
Powered by ViewVC 1.1.26