DDWRT Version Of MJMD5

magicJack Tips and Tricks

Moderators: Bill Smith, Pilot

peterlemonjello
magicJack Apprentice
Posts: 12
Joined: Tue Sep 09, 2008 11:31 am

Re: Plez helP!

Post by peterlemonjello »

ssudarshan75 wrote:So I have an asus router running DD-WRT on it and have a sunrocket ATA device that i used before they disabled ATA access. IF i read this thread right, i can change a few settings on my DD-WRT and plug my ATA into this and it should work without the USB dongle? Somebody plz shed light
Yep, just follow the directions in this thread. They may seem complicate at first but it'll become much easier to understand as you do everything.
ssudarshan75
magicJack Apprentice
Posts: 13
Joined: Fri May 22, 2009 6:10 pm

Need help!!

Post by ssudarshan75 »

This is the error I get:
root@DD-WRT:~# ipkg install http://download736.mediafire.com/mb3j30 ... mipsel.ipk
Downloading http://download736.mediafire.com/mb3j30 ... mipsel.ipk ...
ipkg_download: ERROR: Failed to retrieve http://download736.mediafire.com/mb3j30 ... mipsel.ipk, returning

root@DD-WRT:~# wget http://pagemen.110mb.com/mjproxy_mipsel.ipk.zip -O mjproxy_mipsel.ipk
root@DD-WRT:~# ipkg install mjproxy_mipsel.ipk
File not found mjproxy_mipsel.ipk
Last edited by ssudarshan75 on Tue Aug 18, 2009 8:16 am, edited 1 time in total.
ssudarshan75
magicJack Apprentice
Posts: 13
Joined: Fri May 22, 2009 6:10 pm

Root access is gone?

Post by ssudarshan75 »

Is this the reason why im not able to get the package onto my router? I have an ASUS DWL52GU running DDWRT (v24-sp2)
Image

Someone please advise if I should try this:
1. On the router web page click on Administration.
2. Scroll down until you see JFFS2 Support section.
3. Click Enable JFFS.
4. Click Save.
5. Wait couple seconds, then click Apply.
6. Wait again. Go back to the Enable JFFS section, and enable Clean JFFS.
7. Do not click "Save". Click Apply instead.
ssudarshan75
magicJack Apprentice
Posts: 13
Joined: Fri May 22, 2009 6:10 pm

plz help!!

Post by ssudarshan75 »

someone please help,what should i do next, looks like its not able to download the package.....because of lack of space...weary of formatting jffs
peterlemonjello
magicJack Apprentice
Posts: 12
Joined: Tue Sep 09, 2008 11:31 am

Post by peterlemonjello »

Your problem is that there's no jffs space available. Which version of ddwrt are you running? You need to be running the mini version.
Taken83oveR
Dan isn't smart enough to hire me
Posts: 119
Joined: Wed Jun 11, 2008 2:07 pm

Re: Need help!!

Post by Taken83oveR »

ssudarshan75 wrote:This is the error I get:
root@DD-WRT:~# ipkg install http://download736.mediafire.com/mb3j30 ... mipsel.ipk
Downloading http://download736.mediafire.com/mb3j30 ... mipsel.ipk ...
ipkg_download: ERROR: Failed to retrieve http://download736.mediafire.com/mb3j30 ... mipsel.ipk, returning

root@DD-WRT:~# wget http://pagemen.110mb.com/mjproxy_mipsel.ipk.zip -O mjproxy_mipsel.ipk
root@DD-WRT:~# ipkg install mjproxy_mipsel.ipk
File not found mjproxy_mipsel.ipk
You are not doing step one correctly. Make sure you are getting your "own" link as explained. Although, the other link looks to still work.
ssudarshan75
magicJack Apprentice
Posts: 13
Joined: Fri May 22, 2009 6:10 pm

Re: Need help!!

Post by ssudarshan75 »

Taken83oveR wrote:
ssudarshan75 wrote:This is the error I get:
root@DD-WRT:~# ipkg install http://download736.mediafire.com/mb3j30 ... mipsel.ipk
Downloading http://download736.mediafire.com/mb3j30 ... mipsel.ipk ...
ipkg_download: ERROR: Failed to retrieve http://download736.mediafire.com/mb3j30 ... mipsel.ipk, returning

