http://qs1969.pair.com?node_id=138848

Alex the Serb has asked for the wisdom of the Perl Monks concerning the following question:

This node falls below the community's threshold of quality. You may see it by logging in.

Replies are listed 'Best First'.
Re: MAC hardware Burnt-in address
by Chmrr (Vicar) on Jan 15, 2002 at 12:38 UTC

    Leaving aside the inherent sketchiness of having a "company" and prosecuting people to "life-time prison," I'm going to let you in on a little secret. If you type in "MAC address" into the little box next to the word "search" above, you'll find that this subject has been hashed and re-hashed many a time already. For instance:

    In the future, kindly do a minute of searching before doing a minute of posting.

    perl -pe '"I lo*`+$^X$\"$]!$/"=~m%(.*)%s;$_=$1;y^`+*^e v^#$&V"+@( NO CARRIER'

    A reply falls below the community's threshold of quality. You may see it by logging in.
Re: MAC hardware Burnt-in address
by cajun (Chaplain) on Jan 15, 2002 at 12:44 UTC
    I assume from your statement, you are using static IP addresses. A better solution is to use DHCP to assign the addresses. Getting the MAC address and/or controlling who has access to Internet is then pretty simple. If you're using Linux for the DHCP server, the MAC address and corresponding IP address can easily be obtained from dhcpd.leases.

    I suspect there is a similar way under Win2000 to get the MAC addresses and corresponding IP's, but I have no first hand knowledge.

    Depending on your firewall / proxy server, I suspect the same information could be obtained from the logs there.

    A reply falls below the community's threshold of quality. You may see it by logging in.
Re: MAC hardware Burnt-in address
by Spudnuts (Pilgrim) on Jan 15, 2002 at 21:18 UTC
    Why not just configure Squid to use proxy_auth so the clients need to have a valid username and password?