2016-03-17 - Re: [GRASE-Hotspot] Re: Assign IP Address to the client based on MAC Address
Header Data
From: Shakthi S S <sa***s@gmail.com>
Message Hash: 80bfa18163bd42fcc2196074ceed71fc3e9129acf18994d1247648a00ff0b654
Message ID: <1e5662f7-ef68-4905-bb61-317b202b375b@grasehotspot.org>
Reply To: <CAHoMbhcP3eQVcHp+HFrAyrVQPRXLvcO7E6AuTHWq9pjGRR_Asw@mail.gmail.com>
UTC Datetime: 2016-03-17 00:02:48 UTC
Raw Date: Thu, 17 Mar 2016 00:02:48 -0700
Raw message
Its Working. Now i can able to assign the ip address based in mac address
between the dhcp start and end range like this..
DHCP Start 192.165.0.101
DHCP End 192.165.0.150
/etc/ethers
XX:XX:XX:XX:XX:XX 192.165.0.101
Is it possible to use like this
DHCP Start 192.165.0.101
DHCP End 192.165.0.150
/etc/ethers
XX:XX:XX:XX:XX:XX 192.165.0.151
Thanks For your Valuable support in time.
On Wednesday, March 16, 2016 at 8:03:46 PM UTC+5:30, Henry Terkura Swende
wrote:
>
> INSERT INTO radreply (id,UserName,Attribute,op,Value)
>
> VALUES ('15','CoovaChilli','ChilliSpot-Config','+=','ethers=/etc/ethers');
> On Mar 16, 2016 8:58 AM, "Shakthi S S" <sa***.@gmail.com
> <javascript:>> wrote:
>
>> 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
>>
>> As root i Created the file
>> vi /etc/ethers
>> F0:F6:1C:44:E2:0B 192.165.0.203
>>
>> Then
>> /etc/init.d/chilli restart
>>
>>
>>
>> *Starting chilli: coova-chilli: unrecognized option
>> '--/etc/ethers'coova-chilli[1803]: options.c: 181: could not generate
>> configuration (/var/run/chilli.1803.cfg.bin), sleeping one
>> secondcoova-chilli: unrecognized option '--/etc/ethers'*
>>
>>
>> On Wednesday, March 9, 2016 at 3:03:01 PM UTC+5:30, Henry Terkura Swende
>> wrote:
>>>
>>> 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***.@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***.@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/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>
>>>> .
>>>>
>>> --
>> 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 <javascript:>.
>> To post to this group, send email to gr***.@grasehotspot.org
>> <javascript:>.
>> 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/30120182-744e-4b98-9002-ca72282bb34d%40grasehotspot.org
>> <https://groups.google.com/a/grasehotspot.org/d/msgid/grase-hotspot/30120182-744e-4b98-9002-ca72282bb34d%40grasehotspot.org?utm_medium=email&utm_source=footer>
>> .
>>
>
Thread
-
Return to March 2016
- Return to “Henry Terkura Swende <he***e@gmail.com>”
- Return to “KIRA Ynet <ki***0@gmail.com>”
- Return to “Shakthi S S <sa***s@gmail.com>”
- Return to “Timothy White <ti***8@gmail.com>”
-
Return to “Edward Allen <yb***j@gmail.com>”
- 2016-03-04 (Fri, 04 Mar 2016 05:16:32 -0800) - Assign IP Address to the client based on MAC Address - Shakthi S S <sa***s@gmail.com>
- 2016-03-04 (Fri, 04 Mar 2016 13:40:23 +0000) - Re: [GRASE-Hotspot] Assign IP Address to the client based on MAC Address - Edward Allen <yb***j@gmail.com>
- 2016-03-04 (Fri, 04 Mar 2016 20:40:59 -0800) - Re: Assign IP Address to the client based on MAC Address - Shakthi S S <sa***s@gmail.com>
- 2016-03-07 (Mon, 07 Mar 2016 12:13:18 +0100) - Re: [GRASE-Hotspot] Re: Assign IP Address to the client based on MAC Address - Henry Terkura Swende <he***e@gmail.com>
- 2016-03-08 (Tue, 08 Mar 2016 03:02:30 -0800) - Re: [GRASE-Hotspot] Re: Assign IP Address to the client based on MAC Address - Shakthi S S <sa***s@gmail.com>
- 2016-03-09 (Wed, 09 Mar 2016 10:32:57 +0100) - Re: [GRASE-Hotspot] Re: Assign IP Address to the client based on MAC Address - Henry Terkura Swende <he***e@gmail.com>
- 2016-03-09 (Wed, 09 Mar 2016 03:56:59 -0800) - Re: [GRASE-Hotspot] Re: Assign IP Address to the client based on MAC Address - KIRA Ynet <ki***0@gmail.com>
- 2016-03-16 (Wed, 16 Mar 2016 00:58:28 -0700) - Re: [GRASE-Hotspot] Re: Assign IP Address to the client based on MAC Address - Shakthi S S <sa***s@gmail.com>
- 2016-03-16 (Wed, 16 Mar 2016 00:59:51 -0700) - Re: [GRASE-Hotspot] Re: Assign IP Address to the client based on MAC Address - Shakthi S S <sa***s@gmail.com>
- 2016-03-16 (Wed, 16 Mar 2016 19:35:02 +1000) - Re: [GRASE-Hotspot] Re: Assign IP Address to the client based on MAC Address - Timothy White <ti***8@gmail.com>
- 2016-03-16 (Wed, 16 Mar 2016 02:58:42 -0700) - Re: [GRASE-Hotspot] Re: Assign IP Address to the client based on MAC Address - Shakthi S S <sa***s@gmail.com>
- 2016-03-16 (Wed, 16 Mar 2016 19:35:02 +1000) - Re: [GRASE-Hotspot] Re: Assign IP Address to the client based on MAC Address - Timothy White <ti***8@gmail.com>
- 2016-03-16 (Wed, 16 Mar 2016 15:29:40 +0100) - Re: [GRASE-Hotspot] Re: Assign IP Address to the client based on MAC Address - Henry Terkura Swende <he***e@gmail.com>
- 2016-03-16 (Wed, 16 Mar 2016 15:33:44 +0100) - Re: [GRASE-Hotspot] Re: Assign IP Address to the client based on MAC Address - Henry Terkura Swende <he***e@gmail.com>
- 2016-03-17 (Thu, 17 Mar 2016 00:02:48 -0700) - Re: [GRASE-Hotspot] Re: Assign IP Address to the client based on MAC Address - Shakthi S S <sa***s@gmail.com>
- 2016-03-16 (Wed, 16 Mar 2016 00:59:51 -0700) - Re: [GRASE-Hotspot] Re: Assign IP Address to the client based on MAC Address - Shakthi S S <sa***s@gmail.com>
- 2016-03-09 (Wed, 09 Mar 2016 10:32:57 +0100) - Re: [GRASE-Hotspot] Re: Assign IP Address to the client based on MAC Address - Henry Terkura Swende <he***e@gmail.com>
- 2016-03-08 (Tue, 08 Mar 2016 03:02:30 -0800) - Re: [GRASE-Hotspot] Re: Assign IP Address to the client based on MAC Address - Shakthi S S <sa***s@gmail.com>
- 2016-03-07 (Mon, 07 Mar 2016 12:13:18 +0100) - Re: [GRASE-Hotspot] Re: Assign IP Address to the client based on MAC Address - Henry Terkura Swende <he***e@gmail.com>