root@DD-WRT:~# wget http://pagemen.110mb.com/mjproxy_mipsel.ipk.zip -O mjproxy_mipsel.ipk
root@DD-WRT:~# ipkg install mjproxy_mipsel.ipk
File not found mjproxy_mipsel.ipk
You are not doing step one correctly. Make sure you are getting your "own" link as explained. Although, the other link looks to still work.
I did save the location and did the download

root@DD-WRT:~# ipkg install http://download736.mediafire.com/xenuttnlwlwg/ky3knd

gwnei/mjproxy_mipsel.ipk
Downloading http://download736.mediafire.com/xenutt ... mipsel.ipk ...
ipkg_download: ERROR: Failed to retrieve http://download736.mediafire.com/xenutt ... mipsel.ipk, returning

Also as you said the otherlinks are working just not through putty, suspect lack of jffs space
Last edited by ssudarshan75 on Thu Aug 20, 2009 9:14 pm, edited 1 time in total.
ssudarshan75
magicJack Apprentice
Posts: 13
Joined: Fri May 22, 2009 6:10 pm

Post by ssudarshan75 »

peterlemonjello wrote:Your problem is that there's no jffs space available. Which version of ddwrt are you running? You need to be running the mini version.
V24-sp2
ageofknowledge
magicJack Apprentice
Posts: 12
Joined: Sat Aug 15, 2009 10:08 pm

Post by ageofknowledge »

Klingons, this is Captain Kirk of the starship Enterprise. We are receiving your distress signal but need some clarification in order to assist. You say a Tomato got infected by a WNR834B creating a WHR-HP-G54 event? The rest of your message is garbled. Dammit Scotty give me more power! Spock please assist Scotty so we can figure out what these Klingons are talking about. You Klingons hold tight. Won't be long now.
peterlemonjello
magicJack Apprentice
Posts: 12
Joined: Tue Sep 09, 2008 11:31 am

Post by peterlemonjello »

ssudarshan75 wrote:
peterlemonjello wrote:Your problem is that there's no jffs space available. Which version of ddwrt are you running? You need to be running the mini version.
V24-sp2
I assume your running standard then. Reflash using the mini version. Hopefully that'll free up your space. This is what I had to do on my Linksys WRT150N.
ssudarshan75
magicJack Apprentice
Posts: 13
Joined: Fri May 22, 2009 6:10 pm

Final step issue

Post by ssudarshan75 »

Actually im almost there with a tomato based router....just not able to get the mjproxy started up....

# mjproxy listen-ip|0.0.0.0 5070 proxy01.dallas.talk4free.com 5070 mypassword
-sh: 0.0.0.0: not found
jharl
magicJack Apprentice
Posts: 11
Joined: Sat Jul 12, 2008 2:41 pm

Post by jharl »

I'm having a glass of tomato juice for breakfast and cannot mjproxy to download into my glass. I updated my cereal with the latest fruit and milk, but cannot get the mj proxy to download in to tomato.

any ideas
Taken83oveR
Dan isn't smart enough to hire me
Posts: 119
Joined: Wed Jun 11, 2008 2:07 pm

Post by Taken83oveR »

Eat a poptart :)
razavi66
MagicJack Newbie
Posts: 3
Joined: Tue Aug 11, 2009 12:55 pm

Post by razavi66 »

Hi everybody

I have a problem, I have a LInksys WRT-160N with dd-wrt mini version firmware & a linksys-PAP2NA. i set magicjack sip setting & it's work fine, incomig & outgoing. but sometime, when some call to my MJ number, they said that they don't hearing any ringtone on the phone & they call go to my voice mail!!!! & for have a call to me they must call me several time.
I open port 5060-5070 in my router & set NAT Mapping: enable & Kepp Nat...: enable.

so, please help to solve this problem. why sometimes, incomig call goes to Voicemail directly & sometimes it's works fine, without changing anything???

Thank you
newwonder01
magicJack Apprentice
Posts: 21
Joined: Sat Feb 02, 2008 10:14 pm

Post by newwonder01 »

Hi,

Thanks for all the help to use again ATA.

But still I am looking for help, I am using InnoMedia SIP MTA 6328-Re. I can able to receive calls but I am unable to make call using ATA, but X-Lite I can, I am not sure what would be the problem.

Any one has this problem, if I have to enable the NAT, how could I do that on InnoMedia SIP MTA 6328-Re device.

