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 
Certificate is a joke does not work
Goto page Previous  1, 2, 3, 4  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
teddy_b
MagicJack Contributor


Joined: 30 Dec 2007
Posts: 55

PostPosted: Wed Jul 01, 2009 8:44 pm    Post subject:

I don't have a DD-WRT router either, but here are a couple binaries compiled using Tomato toolchain.
1. The first one is what I'm running on my Tomato router:
http://www.mediafire.com/file/twkmijnm3mz/mjproxy-tomato.tar.gz
It might work on DD-WRT - I have no way to check myself.
2. If the 1st one doesn't work, try the other one:
http://www.mediafire.com/file/n2zzlmkiyyv/mjproxy-tomato-static.tar.gz
This one is statically linked with uclibc - the executable is larger but doesn't depend on the libc version - has better chances to run on dd-wrt (only on mipsel routers of course).
Back to top
View user's profile Send private message
desidude2000
MagicJack User


Joined: 22 Sep 2008
Posts: 36

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

desidude2000 wrote:
i was able to compile the linux command linux mjproxy for arm9 platform (linkstation) just fine. question is: for the credentials, are the old credentials still valid as far as username and password?


Code:
linky:~# ps -ef | grep mjproxy
root     13953     1  0 17:42 ?        00:00:00 mjproxy 0.0.0.0 5070 proxy1.losangeles.talk4free.com 5070 XXXXXXXXXXXXXXXXXX


i started the proxy process, but i still can't login using my PAP2. i'm pointing the PAP2 to linkstation's IP address:5070. what gives?
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: Wed Jul 01, 2009 9:04 pm    Post subject:

Password did change with the upgrade, so you might want to start there.
Back to top
View user's profile Send private message
onlinepcfun
magicJack Apprentice


Joined: 21 Apr 2008
Posts: 19

PostPosted: Wed Jul 01, 2009 10:05 pm    Post subject:

Thanks pagemen and all others who contributed to make this possible....
Before I put this in start-up script, I ran the proxy manually on my openwrt and MJ registered without any issues...

Now, I have a question on this startup script... do I have to specify & at the end of mjproxy start command? like...

start() {
mjproxy 0.0.0.0 5070 proxy01.your_city.talk4free.com 5070 your_password &
}

as I am not sure and didn't want my box to get hosed...appreciate your help on this.

pagemen wrote:
thanks for the c code, compiled nicely and works great on my WRT54G w/Kamikaze 8.09..........
........
chmod a+x /etc/init.d/mjproxy
/etc/init.d/mjproxy enable
Back to top
View user's profile Send private message
desidude2000
MagicJack User


Joined: 22 Sep 2008
Posts: 36

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

az1324 wrote:
Password did change with the upgrade, so you might want to start there.


thanks, obtained the new credentials, and now i'm back in business. pap2 logged on, now need to test with a real phone when i get home. Smile
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 4:43 am    Post subject: Incoming call issue?

Outgoing works while incoming always fails. My setup is: PAP2-->OpenWRT w/mjproxy, and both behind a Tomato router. The registry expires value on PAP2 is 1800 to make MJ server happy. Before the update, the ATA talked to MJ server directly, inbound worked once I enable NAT Mapping and NAT Keep Alive, however, it stops working now -- have tried enable NAT keep alive and set dest. to my local OpenWRT or remote MJ server, no luck on both.

So any suggestions? I know it can be fixed by a lower register expires value but its not a preferred solution here.
Back to top
View user's profile Send private message
Anon
magicJack Apprentice


Joined: 11 Jun 2009
Posts: 21

PostPosted: Thu Jul 02, 2009 8:04 am    Post subject: No incoming ring

Hi all,

Using the MJmd5 method I got my RTP300 running again! Yay! Smile

But, I don't get an incoming ring. Did anyone figure what to do?

TIA!
Back to top
View user's profile Send private message
kp
magicJack Apprentice


Joined: 10 Jun 2009
Posts: 19

PostPosted: Thu Jul 02, 2009 9:36 am    Post subject:

