DDWRT Version Of MJMD5

magicJack Tips and Tricks

Moderators: Bill Smith, Pilot

grillovillegas
magicJack Apprentice
Posts: 25
Joined: Mon May 11, 2009 5:38 pm

DDWRT Version Of MJMD5

Post by grillovillegas »

Since DDWRT works runs on Linux and support OPKG
could you give me ideas how to run the proccess on the router ?
Grillo Villegas
peterlemonjello
magicJack Apprentice
Posts: 12
Joined: Tue Sep 09, 2008 11:31 am

Post by peterlemonjello »

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

Post by Taken83oveR »

I 2nd this idea. Lots of people here with DD-WRT routers, and would much rather run it on there, instead of leaving there pc's on (kinda defeats the purpose).
grillovillegas
magicJack Apprentice
Posts: 25
Joined: Mon May 11, 2009 5:38 pm

Post by grillovillegas »

No one Linux Geek ???

To include the program on the DDWRT ???
Grillo Villegas
desidude2000
MagicJack User
Posts: 36
Joined: Mon Sep 22, 2008 4:16 pm

Post by desidude2000 »

i posted a similiar request. instead of running it on the dd-wrt router, i could run it on my buffalo linkstation (arm9 based linux os). but looks like the code is written in .NET.
brghouston
MagicJack Newbie
Posts: 1
Joined: Wed Jul 01, 2009 6:52 pm

Post by brghouston »

I would love it to work for DD-WRT or even through a network cable
az1324
Dan isn't smart enough to hire me
Posts: 100
Joined: Wed Feb 20, 2008 4:46 am

Post by az1324 »

Read the certificate thread someone already posted a binary for mips routers.
grillovillegas
magicJack Apprentice
Posts: 25
Joined: Mon May 11, 2009 5:38 pm

Post by grillovillegas »

az1324 wrote:Read the certificate thread someone already posted a binary for mips routers.
Yeah but how to put that file on the routers ?
Grillo Villegas
Taken83oveR
Dan isn't smart enough to hire me
Posts: 119
Joined: Wed Jun 11, 2008 2:07 pm

Post by Taken83oveR »

OK I got it up and running on my DD-WRT router. Here are the brief instructions. I am doing this from memory, so I may of screwed up the directions. This is more of a guideline and not a step by step. Please forgive me, as this is not really for newbs. For those wondering I am doing this on a Netgear WNR834B v2 running DD-WRT version 12307.

You may need to enable JFFS2 in the admin page. Some people may not, Depends on the router I guess. You can check to see if your router is supported by looking for the option here. (Administration Tab)
http://192.168.1.1/Management.asp
Why you are there, make sure telnet is enabled.
Image
Image

1: http://www.mediafire.com/?ky3kndgwnei
Visit the above page, you will need to copy the actual download link. Right click on "Click here to start download.." and copy the link location. It should look similar to this once copied.
http://download736.mediafire.com/ny9njf ... mipsel.ipk (do not use this link, it will not work.)
Make sure you copy the link like I explained, as you will need it in step 3.
Image

2: You will need putty, so download it if you do not have it.
http://www.chiark.greenend.org.uk/~sgtatham/putty/
Telnet into your router via putty and login with your username/password (root/admin for many people)
Image

3: Next we will install mjproxy via the following command. Make sure your http link is correct.

Code: Select all

ipkg install http://thislinkdoesnotworkgetyourownlikeiexplained/mjproxy_mipsel.ipk
Make sure there were no errors. It should look similar to this.
Image

4: Now all we need to do is run mjproxy. Lets test it why we are are still in telnet.

Code: Select all

mjproxy 0.0.0.0 5070 proxy01.YOURCITY.talk4free.com 5070 YOURLONGASSPASSWORD
Once you hit enter, you should be thrown back to the command line. You can see if it is running via "top".
Image
Just type top and hit enter and look for it. Once done, just hit ctrl+c to close it. Lets go head and kill it, so we can run it at startup.

Code: Select all

killall mjproxy
5: Getting it to run at startup is very simple. Head back to your router's admin page, and click the command section. (Administration Tab, then the Command tab)
http://192.168.1.1/Diagnostics.asp
Now paste the following and click save startup. You may need to edit the path or sleep setting.

Code: Select all

sleep 30
/jffs/bin/mjproxy 0.0.0.0 5070 proxy01.YOURCITY.talk4free.com 5070 YOURLONGASSPASSWORD
Image


