Abills 0.40b + Mikrotik + DHCP
Добавлено: Чт янв 29, 2009 12:55 pm
Hello,
I'm sorry I'm writing in English, but my Russian is not so good.
I have a problem setting up abills with Mikrotik dhcp.
I'm trying to use the Dv module logic for DHCP users, but since Mikrotik is inserting the users MAC address as user name in the radius request I need to be able to create logins in the form of MAC addresses.
I did change the USERNAMEREGEXP and MAX_USERNAME_LENGTH in the config.pl so that I don't get the errors "wrong name" and "username too long" but still I couldn't get the web interface to create users with this name.
I don't get any error code, not successful nor error. Just nothing happens. I tried to insert such user name manually into the database users table and I succeeded, but then I have a second problem the abills is returning me "Login Not Exist or Expire" for that user. Is there some data validation check I can't find?
Any help will be appreciated. I hope I was clear enough. You could reply in Russian I understand it.
Thanks!
I'm sorry I'm writing in English, but my Russian is not so good.
I have a problem setting up abills with Mikrotik dhcp.
I'm trying to use the Dv module logic for DHCP users, but since Mikrotik is inserting the users MAC address as user name in the radius request I need to be able to create logins in the form of MAC addresses.
I did change the USERNAMEREGEXP and MAX_USERNAME_LENGTH in the config.pl so that I don't get the errors "wrong name" and "username too long" but still I couldn't get the web interface to create users with this name.
I don't get any error code, not successful nor error. Just nothing happens. I tried to insert such user name manually into the database users table and I succeeded, but then I have a second problem the abills is returning me "Login Not Exist or Expire" for that user. Is there some data validation check I can't find?
Any help will be appreciated. I hope I was clear enough. You could reply in Russian I understand it.
Thanks!