Subversion Repositories ALCASAR

Rev

Rev 1478 | Rev 1484 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 1478 Rev 1482
Line 1... Line 1...
1
#!/bin/bash
1
#!/bin/bash
2
#  $Id: alcasar.sh 1478 2014-11-04 22:28:12Z richard $ 
2
#  $Id: alcasar.sh 1482 2014-11-07 22:11:06Z richard $ 
3
 
3
 
4
# alcasar.sh
4
# alcasar.sh
5
 
5
 
6
# ALCASAR Install script -  CopyLeft ALCASAR Team [Rexy + 3abtux + Steweb + Crox + ...] 
6
# ALCASAR Install script -  CopyLeft ALCASAR Team [Rexy + 3abtux + Steweb + Crox + ...] 
7
# Ce programme est un logiciel libre ; This software is free and open source
7
# Ce programme est un logiciel libre ; This software is free and open source
Line 1420... Line 1420...
1420
server=$DNS1
1420
server=$DNS1
1421
server=$DNS2
1421
server=$DNS2
1422
# DHCP service is configured. It will be enabled in "bypass" mode
1422
# DHCP service is configured. It will be enabled in "bypass" mode
1423
dhcp-range=$PRIVATE_FIRST_IP,$PRIVATE_LAST_IP,$PRIVATE_NETMASK,12h
1423
dhcp-range=$PRIVATE_FIRST_IP,$PRIVATE_LAST_IP,$PRIVATE_NETMASK,12h
1424
dhcp-option=option:router,$PRIVATE_IP
1424
dhcp-option=option:router,$PRIVATE_IP
1425
#dhcp-option=option:ntp-server,192.168.0.4,10.10.0.5
1425
dhcp-option=option:ntp-server,$PRIVATE_IP
1426
 
1426
 
1427
# Exemple of static dhcp assignation : <@MAC>,<name>,<@IP>,<MASK>,<ttl bail>
1427
# Exemple of static dhcp assignation : <@MAC>,<name>,<@IP>,<MASK>,<ttl bail>
1428
#dhcp-host=11:22:33:44:55:66,ssic-test,192.168.182.20,255.255.255.0,45m
1428
#dhcp-host=11:22:33:44:55:66,ssic-test,192.168.182.20,255.255.255.0,45m
1429
EOF
1429
EOF
1430
# 2nd dnsmasq listen on udp 54 ("dnsmasq with blacklist")
1430
# 2nd dnsmasq listen on udp 54 ("dnsmasq with blacklist")