/[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 35 by dpavlin, Tue Apr 24 20:51:28 2007 UTC revision 54 by dpavlin, Fri Nov 16 17:45:22 2007 UTC
# Line 2  Small experimental setup to enable MDAP Line 2  Small experimental setup to enable MDAP
2    
3  Written by Dobrica Pavlinusic <dpavlin@rot13.org>  Written by Dobrica Pavlinusic <dpavlin@rot13.org>
4    
5    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.100      10.255.255.255  CPEs are connected to this interface
11    
12    ^^ Setup upsing stand-alone services
13    
14    Install udhcpd and tftpd-hpa and run network-setup.sh script to start all required services.
15    
16    ^^ Setup using inetd
17    
18    Install tftpd and dhcpd, this setup is depriciated, but still useful
19    
20  ^ setup tftp /etc/inetd.conf  ^ setup tftp /etc/inetd.conf
21    
22  tftp    dgram   udp     wait    nobody  /usr/sbin/tcpd  /usr/sbin/in.tftpd /srv/tftp  tftp    dgram   udp     wait    nobody  /usr/sbin/tcpd  /usr/sbin/in.tftpd /srv/tftp
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 17  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.
45    

Legend:
Removed from v.35  
changed lines
  Added in v.54

  ViewVC Help
Powered by ViewVC 1.1.26