Thanks for your help.
stav
Dan isn't smart enough to hire me
Posts: 105
Joined: Tue Jun 09, 2009 4:33 pm

Post by stav »

I'm following all steps as outlined earlier and successfully installed mjproxy in my wrt54g v.2 flashed with dd-wrt v24-sp1 mini(07-27-08). I telnet into the router and mjproxy runs fine.
I still cannot register into MJ server using the PAP2T but ... can register with X-Lite with same credentials.!
Any ideas on what's going on here? All suggestions welcome.
Thanks
PS. have a pre-april 09 MJ
Cablespider
magicJack Apprentice
Posts: 28
Joined: Wed May 27, 2009 4:12 pm

Post by Cablespider »

Do you have the proxy on the PAP2T pointing to the router?
stav
Dan isn't smart enough to hire me
Posts: 105
Joined: Tue Jun 09, 2009 4:33 pm

Post by stav »

Thanks for still being around, :))
I point to the proxy01.yourtown.talk4free.com 5070 your password.
Actually when I telnet into the router and type "top" in the command prompt to see if mjproxy is running, I get

root@DD-WRT:~# top
-sh: top: not found.

There is not enough free space for jffs in my wrt54gv8.2 and so I give these commands in the router's command line:

sleep 30
cd /tmp/
wget http://pagemen.110mb.com/mjproxy_mipsel.ipk.zip -O mjproxy_mipsel.ipk
ipkg -d /tmp/ install mjproxy_mipsel.ipk
/tmp/bin/mjproxy 0.0.0.0 5070 proxy01.urtown.talk4free.com 5070 my pw.

I get no error messages when I run the commands, so assume all is OK, but obviousely its not.
Any help welcome,
Thx
Cablespider
magicJack Apprentice
Posts: 28
Joined: Wed May 27, 2009 4:12 pm

Post by Cablespider »

Now point your PAP2T to the router. Let's say your router IP is 192.168.1.1...you would set the proxy on the PAP2T to 192.168.1.1:5070

In other words, don't use the MJ proxy address (proxy01.yourtown.talk4free.com) on the PAP2T. You use the the IP of the router. If you have it set up this way, then I'm lost.
stav
Dan isn't smart enough to hire me
Posts: 105
Joined: Tue Jun 09, 2009 4:33 pm

Post by stav »

It works now,
I flashed my old 54G v.2 with dd-wrt strd with all bells and whistles including JFFS. Loaded mjproxy as per instructions in this thread, checked it and it runs. Pointed my ATA to my router's IP instead of the proxy01.mytown.talk4free.com and it works like a charm.
Thanks Cablespider for the hint and all the contributors in this thread for the setup.
Cablespider
magicJack Apprentice
Posts: 28
Joined: Wed May 27, 2009 4:12 pm

Post by Cablespider »

Good job. I'm glad you got it working.
grillovillegas
magicJack Apprentice
Posts: 25
Joined: Mon May 11, 2009 5:38 pm

I need help

Post by grillovillegas »

Hi

i am having a problem MJ is runing in my pap2
without any MJMD5 for over a couple of months
without a problem...

But i need to setup it as a trunk on my asterisk server
any ideas

Thanks
Grillo Villegas
webtechy
MagicJack Newbie
Posts: 3
Joined: Sat Feb 02, 2008 4:19 pm

Used mini for my 4mb flash after checking dd-wrt db

Post by webtechy »

Checking the database here:
http://www.dd-wrt.com/dd-wrtv3/dd-wrt/hardware.html

and then reflashing to the v24 SP1 mini, i was able to get everything working

Thanks dskum, Taken83oveR & pagemen!
bluett
MagicJack Newbie
Posts: 2
Joined: Sun Oct 18, 2009 10:20 pm

Maximum number of stale retries exceeded??

Post by bluett »

I keep getting this with mjproxy. Any ideas?
fala
magicJack Apprentice
Posts: 20
Joined: Sat Mar 28, 2009 7:37 pm

Re: Used mini for my 4mb flash after checking dd-wrt db

Post by fala »

webtechy wrote:Checking the database here:
http://www.dd-wrt.com/dd-wrtv3/dd-wrt/hardware.html

and then reflashing to the v24 SP1 mini, i was able to get everything working

Thanks dskum, Taken83oveR & pagemen!

