dd-wrt options

magicJack Tips and Tricks

Moderators: Bill Smith, Pilot

Post Reply
jeison
magicJack Apprentice
Posts: 19
Joined: Sat Jan 30, 2010 4:01 pm

dd-wrt options

Post by jeison »

HI all, this forum is really cool.

i been reading the forums now, for about 3 hours ,
unfortunarly none of my routers is supported by DD-WRT , so i am obligated to buy other router,,

of all those that succeded, with configuring your router, what you recomend for best performance over all with the most success,

i do however have an old PAP2 linksys VOIP box, can some one pointme in the right direction, on how to configure it, if can not be cofigured, please just let me know wich one other options i have

greate to be here....
nulland
magicJack Apprentice
Posts: 18
Joined: Mon Nov 03, 2008 12:25 am
Location: Torrance, CA US

Post by nulland »

To run mjproxy in the router, I'd choose any of the following Linksys routers with DDWRT installed: WRT54GL, WRT54G-TM, WRT54GS (all versions), WRT54G (all versions except ver 7, prefer versions with at least 4mb flash memory).

Linksys WRT54G routers with only 2mb flash memory will work, but you have to install a modified DDWRT firmware to run mjproxy.

I have also used a Buffalo WHR-G125; runs well with DDWRT.

Before configuring your PAP2 box, make sure you have mjproxy running in your router.
jeison
magicJack Apprentice
Posts: 19
Joined: Sat Jan 30, 2010 4:01 pm

Post by jeison »

thanks for your reply nulland,

regarding my PAP2 ,

is there some thing else i can use instead of the pap2?

my pap2 is locked and have problems finding a solution to unlock it

thanks...
MagicJackless
MagicJack Newbie
Posts: 4
Joined: Sun Jan 31, 2010 10:15 pm

Post by MagicJackless »

nulland wrote:Linksys WRT54G routers with only 2mb flash memory will work, but you have to install a modified DDWRT firmware to run mjproxy.
I have a Linksys WRT54G v5 with 2mb flash/8mb ram. I am running DDWRT v24 sp2 10/10/09 and am getting the "/tmp/mjproxy: can't resolve symbol 'htons'" ERROR!

Please let me know where I can get this modified firmware!

Thank you in advance!

Hank
nulland
magicJack Apprentice
Posts: 18
Joined: Mon Nov 03, 2008 12:25 am
Location: Torrance, CA US

Post by nulland »

Aside from a Linksys PAP2, other ATA devices that support SIP might work. I have tried a Grandstream ATA and it worked. Other choices are SIP phones like the Linksys Sipura SPA941 which I am now using for my mj. But since your router does not support DDWRT and your PAP2 is locked, you still have to get another router. You might want to take a look at the Linksys WRTP54G, a router that has an ATA SIP (PAP2) built in. It's not supported by DDWRT, but you can modify the firmware to integrate mjproxy in it. Someone here in the forum has successfuly done it and he might be kind enough to help you do it, or even send you the modified firmware! Refer to this thread:

http://www.phoneservicesupport.com/wrtp ... t7750.html
jeison
magicJack Apprentice
Posts: 19
Joined: Sat Jan 30, 2010 4:01 pm

Post by jeison »

nulland ,

thanks for your response, i decided to go the WRTP54G way, i have all ready ordered one brand new unlocked from e-bay, looks like a really good choice seems simpler just to program only one divece than two , i just have to wait it shows up to start playing with it..

allthough the WRT54G-TM,, looks very tempting, but i decided to play with the WRTP54G for now,

thanks again...
jeison
magicJack Apprentice
Posts: 19
Joined: Sat Jan 30, 2010 4:01 pm

Post by jeison »

MagicJackless

regarding your post, i`m so new at this, i have no experience at all on your router, but on my readings i found out that your particular model , has great support at this link :

http://www.dd-wrt.com/site/support/router-database


good luck.
MagicJackless
MagicJack Newbie
Posts: 4
Joined: Sun Jan 31, 2010 10:15 pm

Post by MagicJackless »

jeison wrote:regarding your post, i`m so new at this, i have no experience at all on your router, but on my readings i found out that your particular model , has great support at this link : http://www.dd-wrt.com/site/support/router-database
Thanks jeison. I have already been on the DD-WRT support site studing everything I could read. It seems that the mjproxy binary that someone complied and made availble here on this forum for these routers does not like to run in RAM, or there is not enough of it on the 2MB Linksys routers for it to work properly.

I will either have to re-compile my own modified version of the DD-WRT micro firmware with mjproxy pre-installed, or hope that nulland will be nice enough to send me his already compiled modified micro binary firmware that he made for his WRT54G v5, so he could sucessuffly use mjproxy on it. It seems we both have the exact same router, and wish to acomplish the exact same thing.

Since he already has a working firmware it would be much safer and easer for me to flash my router with his, than to risk bricking it with a firmware that I may modify incorrectly.

Hank
mufon
Dan isn't smart enough to hire me
Posts: 296
Joined: Fri Jan 25, 2008 9:50 am
Location: HIghland Village, Texas
Contact:

Post by mufon »

I'm no authority by any means, but I have always liked the Buffalo brand because they have good radios in them. I am using some older Buffalo bridges with Mimo technology, they run dd-wrt (and mjproxy) and I can connect from great distances using good antennas. They are also cheap to buy!

BTW, I'm a Ham.
"Looking for a new job. I have worked for Adelphia, Enron, Health South, Worldcom, and most recently British Petroleum."
Everton
MagicJack Contributor
Posts: 69
Joined: Thu Jan 28, 2010 12:07 pm

Post by Everton »

jeison wrote:thanks for your reply nulland,

regarding my PAP2 ,

is there some thing else i can use instead of the pap2?

