2016-03-09 - Re: [GRASE-Hotspot] Re: Assign IP Address to the client based on MAC Address

Header Data

From: Henry Terkura Swende <he***e@gmail.com>
Message Hash: a1b133dd2e4cb66dc268494548318ef91aac8cccae4f8f4156d2805a43d69c43
Message ID: <CAHoMbhesr-naYitJTQL87pdCZ5cmELKE1Y1LcBNDdgP_5O+1aA@mail.gmail.com>
Reply To: <7d3d5e32-7309-4dfd-b310-844fe12542fe@grasehotspot.org>
UTC Datetime: 2016-03-09 02:32:57 UTC
Raw Date: Wed, 09 Mar 2016 10:32:57 +0100

Raw message

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
On Mar 8, 2016 12:02 PM, "Shakthi S S" <sa***s@gmail.com> wrote:

> Can you Please Provide the Step by step to configure this.
>
> On Monday, March 7, 2016 at 4:43:21 PM UTC+5:30, Henry Terkura Swende
> wrote:
>>
>> 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.
>> Can I Install the Other DHCP Service on the same computer Where Grase is
>> HOTspot is Running. and Relay the DHCP Request to that New Installed
>> Service. Stop the Coova Chilli DHCP Service. If Possible please guide me.
>>
>> Thanks in Advance
>>
>> On Friday, March 4, 2016 at 6:46:33 PM UTC+5:30, Shakthi S S wrote:
>>>
>>> Dear Friends
>>>
>>>           My Setup is,  LAN IP Address : 192.165.0.0/24,  What i want
>>> is.
>>>
>>> 1. Assign The IP Address 192.165.0.1 Which Have the Mac Address
>>> XX-XX-XX-XX-XX(My Ipad)
>>> 2. Assign The IP Address 192.165.0.2 Which Have the Mac Address
>>> XX-XX-XX-XX-XX(My Iphone)
>>> 3. Assign The IP Address 192.165.0.3 Which Have the Mac Address
>>> XX-XX-XX-XX-XX(My Laptop)
>>> 4. Any Other Laptop or Ipad DHCP Request need to block from dhcp server
>>> and no need to provide the ip address.
>>>
>>>
>>> Please Help Me to Complete this.
>>>
>>> Thanks in Advance
>>>
>>>
>>>
>>> --
>> 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 gr***.@grasehotspot.org.
>> To post to this group, send email to gr***.@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/b9d6b0ca-9e97-4463-a658-65034f93a213%40grasehotspot.org
>> <https://groups.google.com/a/grasehotspot.org/d/msgid/grase-hotspot/b9d6b0ca-9e97-4463-a658-65034f93a213%40grasehotspot.org?utm_medium=email&utm_source=footer>
>> .
>>
> --
> 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 gr***e@grasehotspot.org.
> To post to this group, send email to gr***t@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/7d3d5e32-7309-4dfd-b310-844fe12542fe%40grasehotspot.org
> <https://groups.google.com/a/grasehotspot.org/d/msgid/grase-hotspot/7d3d5e32-7309-4dfd-b310-844fe12542fe%40grasehotspot.org?utm_medium=email&utm_source=footer>
> .
>

Thread