
how-to block ads
|
 rcilink Premium join:2003-12-15 Manchester, NH
| reply to scaredofvonage Re: [Vonage] Getting the encryption key for RTP300 & WRTP54G
Yes. Here's how to get the encryption key for your VOICE_XML file.
Experiment with this, and it will work out.
1. Disable javascript. If you dont, the page will redirect to a different page. Some have reported hitting ESC repeatedly to stop this from happening-- it is hard to time this one!
2. Hook your PC into the RTP300 or WRT54GP2 LAN port. Your pc will get an IP address of 192.168.15.100.
3. Open a web browser and point to »192.168.15.1
4. Login to the device. Default is admin for username and password.
5. Point your browser to: »192.168.15.1/cgi-bin/webcm?getpa···ion.html
6. If you did not turn off JAVA, you got redirected. The page you want to see is attached.. Keep trying. Load the page, hit escape key.. Eventually it will show up. I find this works well when using an old 400MHz PC..
7. Once the page is visable, it appears blank. Right-click on it and click view source.
8. Scroll down towards the bottom of the source.. Look for entries like this:
<!-- Provisioning --> . .(removed.. redundant info) . <!--new--> <input type="hidden" name="provision:settings/intervalimg" value="3600" id="uiPostProvisionIntImg"> <input type="hidden" name="provision:status/profileurl" value="tftp://ti.tftp.vonage.net:69,21,2400" id="uiPostProvisionProfileDef" disabled> <input type="hidden" name="provision:status/imageurl" value="tftp://ti.tftp.vonage.net:69,21,2400" id="uiPostProvisionImageDef" disabled>
<input type="hidden" name="provision:status/path" value="pexxxxxxx2" id="uiPostProvisionPathDef" disabled> <input type="hidden" name="provision:status/key" value="6C04A7A8F44FC354435AAAAAAAAAAxxxxxxxxF1AC5A065F8EEE91CF7F23CD4DA" id="uiPostProvisionKeyDef" disabled> <input type="hidden" name="provision:status/interval" value="1" id="uiPostProvisionIntDef" disabled> <!--new--> <input type="hidden" name="provision:status/intervalimg" value="60" id="uiPostProvisionIntImgDef" disabled>
<input type="hidden" name="provision:settings/dns1" value="4.4.4.4" id="uiPostProvisionDNS1"> <input type="hidden" name="provision:settings/dns2" value="4.4.4.5" id="uiPostProvisionDNS2">
<input type="hidden" name="provision:status/last" value="Not provisioned" id="uiPostProvisionStatus" disabled>
<input type="hidden" name="provision:settings/VOICE_XML/PORT_1_CONFIG/CID_NAME" value="LINE_1" id="uiPostProvisionCID"> Your Provision key is listed in there. The tftp address and folder location for your file is also listed there.
filename is ti00000000.xml (replace 0's with MAC addy) | |   meister_sd Premium join:2006-01-29 La Mesa, CA
| This is what I've been looking for! Thanks alot! I'll try this when I get home tonight.
Have you had any luck in getting a serial console working? I've seen some tutorials on openwrt, but I haven't heard from anyone here who actually did it. I have the settings on HyperTerm to 115000 8-N-1 and Control to "None". | |  rcilink Premium join:2003-12-15 Manchester, NH
| The serial console is set to a 'login' prompt, so you cant get into it unless you have the password.
If you have the root password, why not just use ssh and connect that way?
Here's where I'm at with this device.. I have it registered and working with Asterisk... I have not gotten the provision portion working though. In addition, I would like to get the shell password, so I can get into the Linux filesystem.
I have the GPL source for 1.00.60 firmware for this device. (can be downloaded from Linksys).
In the firmware, under /usr/bin, look at the cm_ files.
# ls
[@ cm_logic* cm_reset* foxy* passwd@ traceroute@ whoami@ cm_config* cm_monitor* cut@ free@ pppoe-relay* tty@ yes@ cm_convert* cm_msg* dbgcmd@ id@ test@ upgrade* cm_klogd* cm_pc* env@ nmm* tftp@ wget* The cm_config is one of interest. Since this device is not i386 based, it needs an emulator to run.
# file cm_config
cm_config: ELF 32-bit LSB MIPS-I executable, MIPS, version 1 (SYSV), dynamically linked (uses shared libs), stripped So, if you have a MIPS version 1 emulator for linux, you can most likely run that config program and make a new XML to unlock your box completely, using the encrypt key it wants to see. | |  ayubsyz
join:2007-01-05 | reply to rcilink Hi, this work but i am unable to download the required tiMAC.xml file as described. Can someone share... | |
|