FYI
It might work great for you, but the SP1 is not a recommended built anymore and users are strongly urged to use newer SP2 builts. See sticky

http://www.dd-wrt.com/phpBB2/viewtopic.php?t=51486

"...3. Upgrade to a recommended newer build, especially if you are running SP1 or v24 final (05/21/08 ). Newer builds contain fixes for bugs. At the time of writing, the latest official build is v.24 SP1. SP1 has a LOT of issues. It will spontaneously brick the Asus WL500W router. These issues are fixed with some of the later builds. However, sometimes new builds have new bugs. New builds are BETA and not "finished" yet. Although you use them at your own risk these builds have been pretty thoroughly tested and work well, certainly better than SP1. Browse the forums and see what others are saying. These are the recommended builds: "......
bluett
MagicJack Newbie
Posts: 2
Joined: Sun Oct 18, 2009 10:20 pm

Works for me now!!

Post by bluett »

Never mind my last post...my password was wrong. This works perfectly on my DD-WRT router and SPA942!!!
baiano
MagicJack Newbie
Posts: 2
Joined: Fri Oct 16, 2009 9:08 pm

Post by baiano »

Cant get it running.

My setup is this:

Linksys with Firmware: DD-WRT v24 (05/24/08) micro (no space for JIFFS)
Sipura SPA2102

So I have the internet coming from the cable modem to the Linksys, where I had the commands added to the startup as :

sleep 30
wget http://pagemen.110mb.com/mjproxy.zip -O /tmp/mjproxy
chmod a+x /tmp/mjproxy
/tmp/mjproxy 0.0.0.0 5070 proxy01.atlanta.talk4free.com 5070 MJPWD

I saved this for startup but since I could not register I tried to run the commands and got the error message:

sh: eval: line 5: /tmp/mjproxy: not found

My ATA (Sipura) is pointing to the router IP 192.168.1.143.

What am I doing wrong?

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

Post by nulland »

Commands are correct, but maybe mjproxy is not being unzipped. File mjproxy.zip is downloaded but unzipped so mjproxy cannot be found. DD-WRT V24 may not have the gunzip command in it bin directory. Try a newer build of DDWRT micro, like R12548.
yazyazoo
MagicJack User
Posts: 36
Joined: Tue Aug 04, 2009 11:53 pm

Post by yazyazoo »

I just got a MagicJack and have DD-WRT sp2 std running on a Buffalo WHR-G125. I was able to install this onto my router.

I now am trying to cofigure the ATA portion of the setup.

I am looking at this thread and it seems to difficult. I can't even see some of the things people are changing. Is all of this needed?

http://www.phoneservicesupport.com/magi ... t5066.html
gavilaso
magicJack Apprentice
Posts: 29
Joined: Tue Jan 06, 2009 10:16 am

WRT-300N V1.1 DD-WRT v24-sp2 (10/10/09) mega - build 13064

Post by gavilaso »

Hi all from Puerto Rico. Today i when on and buy a Linksys PAP2T and i'm waiting for it to come from HK. so until i wait i was try to get my router WRT-300N V1.1 DD-WRT v24-sp2 (10/10/09) mega - build 13064 setup with the MJMD5 but i'm not able to, i don't know if the code that are here doesn't work for this build of dd-wrt or if i'm doing something wrong... i have all the problem that everyone is posting in here but i'm not able to fix them.. i have read the 24 page in this post but with out any luck.. can anyone give me a hand! Thanks
mpwebster
MagicJack Newbie
Posts: 8
Joined: Tue Aug 26, 2008 8:55 am

Post by mpwebster »

check this site. i dont believe that mega will fit and have room for jffs memory. i would use mini build. hope this helps. http://www.dd-wrt.com/wiki/index.php/Supported_Devices
cucu007
magicJack Apprentice
Posts: 14
Joined: Tue Dec 02, 2008 11:26 pm

Post by cucu007 »

I got the setup ready on the asus router, now I am trying to get the PAP2V2 working, I can't seem to get it connected. Can someone help. I know my PAP2v2 is unlocked, but I am not sure if it is working with this setup.
crackerjack
Dan Should Pay Me
Posts: 784
Joined: Fri Nov 16, 2007 9:32 pm

Re: WRT-300N V1.1 DD-WRT v24-sp2 (10/10/09) mega - build 130

Post by crackerjack »

