Subversion Repositories ALCASAR

Rev

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

Rev 1293 Rev 1294
Line 1... Line 1...
1
#!/bin/bash
1
#!/bin/bash
2
#  $Id: alcasar.sh 1293 2014-01-12 21:08:59Z richard $ 
2
#  $Id: alcasar.sh 1294 2014-01-12 23:03:00Z 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 974... Line 974...
974
uamserver	https://$HOSTNAME.$DOMAIN/intercept.php
974
uamserver	https://$HOSTNAME.$DOMAIN/intercept.php
975
radiusnasid	$HOSTNAME.$DOMAIN
975
radiusnasid	$HOSTNAME.$DOMAIN
976
uamsecret	$secretuam
976
uamsecret	$secretuam
977
uamallowed	$HOSTNAME,$HOSTNAME.$DOMAIN
977
uamallowed	$HOSTNAME,$HOSTNAME.$DOMAIN
978
coaport		3799
978
coaport		3799
-
 
979
conup		$DIR_DEST_BIN/alcasar-conup.sh
-
 
980
condown		$DIR_DEST_BIN/alcasar-condown.sh
979
include		$DIR_DEST_ETC/alcasar-uamallowed
981
include		$DIR_DEST_ETC/alcasar-uamallowed
980
include		$DIR_DEST_ETC/alcasar-uamdomain
982
include		$DIR_DEST_ETC/alcasar-uamdomain
981
#dhcpgateway		
983
#dhcpgateway
982
#dhcprelayagent
984
#dhcprelayagent
983
#dhcpgatewayport
985
#dhcpgatewayport
984
EOF
986
EOF
985
# create file for DHCP static ip. Reserve the second IP address for eth1 (the first one is for tun0)
987
# create file for DHCP static ip. Reserve the second IP address for eth1 (the first one is for tun0)
986
	echo "$PRIVATE_MAC $PRIVATE_SECOND_IP" > $DIR_DEST_ETC/alcasar-ethers
988
	echo "$PRIVATE_MAC $PRIVATE_SECOND_IP" > $DIR_DEST_ETC/alcasar-ethers