my pap2 is locked and have problems finding a solution to unlock it

thanks...
There is someone on the site below that can remotely permanently unlock you PAP2 for a small fee:

http://www.dslreports.com/forum/voip

Signup at the site and contact (IM) DogFace05.

I hope the E-bay device you brought is truly unlock and new. Good luck! I use the WRT54G-TM and a SPA-3102 (brought from Amazon.com).
jeison
magicJack Apprentice
Posts: 19
Joined: Sat Jan 30, 2010 4:01 pm

Post by jeison »

There is someone on the site below that can remotely permanently unlock you PAP2 for a small fee:

http://www.dslreports.com/forum/voip

Signup at the site and contact (IM) DogFace05.

I hope the E-bay device you brought is truly unlock and new. Good luck! I use the WRT54G-TM and a SPA-3102 (brought from Amazon.com)
Eberton,

i got really lucky, i found a guide on how to unlock my pap2, and it worked,
here is the link : http://www.bargainshare.com/index.php?s ... ntry687285

now, wich version of WRT54G-TM , are you using?

the first version has 32mb of ram, and no VOIP capabilities

the second version 64mb of ram that has VOIP capabilities
i would be most interested in the second version,

with regards to the WRT54G-TM , i don`t know what i am getting yet

i suppose to get a bramd new unlocked virgin, never used,,
for $50.00 including shipping
MagicJackless
MagicJack Newbie
Posts: 4
Joined: Sun Jan 31, 2010 10:15 pm

Post by MagicJackless »

More Linksys WRT54GV5 Headaches!!!

I was trying to run the mjproxy (mips) (openWRT) binary posted earlier in this thread. After reading about the limits of my router, I successfully got mjproxy into my routers RAM in the /tmp directory. My problem just like a few other users was that I am geting the "mjproxy: can't resolve symbol 'htons'" ERROR! I tried upgrading to the latest bin firmware file dd-wrt.v24_micro_generic.bin. (10/10/09) I still got the error! So nulland suggested I actually rebuild my firmware to include the mjproxy command within it, so this is what I did following nullands suggestions:
nulland wrote:You need a linux machine to run the firmware modification kit. I made mine using a FEDORA 10 linux box; other linux machines will do. For the requirements and setup guide, go to:

http://www.dd-wrt.com/wiki/index.php/De ... cation_Kit

or

http://www.bitsum.com/firmware_mod_kit.htm

The websites above have a download link to the firmware mod kit. But I suggest that you use instead the improved version. Here is the link:

http://www.dd-wrt.com/dd-wrtv2/download ... 86.tar.bz2
OK nulland,
I used the firmware from this package: http://www.dd-wrt.com/phpBB2/viewtopic.php?t=58231
The filename of the firmware I used was called dd-wrt.v24-12548_NEWD_micro.bin.
Using a laptop I set up with ubuntu 9.10 I was able to use the firmware mod kit you suggested in your third link above.

I extracted the firmware to a working dir as per the instructions.
Then I used the included ipk installer utility to install the mjproxy_mipsel.ipk file from this forum into the build.
Then I rebuilt the firware to the output dir with no further modifactions.
Finally I flashed and reset my WRT54G, without bricking it!!!
Using putty, I found the mjproxy command was now built in, success! ... or so I tought!

I STILL GET THE ERROR: mjproxy: can't resolve symbol 'htons'!!!!!!!!

PLEASE HELP!

Hank
az1324
Dan isn't smart enough to hire me
Posts: 100
Joined: Wed Feb 20, 2008 4:46 am

Post by az1324 »

MagicJackless wrote:More Linksys WRT54GV5 Headaches!!!

I was trying to run the mjproxy (mips) (openWRT) binary posted earlier in this thread. After reading about the limits of my router, I successfully got mjproxy into my routers RAM in the /tmp directory. My problem just like a few other users was that I am geting the "mjproxy: can't resolve symbol 'htons'" ERROR! I tried upgrading to the latest bin firmware file dd-wrt.v24_micro_generic.bin. (10/10/09) I still got the error! So nulland suggested I actually rebuild my firmware to include the mjproxy command within it, so this is what I did following nullands suggestions:
nulland wrote:You need a linux machine to run the firmware modification kit. I made mine using a FEDORA 10 linux box; other linux machines will do. For the requirements and setup guide, go to:

http://www.dd-wrt.com/wiki/index.php/De ... cation_Kit

or

http://www.bitsum.com/firmware_mod_kit.htm

The websites above have a download link to the firmware mod kit. But I suggest that you use instead the improved version. Here is the link:

http://www.dd-wrt.com/dd-wrtv2/download ... 86.tar.bz2
OK nulland,
I used the firmware from this package: http://www.dd-wrt.com/phpBB2/viewtopic.php?t=58231
The filename of the firmware I used was called dd-wrt.v24-12548_NEWD_micro.bin.
Using a laptop I set up with ubuntu 9.10 I was able to use the firmware mod kit you suggested in your third link above.

I extracted the firmware to a working dir as per the instructions.
Then I used the included ipk installer utility to install the mjproxy_mipsel.ipk file from this forum into the build.
Then I rebuilt the firware to the output dir with no further modifactions.
Finally I flashed and reset my WRT54G, without bricking it!!!
Using putty, I found the mjproxy command was now built in, success! ... or so I tought!

I STILL GET THE ERROR: mjproxy: can't resolve symbol 'htons'!!!!!!!!

PLEASE HELP!

Hank
The problem isn't where in the router you put it. It's the fact that the library in your router does not have all the functions that the library the code was compiled against has. Of course the micro firmware is going to have a very pruned library in the interest of saving space. So you are going to have to recompile something to get it to work or buy a router that has more flash space for a version of the firmware known to be working with mjproxy.
Post Reply