magicJack  and magicJack Plus Support, Reviews, FAQs and Hacks

magicJack and magicJack Plus Support, Reviews, FAQs and Hacks

magicJack and magicJack Plus Unofficial Technical Support. Your Magic Jack and Magic Jack Plus phone service information resource
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
DDWRT Version Of MJMD5
Goto page 1, 2, 3, 4, 5, 6  Next
 
Post new topic   Reply to topic    magicJack and magicJack Plus Support, Reviews, FAQs and Hacks -> magicJack Tips, Tricks, and Hacks
View previous topic :: View next topic  
Author Message
grillovillegas
magicJack Apprentice


Joined: 11 May 2009
Posts: 25

PostPosted: Wed Jul 01, 2009 4:30 pm    Post subject: DDWRT Version Of MJMD5

Since DDWRT works runs on Linux and support OPKG
could you give me ideas how to run the proccess on the router ?
Back to top
View user's profile Send private message MSN Messenger
peterlemonjello
magicJack Apprentice


Joined: 09 Sep 2008
Posts: 12

PostPosted: Wed Jul 01, 2009 4:33 pm    Post subject:

Ahh, interesting concept
Back to top
View user's profile Send private message
Taken83oveR
Dan isn't smart enough to hire me


Joined: 11 Jun 2008
Posts: 119

PostPosted: Wed Jul 01, 2009 4:35 pm    Post subject:

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).
Back to top
View user's profile Send private message
grillovillegas
magicJack Apprentice


Joined: 11 May 2009
Posts: 25

PostPosted: Wed Jul 01, 2009 6:08 pm    Post subject:

No one Linux Geek ???

To include the program on the DDWRT ???
Back to top
View user's profile Send private message MSN Messenger
desidude2000
MagicJack User


Joined: 22 Sep 2008
Posts: 36

PostPosted: Wed Jul 01, 2009 6:32 pm    Post subject:

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.
Back to top
View user's profile Send private message
brghouston
MagicJack Newbie


Joined: 01 Jul 2009
Posts: 1

PostPosted: Wed Jul 01, 2009 6:57 pm    Post subject:

I would love it to work for DD-WRT or even through a network cable
Back to top
View user's profile Send private message Send e-mail
az1324
Dan isn't smart enough to hire me


Joined: 20 Feb 2008
Posts: 100

PostPosted: Wed Jul 01, 2009 7:19 pm    Post subject:

Read the certificate thread someone already posted a binary for mips routers.
Back to top
View user's profile Send private message
grillovillegas
magicJack Apprentice


Joined: 11 May 2009
Posts: 25

PostPosted: Wed Jul 01, 2009 9:47 pm    Post subject:

az1324 wrote:
Read the certificate thread someone already posted a binary for mips routers.


Yeah but how to put that file on the routers ?
Back to top
View user's profile Send private message MSN Messenger
Taken83oveR
Dan isn't smart enough to hire me


Joined: 11 Jun 2008
Posts: 119

PostPosted: Thu Jul 02, 2009 4:32 pm    Post subject:

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.



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/ny9njfy3mjdg/ky3kndgwnei/mjproxy_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.


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)


3: Next we will install mjproxy via the following command. Make sure your http link is correct.
Code:
ipkg install http://thislinkdoesnotworkgetyourownlikeiexplained/mjproxy_mipsel.ipk

Make sure there were no errors. It should look similar to this.


4: Now all we need to do is run mjproxy. Lets test it why we are are still in telnet.
Code:
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".

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:
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:

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




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/Ipkg#Installing_ipkg_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
Back to top
View user's profile Send private message
Poo619
MagicJack Expert


Joined: 20 Nov 2007
Posts: 96

PostPosted: Thu Jul 02, 2009 5:28 pm    Post subject:

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?
Back to top
View user's profile Send private message
Taken83oveR
Dan isn't smart enough to hire me


Joined: 11 Jun 2008
Posts: 119

PostPosted: Thu Jul 02, 2009 5:39 pm    Post subject:

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/wnu394lmetzg/ky3kndgwnei/mjproxy_mipsel.ipk
But I am sure it will be different for you.
Back to top
View user's profile Send private message
pagemen
Dan isn't smart enough to hire me


Joined: 15 Dec 2008
Posts: 128

PostPosted: Thu Jul 02, 2009 6:15 pm    Post subject:

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.
Back to top
View user's profile Send private message
dskum
magicJack Apprentice


Joined: 08 Feb 2009
Posts: 11

PostPosted: Thu Jul 02, 2009 7:12 pm    Post subject:

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

1, Goto 'Administration' Tab
2, Enable JFFS2

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



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.
Back to top
View user's profile Send private message
Poo619
MagicJack Expert


Joined: 20 Nov 2007
Posts: 96

PostPosted: Thu Jul 02, 2009 7:49 pm    Post subject:

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:

