Thursday, August 23, 2007

Manually Unlocking the SPA-2102

(From http://srgizmos.ragenet.us/index.php/SPA-2102)

There is presently one good way to unlock your Sunrocket SPA-2102 and take it to another provider like ViaTalk or Vonage. A big thank you to Username for this hack!

You'll need a specific config file. It can be found here (Mirrors here, here (IE Only), here, here, or here)

After you get the file, you need to verify the md5sum of the cfg file inside the archive.

In linux, you can do this like so:

gzip -d linksys2102-sunrocket.cfg.gz
md5sum linksys2102-sunrocket.cfg
It should return an md5sum of 9abc05cce6cbc9b4be02b7c3a1b951ca If it does not, then it is not the genuine file, and, should be discarded.

The easiest way to do this, is:

  1. Connect your computer directly to the INTERNET port of your SPA. Some users may need a crossover cable
    • If this doesen't work for you, you might consider something like:
      • Plugging your router's WAN port into your computer [ For this to work you need to be running a DHCP server on your computer or set the SPA to static IP in the 67.133.234.0 network ]
      • You can connect the SPA to any port on your network using the INTERNET port if you set your WAN port to a static IP 67.133.234.1 mask 255.255.255.0. You can do that via either the web interface or the IVR. Instructions can be found here
      • More Suggestions needed
  2. Set your machine's IP address to 67.133.234.53
  3. Install a webserver on your machine.
  4. Create the directory /gms/linksys/SPA-2102/2102 in your web root.
    • In linux this is generally /var/www
    • In Windows, this can vary greatly, but, might be:
      • c:\inetpub\wwwroot\
      • If you're using apache as suggested above, it will be C:\Program Files\Apache Software Foundation\Apache2.2\htdocs
  5. Copy the file you downloaded to the directory you just created.
  6. Rename the cfg file to <your mac address>.cfg , I.E. 000aaa11bb.cfg all letters are lowercase, and, no dashes or colons.
    • If you don't know how to get your mac address, check the bottom of your SPA.
  7. Type http://67.133.234.53/gms/linksys/SPA-2102/2102 in your computer browser. You should be able to see the 000xxxxxxxxx.cfg file you prepared. (If not, your web server may not be set up properly)
  8. Wait until the light stops blinking and is solid
  9. Pick up the phone, and, dial ****
  10. At the prompt, dial 723646#
  11. When prompted for a password, dial 79309925#
  12. Dial 1#
  13. Dial 1
  14. Hang up
  15. Go to http://192.168.0.1/admin/voice/advanced, and, login with the credentials admin and qwe%zxc5 [ For this to work you need to disconnect the device and plug it on the ETHERNET side. You also need to change your computer back to using dhcp if you using windows ].

Congrats! Your gizmo is unlocked! Take it to ViaTalk or Vonage and enjoy your VoIP.

Now, you'll want to at LEAST disable provisioning.

14 comments:

Andrew said...

This worked! I did it with Apache on windows using the the internet port as described.

Anamika said...

I have followed the instructions.
1. I have used XP and IIS
2. Connected my PC to internet port of gizmo
3. Set the IP to have static IP suggested by the OP
4. on IIS I have created a virual directory called linksys and pointed to the directory suggested by the OP.
5. I could see the file when I have typed the IP/linksys.
6 But when I entered the password on the phone I am getting a message password not valid.
Am I missing something here?

Anamika said...

Andrew !!
Could you pelase post how you did it?

littlerabbit said...

Ok after a few hours of hard work, this method is proven to work for me.

The last few weeks, I tried all the listed methods, and after each one I got disappointed as no progress appeared. I tried the Live CD method but I got a kernel panic on booting. I played with the instructions here, somehow it worked... and I linked it up with my BroadVoice account.

A few notes to share:

1. I have 2 computers, 1 mac and 1 windows, which made things a lot easier. Windows has the firewall to prevent other computers from HTTP connect to it, so beware. At the end I have the CFG file served from my Mac. Apache rules.

2. I don't have a crossover cable, so I used the router as a switch. I disconnected the internet, turn off the router's DHCP, gave it an IP of .10; the webserver's IP set to .53; gizmo's IP as .11. The gizmo saw the server right away.

3. After CFG file is successfully downloaded from the webserver, the power light will STOP blinking. That's when I realized that something might have worked.

4. This might be particular to BroadVoice, as I have found other posts on the web, I needed to put the gizmo in front of the router (i.e. between the router and modem). Something to do with NAT, people say.

Thank you so much, guys!

Andrew said...

UBS,

Sorry I was not more descriptive. I plugged my SPA's internet port into my router following the instructions,

"You can connect the SPA to any port on your network using the INTERNET port if you set your WAN port to a static IP 67.133.234.1 mask 255.255.255.0. You can do that via either the web interface or the IVR. Instructions can be found here"

It sounds like you are trying to plug your computer directly to the internet port of the gizmo. In that case, you need a Crossover cable which is not the same thing as a regular ethernet cable. If all you have are regular ethernet cables, I suggest following the directions I copied above.

sandeep said...

please help me. i have tried it, but i could not understand the following steps

"Connect your computer directly to the INTERNET port of your SPA. Some users may need a crossover cable

If this doesen't work for you, you might consider something like:

Plugging your router's WAN port into your computer [ For this to work you need to be running a DHCP server on your computer or set the SPA to static IP in the 67.133.234.0 network ]

You can connect the SPA to any port on your network using the INTERNET port if you set your WAN port to a static IP 67.133.234.1 mask 255.255.255.0. You can do that via either the web interface or the IVR. Instructions can be found here"

what i did is that

1)changed the ip in the spa to static and assigned 67.133.234.1