using mjproxy i am able to register but not place or receive calls.
i am using the following syntax:
mjproxy 0.0.0.0 5070 proxy01.boston.talk4free.com 5070 password
Both twinkle and my SPA are able able to register but no luck actual calls.
Back to top
View user's profile Send private message
jamoke
MagicJack Newbie


Joined: 29 Dec 2008
Posts: 9

PostPosted: Thu Jul 02, 2009 1:30 pm    Post subject:

AZ1324 - thank you for putting the CLI MD5 program together.
rusabus - thank you for sharing the example on you run the proxy and relative configurations.

I now have mine up and running on my Asterisk box, acting as my proxy.

Big round of cheers to you and everyone else who contributed. Razz
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 3:44 pm    Post subject:

Ok, trying to get running with my DD-WRT router and a PAP2. I got it setup, telneted into my router, and ran "top" to see if it was running. It looks like it is to me. Does this look correct? Ofcourse my actual password is not a bunch of zero's.
Code:
mjproxy 0.0.0.0 5070 proxy01.columbus.talk4free.com 5070 00000000000000000000


In my PAP2, under proxy I have
Code:
192.168.1.1:5070

But I keep getting "Can't connect to login server". I just renewed my subscription to try this out, so hopefully I can get it running. Any thing I might be doing wrong?

Edit: I got it registered. For some reason my password changed again. (most likely dew to me renewing my subscription)
Back to top
View user's profile Send private message
dtm
MagicJack Expert


Joined: 27 Jul 2008
Posts: 95
Location: In the hardware.

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

Is the address of your router 0.0.0.0?
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 4:44 pm    Post subject:

I think 0.0.0.0 is just a way of listening for any local ip. Works fine for me.
Back to top
View user's profile Send private message
shurik05
MagicJack Newbie


Joined: 23 Apr 2009
Posts: 1

PostPosted: Thu Jul 02, 2009 5:06 pm    Post subject: asterisk server on Linksys NSLU2

I have the NSLU2 setup at home with asterisk on it and it works perfectly with joiphone. I had magicjack working on it before the update. Now I compiled the mjproxy and got it working on my NSLU2 and I can connect with my PAP2 to it and it works. But I can't get asterisk to connect to the proxy. I tried installing the proxy on other computers with winxp and the same thing. It will not connect.

I am using this string to register
register => E253xxxxxxx01:[email protected]:5070

Any one get asterisk working. I am using Asterisk ver. 1.2.24

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


Joined: 09 Jun 2009
Posts: 27

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

Taken83oveR wrote:
pagemen wrote:
thanks for the c code, compiled nicely and works great on my WRT54G w/Kamikaze 8.09.

for anyone with a similar setup, here is the binary(for Broadcom 2.4, but should work for other mips router? please report), directly from teddy_b's code without modification

http://www.mediafire.com/download.php?m3tymmejhwu

download, unzip and install with opkg

and to make it run on startup, create /etc/init.d/mjproxy

Code:


#!/bin/sh /etc/rc.common
# Example script
# Copyright (C) 2007 OpenWrt.org

START=70
STOP=70

start() {
        mjproxy 0.0.0.0 5070 proxy01.your_city.talk4free.com 5070 your_password
        }

stop() {
        pkill -9 mjproxy
        }


then run
Code:

chmod a+x /etc/init.d/mjproxy
/etc/init.d/mjproxy enable


I will have to give this a try in a bit. If anyone has done this with a DD-WRT based router, can you give us a step by step, so there is no confusion? Much appreciated.


If anyone could help with this, I would appreciate a nice walkthrough as well. Seems like it shouldn't be too hard for someone who knows what they are doing...
Back to top
View user's profile Send private message
jamoke
MagicJack Newbie


Joined: 29 Dec 2008
Posts: 9

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

To the Asterisk Proxy users out there:

I've implemented the MJMD5CLI proxy. It works fine for a few minutes then stops working. What I've found is that when I reload sip, a sip show peers indicates a status of roughly 70 ms. So far so good. A few minutes later, a sip show peers indicates a status of LAGGED (2024 ms) and the call fails. Channel comes back as CHANUNAVAIL.

I've tried changing the qualify statement to qualify=yes and qualify=2000 with no changes.

Does anyone have other suggestions?

Thanks
Back to top
View user's profile Send private message
dan
Dan isn't smart enough to hire me


