Sunday, April 5, 2009

Unlock Sipura SPA 2100 (from rocketvoip.com) for home asterisk

note : You can unlock Linksys SPA2102 using below step as well.
The sipura that I found lying around was belong to rocketvoip.com, and now I use it with asterisk, if somebody ask how to do it, here is the story:

my instalation use :
- Sipura SPA 2100
- Windows XP Laptop.
- Linux PC
- Wireless Network
- ethereal / wireshark software for windows.

ps : you can figure out by your self how to not to use 2 system just to serve one purpose, but for me since I have linux PC (which run apache webserver and dns) so I just use it, dont have to install this additional software to my XP laptop.

after everything ready here is the step :
1. enable windows internet share on XP laptop, so the ethernet port will share wireless connection to access internet.
2. connect sipura SPA 2100 with ethernet cross cable to laptop ethernet port.
3. run ethereal to sniff ethernet interface on XP laptop.
4. turn on SPA 2100 and ethereal will start showing the traffic, this the time I saw what host on rocketvoip.com domain it tried to access, sip1.rocketvoip.com and provisioning.rocketvoip.com.
5. check on HTTP traffic too, and I found it tried to get /spaMAC.txt
6. write down all the info above, and now start to configure your dns and webserver to have it.
7. configure the DNS to have sip1.rocketvoip.com and provisioning.rocketvoip.com pointing out to linux server ( configure named.conf to have this domain, and zone file to have IN A for those two hosts )
8. put this text in /spaMAC.txt file, and save it to /var/www/html directory, so web server will serve it to sipura.

-----------------------------------------
<flat-profile>
<Enable_Web_Server ua="na">Yes</Enable_Web_Server><Web_Server_Port ua="na">80</Web_Server_Port><Enable_Web_Admin_Access ua="na">Yes</Enable_Web_Admin_Access><Admin_Passwd ua="na"></Admin_Passwd><User_Password ua="na"></User_Password><Provision_Enable ua="na">No</Provision_Enable><Protect_IVR_FactoryReset ua="na">No</Protect_IVR_FactoryReset>
</flat-profile>
-----------------------------------------

9. now configure sipura to have static ip (remember, first time sipura run with auto config using windows internet share, and using internet DNS, and have it access real rocketvoip.com domain), configure sipura to have dns pointing out to linux PC too.
10. restart sipura SPA 2100, and voila, it admin page now accessible and ready to configure with my home asterisk.

simple, and at least I save one usable device for being trashed on junkyard and pollute our only planet.

7 comments:

Dr. Liz Miller said...

Hi can you explain how you have got on my blog - under Matrix Psychology
see www.doctorbloggs.blogspot.com
and www.matrixpsychology.blogspot.com

Many thanks
Liz

Anonymous said...

Utems, you're da men! It worked for me as well. The only difference is that I have done this having just one laptop running Mac OS X Leopard! Thanks for your guide!!!

GEDIK said...

Thank you for your article. I successfully unlocked SPA2102 locked to voipgo with my Gentoo box (running services: dhcpd, lighttpd and bind)

SPA was accessing: http://voipgo.org/ataconfig/x.php

Anonymous said...

Can you explain a little big more on how to configure static IP in step 9 ? thanks

arpol said...

on step 9, access your sipura device from your current connection by typing sipura_ip:8080, that will show you the control page, but if you finding is hard to find what is your sipura current ip (although you can see it from ethereal), then change your pc connection to sipura by connect it to ethernet port on sipura (not internet port), this will make your pc as a sipura dhcp client, then you can access your sipura control page by typing sipura_ip:80 or sipura_ip only on your browser, after you got that page, change the configuration on DNS config to have it pointing to your modified linux or DNS server, hope this will help.

cheapest viagra said...

Thanks for the nice blog. It was very useful for me. Keep sharing such ideas in the future as well. This was actually what I was looking for, and I am glad to came here! Thanks for sharing the such information with us.

Sipura user said...

Dear Author,
Could you please publish here your cofig files for DNS server, namely
named.conf and zone file?
(meanwhile let's assume our Linux box has address 192.168.1.105)

I am asking for that, because configuring DNS server even for an advanced PC user - is a quite difficult task.

I guess I can do the rest (Ethereal, Web server, Sipura configuration, etc) :-)

Thank you in advance!

current

last archive