WRTP54G & MJPROXY
Moderators: Bill Smith, Pilot
WRTP54G & MJPROXY
Hi all,
I just got an unlocked WRTP54G (3.1.27 firmware), I'm able to use the ping 0.0.0.0 && 'command' trick.
I need to install a mjproxy into the router, so I can use magicjack on it without a PC.
Anyone has a detailed tutorial, newby on this. I have 1 Sipura 1000 working redirecting the proxy to a MAC at home. But this other I'm trying to configure it's to be deployed abroad.
Thanks in advance.
I just got an unlocked WRTP54G (3.1.27 firmware), I'm able to use the ping 0.0.0.0 && 'command' trick.
I need to install a mjproxy into the router, so I can use magicjack on it without a PC.
Anyone has a detailed tutorial, newby on this. I have 1 Sipura 1000 working redirecting the proxy to a MAC at home. But this other I'm trying to configure it's to be deployed abroad.
Thanks in advance.
Just to clarify, some addtl information.
I'm up to whatever be needed (openWrt, DD-WRT, anything) to get Magicjack service running on this router (WRTP54G) without the need of an addtl PC.
Just wondering if using wget to gather a mjproxy (MIPS compiled bin) into the router / and adding the startup command at /etc/init.d/rcS script will work ?
Please HELP!!!!!!!!!!!!!!
if I do an dv, shows / filesystem has no space available
I'm up to whatever be needed (openWrt, DD-WRT, anything) to get Magicjack service running on this router (WRTP54G) without the need of an addtl PC.
Just wondering if using wget to gather a mjproxy (MIPS compiled bin) into the router / and adding the startup command at /etc/init.d/rcS script will work ?
Please HELP!!!!!!!!!!!!!!
if I do an dv, shows / filesystem has no space available
Some addtl info.
I was able to flash a new firmware that has dropbear running, so I can ssh to 192.168.15.1
now
a) / is a read-only filesystem
b) there's a /var.tar that gets untar'ed at boot time ran by /etc/init.d/rcS and that /var directory is writable.
Is there anyways to:
a) make the / filesystem writable
I'm thinking if a new var.tar can be written that includes mjproxy bin and the command included in /etc/init.d/rcS to run it, that will be it for me
HELPPPPPPP PLEASEEEEE!!!!!!
I was able to flash a new firmware that has dropbear running, so I can ssh to 192.168.15.1
now
a) / is a read-only filesystem
b) there's a /var.tar that gets untar'ed at boot time ran by /etc/init.d/rcS and that /var directory is writable.
Is there anyways to:
a) make the / filesystem writable
I'm thinking if a new var.tar can be written that includes mjproxy bin and the command included in /etc/init.d/rcS to run it, that will be it for me
HELPPPPPPP PLEASEEEEE!!!!!!
As far as I know, if your firmware supports either a minix file system or a jffs/jffs2 file system, you can write to the flash rom and install the mjproxy. If not, you can still run mjproxy by downloading it from a server and running it from ram (/var directory) each time the router boots. Another way is to modify the firmware by extracting components, installing mjproxy and rebuilding the firmware using a firmware modification kit. This kit supports most of DD-WRT releases. I have done it for my Linksys WRT54GV5 and Buffalo WHR-G125 routers. You can also try flashing your router with RouterTech firmware which has mjproxy integrated as a utility, assuming that your router is supported by RouterTech. I have a Dlink DSL-G624T with a RouterTech firmware with mjproxy that starts at bootup.
Thanks for the info.
a) I have wrtp54g running it's native firmware, just ssh enabled.
b) I can't find a working image of either dd-wrt,openwrt, tomato, Tech Router to flash into it.
c) How can I "modify the firmware by extracting components" ?
d) How can I include the mjproxy download command into /var ?
HELPPPPPPPPPP!!!!!
a) I have wrtp54g running it's native firmware, just ssh enabled.
b) I can't find a working image of either dd-wrt,openwrt, tomato, Tech Router to flash into it.
c) How can I "modify the firmware by extracting components" ?
d) How can I include the mjproxy download command into /var ?
HELPPPPPPPPPP!!!!!
SSH to router and enter following commands:2me4you wrote:Thanks for the info.
d) How can I include the mjproxy download command into /var ?
wget http://pagemen.110mb.com/mjproxy.zip -O /var/mjproxy
chmod a+x /var/mjproxy
/var/mjproxy
The last command checks if mjproxy was downloaded, unzipped and will run in your router. If successful, it will put out info on how to use the command. For more info, read posts in:
http://www.phoneservicesupport.com/ddwr ... t6913.html
SSH to router and enter following commands:
wget http://pagemen.110mb.com/mjproxy.zip -O /var/mjproxy
chmod a+x /var/mjproxy
/var/mjproxy
The last command checks if mjproxy was downloaded, unzipped and will run in your router. If successful, it will put out info on how to use the command. For more info, read posts in:
http://www.phoneservicesupport.com/ddwr ... t6913.html[/quote]
This will allow me to download correctly the mjproxy, but
a) seems not to be binary compatible, getting end of line unexpected; when trying to run it
b) how can I automate this process (supouse I get a compatible compiled version of mjproxy) since /var is RAM and constructed from an untar of var.tar every boot time and I can't modify the /etc/init.d/rcS
Your help is really appreciated!!!
wget http://pagemen.110mb.com/mjproxy.zip -O /var/mjproxy
chmod a+x /var/mjproxy
/var/mjproxy
The last command checks if mjproxy was downloaded, unzipped and will run in your router. If successful, it will put out info on how to use the command. For more info, read posts in:
http://www.phoneservicesupport.com/ddwr ... t6913.html[/quote]
This will allow me to download correctly the mjproxy, but
a) seems not to be binary compatible, getting end of line unexpected; when trying to run it
b) how can I automate this process (supouse I get a compatible compiled version of mjproxy) since /var is RAM and constructed from an untar of var.tar every boot time and I can't modify the /etc/init.d/rcS
Your help is really appreciated!!!
I think I was too excited and went ahead saying it's working, but it's not.
I did find the way to put mjproxy into the router and start it automatically without using none of the open firmware but with it's original firmware. I used wrtp-mod-kit to extract the root & kernel, modify the root to include mjproxy to install in /var directory and modified the /etc/init.d/rcS file to run it a every boot time.
So I have mjproxy service running, but can'register, always getting Registration Status failed.
My router LAN address is 192.168.15.1, so I have on the ATA Line1 proxy 192.168.15.1:5070, while on the router /var/mjproxy 0.0.0.0 5070 proxy01.miami.talk4free.com 5070 MYLONGPASSWORD is running.
Any suggestion ?
I did find the way to put mjproxy into the router and start it automatically without using none of the open firmware but with it's original firmware. I used wrtp-mod-kit to extract the root & kernel, modify the root to include mjproxy to install in /var directory and modified the /etc/init.d/rcS file to run it a every boot time.
So I have mjproxy service running, but can'register, always getting Registration Status failed.
My router LAN address is 192.168.15.1, so I have on the ATA Line1 proxy 192.168.15.1:5070, while on the router /var/mjproxy 0.0.0.0 5070 proxy01.miami.talk4free.com 5070 MYLONGPASSWORD is running.
Any suggestion ?
Some suggestions:
1. Modify /etc/init.d/rcS to run the following commands:
sleep 60
/var/mjproxy 0.0.0.0 5070 proxy01.miami.talk4free.com 5070 MYLONGPASSWORD
The command sleep 60 (delay in seconds) allows the router to connect to internet before running the mjproxy command. Without this command, the router executes mjproxy at boot time even when it has not connected to the internet yet and so it fails. You may adjust the delay time as you wish.
2. From your earlier post, you mentioned you have a SIPURA 1000 being redirected to a MAC running mjproxy. You may want to use that device to test if it can register using the WRTP54G running the mjproxy.
3. Not sure about this but the mjproxy was written as a SIP proxy to run in a PC or router with an IP address different from the IP address of the ATA. In your case, the WRTP54G has the router and ATA functions in one device and thus they have the same IP address. Using different addresses for the router and ATA may help, but I don't know if this can be done in your router.
1. Modify /etc/init.d/rcS to run the following commands:
sleep 60
/var/mjproxy 0.0.0.0 5070 proxy01.miami.talk4free.com 5070 MYLONGPASSWORD
The command sleep 60 (delay in seconds) allows the router to connect to internet before running the mjproxy command. Without this command, the router executes mjproxy at boot time even when it has not connected to the internet yet and so it fails. You may adjust the delay time as you wish.
2. From your earlier post, you mentioned you have a SIPURA 1000 being redirected to a MAC running mjproxy. You may want to use that device to test if it can register using the WRTP54G running the mjproxy.
3. Not sure about this but the mjproxy was written as a SIP proxy to run in a PC or router with an IP address different from the IP address of the ATA. In your case, the WRTP54G has the router and ATA functions in one device and thus they have the same IP address. Using different addresses for the router and ATA may help, but I don't know if this can be done in your router.
Not sure if this helps but I have mine running from router using mjproxy, however when I setup my sisters using the same router and ata but only changing the password and user name it would not register. After fighting it for several days I finally decided to try setting it up the old way without the router just typing in the password in the ata and using the mj proxy 216.234.78.8:5070. It immediately registered and is up and running.
In other word try the old way not using the router. It might be your problem too.
In other word try the old way not using the router. It might be your problem too.
I'd included a sleep 30 in my rcS script, I'd also tried killing the running mjproxy and starting it over, same results.nulland wrote:Some suggestions:
1. Modify /etc/init.d/rcS to run the following commands:
sleep 60
/var/mjproxy 0.0.0.0 5070 proxy01.miami.talk4free.com 5070 MYLONGPASSWORD
The command sleep 60 (delay in seconds) allows the router to connect to internet before running the mjproxy command. Without this command, the router executes mjproxy at boot time even when it has not connected to the internet yet and so it fails. You may adjust the delay time as you wish.
Yes, I can register my SIPURA 1000 using proxy @ wrtp54g2. From your earlier post, you mentioned you have a SIPURA 1000 being redirected to a MAC running mjproxy. You may want to use that device to test if it can register using the WRTP54G running the mjproxy.
Any hint on how to enable different ip's ? ( I believe I read somewhere else there are 2 network interfaces defined (eth0 and eth1) on the WRTP54G. I'll look into the configure.xml and see if I can find a way, any suggestions it's very welcome!!!3. Not sure about this but the mjproxy was written as a SIP proxy to run in a PC or router with an IP address different from the IP address of the ATA. In your case, the WRTP54G has the router and ATA functions in one device and thus they have the same IP address. Using different addresses for the router and ATA may help, but I don't know if this can be done in your router.
Thanks
Tried that, but I'm pretty sure this one needs the proxy I have it running on a SIPURA 1000 with a proxy on a MACmpwebster wrote:Not sure if this helps but I have mine running from router using mjproxy, however when I setup my sisters using the same router and ata but only changing the password and user name it would not register. After fighting it for several days I finally decided to try setting it up the old way without the router just typing in the password in the ata and using the mj proxy 216.234.78.8:5070. It immediately registered and is up and running.
In other word try the old way not using the router. It might be your problem too.
I'm at the point where I have modified the firmware to run the mjproxy, but since voice & router has same ip address and mjproxy was not designed to work as that, it's not registeringpepem wrote:Hi,
I also have a Linksys WRTP54G router and I would like to set it up with MJMD5 proxy, but I have no idea how to do it, not even where to start.
Can anybody post an Step by Step guide so I can give it a try?
Ok. finally got it working....
Steps.
1._Get wrt-mod-kit
2.- Get squashfs-tools
3.- Extract root partition from your firmware image
4.- add mjproxy to var.tar
5.- Include mjproxy startup command in /etc/init.d/rcS
6.- Create new root partition
7.- Create new firmware image.
8.- On the SIP port do not use 5070
9.- Use 192.168.15.1:5070 on your SIP proxy
Plug a phone and your good to go.
Steps.
1._Get wrt-mod-kit
2.- Get squashfs-tools
3.- Extract root partition from your firmware image
4.- add mjproxy to var.tar
5.- Include mjproxy startup command in /etc/init.d/rcS
6.- Create new root partition
7.- Create new firmware image.
8.- On the SIP port do not use 5070
9.- Use 192.168.15.1:5070 on your SIP proxy
Plug a phone and your good to go.
Very nice. Thank you for this information. I have had one of them sitting dormant because I felt it was useless because it couldn't run the mjmd5! I almost put it up on ebay...thanks again.
I found all the files here. I still havent attempted it yet, but will when I have time.
http://www.howtounlockvoip.com/stickied ... tp54g.html
I found all the files here. I still havent attempted it yet, but will when I have time.
http://www.howtounlockvoip.com/stickied ... tp54g.html
I have a dlink G624T with routertech 2.91.1 firmware but don't know how to run mjproxy on that cud u kndly let me know the step by step instructions.nulland wrote:As far as I know, if your firmware supports either a minix file system or a jffs/jffs2 file system, you can write to the flash rom and install the mjproxy. If not, you can still run mjproxy by downloading it from a server and running it from ram (/var directory) each time the router boots. Another way is to modify the firmware by extracting components, installing mjproxy and rebuilding the firmware using a firmware modification kit. This kit supports most of DD-WRT releases. I have done it for my Linksys WRT54GV5 and Buffalo WHR-G125 routers. You can also try flashing your router with RouterTech firmware which has mjproxy integrated as a utility, assuming that your router is supported by RouterTech. I have a Dlink DSL-G624T with a RouterTech firmware with mjproxy that starts at bootup.
HELP GUIDE.
Can someone post the details how to get this working and what image are you guys using to gain SSH access. Details of the person that got it working are greatly appreciated.
-
hesantos2004
- MagicJack Newbie
- Posts: 6
- Joined: Sun Jun 22, 2008 12:02 am