Joined: 12 Nov 2007
Posts: 113
Location: Denver

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

yea PAP works great..

Asterisk/Trixbox trunk will not register when using the proxy on my windows PC. For those who have this working could you post your trunk configs and register string please

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: Thu Jul 02, 2009 5:52 pm    Post subject:

My Asterisk/mjproxy on Openwrt works, the mjproxy must run with 0.0.0.0(I do prefer 127.0.0.1 or 192.168.x.x for security reasons, but both will fail), after that, Asterisk can register with

register => E555123456701:[email protected]:5070/5551234567


Last edited by pagemen on Thu Jul 02, 2009 5:54 pm; edited 1 time in total
Back to top
View user's profile Send private message
vMAC
magicJack Apprentice


Joined: 28 May 2009
Posts: 14

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

Taken83oveR wrote:
Ok, trying to get running with my DD-WRT router and a PAP2. I got it setup, telneted into my router, and ran "top" to see if it was running. It looks like it is to me. Does this look correct? Ofcourse my actual password is not a bunch of zero's.
Code:
mjproxy 0.0.0.0 5070 proxy01.columbus.talk4free.com 5070 00000000000000000000


In my PAP2, under proxy I have
Code:
192.168.1.1:5070

But I keep getting "Can't connect to login server". I just renewed my subscription to try this out, so hopefully I can get it running. Any thing I might be doing wrong?

Edit: I got it registered. For some reason my password changed again. (most likely dew to me renewing my subscription)


which version of the program did you run? Can you point to it please because I want to get it running on my DD-WRT router. Thanks.
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:57 pm    Post subject:

vMAC wrote:
Taken83oveR wrote:
Ok, trying to get running with my DD-WRT router and a PAP2. I got it setup, telneted into my router, and ran "top" to see if it was running. It looks like it is to me. Does this look correct? Ofcourse my actual password is not a bunch of zero's.
Code:
mjproxy 0.0.0.0 5070 proxy01.columbus.talk4free.com 5070 00000000000000000000


In my PAP2, under proxy I have
Code:
192.168.1.1:5070

But I keep getting "Can't connect to login server". I just renewed my subscription to try this out, so hopefully I can get it running. Any thing I might be doing wrong?

Edit: I got it registered. For some reason my password changed again. (most likely dew to me renewing my subscription)


which version of the program did you run? Can you point to it please because I want to get it running on my DD-WRT router. Thanks.


Please see this thread for more info.
http://www.phoneservicesupport.com/ddwrt-version-of-mjmd5-t6913.html
Back to top
View user's profile Send private message
jamoke
MagicJack Newbie


Joined: 29 Dec 2008
Posts: 9

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

My Sip peer looks like this:

[magicjack] ;with proxy
context=from-magicjack ;
username=E**********01
type=peer
secret=***********************
port=5070
nat=yes
insecure=very
host=THE IP ADDRESS OF MY * BOX (not 0.0.0.0)
fromuser=E**********01
dtmfmode=inband
qualify=500

Register Statement:

register => E**********:***************@IP ADDRESS OF BOX:5070

Changing my type=friend seems to have helped, which is how I normally have it set on a SIP trunk. Also tweaked my qualify statement to 500.
Back to top
View user's profile Send private message
Praetorian
magicJack Apprentice


Joined: 14 Mar 2009
Posts: 23

PostPosted: Thu Jul 02, 2009 8:42 pm    Post subject:

If I missed this Im sorry,but is there a way to run this md5 app twice for 2 separate MJ numbers. Now I have the app of 2 different pc's?

Do you see this running ATA standalone without the app at some point?

Praetorian Very Happy
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:38 pm    Post subject:

You will have to implement some more complex routing or packet rewriting before you can run multiple clients. The port 5070 conflict will need to be resolved.
Back to top
View user's profile Send private message
Praetorian
magicJack Apprentice


Joined: 14 Mar 2009
Posts: 23

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

thats what I thought,now to see if I can figure that out, tnx for the reply
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:57 pm    Post subject:

Not sure if it would resolve all the conflicts but I would probably start by making a client routing table based on callid and sort out the packets that way. Then you could receive multiple clients on port 5070.
Back to top
View user's profile Send private message
Praetorian
magicJack Apprentice


