µTasker Forum

µTasker Forum => µTasker general => Topic started by: thamanjd on March 26, 2008, 10:13:02 AM

Title: Flushing connected PC ARP table when just changing MAC but not IP of UTasker
Post by: thamanjd on March 26, 2008, 10:13:02 AM
This may be a no brainer but it fooled me for a bit.

I was trying to change (via HTTP) the MAC address but leaving the default IP as it was.
 After pressing the save button i couldn't load the page again to validate the saved changes.

If I change both the MAC address and the IP at the same time i guess this is a new, very different entry in my PC's ARP table and i have no trouble reconnecting to validate the changes.

But to just change the MAC without changing the default IP, i had to flush my PC's ARP table at the command prompt:

netsh interface ip delete arpcache

(had to do this after "save changes" but before reloading the page to be able to press "modify")

I guess my PC gets muddled if it tries to add a second MAC for the one IP?
Title: Re: Flushing connected PC ARP table when just changing MAC but not IP of UTasker
Post by: mhoneywill on March 26, 2008, 12:11:43 PM
Just try typing "arp -d" this will flush the ARP Cache too.

Yes the problem is that the PC has already allocated the MAC address to an IP so you do need to flush it.

Cheers

Martin
Title: Re: Flushing connected PC ARP table when just changing MAC but not IP of UTasker
Post by: mark on March 26, 2008, 01:34:32 PM
John

Yes, this can catch people out, but it is very rare that one actually changes the MAC address.
See also step 10 in the uTasker tutorial:
http://www.utasker.com/docs/NE64/uTaskerV1.2-Tutorial.PDF (page 4/24)
where this is also discussed.

Regards

Mark

Title: Re: Flushing connected PC ARP table when just changing MAC but not IP of UTasker
Post by: thamanjd on March 27, 2008, 01:34:57 AM
ouch. i guess the real lesson here is to read the bloody manual   :)