2) changed the mask in spa to 255.255.255.0

3)set my ip address to 67.133.234.53 and mask to 255.255.255.0 in the network connections.

4)i connected a crossover cable from my ethernet port to the internet port of the spa.

5)then i created a virtual directory in windows iis server and copied the cfg file and renamed it to my mac address.

6)i got the file when i entered http://67.133.234.53/gms/linksys/SPA-2102/2102 , but the lights donot stop blinking...how long would it take to stop blinking...i waited for about 6 hrs...but the lights donot stop blinking...

when i enter the option 723646#
and 79309925#
the responce is an invalid password...

can u please tell me what i have done wrong...

sandeep

Banu said...

This works. Slick.

Here is what will help everyone. Have 2 computers and normal wired or wireless internet router. (Do not connect the SPA device yet.)

Host the webserver on one computer and make sure you are able to access the http link to the config file from the other computer. This will ensure that when the SPA device is substituted in place of the second computer, it has not problem accessing the config file.

worked like a charm.

I noticed that as soon as SPA is connected, it tries to update itself with the config file. Takes less than one minute.

Thanks so much for other valuable comments here.

Ron said...

Hello Banu, can you please explain what you did step by step for a newbie? Did you use the LiveCD? I would really appreciate your help. Thanks.

Ron said...

Hello Banu, can you please explain what you did step by step for a newbie? Did you use the LiveCD? I would really appreciate your help. Thanks.

Jawad said...

Invalid Password!


I recently bought an SPA2102-AN which was used for myacn.com provider. The DNS setting on this router point to 8.5.244.5.

I've tried all the available methods, but none of them worked. None of the admin passwords work (both web and IVR fail with INVALID PASSWORD.)

If someone finds a way to unlock these SPA2102-AN (myacn:8.5.244.5) routers, please post the instructions for the rest of the user community.

If you know the admin password for this router, please please share. THANKS!!!

Jawad said...

Invalid Password!


I recently bought an SPA2102-AN which was used for myacn.com provider. The DNS setting on this router point to 8.5.244.5.

I've tried all the available methods, but none of them worked. None of the admin passwords work (both web and IVR fail with INVALID PASSWORD.)

If someone finds a way to unlock these SPA2102-AN (myacn:8.5.244.5) routers, please post the instructions for the rest of the user community.

If you know the admin password for this router, please please share. THANKS!!!

jugo said...

Well this worked for me after almost pulling my hair out.

One thing I did differently was that I used IIS with my Vista Machine.

I also ran a simple DHCP server on the ame box using this wonderful tool: http://ruttkamp.gmxhome.de/dhcpsrv/dhcpsrv.htm

Make sure you allow access to port 80 in the Firewall.

Then before you connect your SPA, use another PC to test that you can conenct and access the file from outside that machine.

Also in IIS, you will need to create a Mime Type of aaplication/octet-stream for the .cfg extension or the file will not download properly onto the SPA.

Be patient... Even after the file is loaded onto the SPA, it takes a couple of minutes before you can actually use the password. I almost gave up, then I went and decided to try it once more after about 10 minutes and it worked.

This is by far the BEST method to recover the SPA2102-R.

I even tried the LIVECD and that was not so effective cause my NIC was too new.

ViaTalk, here I come.

Unknown said...

A few comments:
1. Power light on 2102 stops blinking when it connects to a web server.
2. Light adjacent to power light will go completely out for about 2 seconds when the unit has accepted the configuration file. This light will continue to sporadically blink after the download has been accepted.
3. This process will work after a factory reset. However, I don't know if it will work if a factory reset is done after YOU have reprogrammed the unit.
4. After you gain entry to the full web configuration do not turn off "web configuration access". Rather, turn off provisioning access.
5. You cannot get rid of the "Sunrocket" name tag -- the ONLY place this appears is in the summary web page interface. Everything else becomes configurable.
6. This is not a job for the timid. Once you unlock this unit, there is a myraid of settings!
Good luck!

Unknown said...

This worked great.

I had to couple of things.

Disable iptables firewall on linux "service iptables stop" so that apache can be accessed from other systems in the LAN.

I got the mac adress of the file wrong and got the correct one from apache access log and updated the file name. After this apache was showing 403 in the apache log so I chmod 755 *.cfg and then I was able to access the cfg file from other system in my LAN.

Next up is configuring the router for the 67.133.234.x network. Make sure you connect the linksys's internet port to the router. (the linksys ethernet is for web administration of the device). Hope this helps.