Joined: 14 Mar 2009
Posts: 23

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

does the callid stay the same or does it change? I sniffed it and and I see it but didnt know if its random.
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 10:57 pm    Post subject:

I'm not sure if it's permanently fixed but each client is only going to be using one callid at a time so it should ensure unique routing.
Back to top
View user's profile Send private message
Praetorian
magicJack Apprentice


Joined: 14 Mar 2009
Posts: 23

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

thank you, Ill play around a bit with it.
Back to top
View user's profile Send private message
UncleRunkle
magicJack Apprentice


Joined: 09 Jun 2009
Posts: 27

PostPosted: Fri Jul 03, 2009 12:05 am    Post subject:

Praetorian wrote:
If I missed this Im sorry,but is there a way to run this md5 app twice for 2 separate MJ numbers. Now I have the app of 2 different pc's?

Do you see this running ATA standalone without the app at some point?

Praetorian Very Happy


I have a good idea for users such as you with multiple magicjacks...

Use some nice VM software such as VMWare Server or a couple of the alternatives to create multiple vm's each with its own IP address using bridged networking. You could then set up your multiple ATAs to point to each of the VMs that you create. For the VMs, I would use a light version of XP, XPe, or a flavor of linux.
Back to top
View user's profile Send private message
RjG
magicJack Apprentice


Joined: 27 Aug 2008
Posts: 20

PostPosted: Fri Jul 03, 2009 2:26 am    Post subject: proxy doesn't work for me.

I added the proxy to DD-WRT, and it runs fine. (thank you for that!)
Using the password which was changed a couple weeks ago, (and double checked tonight) I pointed the PAP2 to the new router proxy, and
now PAP2 syslog debug says "SIP/2.0 401 Unauthorized<013><010>Via: SIP/2.0/UDP ". It doesn't work for me.

BUT, the PAP2 worked before... so I shut the new proxy down, changed the PAP2 back the way it was (made sure the password was the same as I used in the proxy), and I can make calls again no problem.

I tried it a few times, same thing. So my account is still definitely on the "old" system, and will not authorize at all with the new one.

