1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

manage MAC addresses programmatically

Discussion in 'Tomato Firmware' started by Mauro, Jan 1, 2012.

  1. Mauro

    Mauro Networkin' Nut Member

    Hello,
    I'm building a WEB application for an Internet Café in order to enable the clients to go to Internet based on some information they provide (a card number, properly coded, holding the number of minutes they are allowed to surf).
    The Internet Café owns an Internet connection connected to an ASUS RT-N16 with Tomato 1.28 installed.

    The WEB application, right now, is hosted on a normal Windows PC and is written in ASP.NET. But this is not relevant for my question, maybe I will then submit another post later to see if it could be hosted on the ASUS WEB server.

    So, here is my question: since my application collects the client MAC address, how can I fill the list of MAC addresses that are allowed to go to internet on the Tomato software? In other words, I could manually go to the Tomato WEB Page (under Access Restriction) and add the MAC address of the client machine that is allowed to navigate, but of course in this case this should be managed without human intervention. I expect there is a MAC.CONF file on the router, or similar text file that I can edit and keep updated; but I couldn't find it.

    I hope my question is clear. Thank you,

    Mauro
     

Share This Page