Topic: Skip Authenticatio for some MACs

Hi,

Maybe this is a (really) naive question, but how can I make chillispot to skip the authentication for a MAC address?
In other words I would like to recognize my laptop (from the MAC of the wireless card) and not ask me to authenticate anymore or anything, but just let me through automatically.

Thanks.

Re: Skip Authenticatio for some MACs

Hi,

Mac authentication for only one workstation It is mean to work as follows: add a line similar to
macallowed 00-52-12-30-1D-99
to your /etc/chilli.conf. Do not set macauth as it will perform macauthentication only.

This worked on my desktop, a 4 year old athlon. It didn't work on my hotspotserver (wrap with geode SC1100 CPU). It een made chillispot crash.

The crash was can be solved with the following patch

diff -aur chillispot.old/src/chilli.c chillispot.new/src/chilli.c
--- chillispot.old/src/chilli.c 2006-09-24 19:48:25.000000000 +0200
+++ chillispot.new/src/chilli.c 2007-06-11 01:28:50.000000000 +0200
@@ -534,6 +534,7 @@
     }
   }
   free(p3);
+  return 0;
}

int static process_options(int argc, char **argv, int firsttime) {


Regards, Johan

Re: Skip Authenticatio for some MACs

hi,
i've got a problem to setup macauth or macallowed
does anyone know how to do it?
i've got freeradius and chillispot.
username and password works perfect but when i want to setup some mac address without login page it always redirect me on this page.
in my opinion something wrong with this function. you can take a look in FAQ and man chilli and you will see the difference with config mac function.
how do i get it work?
please help
thanks
Lukas

Re: Skip Authenticatio for some MACs

Lukas,

1. In chilli.conf make sure you have the following 2 lines:
    a. macauth
    b. macpasswd YOURPASSWORD
2. In the radcheck table add the row:
    username = 'YOURMACADDRESS'
    attribute = 'User-Password'
    op = ':='
    value = 'YOURPASSWORD'
3. If you are using radgroupreply and radgroupcheck, make sure you add a row in userinfo

Re: Skip Authenticatio for some MACs

breed wrote:

Lukas,

1. In chilli.conf make sure you have the following 2 lines:
    a. macauth
    b. macpasswd YOURPASSWORD
2. In the radcheck table add the row:
    username = 'YOURMACADDRESS'
    attribute = 'User-Password'
    op = ':='
    value = 'YOURPASSWORD'
3. If you are using radgroupreply and radgroupcheck, make sure you add a row in userinfo

thank you breed! i figured out it before you wrote.
now i have got another problem. chillispot dhcp makes ip conflicts. i do not know why. sometimes only way to fix it is restart the machine.
do you know what can fix the problem without restarting machine? and mayby do you know how to set ip reservation by mac?
Lucas