Like I said this is just a general guideline, but hopefully it helps someone.

Here are some of the links that helped me along the way.
http://www.dd-wrt.com/wiki/index.php/Ip ... g_Packages
http://www.dd-wrt.com/wiki/index.php/Startup_Scripts
http://www.dd-wrt.com/wiki/index.php/WinSCP

Edit: Thanks dskum for helping me fix my startup problem. I added a few images, and borrowed a one from dskum. Hope you do not mind.
Last edited by Taken83oveR on Fri Jul 03, 2009 2:14 am, edited 9 times in total.
Poo619
MagicJack Expert
Posts: 96
Joined: Tue Nov 20, 2007 9:27 am

Post by Poo619 »

cant get it to ipkg install. The link is dynamic and appears to change each time. I get the correct info type it in and it still fails. Any other way you can think of to install it?
Taken83oveR
Dan isn't smart enough to hire me
Posts: 119
Joined: Wed Jun 11, 2008 2:07 pm

Post by Taken83oveR »

That's why I gave you the original link. Visit here.
http://www.mediafire.com/?ky3kndgwnei
Right click on "Click here to start download.." and copy the link location. The 2nd time I did it, it was http://download736.mediafire.com/wnu394 ... mipsel.ipk
But I am sure it will be different for you.
pagemen
Dan isn't smart enough to hire me
Posts: 128
Joined: Mon Dec 15, 2008 6:36 am

Post by pagemen »

so looks like the openwrt binary will work on DD-WRT?

to make things easier, here is the direct link(the zip extension is to get around the limitation of the free hosting service)

***for ipk****
wget http://pagemen.110mb.com/mjproxy_mipsel.ipk.zip -O mjproxy_mipsel.ipk

***for binary***
wget http://pagemen.110mb.com/mjproxy.zip -O mjproxy
chmod a+x mjproxy

The binary should be sufficient.
dskum
magicJack Apprentice
Posts: 11
Joined: Sun Feb 08, 2009 10:13 pm

Post by dskum »

If you have DD-WRT router. Open your router by typing its IP in your browser

