Closed ghost closed 10 years ago
Trac update at 20121009T13:11:54:
Like ticket #26, we changed the /usr/share/grase/www/radmin/chilliconfig.php After saving the settings from the admin-portal, this adds the lines
xx CoovaChilli ChilliSpot-Config += dhcpstart=20 xx CoovaChilli ChilliSpot-Config += dhcpend=220
to the radreply table in the radius database
file: /usr/share/grase/www/radmin/chilliconfig.php
58 "type" => "int"), // added the comma // 59 'dhcpstart' => array( 60 "label" => T("DHCP Start"), 61 description" => T("DHCP start."), 62 "type" => "int"), 63 'dhcpend' => array( 64 "label" => T("DHCP end"), 65 "description" => T("DHCP end."), 66 "type" => "int") 67 );
Tested is and it works.
to:
1349788529852852
- peter boon changed _comment1 from:
Like ticket #26, we changed the /usr/share/grase/www/radmin/chilliconfig.php After saving the settings from the admin-portal, this adds the lines
xx CoovaChilli ChilliSpot-Config += dhcpstart=20 xx CoovaChilli ChilliSpot-Config += dhcpend=220
to the radreply table in the radius database
file: /usr/share/grase/www/radmin/chilliconfig.php
58 "type" => "int"), --- //added the comma // 59 'dhcpstart' => array( 60 "label" => T("DHCP Start"), 61 description" => T("DHCP start."), 62 "type" => "int"), 63 'dhcpend' => array( 64 "label" => T("DHCP end"), 65 "description" => T("DHCP end."), 66 "type" => "int") 67 );
Tested is and it works.
to:
1349790688277152
- peter boon commented:
Like ticket #26, we changed the /usr/share/grase/www/radmin/chilliconfig.php After saving the settings from the admin-portal, this adds the lines
xx CoovaChilli ChilliSpot-Config += dhcpstart=20 xx CoovaChilli ChilliSpot-Config += dhcpend=220
to the radreply table in the radius database
file: /usr/share/grase/www/radmin/chilliconfig.php
58 "type" => "int"), --- //added the comma // 59 'dhcpstart' => array( 60 "label" => T("DHCP Start"), 61 description" => T("DHCP start."), 62 "type" => "int"), 63 'dhcpend' => array( 64 "label" => T("DHCP end"), 65 "description" => T("DHCP end."), 66 "type" => "int") 67 );
Tested it and it works.
Trac update at 20121011T00:10:49:
Thanks Peter, fixed in r295
- tim changed resolution from "" to "fixed"
- tim changed status from "new" to "closed"
Trac update at 20130510T03:34:27:
could i specific ip range per group. ? example for group Student 10.0.1.50 - 10.0.1.100 teacher 10.0.1.101 - 10.0.1.200 etc.
- daarul uluum lido changed priority from "minor" to "critical"
Trac update at 20130510T03:38:16: tim commented:
Replying to [comment:3 daarul uluum lido]:
could i specific ip range per group. ? example for group Student 10.0.1.50 - 10.0.1.100 teacher 10.0.1.101 - 10.0.1.200 etc. This isn't possible because IP addresses are handed out before the client logs in so no group information is available. And you can't change a clients IP at login.
We realy would like to have the ability to set the dhcp-scope by the admin interface, because we want to add devices with static ip-addresses in the network.
The dhcp-scope can be set by adding the lines dhcpstart X (for example 10) dhcpend Y (for example 220)
to the /etc/chilli/local.conf file. Only now this file will be overwritten by grase.
Migrated from http://trac.grasehotspot.org/ticket/85