[email protected]:~# wget http://pagemen.110mb.com/mjproxy_mipsel.ipk.zip -O mjproxy_m
ipsel.ipk
Connecting to pagemen.110mb.com (70.38.113.157:80)
[email protected]:~# 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
Back to top
View user's profile Send private message
Taken83oveR
Dan isn't smart enough to hire me


Joined: 11 Jun 2008
Posts: 119

PostPosted: Thu Jul 02, 2009 7:56 pm    Post subject:

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".
Back to top
View user's profile Send private message
az1324
Dan isn't smart enough to hire me


Joined: 20 Feb 2008
Posts: 100

PostPosted: Thu Jul 02, 2009 9:29 pm    Post subject:

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.
Back to top
View user's profile Send private message
Poo619
MagicJack Expert


Joined: 20 Nov 2007
Posts: 96

PostPosted: Thu Jul 02, 2009 10:17 pm    Post subject:

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.
Back to top
View user's profile Send private message
dskum
magicJack Apprentice


Joined: 08 Feb 2009
Posts: 11

PostPosted: Thu Jul 02, 2009 11:06 pm    Post subject:

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!
Back to top
View user's profile Send private message
joseto
MagicJack Newbie


Joined: 22 Feb 2009
Posts: 1

PostPosted: Fri Jul 03, 2009 1:15 am    Post subject:

work for me thanks
SipuraSPA2002 ---> Buffalo WHR-HP-G54 (DD-WRT v24-sp2 (07/01/09) mini - build 12426 )
Back to top
View user's profile Send private message
Taken83oveR
Dan isn't smart enough to hire me


Joined: 11 Jun 2008
Posts: 119

PostPosted: Fri Jul 03, 2009 1:44 am    Post subject:

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.
Back to top
View user's profile Send private message
vMAC
magicJack Apprentice


Joined: 28 May 2009
Posts: 14

PostPosted: Fri Jul 03, 2009 2:16 am    Post subject:

Thanks very very much guys!!! I appreciate this tweak and all the directions to get it installed!
Back to top
View user's profile Send private message
ckboy
MagicJack Newbie


Joined: 13 Apr 2009
Posts: 7

PostPosted: Fri Jul 03, 2009 3:26 am    Post subject:

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?
Back to top
View user's profile Send private message
Taken83oveR
Dan isn't smart enough to hire me


Joined: 11 Jun 2008
Posts: 119

PostPosted: Fri Jul 03, 2009 4:45 am    Post subject:

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

Back to top
View user's profile Send private message
dskum
magicJack Apprentice


Joined: 08 Feb 2009
Posts: 11

PostPosted: Fri Jul 03, 2009 7:55 am    Post subject:

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)
Back to top
View user's profile Send private message
synchron
Dan isn't smart enough to hire me


Joined: 15 May 2008
Posts: 230

PostPosted: Fri Jul 03, 2009 3:04 pm    Post subject:

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 Cool


Last edited by synchron on Fri Jul 03, 2009 3:13 pm; edited 1 time in total
Back to top
View user's profile Send private message
steve_togo
MagicJack Expert


Joined: 09 Dec 2008
Posts: 84

PostPosted: Fri Jul 03, 2009 3:11 pm    Post subject:

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!
Back to top
View user's profile Send private message
synchron
Dan isn't smart enough to hire me


Joined: 15 May 2008
Posts: 230

PostPosted: Fri Jul 03, 2009 3:15 pm    Post subject:

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 Cool
Back to top
View user's profile Send private message
zixy_tris
MagicJack User


Joined: 16 Jun 2008
Posts: 32

PostPosted: Fri Jul 03, 2009 3:52 pm    Post subject:

