Oct 1, 2012

Vbs script Bm622i MAC Changer auto restore

Ok this is a simple vbs script so you can change MAC fast and easily and no need to log in as admin in the web gui to restore default. agad connect ang modem mo.

1.Copy the script below on a Notepad
2.Change the MAC you want to use (live/working mac)
3.Save as BM622i CHANGEMAC.vbs

If you want to change mac all you need is to edit your mac add in BM622i CHANGEMAC.vbs


Copy paste this script and edit and save.
Set cloner = CreateObject("WScript.Shell")
cloner.run"cmd"
WScript.Sleep 500

cloner.SendKeys"telnet 192.168.254.1"
cloner.SendKeys("{Enter}")
WScript.Sleep 500

cloner.SendKeys"wimax"
cloner.SendKeys("{Enter}")
WScript.Sleep 500

cloner.SendKeys"wimax820"
cloner.SendKeys("{Enter}")
WScript.Sleep 500

cloner.SendKeys"diag set macaddr 10:C6:1F:CF:58:A7"
cloner.SendKeys("{Enter}")
WScript.Sleep 500

cloner.SendKeys"diag restore default"
cloner.SendKeys("{Enter}")
WScript.Sleep 500

cloner.SendKeys("{Enter}")
WScript.Sleep 30000

cloner.SendKeys"exit"
cloner.SendKeys("{Enter}")
WScript.Sleep 45000
Simple and easy!


Connected agad log in as user only to check


NOTE: To prevent interruption while the script or cmd is running DO NOT click touch your keyboard or mouse because the command may lost is focus and not run properly.

0 comments:

Post a Comment