That's static dhcp entries which isn't yet implemented
--
This mailing list is for the Grase Hotspot Project http://grasehotspot.org
---
You received this message because you are subscribed to the Google Groups "Grase Hotspot" group.
To unsubscribe from this group and stop receiving emails from it, send an email to grase-hotspo...@grasehotspot.org.
To post to this group, send email to grase-...@grasehotspot.org.
Visit this group at https://groups.google.com/a/grasehotspot.org/group/grase-hotspot/.
To view this discussion on the web visit https://groups.google.com/a/grasehotspot.org/d/msgid/grase-hotspot/7504745a-7650-4f4a-9af9-590a54584fc5%40grasehotspot.org.
In my case I created a /etc/ethers file, then added the option ethers=/etc/ethers option in the radreply table. In my /etc/ethers file, I entered the mac-ip assignment.
Add this entry to your 'radreply' table
UserName:CoovaChilli
Attribute: ChilliSpot-Config
op:+=
Value: ethers=/etc/ethers
Then create a file in /etc directory called ethers
I.e
Run this command on your Linux terminal
sudo touch /etc/ethers
Then populate the /etc/ethers file with the IP-MAC mapping in this format
AA:BB:CC:DD:EE:FF 123.123.123.123
On each line with its own entry
In my case I tried adding comments to the file but it ended up messing the file so I had to remove the comments in the file.
You will have to restart chilli for effects to take place
To view this discussion on the web visit https://groups.google.com/a/grasehotspot.org/d/msgid/grase-hotspot/7d3d5e32-7309-4dfd-b310-844fe12542fe%40grasehotspot.org.
To view this discussion on the web visit https://groups.google.com/a/grasehotspot.org/d/msgid/grase-hotspot/e6572150-15f4-4859-a0cc-6546fb9fe9b0%40grasehotspot.org.
mysql -u root -p
use radius;
show tables;
select * from radreply;
INSERT INTO radreply (id,UserName,Attribute,op,Value)
VALUES ('15','CoovaChilli','ChilliSpot-Config','+=',ethers='/etc/ethers');
quit
Take note of 'ethers=/etc/ethers'
And not
'/etc/ethers'
Alone
Instead of
mysql -u root -p
use radius;
show tables;
select * from radreply;
INSERT INTO radreply (id,UserName,Attribute,op,Value)
VALUES ('15','CoovaChilli','ChilliSpot-Config','+=','/etc/ethers');
quit
To view this discussion on the web visit https://groups.google.com/a/grasehotspot.org/d/msgid/grase-hotspot/30120182-744e-4b98-9002-ca72282bb34d%40grasehotspot.org.
INSERT INTO radreply (id,UserName,Attribute,op,Value)
VALUES ('15','CoovaChilli','ChilliSpot-Config','+=','ethers=/etc/ethers');
To view this discussion on the web visit https://groups.google.com/a/grasehotspot.org/d/msgid/grase-hotspot/30120182-744e-4b98-9002-ca72282bb34d%40grasehotspot.org.