gavilaso wrote:Today i when on and buy a Linksys PAP2T and i'm waiting for it to come from HK.
You think you got problems now??


Wait til this bogus, relabelled, partially rebuilt frankenstein of an ATA enters the equation.
Strongly suggest you obtain one from Amazon.com or other reputable source.

Good Luck

Crackerjack
Good Luck

CrackerJack

MagicJack Customer #73
MagicJack user since May 2007
MagicJack abuser since June 2007
"I gots mo' numbers than a Lotto machine!!!"
Zeeble
MagicJack Newbie
Posts: 3
Joined: Sat Dec 05, 2009 8:02 am

Post by Zeeble »

Seems this forum has died out quite a bit. I recently purchased a MJ and a pap2t-na. I have a Linksys WRT54g v8 running the current release (11/25/09) Eko DD-WRT Micro-Plus_ssh.

Here is my problem. I can ssh into the router and wget the mjproxy and set the permissions to it in ram (/tmp) however everytime i go to execute it, it fails to start.

/tmp/mjproxy 0.0.0.0 5070 proxy01.stlouis.talk4free.com 5070 PASSWORD
/tmp/mjproxy: can't resolve symbol 'htons'

My linux isn't great, but it isn't horrible either. So what is this supposed to mean? Work arounds? I've followed everything to a T and still nothing. I googled the 'htons' error and received only limited responses. The interesting information I found was a guy was trying to do it on a WRT54GS v7 (aka the same as the WRT54G v8) and that the router just cannot do it due to the revision number. Just a shot in the dark to hopefully get a reply that touches on this issue.
huntergreenAR15
magicJack Apprentice
Posts: 10
Joined: Wed Jul 08, 2009 10:41 pm

sorry aye.

Post by huntergreenAR15 »

I had the exact same problem with my Linksys wrt54g V5. No room for Jffs. I bought an ASUS and as you can see from previous posts it works like a charmand in little or not time at all. I'm no fan boy of ASUS I'm just very pleased with this particular router. Even out of the box it was mile ahead of my linksys. It was $10 more and about 4 years later so to be honest it should have been miles ahead.
jsherk
MagicJack Expert
Posts: 79
Joined: Tue Dec 08, 2009 4:30 pm
Contact:

Post by jsherk »

Not sure this article would be any help to anybody:
http://www.0xdecafbad.com/?p=140
boar
MagicJack Newbie
Posts: 8
Joined: Fri Dec 18, 2009 4:55 pm

Re: sorry aye.

Post by boar »

huntergreenAR15 wrote:I had the exact same problem with my Linksys wrt54g V5. No room for Jffs. I bought an ASUS and as you can see from previous posts it works like a charmand in little or not time at all. I'm no fan boy of ASUS I'm just very pleased with this particular router. Even out of the box it was mile ahead of my linksys. It was $10 more and about 4 years later so to be honest it should have been miles ahead.
i tried searching for asus model on other posts in this thread but i couldn't find any, can you post the model number, version number of the ASUS model you have please ?
http://www.dd-wrt.com/wiki/index.php/Su ... vices#Asus

how about this router ?
Linksys WRT54GL Wireless router
http://lifehacker.com/178132/hack-attac ... 600-router
jack2009
MagicJack Newbie
Posts: 2
Joined: Sat Dec 05, 2009 12:53 pm

Problem with mjproxy

Post by jack2009 »

Hi to all in the forum and Happy New Year.

I have one problem with this version of mjproxy for my dd-wrt device. I run the regular version for my Debian computer and my SPA-1001, connect correctly. I received and make call fine, but when I tried to use this version for my Linksys Router, my SPA-1001 has problem, sometime it register but only receive call and sometime it fail in the registry process and never connect. I tried this mjproxy in two Linksys router (Diferent Model) and the same problem. Any idea?

Thanks
Guide_timothy
magicJack Apprentice
Posts: 21
Joined: Mon Dec 15, 2008 9:22 pm

Post by Guide_timothy »

I found that its usually the STUN server configuration in your ATA device that stopps it from connecting go to your stun config and enter this server its what i currently use
STUN server IP 217.10.79.2
STUN server port 10000

Another tip is to go inside ur router and open port 5070

Hope these 2 tips help :D
jack2009
MagicJack Newbie
Posts: 2
Joined: Sat Dec 05, 2009 12:53 pm

Post by jack2009 »