( it's a V3 magicjack purchased in Sept. if anyone wants to know)

I'm sure it will come in handy having it all set up when it does change over, but I thought it would be of some value for others to know they may not be on the new system yet.
Back to top
View user's profile Send private message
Guide_timothy
magicJack Apprentice


Joined: 15 Dec 2008
Posts: 21

PostPosted: Fri Jul 03, 2009 4:30 am    Post subject: weeeeeeeee

I love this sooo much i dont wanna run my computer 24/7 so what i did was I slapped the MJDM5 or what ever that lil program is and i put it on my friends computer i just opened up his router port 5070 and made that program run auto on start up on his computer and then I just put his IP address into my ATA and BAMN it works great Razz Razz looks like im saving money on my electric bill weeeeeeee Wink
OH yes 1 more thing hes like 900 miles away loool works awsome Razz
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:38 am    Post subject: Re: weeeeeeeee

Guide_timothy wrote:
I love this sooo much i dont wanna run my computer 24/7 so what i did was I slapped the MJDM5 or what ever that lil program is and i put it on my friends computer i just opened up his router port 5070 and made that program run auto on start up on his computer and then I just put his IP address into my ATA and BAMN it works great Razz Razz looks like im saving money on my electric bill weeeeeeee Wink
OH yes 1 more thing hes like 900 miles away loool works awsome Razz


Until his Pc turns off, or his internet goes down, or he closes the program Wink
Then your SOL. Better bet is to run locally. Lot easier to troubleshoot.
Back to top
View user's profile Send private message
emoci
magicJack Apprentice


Joined: 15 Feb 2008
Posts: 23

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

teddy_b wrote:
I don't have a DD-WRT router either, but here are a couple binaries compiled using Tomato toolchain.
1. The first one is what I'm running on my Tomato router:
http://www.mediafire.com/file/twkmijnm3mz/mjproxy-tomato.tar.gz
It might work on DD-WRT - I have no way to check myself.
2. If the 1st one doesn't work, try the other one:
http://www.mediafire.com/file/n2zzlmkiyyv/mjproxy-tomato-static.tar.gz
This one is statically linked with uclibc - the executable is larger but doesn't depend on the libc version - has better chances to run on dd-wrt (only on mipsel routers of course).


Any chance you could write some basic steps about how you got it to run on Tomato...?
Back to top
View user's profile Send private message
Praetorian
magicJack Apprentice


Joined: 14 Mar 2009
Posts: 23

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

I spent a bunch of time looking for this but after a little time incoming calls go direct to VM, I seen others have this but didn't find any good solutions.

It may due to this but how should we set reg time. Is it 1800?

Please any advice would be appreciated. Smile

Also thank you to everyone that has spent allot time on time and for their help..
Back to top
View user's profile Send private message
qwer1304
magicJack Apprentice


Joined: 16 Mar 2009
Posts: 15

PostPosted: Sun Jul 05, 2009 12:06 am    Post subject:

emoci wrote:
teddy_b wrote:
I don't have a DD-WRT router either, but here are a couple binaries compiled using Tomato toolchain.
1. The first one is what I'm running on my Tomato router:
http://www.mediafire.com/file/twkmijnm3mz/mjproxy-tomato.tar.gz
It might work on DD-WRT - I have no way to check myself.
2. If the 1st one doesn't work, try the other one:
http://www.mediafire.com/file/n2zzlmkiyyv/mjproxy-tomato-static.tar.gz
This one is statically linked with uclibc - the executable is larger but doesn't depend on the libc version - has better chances to run on dd-wrt (only on mipsel routers of course).


Any chance you could write some basic steps about how you got it to run on Tomato...?


1.Enable jffs in Tomato (Admin)
2.Install putty on PC
3.Upload mjproxy to Tomato (jffs) with putty. You need to use the scp method.
4.Chmod mjproxy to 755
5.Put the command line in Tomato scripts (Admin)
6.Change the proxy IP in ATA to that of Tomato

Enjoy your ATA
Back to top
View user's profile Send private message
golf/jetta
MagicJack Newbie


Joined: 14 Jun 2009
Posts: 6

PostPosted: Sun Jul 05, 2009 2:04 am    Post subject:

had to update my wrt54gs 1.1v from 10xxx to dd-wrt.v24-12307_NEWD_mega ( heard its more stable for wrt54gs then the new 12424 which is aimed for the N/G [dual band] wrt6XX )

working great.
EXCEPT when i call from my Mj to FPL on the same ata it doesn't ring --> VM. but i can use both lines at the same time, call FPL while using Mj. its as if FPL blocked Mj's number. opened know ports up, even did dmz
Back to top
View user's profile Send private message
lajoejoe
MagicJack Newbie


Joined: 23 May 2009
Posts: 1

PostPosted: Sun Jul 05, 2009 7:53 pm    Post subject:

az1324 wrote:
hesantos2004 wrote:
hello az1324. this program works great. is there a way you can edit the program to remember the proxy and password because i'm trying to run it as a service but it forgets the proxy and password.


Ok here you go. If you save your settings next time you run it it will start minimized to system tray and automatically start the proxy.

http://www.mediafire.com/?mmmt4wcnqyb



AZ????
sorry i dont get this i got a linksys modem which i got working prior to MJ going hay wire, how do i use this now (the download link) you posted) pics would be a great help. Or a step by step for dumb guys like me to understand it. Thanks
Back to top
View user's profile Send private message
propizza
MagicJack User


Joined: 28 Jan 2008
Posts: 46

PostPosted: Mon Jul 06, 2009 4:31 pm    Post subject:

qwer1304 wrote:
emoci wrote:
teddy_b wrote:
I don't have a DD-WRT router either, but here are a couple binaries compiled using Tomato toolchain.
1. The first one is what I'm running on my Tomato router:
http://www.mediafire.com/file/twkmijnm3mz/mjproxy-tomato.tar.gz
It might work on DD-WRT - I have no way to check myself.
2. If the 1st one doesn't work, try the other one:
http://www.mediafire.com/file/n2zzlmkiyyv/mjproxy-tomato-static.tar.gz
This one is statically linked with uclibc - the executable is larger but doesn't depend on the libc version - has better chances to run on dd-wrt (only on mipsel routers of course).


