ID #1004

Spoofing your MAC address

Many ISP's use the MAC adress of a NIC to check if it's the correct card. For instance to check if it's the one they gave/sold to you.

This poses a problem if you want to use a different card then theirs. Luckily with FREESCO you can change the default adress by 'spoofing' it.

In /mnt/router/rc/rc_net add the following line just before the interface is brought 'up':

ifconfig $INTNAME0 hw ether 00:80:AD:83:8A:55

Doing so the complete script code should look like this:

ifconfig $INTNAME0 hw ether 00:80:AD:83:8A:55 
ifconfig $INTNAME0 up
if [ $? = 0 ]; then  
        if [ "$USEDHCP0" = y ]; then
                if [ "$DHCPLOG" = y ]; then DHCPLOG="-d"; else DHCPLOG=""; fi

00:80:AD:83:8A:55 is of course just a sample MAC address.

Last update: 2004-10-05 23:33
Author: Dingetje
Revision: 1.0

Print this record Print this record
Send to a friend Send to a friend
Show this as PDF file Show this as PDF file
Export as XML-File Export as XML-File

Please rate this entry:

Average rating: 5 from 5 (1 Votes )

completely useless 1 2 3 4 5 most valuable

You cannot comment on this entry