| View previous topic :: View next topic |
| Author |
Message |
grillovillegas magicJack Apprentice
Joined: 11 May 2009 Posts: 25
|
Posted: Wed Jul 01, 2009 3: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 ? _________________ Grillo Villegas |
|
| Back to top |
|
 |
Google AdSense

|
Posted: Wed Jul 01, 2009 3:30 pm Post subject: Magicjack support, tips, tricks, and hacks |
|
|
|
|
| Back to top |
|
 |
peterlemonjello magicJack Apprentice
Joined: 09 Sep 2008 Posts: 12
|
Posted: Wed Jul 01, 2009 3:33 pm Post subject: |
|
|
| Ahh, interesting concept |
|
| Back to top |
|
 |
Taken83oveR Dan isn't smart enough to hire me

Joined: 11 Jun 2008 Posts: 119
|
Posted: Wed Jul 01, 2009 3: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 |
|
 |
grillovillegas magicJack Apprentice
Joined: 11 May 2009 Posts: 25
|
Posted: Wed Jul 01, 2009 5:08 pm Post subject: |
|
|
No one Linux Geek ???
To include the program on the DDWRT ??? _________________ Grillo Villegas |
|
| Back to top |
|
 |
desidude2000 MagicJack User
Joined: 22 Sep 2008 Posts: 36
|
Posted: Wed Jul 01, 2009 5: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 |
|
 |
brghouston MagicJack Newbie
Joined: 01 Jul 2009 Posts: 1
|
Posted: Wed Jul 01, 2009 5:57 pm Post subject: |
|
|
| I would love it to work for DD-WRT or even through a network cable |
|
| Back to top |
|
 |
az1324 Dan isn't smart enough to hire me
Joined: 20 Feb 2008 Posts: 100
|
Posted: Wed Jul 01, 2009 6:19 pm Post subject: |
|
|
| Read the certificate thread someone already posted a binary for mips routers. |
|
| Back to top |
|
 |
grillovillegas magicJack Apprentice
Joined: 11 May 2009 Posts: 25
|
Posted: Wed Jul 01, 2009 8: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 ? _________________ Grillo Villegas |
|
| Back to top |
|
 |
Taken83oveR Dan isn't smart enough to hire me

Joined: 11 Jun 2008 Posts: 119
|
Posted: Thu Jul 02, 2009 3: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.
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 1:14 am; edited 9 times in total |
|
| Back to top |
|
 |
Poo619 MagicJack Expert
Joined: 20 Nov 2007 Posts: 96
|
Posted: Thu Jul 02, 2009 4: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 |
|
 |
Taken83oveR Dan isn't smart enough to hire me

Joined: 11 Jun 2008 Posts: 119
|
|
| Back to top |
|
 |
pagemen Dan isn't smart enough to hire me
Joined: 15 Dec 2008 Posts: 128
|
Posted: Thu Jul 02, 2009 5: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 |
|
 |
dskum magicJack Apprentice
Joined: 08 Feb 2009 Posts: 11
|
Posted: Thu Jul 02, 2009 6: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 |
|
 |
Poo619 MagicJack Expert
Joined: 20 Nov 2007 Posts: 96
|
Posted: Thu Jul 02, 2009 6: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: |
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 |
|
| Back to top |
|
 |
Taken83oveR Dan isn't smart enough to hire me

Joined: 11 Jun 2008 Posts: 119
|
Posted: Thu Jul 02, 2009 6: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 |
|
 |
|