Automate MAC & HOSTNAME changes in Linksys WRT54G NAT wireless router

Automate MAC & HOSTNAME changes in Linksys WRT54G NAT wireless router

Secure Home | Search | About
 Networking Firewalls    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content add this group's latest topics to your Google content
Subject Author Date
Automate MAC & HOSTNAME changes in Linksys WRT54G NAT wireless router yellowgirlnc 05-20-2007
Posted by yellowgirlnc on May 20, 2007, 1:50 am
If you were  Registered and logged in, you could reply and use other advanced thread options
Is there an existing automated way to change the MAC address & hostname of
my home ROUTER (Linksys WRT54G)?

I know about Gorlani's MacMakeUp manual MAC address-spoofing tool but it
works on the WinXP computer - but this doesn't help anyone behind a NAT
router - as the ROUTER's MAC address is what the Internet "sees"
(http://www.gorlani.com/publicprj/macmakeup/macmakeup.asp).

Manually, I can change the MAC address of the Linksys WRT54G wireless NAT
by going to the Linksys WRT54G MAC Address tool inside the router at
http://192.168.10.10/WanMAC.htm - which works fine - and can do the same
with the router HOSTNAME (which the Internet also sees) - but these changes
are all manual.

Since the Linksys WRT54G router runs Linux, I started googling for a more
automated way to periodically change both the router's MAC address (which
is the only MAC address the Internet sees) and the router's host name. I
soon came across you guys in the process (e.g., Mad Macs changes both the
host name and MAC address of the PC NIC card
(http://www.irongeek.com/i.php?page=security/changemac&mode=print). But Mad
Macs won't do a thing to change the MAC address or HOSTNAME shown to the
Internet because the ROUTER's hostname and MAC address are what the
Internet "sees".

In digging through your archives for a script to run on the ROUTER, I see
you guys wrote automated scripts to spoof the MAC address & hostname of
Windows & Linux PCs
(http://www.irongeek.com/i.php?page=security/changemac&mode=print) ... but
being behind a NAT ......

Has anyone yet written a program to automatically change the MAC address &
HOSTNAME of the wireless router?

I also asked this question at binrev but haven't seen any response yet
http://www.binrev.com/forums/index.php?showtopic=30773&st=0#entry258594

Posted by Jens Hoffmann on May 20, 2007, 3:10 am
If you were  Registered and logged in, you could reply and use other advanced thread options
Hi,

> Manually, I can change the MAC address of the Linksys WRT54G wireless NAT
> by going to the Linksys WRT54G MAC Address tool inside the router at
> http://192.168.10.10/WanMAC.htm - which works fine - and can do the same
> with the router HOSTNAME (which the Internet also sees) - but these changes
> are all manual.

The Internet does not see your MAC-address nor your hostname.
The MAC-address is transproted to the next hop (if at all) and that is
your ISP.

What is the purpose of changing MAC-address and hostname then?

Cheers,
Jens


Posted by Matt on May 20, 2007, 2:16 pm
If you were  Registered and logged in, you could reply and use other advanced thread options

> Hi,
>
>> Manually, I can change the MAC address of the Linksys WRT54G wireless NAT
>> by going to the Linksys WRT54G MAC Address tool inside the router at
>> http://192.168.10.10/WanMAC.htm - which works fine - and can do the same
>> with the router HOSTNAME (which the Internet also sees) - but these
>> changes
>> are all manual.
>
> The Internet does not see your MAC-address nor your hostname.
> The MAC-address is transproted to the next hop (if at all) and that is
> your ISP.
>
> What is the purpose of changing MAC-address and hostname then?
>
> Cheers,
> Jens
>

Trying to do some botched attempt at wireless spoofing ?



Posted by yellowgirlnc on May 20, 2007, 3:34 pm
If you were  Registered and logged in, you could reply and use other advanced thread options
On Sun, 20 May 2007 19:16:56 +0100, Matt wrote:
> Trying to do some botched attempt at wireless spoofing ?

Naaaaaaaah. It's my observation I get a new IP address from my ISP each
time I change the MAC address of my router and I want to automate that so
that a web page which "captures" my IP address and hostname doesn't get the
same one twice.

How would YOU accomplish that?

Posted by Sebastian G. on May 20, 2007, 5:09 pm
If you were  Registered and logged in, you could reply and use other advanced thread options
yellowgirlnc wrote:

> On Sun, 20 May 2007 19:16:56 +0100, Matt wrote:
>> Trying to do some botched attempt at wireless spoofing ?
>
> Naaaaaaaah. It's my observation I get a new IP address from my ISP each
> time I change the MAC address of my router


When changing your MAC address, you're effectively resetting your
connection. Upon reconnect, you're getting a new IP address assigned.

Don't you think that pulling the plug or pressing the reset button is a way
easier method for achieving this? Or, uh, what about the "Disconnect" button
in your router's config menu? D'oh!

> and I want to automate that so
> that a web page which "captures" my IP address and hostname doesn't get the
> same one twice.


What a nonsense. Anyway, why don't you try something like a PROXY?

> How would YOU accomplish that?


Thinking first and then asking the RIGHT question. You're extremely far off
from your actual problem, and only wrong conclusions in between.

Similar ThreadsPosted
Script to disconnect Linksys WRT54G wireless router on Windows November 19, 2007, 12:15 pm
linksys wrt54g router seems to leak. July 10, 2007, 3:43 pm
How do we change the router login name (Linksys WRT54G) March 12, 2007, 1:29 pm
Help my Linksys WRT54G router was broken into using the "curl" command July 4, 2007, 3:37 am
Port forwarding with different internal/external ports on Linksys wireless G router August 6, 2004, 6:56 pm
Web server behind Linksys WRT54G July 22, 2004, 6:28 pm
Setting up logging on my Linksys WRT54G July 17, 2004, 6:20 pm
Linksys WRT54G and Firewall software March 25, 2007, 4:15 pm
Linksys WRT54G: Laptop send unsolicited packets August 6, 2005, 3:49 pm
External DHCP server and Linksys wireless routers December 16, 2005, 11:31 pm

The site map in XML format XML site map

Contact Us | Privacy Policy