Any chance you could write some basic steps about how you got it to run on Tomato...?


1.Enable jffs in Tomato (Admin)
2.Install putty on PC
3.Upload mjproxy to Tomato (jffs) with putty. You need to use the scp method.
4.Chmod mjproxy to 755
5.Put the command line in Tomato scripts (Admin)
6.Change the proxy IP in ATA to that of Tomato

Enjoy your ATA


what is the command line?
Back to top
View user's profile Send private message
qwer1304
magicJack Apprentice


Joined: 16 Mar 2009
Posts: 15

PostPosted: Tue Jul 07, 2009 12:08 am    Post subject:

propizza wrote:
qwer1304 wrote:
emoci wrote:
teddy_b wrote:
I don't have a DD-WRT router either, but here are a couple binaries compiled using Tomato toolchain.
1. The first one is what I'm running on my Tomato router:
http://www.mediafire.com/file/twkmijnm3mz/mjproxy-tomato.tar.gz
It might work on DD-WRT - I have no way to check myself.
2. If the 1st one doesn't work, try the other one:
http://www.mediafire.com/file/n2zzlmkiyyv/mjproxy-tomato-static.tar.gz
This one is statically linked with uclibc - the executable is larger but doesn't depend on the libc version - has better chances to run on dd-wrt (only on mipsel routers of course).


Any chance you could write some basic steps about how you got it to run on Tomato...?


1.Enable jffs in Tomato (Admin)
2.Install putty on PC
3.Upload mjproxy to Tomato (jffs) with putty. You need to use the scp method.
4.Chmod mjproxy to 755
5.Put the command line in Tomato scripts (Admin)
6.Change the proxy IP in ATA to that of Tomato

Enjoy your ATA


what is the command line?


/jffs/mjproxy 0.0.0.0 5070 <yourmjproxy> 5070 <yourpassword>
Back to top
View user's profile Send private message
joecanadian
MagicJack Contributor


Joined: 28 Nov 2007
Posts: 58

PostPosted: Tue Jul 07, 2009 6:09 pm    Post subject:

Just a note to some of the retarded peoples like myself you need to actually go to the link to get the files.. I was not that smart the first time thinking I could just wget or lynx for them...

So you know u can not..

I feel so much smarter now...

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


Joined: 16 Mar 2009
Posts: 15

PostPosted: Thu Jul 09, 2009 5:39 am    Post subject: Strange event today

I'm running a WRT54GL w/ Tomato and mjproxy. The ATA is PAP2T. Everything has been working perfectly.

Today I couldn't get incoming calls, getting the message "All incoming circuits are busy". Outgoing circuits worked fine.

I switched back to MJ and it downloaded a new version and incoming calls were back working.

I checked with Stroth's utilities, but there was no change in any of the parameters that it pulls out of MJ (version, agent string, password, etc).

I switched back to ATA w/o changing anything and incoming calls work fine.

Any ideas?
Back to top
View user's profile Send private message
noetic1
MagicJack Contributor


Joined: 14 Oct 2008
Posts: 65

PostPosted: Thu Jul 09, 2009 12:34 pm    Post subject:

qwer1304 wrote:
emoci wrote:
teddy_b wrote:
I don't have a DD-WRT router either, but here are a couple binaries compiled using Tomato toolchain.
1. The first one is what I'm running on my Tomato router:
http://www.mediafire.com/file/twkmijnm3mz/mjproxy-tomato.tar.gz
It might work on DD-WRT - I have no way to check myself.
2. If the 1st one doesn't work, try the other one:
http://www.mediafire.com/file/n2zzlmkiyyv/mjproxy-tomato-static.tar.gz
This one is statically linked with uclibc - the executable is larger but doesn't depend on the libc version - has better chances to run on dd-wrt (only on mipsel routers of course).


Any chance you could write some basic steps about how you got it to run on Tomato...?


1.Enable jffs in Tomato (Admin)
2.Install putty on PC
3.Upload mjproxy to Tomato (jffs) with putty. You need to use the scp method.
4.Chmod mjproxy to 755
5.Put the command line in Tomato scripts (Admin)
6.Change the proxy IP in ATA to that of Tomato

