2016-03-16 - 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: 95b8b1436812f5c9b498616f0a5f72b755f1fcabbc671d7c415b6bae0b1167f6
Message ID: <ae6c402f-ffda-4b0c-987d-5b855a8fac61@grasehotspot.org>
Reply To: <CAESLx0JBoYpOQVtLP+dmufxjR9qdnc_VNbxEprEWJyQ0+cVSBw@mail.gmail.com>
UTC Datetime: 2016-03-16 02:58:42 UTC
Raw Date: Wed, 16 Mar 2016 02:58:42 -0700
Raw message
I delete the /etc/ethers file and delete the entry in mysql db delete from
radreply where id=15. and reboot but i got the same error
*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 16, 2016 at 3:05:03 PM UTC+5:30, timwhite88 wrote:
>
> Instead of trying to use the ethers file, there is a nice convenient
> method of doing Static IP's, if you are doing MAC Auth.
>
> Ideally, you'd assign these in the Static IP range, but as we don't
> currently set that, just assign it towards the end of the DHCP range.
>
> https://github.com/GraseHotspot/grase-www-portal/issues/115
>
> Basically, you add a Radius Reply attributed for Framed-IP-Address.
>
> This only works for MAC Auth users (so computers or other devices you
> create a computer account for).
>
> I'll continue to investigate options for devices not doing MAC Auth.
>
> Regards
>
> Tim
>
> On Wed, Mar 16, 2016 at 5:59 PM, Shakthi S S <sa***.@gmail.com
> <javascript:>> wrote:
>
>> File Permission
>>
>> -rw-r--r-- 1 root root 32 Mar 16 13:29 /etc/ethers
>>
>>
>>
>> On Wednesday, March 16, 2016 at 1:28:29 PM UTC+5:30, Shakthi S S 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/e6572150-15f4-4859-a0cc-6546fb9fe9b0%40grasehotspot.org
>> <https://groups.google.com/a/grasehotspot.org/d/msgid/grase-hotspot/e6572150-15f4-4859-a0cc-6546fb9fe9b0%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>