1, Goto 'Administration' Tab
2, Enable JFFS2
Image
3. Save & Apply settings
4. Use a telnet program and login to your router (One is available in WinXP through 'Accessories -> Communications -> HyperTerminal)
5. User name will be 'root', password if your DD-WRT password

Type the following commands:

1. wget http://pagemen.110mb.com/mjproxy_mipsel.ipk.zip -O mjproxy_mipsel.ipk
2. ipkg install mjproxy_mipsel.ipk
3. mjproxy 0.0.0.0 5070 proxy01.xxxxxxxx.talk4free.com 5070 YOUR_PASSWORD

Image

I tested using x-Lite and it connected. I made a test call and it works. (I didnt test incoming since all incoming are redirected to my mobile). The IP address in the x-lite is my router address, which is usually used for connecting to DD-WRT.

Looks promising...Going to test with ATA. Finally MJ working again without computer!!! Also testing to start the service when router reboots. (which anyhow rarely happens)

Thanks goes to Taken83oveR & pagemen for getting this moving.
Poo619
MagicJack Expert
Posts: 96
Joined: Tue Nov 20, 2007 9:27 am

Post by Poo619 »

Thanks for the easy to follow instructions guys but I am still hitting the wall. dskum following your instructions left me with error messages.

Code: Select all

root@DD-WRT:~# wget http://pagemen.110mb.com/mjproxy_mipsel.ipk.zip -O mjproxy_m
ipsel.ipk
Connecting to pagemen.110mb.com (70.38.113.157:80)
root@DD-WRT:~# ipkg install mjproxy_mipsel.ipk
ERROR: File not found: /jffs/usr/lib/ipkg/lists/whiterussian
       You probably want to run `ipkg update'
ERROR: File not found: /jffs/usr/lib/ipkg/lists/non-free
       You probably want to run `ipkg update'
ERROR: File not found: /jffs/usr/lib/ipkg/lists/backports
       You probably want to run `ipkg update'
This is dd-wrt v24 SP1 build 10011 STD
Taken83oveR
Dan isn't smart enough to hire me
Posts: 119
Joined: Wed Jun 11, 2008 2:07 pm

Post by Taken83oveR »

That is a pretty old build. You may look into upgrading dd-wrt to a newer build. You are running 10011 vs my 12307 (a pre sp2 build). But did you try doing as it suggested?

Run "ipkg update".
az1324
Dan isn't smart enough to hire me
Posts: 100
Joined: Wed Feb 20, 2008 4:46 am

Post by az1324 »

one other thing is depending on which build and router you have your flash might be full and the jffs will not have any writable space.
Poo619
MagicJack Expert
Posts: 96
Joined: Tue Nov 20, 2007 9:27 am

Post by Poo619 »

Yea I tried. I didnt do anything for me. I havent updated as I was waiting for the SP2 but its been so long that it may never come lol. I got the 54GL and appears to have some space. I installed it Standard release.
dskum
magicJack Apprentice
Posts: 11
Joined: Sun Feb 08, 2009 10:13 pm

Post by dskum »

Ok Here is sequence to install in DD-WRT so that the proxy starts everytime router restarts.

Before continuing you have to enable JFFS file system as mentioned in previous postings and have telnet enabled.

Step A - Download and permanantly install the package in JFFS file system
(All the following commands to be run in the Telnet / HyperTerminal as described before)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1. mkdir /jffs/mjp/
2. cd /jffs/mjp/
3. wget http://pagemen.110mb.com/mjproxy_mipsel.ipk.zip -O mjproxy_mipsel.ipk
4. ipkg -d /jffs/mjp/ install mjproxy_mipsel.ipk

If you want to run the proxy only for current session go to Step B. If you want to run everytime the router restarts goto Step C.


Step B - Just to start the proxy for this session
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3. mjproxy 0.0.0.0 5070 proxy01.xxxxxxxx.talk4free.com 5070 YOUR_PASSWORD


Step C - (Starts proxy after router restart)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1. Open DD-WRT by entering proper IP in browser
2. Go to tab 'Administration -> Commands'
3. Enter the following command in the 'Commands' box and click 'Save Startup'
-------------------------------
sleep 30
/jffs/mjp/bin/mjproxy 0.0.0.0 5070 proxy01.xxxxxxxx.talk4free.com 5070 YOUR_PASSWORD
-------------------------------

Just to verify, reboot the router. Login back to telnet and type the command 'top'. You should see the above process running.

(you can adjust the sleep time as required. Based on type of internet connection you have you may or may not need it. ex. PPoE based connection takes some time before it connects to internet and the MJ talk4free.com is available. If mjproxy starts before that it might terminate on starting / doesnt start)

Also based on my testing it approximately uses 12 KB of JFFS space.

Hope this helps!
joseto
MagicJack Newbie
Posts: 1
Joined: Sun Feb 22, 2009 10:46 pm

Post by joseto »

work for me thanks
SipuraSPA2002 ---> Buffalo WHR-HP-G54 (DD-WRT v24-sp2 (07/01/09) mini - build 12426 )
Taken83oveR
Dan isn't smart enough to hire me
Posts: 119
Joined: Wed Jun 11, 2008 2:07 pm

Post by Taken83oveR »

dskum,

I kinda figured I needed the exact path, but how no idea about the "sleep 30" setting. That got my startup problem fixed up. I will edit my post just incase someone comes along and decides to give it a try. Much appreciated.
vMAC
magicJack Apprentice
Posts: 14
Joined: Thu May 28, 2009 9:57 pm

Post by vMAC »

Thanks very very much guys!!! I appreciate this tweak and all the directions to get it installed!
ckboy
MagicJack Newbie
Posts: 7
Joined: Mon Apr 13, 2009 6:27 pm

Post by ckboy »

I have a Linksys WRT54GS_v6 and it has the DD-WRT generic micro version. I don't see option to enable Jffs2 and I can't enable telnet. I don't think there are enough space on the flash. Anyone know a fix for this?
Taken83oveR
Dan isn't smart enough to hire me
Posts: 119
Joined: Wed Jun 11, 2008 2:07 pm

Post by Taken83oveR »

Did you check under the Services tab?
http://192.168.1.1/Services.asp

Image
dskum
magicJack Apprentice
Posts: 11
Joined: Sun Feb 08, 2009 10:13 pm

Post by dskum »

Cool guys!

Good it works for lot of you! My ATA doesnt work properly (Innomedia MTA-6328-2re). It gets registered and I get dial tone, but calls doesnt go out. I tried tweaking/operning ports etc... May be its ATA problem since its working for some of you. Could be its not sending the right user agent or I dont know. Anyhow I'am planning on upgrading it sooner, since it doesnt have lot of options in there to adjust.

The x-lite works like charm!! (but I notice one pattern always... I have to connect it first time, it gives registration error 410 and I connect again it succeeds (and happens every time). May be you wont notice this in ATA since it retries automatically)
synchron
Dan isn't smart enough to hire me
Posts: 230
Joined: Thu May 15, 2008 11:28 am

Post by synchron »

Hi dskum - you're like me and it does work with the Innomedia. The voip light/registration does not happen instantly after you reboot the ATA. In fact, I found that if MJMD5 is running and you reboot the ATA it won't register until you quit MJMD5 and run it again (not killing with the stop button and starting with the start button.) I also have my Registration Expiration Time set at 60 seconds (as opposed to the default 3600) and SIP domain equals SIP Proxy with the ':5070' in both fields.

There is no way to edit user-agent string in Innomedia ATA so that's not it.

Hope this helps, even though this has nothing to do with DD-WRT.

BTW, (getting back to the thread topic) does anyone know if DD-WRT works with the Airlink 101 AR670W router?? It's been listed as a WIP on the DD-WRT.com site for over a year since the IC's/RAM inside DD-WRT capable.

TIA,
Synchron 8)
Last edited by synchron on Fri Jul 03, 2009 3:13 pm, edited 1 time in total.
steve_togo
MagicJack Expert
Posts: 84
Joined: Tue Dec 09, 2008 5:32 pm

Post by steve_togo »

You guys are gr8, I am confused a bit after reading this... If i buy a ddwrt router do i still need to run the pc and dongle 24/7 to have the ATA functioning, Or can I just have the ATA functioning with the DDWRT router without running the PC 24/7.

Thanks!
synchron
Dan isn't smart enough to hire me
Posts: 230
Joined: Thu May 15, 2008 11:28 am

Post by synchron »

Yes, the whole idea behind this DD-WRT thing is to get mj to work (like Pre June 09) without the PC since the router will now act as the proxy, thus, no PC needs to be turned on. If it's a non-DD-WRT router, then you need the proxy running off the PC but you won't need the MJ dongle plugged in until the next time they decide to change pw and do more terrible things like they did on June 09th.

Synchron 8)
zixy_tris
MagicJack User
Posts: 32
Joined: Mon Jun 16, 2008 2:19 pm

Post by zixy_tris »

[quote="ckboy"]I have a Linksys WRT54GS_v6 and it has the DD-WRT generic micro version. I don't see option to enable Jffs2 and I can't enable telnet. I don't think there are enough space on the flash. Anyone know a fix for this?[/quote

I am in the same boat except I have 3 ddwrt to get going and two are in my home country at my parents house which I can't replace
dskum
magicJack Apprentice
Posts: 11
Joined: Sun Feb 08, 2009 10:13 pm

Post by dskum »

synchron wrote:Hi dskum - you're like me and it does work with the Innomedia. The voip light/registration does not happen instantly after you reboot the ATA. In fact, I found that if MJMD5 is running and you reboot the ATA it won't register until you quit MJMD5 and run it again (not killing with the stop button and starting with the start button.) I also have my Registration Expiration Time set at 60 seconds (as opposed to the default 3600) and SIP domain equals SIP Proxy with the ':5070' in both fields.

There is no way to edit user-agent string in Innomedia ATA so that's not it.

Hope this helps, even though this has nothing to do with DD-WRT.

BTW, (getting back to the thread topic) does anyone know if DD-WRT works with the Airlink 101 AR670W router?? It's been listed as a WIP on the DD-WRT.com site for over a year since the IC's/RAM inside DD-WRT capable.

TIA,
Synchron 8)
yes - this adapter doesnt have any settings. One of my friend gave this since he wasnt using it. It was working perfectly with pre-jun 9 with MJ. Yesterday it was registering and today it stopped even that.

I'am planning to change to PAP2T.

Thanks
pagemen
Dan isn't smart enough to hire me
Posts: 128
Joined: Mon Dec 15, 2008 6:36 am

Post by pagemen »

zixy_tris wrote:
ckboy wrote:I have a Linksys WRT54GS_v6 and it has the DD-WRT generic micro version. I don't see option to enable Jffs2 and I can't enable telnet. I don't think there are enough space on the flash. Anyone know a fix for this?[/quote

I am in the same boat except I have 3 ddwrt to get going and two are in my home country at my parents house which I can't replace
There is telentd in dd micro...anyway, try to edit the startup script like this -- if there is sleep/wget/chmod available in ddwrt micro.

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

the /tmp is actually in ram so you have to download mjproxy each time on startup.
dskum
magicJack Apprentice
Posts: 11
Joined: Sun Feb 08, 2009 10:13 pm

Post by dskum »

ckboy wrote:I have a Linksys WRT54GS_v6 and it has the DD-WRT generic micro version. I don't see option to enable Jffs2 and I can't enable telnet. I don't think there are enough space on the flash. Anyone know a fix for this?
zixy_tris wrote: I am in the same boat except I have 3 ddwrt to get going and two are in my home country at my parents house which I can't replace

I dont have this version / device to test. But theoreticaly you should be able to run it through router RAM directly without local storage. The router has to download everytime it restarts. (Without JFFS not sure whether it will store anywhere permanently)

Can you try this:
Goto Administration -> Commands (I saw some screenshots and micro version has this)
Enter the following in the command box and test it with 'run command'. If no error occurs try to 'save startup' and reboot.

Try this first
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.xxxxxxxx.talk4free.com 5070 YOUR_PASSWORD
If above doesnt work try this...
sleep 30
wget http://pagemen.110mb.com/mjproxy_mipsel.ipk.zip -O mjproxy_mipsel.ipk
ipkg install mjproxy_mipsel.ipk
mjproxy 0.0.0.0 5070 proxy01.xxxxxxxx.talk4free.com 5070 YOUR_PASSWORD
I'am not sure whether the temp folder storage is permanent across reboots. If so you can even modify the above command to skip download on every reboot and just run the download part once using the 'run command'.

Hope directly running from RAM should not be an issue since this proxy has a minimum footprint and your device should have enough space to accomodate it.

Good luck!


EDIT: I think pagemen posted another one before I completed this post. You can try that as well.
deshwasi
magicJack Apprentice
Posts: 15
Joined: Sat Jan 26, 2008 1:34 pm

Post by deshwasi »

sweet work guys. DD-WRT & ATA and we are back in business. can someone give a brief FYI on how this came about? i guess i was too busy with July 4th celeb and this bomb just dropped.

edit: ok, i just spent an hour reading the threads and saw that dtm came up with the magic formula :) so can we have multiple devices like ATA, Iphone (Siphon) connect to the single proxy we are running on a PC/Router? obviously at a time only 1 would be able to call but is it doable and ok to do that?

edit #2: just tested it with siphon on iphone. works like a charm. put the DD-WRT router as server name. now, if i have an incoming call and have multiple clients connected to the router proxy, will all of them ring simultaneously?
luisito
magicJack Apprentice
Posts: 12
Joined: Sun Mar 15, 2009 5:58 am

Post by luisito »

dskum wrote:Ok Here is sequence to install in DD-WRT so that the proxy starts everytime router restarts.

Before continuing you have to enable JFFS file system as mentioned in previous postings and have telnet enabled.

Step A - Download and permanantly install the package in JFFS file system
(All the following commands to be run in the Telnet / HyperTerminal as described before)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1. mkdir /jffs/mjp/
2. cd /jffs/mjp/
3. wget http://pagemen.110mb.com/mjproxy_mipsel.ipk.zip -O mjproxy_mipsel.ipk
4. ipkg -d /jffs/mjp/ install mjproxy_mipsel.ipk

If you want to run the proxy only for current session go to Step B. If you want to run everytime the router restarts goto Step C.


Step B - Just to start the proxy for this session
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3. mjproxy 0.0.0.0 5070 proxy01.xxxxxxxx.talk4free.com 5070 YOUR_PASSWORD


Step C - (Starts proxy after router restart)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1. Open DD-WRT by entering proper IP in browser
2. Go to tab 'Administration -> Commands'
3. Enter the following command in the 'Commands' box and click 'Save Startup'
-------------------------------
sleep 30
/jffs/mjp/bin/mjproxy 0.0.0.0 5070 proxy01.xxxxxxxx.talk4free.com 5070 YOUR_PASSWORD
-------------------------------

Just to verify, reboot the router. Login back to telnet and type the command 'top'. You should see the above process running.

(you can adjust the sleep time as required. Based on type of internet connection you have you may or may not need it. ex. PPoE based connection takes some time before it connects to internet and the MJ talk4free.com is available. If mjproxy starts before that it might terminate on starting / doesnt start)

Also based on my testing it approximately uses 12 KB of JFFS space.

Hope this helps!
Hello dskum, i have WRT54GS DD-WRT v24 sp1. Router ip 192.168.0.1
Managed to install the sequence. But no go. I'm still bit confused on,
1. What is the correct ip for mjproxy?
2. What ip should be in ATA proxy?
Thx
xu111
MagicJack Newbie
Posts: 3
Joined: Wed Apr 22, 2009 12:03 am

Post by xu111 »

Could this trick work on Tomato too? I am still hesitating whether to give up Tomato or not.
Taken83oveR
Dan isn't smart enough to hire me
Posts: 119
Joined: Wed Jun 11, 2008 2:07 pm

Post by Taken83oveR »

I am thinking it should work just fine on tomato. Can you telnet into the router? If so, give it a shot.

luisito, if your router ip is 192.168.0.1, then that is what you would put into your ATA. Example being 192.168.0.1:5070.
luisito
magicJack Apprentice
Posts: 12
Joined: Sun Mar 15, 2009 5:58 am

Post by luisito »

Taken83oveR wrote:I am thinking it should work just fine on tomato. Can you telnet into the router? If so, give it a shot.

luisito, if your router ip is 192.168.0.1, then that is what you would put into your ATA. Example being 192.168.0.1:5070.
What is the correct ip for mjproxy? Thx
xu111
MagicJack Newbie
Posts: 3
Joined: Wed Apr 22, 2009 12:03 am

Post by xu111 »

My router is WRT54G v2 with Tomato 1.25. I have enabled jffs in tomato. Telneting into the router seems ok. But I got an error message for the 3rd command line:

# ipkg -d /jffs/mjp/ install mjproxy_mipsel.ipk
/usr/sbin/ipkg: line 1160: can't open /etc/ipkg.conf: no such file

What is going on here?
Taken83oveR wrote:I am thinking it should work just fine on tomato. Can you telnet into the router? If so, give it a shot.

luisito, if your router ip is 192.168.0.1, then that is what you would put into your ATA. Example being 192.168.0.1:5070.
teddy_b
MagicJack Contributor
Posts: 55
Joined: Sun Dec 30, 2007 3:15 am

Post by teddy_b »

xu111,
Do not use ipkg for Tomato unless you installed Optware. Besides, the mjproxy_mipsel.ipk package won't work on Tomato - it's compiled for the different kernel/libc version.

For Tomato, just download mjproxy binary from my post on the other thread here, unpack it, and copy to /jffs or /opt.
Then execute this in Telnet:
chmod +x /jffs/mjproxy
and you are good to go.
manachinu
magicJack Apprentice
Posts: 29
Joined: Fri Oct 17, 2008 1:10 pm

Can't bind listen address (0.0.0.0:5070)

Post by manachinu »

I have followed all these instructions and when i run the command

/jffs/bin/mjproxy 0.0.0.0 5070 proxy01.losangeles.talk4free.com 5070 Mypasswordformj

i get error Can't bind listen address (0.0.0.0:5070)

Can someone please help
luisito
magicJack Apprentice
Posts: 12
Joined: Sun Mar 15, 2009 5:58 am

Re: Can't bind listen address (0.0.0.0:5070)

Post by luisito »

manachinu wrote:I have followed all these instructions and when i run the command

/jffs/bin/mjproxy 0.0.0.0 5070 proxy01.losangeles.talk4free.com 5070 Mypasswordformj

i get error Can't bind listen address (0.0.0.0:5070)

Can someone please help
Hello, same problem here using mjproxy 0.0.0.0 5070..... :(
manachinu
magicJack Apprentice
Posts: 29
Joined: Fri Oct 17, 2008 1:10 pm

Post by manachinu »

fixed, my mj password had changed....try getting new sip details
samdaman
MagicJack Newbie
Posts: 5
Joined: Mon Jun 29, 2009 7:10 am

Re: Can't bind listen address (0.0.0.0:5070)

Post by samdaman »

manachinu wrote:I have followed all these instructions and when i run the command

/jffs/bin/mjproxy 0.0.0.0 5070 proxy01.losangeles.talk4free.com 5070 Mypasswordformj

i get error Can't bind listen address (0.0.0.0:5070)

Can someone please help
Means it is already running or port is already in use

use command "ps -ef|grep mjproxy" and see if it is already running
dskum
magicJack Apprentice
Posts: 11
Joined: Sun Feb 08, 2009 10:13 pm

Post by dskum »

luisito wrote:
Taken83oveR wrote:I am thinking it should work just fine on tomato. Can you telnet into the router? If so, give it a shot.

luisito, if your router ip is 192.168.0.1, then that is what you would put into your ATA. Example being 192.168.0.1:5070.
What is the correct ip for mjproxy? Thx
Its the same 0.0.0.0 .... The following line goes as it is until this part...
"mjproxy 0.0.0.0 5070"....
Only the rest of the line changes as per your SIP settings of your MJ
luisito
magicJack Apprentice
Posts: 12
Joined: Sun Mar 15, 2009 5:58 am

Post by luisito »

dskum wrote:
luisito wrote:
Taken83oveR wrote:I am thinking it should work just fine on tomato. Can you telnet into the router? If so, give it a shot.

luisito, if your router ip is 192.168.0.1, then that is what you would put into your ATA. Example being 192.168.0.1:5070.
What is the correct ip for mjproxy? Thx
Its the same 0.0.0.0 .... The following line goes as it is until this part...
"mjproxy 0.0.0.0 5070"....
Only the rest of the line changes as per your SIP settings of your MJ
Fixed :):):) Thx
Cablespider
magicJack Apprentice
Posts: 28
Joined: Wed May 27, 2009 4:12 pm

Post by Cablespider »

I just wanted to say thanks!

WRT54GSv.3/ATA186 working like a champ.
deshwasi
magicJack Apprentice
Posts: 15
Joined: Sat Jan 26, 2008 1:34 pm

Post by deshwasi »

i am trying to run a 2nd instance of this proxy on a 2nd DD-WRT router i am using as a client-bridge to my main DD-WRT router (which is also running a proxy for a diff MJ). i tested this with siphon (on iphone) and it comes up as "Maximum # of stale retires exceeded" or some such error message. anyone know what the problem could be? we can run multiple of these proxies in our network (for diff MJ login/pwd), correct?

I am going to try the proxy on a PC to see if that makes any diff (i dont expect it to)
Comrad
MagicJack Newbie
Posts: 1
Joined: Sat Jul 04, 2009 10:07 pm

WW-DRT mini sp1 on a Linksys 350N

Post by Comrad »

Ok Ill admit it I'm a newbie to this.

I was able to install and run the MJPROXY with my just retrieved password and proxy city, fine on the router. I see it running fine with TOP or PS. I guess my question is this. Should I be able to hook up a plain phone to the MajicJack and it work while this thing is plugged into my usb port on the router? or is this only for some sort of other ip phone? Or am I missing something on forwarding ports or other port setup?

I have read and re-read the forums and I think I am doing everything right but I get no dialtone. The same phone works find when MJ is connected to my vista machine.

I hope this takes the place of my pc so I dont have to leave it up all the time to use the phone. Worst case is I will use an old pc near my home network panel and access it via remote desktop.

Thanks
deshwasi
magicJack Apprentice
Posts: 15
Joined: Sat Jan 26, 2008 1:34 pm

Post by deshwasi »

you still need an ATA (like PAP2) or SIP phone (like siphon/fring on a cell phone) to be able to connect to the proxy on your router. you dont connect the magicjack dongle to your router. that wont work.
luisito
magicJack Apprentice
Posts: 12
Joined: Sun Mar 15, 2009 5:58 am

Post by luisito »

Anyone has issue of inbound calls going directly to voice mail when the phone has not been used for a while. :?: Thx

EDIT: Fixed change Register Expires: 120 :)
Last edited by luisito on Sun Jul 05, 2009 10:14 am, edited 2 times in total.
bb5
MagicJack Newbie
Posts: 2
Joined: Sun Mar 15, 2009 2:37 pm

still have problem (ATA)

Post by bb5 »

Thank you guys so much! Now we can get back to ATA.

One small problem in my system is, by using x-lite, it got about 1/2 chance to login successfully. By using VOIP gizmo, only <1/10 chance to succeed. Plus, once I hung up one call via successful VOIP call, the green VOIP LED light goes off. Does anybody notice the similar thing?

I have buffalo router w/ latest DD-WRT on it, Sunrocket (innomadeia) VOIP adaptor. It ran OK before June 09 though.
Post Reply