Enjoy your ATA


qwer1304-
I have a Linksys WRT54GL flashed with Tomato but unfortunately I am not familiar with how to execute the first 5 steps you mentioned in your post. Could you please help me with my questions in red below. Thanks!

1.Enable jffs in Tomato (Admin)- I see the checkbox to enable jffs in the Admin section but am I supposed to enter something in the textbox that says 'Execute When Mounted'?
2.Install putty on PC I installed puTTY but have no idea how to use it.
3.Upload mjproxy to Tomato (jffs) with putty. You need to use the scp method. Could you provide more details on this step. I am not familiar with Telnet features so I'm looking for the exact proper syntax I need to enter after opening up a telnet session.
4.Chmod mjproxy to 755 Where/How is this change made?
5.Put the command line in Tomato scripts (Admin) Where do I put the following command line? In the Admin-Scripts-Init tab? -->/jffs/mjproxy 0.0.0.0 5070 <yourmjproxy> 5070 <yourpassword>
Back to top
View user's profile Send private message
gnimsh
Dan isn't smart enough to hire me


Joined: 25 Nov 2007
Posts: 165
Location: Minneapolis, MN

PostPosted: Thu Jul 09, 2009 3:20 pm    Post subject:

So i compiled the C proxy and then tried to run it with the following code: ./mjproxy 0.0.0.0 5070 proxy01.minneapolis.talk4free.com 5070 XXXXXXXXXXXXXXXXX but when I do I get this error: Can't bind listen address (0.0.0.0:5070)

Any tips?
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
qwer1304
magicJack Apprentice


Joined: 16 Mar 2009
Posts: 15

PostPosted: Thu Jul 09, 2009 11:54 pm    Post subject:

noetic1 wrote:
qwer1304 wrote:
emoci wrote:
teddy_b wrote:
I don't have a DD-WRT router either, but here are a couple binaries compiled using Tomato toolchain.
1. The first one is what I'm running on my Tomato router:
http://www.mediafire.com/file/twkmijnm3mz/mjproxy-tomato.tar.gz
It might work on DD-WRT - I have no way to check myself.
2. If the 1st one doesn't work, try the other one:
http://www.mediafire.com/file/n2zzlmkiyyv/mjproxy-tomato-static.tar.gz
This one is statically linked with uclibc - the executable is larger but doesn't depend on the libc version - has better chances to run on dd-wrt (only on mipsel routers of course).


Any chance you could write some basic steps about how you got it to run on Tomato...?


1.Enable jffs in Tomato (Admin)
2.Install putty on PC
3.Upload mjproxy to Tomato (jffs) with putty. You need to use the scp method.
4.Chmod mjproxy to 755
5.Put the command line in Tomato scripts (Admin)
6.Change the proxy IP in ATA to that of Tomato

Enjoy your ATA


qwer1304-
I have a Linksys WRT54GL flashed with Tomato but unfortunately I am not familiar with how to execute the first 5 steps you mentioned in your post. Could you please help me with my questions in red below. Thanks!

1.Enable jffs in Tomato (Admin)- I see the checkbox to enable jffs in the Admin section but am I supposed to enter something in the textbox that says 'Execute When Mounted'?
No, just tick it

2.Install putty on PC I installed puTTY but have no idea how to use it.
Read the help file. You need the pscp command line utility to copy mjproxy to tomato.
3.Upload mjproxy to Tomato (jffs) with putty. You need to use the scp method. Could you provide more details on this step. I am not familiar with Telnet features so I'm looking for the exact proper syntax I need to enter after opening up a telnet session.
You run pscp from command line with -scp option.
4.Chmod mjproxy to 755 Where/How is this change made?
Telnet into your tomato, then chmod.
5.Put the command line in Tomato scripts (Admin) Where do I put the following command line? In the Admin-Scripts-Init tab? -->/jffs/mjproxy 0.0.0.0 5070 <yourmjproxy> 5070 <yourpassword>
Yes.

If ssh is not enabled by default in your tomato enable it in admin.



See answers in the body in blue.
Back to top
View user's profile Send private message
jeffnyc
Dan isn't smart enough to hire me