Thanks, for the tips.
MST
magicJack Apprentice
Posts: 28
Joined: Mon Nov 02, 2009 11:35 pm

Post by MST »

Hello all

It looks like this thred has died. Just curiasity: is it still working?

I am trying te get WRT54G v4 to work with MJ proxy but no luck

And can't use PF2.1 any more ......
MST
mjc8870
MagicJack Contributor
Posts: 64
Joined: Wed Nov 12, 2008 8:59 pm

login incorrect in putty

Post by mjc8870 »

I am attempting to follow directions to load MJproxy on my wrt54g-tm, and in Putty I am getting login incorrect. I am positive I have the correct credentials for the router, but it gives me login incorrect. I am newbie and have no idea how to proceed.


Any help would be appreciated.
mjc8870
MagicJack Contributor
Posts: 64
Joined: Wed Nov 12, 2008 8:59 pm

Stuck on step 7

Post by mjc8870 »

I am using Linksys WRT54G-TM and using Tomato 1.27. I have run into a prolem on step number 7. I entered "chmod mjproxy to 755" (no quotes) and it says it can not be found. I am at a loss here, because I have no knowledge of programming linux. It appears that the mjproxy is not loading in router.

Also it says to Telnet, but doesn't show clicking telnet. I thought telnet used port 23. I am stumped at this level. Any help from here would be appreciated.

Thanks,


Mike
mjc8870
MagicJack Contributor
Posts: 64
Joined: Wed Nov 12, 2008 8:59 pm

Post by mjc8870 »

sorry, wrong sticky.
Strych9
MagicJack Newbie
Posts: 5
Joined: Wed Apr 29, 2009 7:25 pm

Post by Strych9 »

New MagicJack User-Agent String for your SIP info:

MagicJack/1.90.521b (SJ Labs)


--on an ASUS WL520GU using DD-WRT and mjproxy in JFFS.
deadshort
MagicJack Newbie
Posts: 4
Joined: Sat Mar 07, 2009 8:39 pm

Post by deadshort »

when starting the executable I'm getting the
mjproxy: can't resolve symbol 'htons'
error also, Buffalo WHR-HP-G54 , dd-wrt 23 sp2

edit: upgrading to dd-wrt 24 sp2 (10/10/09) fixed that error
Moe_Ale
magicJack Apprentice
Posts: 15
Joined: Sat Jan 30, 2010 12:44 am
Location: United States

tried everything and still no go

Post by Moe_Ale »

-
-
-
-
-
-
Last edited by Moe_Ale on Sat Feb 06, 2010 2:20 am, edited 1 time in total.
nulland
magicJack Apprentice
Posts: 18
Joined: Mon Nov 03, 2008 12:25 am
Location: Torrance, CA US

Post by nulland »

@Moe-Ale

1. You're using an old DDWRT version (V24, 07/03/2008). Update to a latest or newer version for your router.

2. The methods you are using install mjproxy in the /tmp directory where it will not survive router reboots. With these methods, your router needs to download and install the mjproxy package each time it boots. You use these methods only when you have a DDWRT micro version (2mb flash). Your router has 4mb flash with a jffs partition where you can permanently store and run mjproxy, without having to download it at boot time.

3. As regards errors in running mjproxy: invalid network address means the proxy address may be wrong or you're not connected to the internet; mjproxy not found -- include (prefix) complete directory path in the mjproxy command.

I hope this helps.
Moe_Ale
magicJack Apprentice
Posts: 15
Joined: Sat Jan 30, 2010 12:44 am
Location: United States

Post by Moe_Ale »

nulland wrote:@Moe-Ale

1. You're using an old DDWRT version (V24, 07/03/2008). Update to a latest or newer version for your router.

2. The methods you are using install mjproxy in the /tmp directory where it will not survive router reboots. With these methods, your router needs to download and install the mjproxy package each time it boots. You use these methods only when you have a DDWRT micro version (2mb flash). Your router has 4mb flash with a jffs partition where you can permanently store and run mjproxy, without having to download it at boot time.

3. As regards errors in running mjproxy: invalid network address means the proxy address may be wrong or you're not connected to the internet; mjproxy not found -- include (prefix) complete directory path in the mjproxy command.

I hope this helps.
Great info. I updated the Firmware to DD-WRT v24-sp2 (10/10/09) mini
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
Post Reply