[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
Back to top
View user's profile Send private message
dskum
magicJack Apprentice


Joined: 08 Feb 2009
Posts: 11

PostPosted: Fri Jul 03, 2009 3:53 pm    Post subject:

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 Cool


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
Back to top
View user's profile Send private message
pagemen
Dan isn't smart enough to hire me


Joined: 15 Dec 2008
Posts: 128

PostPosted: Fri Jul 03, 2009 4:32 pm    Post subject:

[quote="zixy_tris"]
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.
Back to top
View user's profile Send private message
dskum
magicJack Apprentice


Joined: 08 Feb 2009
Posts: 11

PostPosted: Fri Jul 03, 2009 4:32 pm    Post subject:

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
Quote:

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...
Quote:

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.
Back to top
View user's profile Send private message
deshwasi
magicJack Apprentice


Joined: 26 Jan 2008
Posts: 15

PostPosted: Fri Jul 03, 2009 11:36 pm    Post subject:

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 Smile 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?
Back to top
View user's profile Send private message
luisito
magicJack Apprentice


Joined: 15 Mar 2009
Posts: 12

PostPosted: Sat Jul 04, 2009 1:22 am    Post subject:

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
Back to top
View user's profile Send private message
xu111
MagicJack Newbie


Joined: 22 Apr 2009
Posts: 3

PostPosted: Sat Jul 04, 2009 2:23 am    Post subject:

Could this trick work on Tomato too? I am still hesitating whether to give up Tomato or not.
Back to top
View user's profile Send private message
Taken83oveR
Dan isn't smart enough to hire me


Joined: 11 Jun 2008
Posts: 119

PostPosted: Sat Jul 04, 2009 2:27 am    Post subject:

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.
Back to top
View user's profile Send private message
luisito
magicJack Apprentice


Joined: 15 Mar 2009
Posts: 12

PostPosted: Sat Jul 04, 2009 2:43 am    Post subject:

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
Back to top
View user's profile Send private message
xu111
MagicJack Newbie


Joined: 22 Apr 2009
Posts: 3

PostPosted: Sat Jul 04, 2009 2:57 am    Post subject:

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.
Back to top
View user's profile Send private message
teddy_b
MagicJack Contributor


Joined: 30 Dec 2007
Posts: 55

PostPosted: Sat Jul 04, 2009 3:56 am    Post subject:

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.
Back to top
View user's profile Send private message
manachinu
magicJack Apprentice


Joined: 17 Oct 2008
Posts: 29

PostPosted: Sat Jul 04, 2009 5:00 am    Post subject: Can't bind listen address (0.0.0.0:5070)

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
Back to top
View user's profile Send private message
luisito
magicJack Apprentice


Joined: 15 Mar 2009
Posts: 12

PostPosted: Sat Jul 04, 2009 5:28 am    Post subject: Re: Can't bind listen address (0.0.0.0:5070)

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..... Sad
Back to top
View user's profile Send private message
manachinu
magicJack Apprentice


Joined: 17 Oct 2008
Posts: 29

PostPosted: Sat Jul 04, 2009 6:19 am    Post subject:

fixed, my mj password had changed....try getting new sip details
Back to top
View user's profile Send private message
samdaman
MagicJack Newbie


Joined: 29 Jun 2009
Posts: 5

PostPosted: Sat Jul 04, 2009 7:52 am    Post subject: Re: Can't bind listen address (0.0.0.0:5070)

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
Back to top
View user's profile Send private message
dskum
magicJack Apprentice


Joined: 08 Feb 2009
Posts: 11

PostPosted: Sat Jul 04, 2009 7:56 am    Post subject:

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
Back to top
View user's profile Send private message
luisito
magicJack Apprentice


Joined: 15 Mar 2009
Posts: 12

PostPosted: Sat Jul 04, 2009 9:11 am    Post subject:

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 SmileSmileSmile Thx
Back to top
View user's profile Send private message
Cablespider
magicJack Apprentice


Joined: 27 May 2009
Posts: 28

PostPosted: Sat Jul 04, 2009 3:57 pm    Post subject:

I just wanted to say thanks!

WRT54GSv.3/ATA186 working like a champ.
Back to top
View user's profile Send private message
deshwasi
magicJack Apprentice


Joined: 26 Jan 2008
Posts: 15

PostPosted: Sat Jul 04, 2009 9:02 pm    Post subject:

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)
Back to top
View user's profile Send private message
Comrad
MagicJack Newbie


Joined: 04 Jul 2009
Posts: 1

PostPosted: Sat Jul 04, 2009 10:23 pm    Post subject: WW-DRT mini sp1 on a Linksys 350N

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
Back to top
View user's profile Send private message
deshwasi
magicJack Apprentice


Joined: 26 Jan 2008
Posts: 15

PostPosted: Sat Jul 04, 2009 10:49 pm    Post subject:

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.
Back to top
View user's profile Send private message
luisito
magicJack Apprentice


Joined: 15 Mar 2009
Posts: 12

PostPosted: Sat Jul 04, 2009 11:09 pm    Post subject:

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

EDIT: Fixed change Register Expires: 120 Smile


Last edited by luisito on Sun Jul 05, 2009 10:14 am; edited 2 times in total
Back to top
View user's profile Send private message
bb5
MagicJack Newbie


Joined: 15 Mar 2009
Posts: 2

PostPosted: Sun Jul 05, 2009 12:39 am    Post subject: still have problem (ATA)

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.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    magicJack and magicJack Plus Support, Reviews, FAQs and Hacks -> magicJack Tips, Tricks, and Hacks All times are GMT - 4 Hours
Goto page 1, 2, 3, 4, 5, 6  Next
Page 1 of 6

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Powered by phpBB Ultra Turbo Extended Edition Live © 2001-9999, phpBB Group
magicJack and magicJack Plus are trademarks of magicJack LLP. This website is in no way affiliated, endorsed, or sponsored by magicJack LLP, and is an unofficial forum for consumers to openly communicate regarding their experiences with the magicJack products.