Joined: 17 Nov 2007
Posts: 336

PostPosted: Fri Jul 10, 2009 2:38 am    Post subject:

when you upload the file to tomato, should I upload it in gz format or extract it first and upload the tar file?

Last edited by jeffnyc on Fri Jul 10, 2009 2:48 am; edited 1 time in total
Back to top
View user's profile Send private message
qwer1304
magicJack Apprentice


Joined: 16 Mar 2009
Posts: 15

PostPosted: Fri Jul 10, 2009 2:43 am    Post subject:

jeffnyc wrote:
When I run putty I put in the the ip of my router and I get network error, connection refused???
Check that ssh daemon is enabled in tomato

Also when you upload the file to tomato, should I upload it in gz format or extract it first and upload the tar file?
Unzip and untar it before uploading to tomato
Back to top
View user's profile Send private message
jeffnyc
Dan isn't smart enough to hire me


Joined: 17 Nov 2007
Posts: 336

PostPosted: Fri Jul 10, 2009 3:44 am    Post subject:

qwer1304 wrote:
jeffnyc wrote:
When I run putty I put in the the ip of my router and I get network error, connection refused???
Check that ssh daemon is enabled in tomato

Also when you upload the file to tomato, should I upload it in gz format or extract it first and upload the tar file?
Unzip and untar it before uploading to tomato


thanks for quick reply

by this statement
/jffs/mjproxy 0.0.0.0 5070 <yourmjproxy> 5070 <yourpassword>

it appears that mjproxy should be in the jffs directory (that dir is read only)- i have it in the root directory - is that correct?

also do i need to change the proxy in my ata to point to my router?

thanks again
Back to top
View user's profile Send private message
qwer1304
magicJack Apprentice


Joined: 16 Mar 2009
Posts: 15

PostPosted: Fri Jul 10, 2009 4:23 am    Post subject:

jeffnyc wrote:
qwer1304 wrote:
jeffnyc wrote:
When I run putty I put in the the ip of my router and I get network error, connection refused???
Check that ssh daemon is enabled in tomato

Also when you upload the file to tomato, should I upload it in gz format or extract it first and upload the tar file?
Unzip and untar it before uploading to tomato


thanks for quick reply

by this statement
/jffs/mjproxy 0.0.0.0 5070 <yourmjproxy> 5070 <yourpassword>

it appears that mjproxy should be in the jffs directory
yes

(that dir is read only)- i have it in the root directory - is that correct?
jffs shouldn't be r/o. login with root. in any case, you can put mjproxy anywhere and update the command line accordingly

also do i need to change the proxy in my ata to point to my router?
yes

thanks again
Back to top
View user's profile Send private message
jeffnyc
Dan isn't smart enough to hire me


Joined: 17 Nov 2007
Posts: 336

PostPosted: Fri Jul 10, 2009 1:04 pm    Post subject:

I got the jffs folder to be accessible by formating it clicking the button from the tomato web interface.

Update: It works. I also put a sleep command in the init tab window - just to make sure all router services are started before trying to exectute the script

Code:
sleep 5
/jffs/mjproxy 0.0.0.0 5070 proxy01.newyork.talk4free.com 5070 mypassword
Back to top
View user's profile Send private message
Praetorian
magicJack Apprentice


Joined: 14 Mar 2009
Posts: 23

PostPosted: Sat Jul 11, 2009 6:42 pm    Post subject: Sveasoft firmware V2

Hello All,

Does anyone know if you can use JFFS2 or simulate dd-wrt on the new Sveasoft V2.0? I use it as of today on my router but not familiar with it to see if I can simulate Tomato?

Tnx
Praetorian
Back to top
View user's profile Send private message
cooldude929
MagicJack User


Joined: 11 Jun 2009
Posts: 37

PostPosted: Mon Jul 13, 2009 12:38 pm    Post subject:

Finally got it working. Registration goes okay.

Both incoming and outgoing work, but outgoing calls get dropped after around 3min 25seconds..

Haven't test incoming calls yet.

Do we need to open any firewall ports for MJProxy to work well ?

Thanks
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 Previous  1, 2, 3, 4  Next
Page 3 of 4

 
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.