| View previous topic :: View next topic |
| Author |
Message |
dskum magicJack Apprentice
Joined: 08 Feb 2009 Posts: 11
|
Posted: Fri Jul 03, 2009 3: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
If above doesnt work try this...
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 |
|
 |
Google AdSense

|
Posted: Fri Jul 03, 2009 3:32 pm Post subject: Magicjack support, tips, tricks, and hacks |
|
|
|
|
| Back to top |
|
 |
deshwasi magicJack Apprentice
Joined: 26 Jan 2008 Posts: 15
|
Posted: Fri Jul 03, 2009 10: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 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 |
|
 |
luisito magicJack Apprentice
Joined: 15 Mar 2009 Posts: 12
|
Posted: Sat Jul 04, 2009 12: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 |
|
 |
xu111 MagicJack Newbie
Joined: 21 Apr 2009 Posts: 3
|
Posted: Sat Jul 04, 2009 1: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 |
|
 |
Taken83oveR Dan isn't smart enough to hire me

Joined: 11 Jun 2008 Posts: 119
|
Posted: Sat Jul 04, 2009 1: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 |
|
 |
luisito magicJack Apprentice
Joined: 15 Mar 2009 Posts: 12
|
Posted: Sat Jul 04, 2009 1: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 |
|
 |
xu111 MagicJack Newbie
Joined: 21 Apr 2009 Posts: 3
|
Posted: Sat Jul 04, 2009 1: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 |
|
 |
teddy_b MagicJack Contributor
Joined: 30 Dec 2007 Posts: 55
|
Posted: Sat Jul 04, 2009 2: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 |
|
 |
manachinu magicJack Apprentice
Joined: 17 Oct 2008 Posts: 29
|
Posted: Sat Jul 04, 2009 4: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 |
|
 |
luisito magicJack Apprentice
Joined: 15 Mar 2009 Posts: 12
|
Posted: Sat Jul 04, 2009 4: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.....  |
|
| Back to top |
|
 |
manachinu magicJack Apprentice
Joined: 17 Oct 2008 Posts: 29
|
Posted: Sat Jul 04, 2009 5:19 am Post subject: |
|
|
| fixed, my mj password had changed....try getting new sip details |
|
| Back to top |
|
 |
samdaman MagicJack Newbie
Joined: 29 Jun 2009 Posts: 5
|
Posted: Sat Jul 04, 2009 6: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 |
|
 |
dskum magicJack Apprentice
Joined: 08 Feb 2009 Posts: 11
|
Posted: Sat Jul 04, 2009 6: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 |
|
 |
luisito magicJack Apprentice
Joined: 15 Mar 2009 Posts: 12
|
Posted: Sat Jul 04, 2009 8: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   Thx |
|
| Back to top |
|
 |
Cablespider magicJack Apprentice
Joined: 27 May 2009 Posts: 28
|
Posted: Sat Jul 04, 2009 2:57 pm Post subject: |
|
|
I just wanted to say thanks!
WRT54GSv.3/ATA186 working like a champ. |
|
| Back to top |
|
 |
|