Comment on DDWRT in umurmur

363 views
Skip to first unread message

umu...@googlecode.com

unread,
Jul 25, 2012, 6:50:14 PM7/25/12
to umurmur...@googlegroups.com
Comment by brad.a...@gmail.com:

I am receiving the error can't load library 'libpolarssl.so.1' is there a
fix for this?

brad...@gmail.com

For more information:
http://code.google.com/p/umurmur/wiki/DDWRT

umu...@googlecode.com

unread,
Sep 11, 2012, 4:16:45 AM9/11/12
to umurmur...@googlegroups.com
Comment by shogan....@gmail.com:

Thanks a lot for the great wiki, I am stoked to have umurmur running on my
router! A couple of things:

When testing it out via a temporary ram install I also got the "can't load
library 'libpolarssl.so.1'" error. This was caused by the fact that the
/tmp/usr/lib/ directory was not on the library path. To fix, add this
/tmp/usr/lib to the LD_LIBRARY_PATH variable.

Also, the ipkg commands listed here are missing the 'install' command word
(at least they wouldn't work for me as is). Moreover, on my system jffs is
not the dest keyword, root is (but it points to /jffs). So me, an example
of the correct command whould be:
ipkg -d *root install* /tmp/root/umurmur-polarssl_0.2.10-1_atheros.ipk

umu...@googlecode.com

unread,
Sep 16, 2012, 10:43:56 AM9/16/12
to umurmur...@googlegroups.com
Comment by qwark...@gmail.com:

Hi, I installed this on my Netgear WNR3500v2 using this guide (with the
brcm47xx packages) but I get an error when trying to
run "/jffs/usr/bin/umurmurd -d -c /jffs/etc/umurmur.conf"
It gives the error: "/jffs/usr/bin/umurmurd: symbol 'optarg': can't handle
reloc type 0x7e"

I'm not a avid linux user so I'm not sure what this means. Any ideas how to
fix?

umu...@googlecode.com

unread,
Oct 19, 2012, 7:16:45 PM10/19/12
to umurmur...@googlegroups.com
Comment by gbaysin...@gmail.com:

I installed umurmur today on my DD-WRT router. The steps have changed a
bit. This is what I did that was different.

* System info:
... DD-WRT:
... Router: Linksys E4200v1
... PC: Windows 7 (so I needed OpenSSL for Windows, notes on how to make
that work below as well)

* Installed my /jffs partition as mentioned in the original instructions
and had 8.2MB available

* Download location for packages didn't exist anymore. I grabbed packages
from this location instead. Might not be the most current, but they worked
for me.
... http://downloads.openwrt.org/backfire/10.03.1/brcm47xx/packages/

NOTES:
1) I couldn't find a libprotobuf package ... but it appears to be
statically added to the packages I did find, so all ok.

`wget
http://downloads.openwrt.org/backfire/10.03.1/brcm47xx/packages/umurmur-polarssl_0.2.6-1_brcm47xx.ipk`
`wget
http://downloads.openwrt.org/backfire/10.03.1/brcm47xx/packages/libconfig_1.4.7-1_brcm47xx.ipk`
`wget
http://downloads.openwrt.org/backfire/10.03.1/brcm47xx/packages/libpolarssl_0.14.3-1_brcm47xx.ipk`

* As noted elsewhere, the ipkg commands used in the top instructions are a
little "off". In my case I needed to add a "/" before jffs and add
the "install" command. As such:

`ipkg -d /jffs install umurmur-polarssl_0.2.6-1_brcm47xx.ipk`
`ipkg -d /jffs install libconfig_1.4.7-1_brcm47xx.ipk`
`ipkg -d /jffs install libpolarssl_0.14.3-1_brcm47xx.ipk`

* To generate my SSL certificates, I needed to install OpenSSL for Windows.
I didn't notice the link in the above instructions, but I found a different
package (http://slproweb.com/products/Win32OpenSSL.html). This is how I got
it to run:

1) Install Microsoft VC++ 2008 redistributable:
*
http://www.microsoft.com/downloads/details.aspx?familyid=9B2DA534-3E03-4391-8A4D-074B9F2BC1BF

2) Install OpenSSL for Windows:
* http://slproweb.com/download/Win32OpenSSL_Light-1_0_1c.exe
* When installing, I chose the default C:\OpenSSL-Win32 directory
* I told it to put the binaries in the C:\OpenSSL-Win32\bin directory

3) Run a "cmd" window and navigate to the install directory
c:
cd \openssl-win32

4) Add the config file location to your environment variables (certificate
won't generate without this)
set OPENSSL_CONF=c:\openssl-win32\bin\openssl.cfg
(change this to match wherever your install put the file)

5) Run the commands as listed in the original instructions from the same
cmd window:
openssl genrsa 1024 > my_key.key
openssl req -new -x509 -nodes -sha1 -days 365 -key my_key.key >
my_selfsigned_cert.crt

6) I used WinSCP to upload the resulting files, do whatever works.

* The rest of the instructions above "just work":
... edit the umurmor.conf file as needed (you need to point the key and
cert files at the least)
... more tips here:
http://ftp.openbsd.org/ports/audio/umurmur/files/umurmur.conf.1

* Last, you can save the commands (iptables and umurmurd) to your startup
script so that your router can reboot and immediately run umurmor
afterwards.
... see http://www.dd-wrt.com/wiki/index.php/Startup_Scripts
... the commands I have in mine:
* Startup ...
/jffs/usr/bin/umurmurd -c /jffs/etc/umurmur.conf -r -p
/var/run/umurmurd.pid
* Shutdown ...
kill $(cat "/var/run/umurmurd.pid")
* Firewall ...
iptables -I INPUT -p udp --dport 64738 -j ACCEPT
iptables -I INPUT -p tcp --dport 64738 -j ACCEPT

umu...@googlecode.com

unread,
Oct 19, 2012, 7:17:56 PM10/19/12
to umurmur...@googlegroups.com

umu...@googlecode.com

unread,
Oct 19, 2012, 7:20:07 PM10/19/12
to umurmur...@googlegroups.com
Comment by gbaysin...@gmail.com:

I installed umurmur today on my DD-WRT router. The steps have changed a
bit. This is what I did that was different.

* System info:
# DD-WRT:
# Router: Linksys E4200v1
# PC: Windows 7 (so I needed OpenSSL for Windows, notes on how to make that
work below as well)

umu...@googlecode.com

unread,
Oct 19, 2012, 7:24:50 PM10/19/12
to umurmur...@googlegroups.com
Comment by gbaysin...@gmail.com:

I installed umurmur today on my DD-WRT router. The steps have changed a
bit. This is what I did that was different.

(apologies to anyone who had this thread on notify, I had to fix some
differences between my text and the wiki syntax to fix formatting, this is
the final version)

1. System info:
DD-WRT: DD-WRT v24-sp2 (03/19/12) big - build 18777
Router: Linksys E4200v1
PC: Windows 7 (so I needed OpenSSL for Windows, notes on how to make that
work below as well)

2. Installed my /jffs partition as mentioned in the original instructions
and had 8.2MB available

3. Download location for packages didn't exist anymore. I grabbed packages
4. As noted elsewhere, the ipkg commands used in the top instructions are a
little "off". In my case I needed to add a "/" before jffs and add
the "install" command. As such:

ipkg -d /jffs install umurmur-polarssl_0.2.6-1_brcm47xx.ipk
ipkg -d /jffs install libconfig_1.4.7-1_brcm47xx.ipk
ipkg -d /jffs install libpolarssl_0.14.3-1_brcm47xx.ipk

5. To generate my SSL certificates, I needed to install OpenSSL for
Windows. I didn't notice the link in the above instructions, but I found a
different package (http://slproweb.com/products/Win32OpenSSL.html). This is
how I got it to run:

a. Install Microsoft VC++ 2008 redistributable:

http://www.microsoft.com/downloads/details.aspx?familyid=9B2DA534-3E03-4391-8A4D-074B9F2BC1BF

b. Install OpenSSL for Windows:
http://slproweb.com/download/Win32OpenSSL_Light-1_0_1c.exe
When installing, I chose the default C:\OpenSSL-Win32 directory
I told it to put the binaries in the C:\OpenSSL-Win32\bin directory

c. Run a "cmd" window and navigate to the install directory
c:
cd \openssl-win32

d. Add the config file location to your environment variables (certificate
won't generate without this)
set OPENSSL_CONF=c:\openssl-win32\bin\openssl.cfg
(change this to match wherever your install put the file)

e. Run the commands as listed in the original instructions from the same
cmd window:
openssl genrsa 1024 > my_key.key
openssl req -new -x509 -nodes -sha1 -days 365 -key my_key.key >
my_selfsigned_cert.crt

f. I used WinSCP to upload the resulting files, do whatever works.

6. The rest of the instructions above "just work":
... edit the umurmor.conf file as needed (you need to point the key and
cert files at the least)
... more tips here:
http://ftp.openbsd.org/ports/audio/umurmur/files/umurmur.conf.1

7. Last, you can save the commands (iptables and umurmurd) to your startup
script so that your router can reboot and immediately run umurmor
afterwards.
... see http://www.dd-wrt.com/wiki/index.php/Startup_Scripts
... the commands I have in mine:
Startup ...
/jffs/usr/bin/umurmurd -c /jffs/etc/umurmur.conf -r -p
/var/run/umurmurd.pid
Shutdown ...
kill $(cat "/var/run/umurmurd.pid")
Firewall ...
iptables -I INPUT -p udp --dport 64738 -j ACCEPT
iptables -I INPUT -p tcp --dport 64738 -j ACCEPT

umu...@googlecode.com

unread,
Oct 19, 2012, 7:44:13 PM10/19/12
to umurmur...@googlegroups.com
Comment by gbaysin...@gmail.com:

I installed umurmur today on my DD-WRT router. The steps have changed a
bit. This is what I did that was different.

(apologies to anyone who had this thread on notify, I had to fix some
differences between my text and the wiki syntax to fix formatting, this is
the final version)

1. System info:
DD-WRT: DD-WRT v24-sp2 (03/19/12) big - build 18777
Router: Linksys E4200v1
PC: Windows 7 (so I needed OpenSSL for Windows, notes on how to make that
work below as well)

2. Installed my /jffs partition as mentioned in the original instructions
and had 8.2MB available

3. Download location for packages didn't exist anymore. I grabbed packages
from this location instead. Might not be the most current, but they worked
for me.
... http://downloads.openwrt.org/backfire/10.03.1/brcm47xx/packages/

NOTE: I couldn't find a libprotobuf package ... but it appears to be
statically added to the packages I did find, so all ok.

wget
http://downloads.openwrt.org/backfire/10.03.1/brcm47xx/packages/umurmur-polarssl_0.2.6-1_brcm47xx.ipk
wget
http://downloads.openwrt.org/backfire/10.03.1/brcm47xx/packages/libconfig_1.4.7-1_brcm47xx.ipk
wget
http://downloads.openwrt.org/backfire/10.03.1/brcm47xx/packages/libpolarssl_0.14.3-1_brcm47xx.ipk

4. As noted elsewhere, the ipkg commands used in the top instructions are
a little "off". In my case I needed to add a "/" before jffs and add
the "install" command. As such:

ipkg -d /jffs install umurmur-polarssl_0.2.6-1_brcm47xx.ipk
ipkg -d /jffs install libconfig_1.4.7-1_brcm47xx.ipk
ipkg -d /jffs install libpolarssl_0.14.3-1_brcm47xx.ipk

5. To generate my SSL certificates, I needed to install OpenSSL for
Windows. I didn't notice the link in the above instructions, but I found a
different package (http://slproweb.com/products/Win32OpenSSL.html). This is
how I got it to run:

a. Install Microsoft VC++ 2008 redistributable:
...
... http://slproweb.com/download/Win32OpenSSL_Light-1_0_1c.exe
... When installing, I chose the default C:\OpenSSL-Win32 directory I told
it to put the binaries in the C:\OpenSSL-Win32\bin directory

c. Run a "cmd" window and navigate to the install directory (c: ; cd
\openssl-win32)

umu...@googlecode.com

unread,
Oct 19, 2012, 7:45:13 PM10/19/12
to umurmur...@googlegroups.com

umu...@googlecode.com

unread,
Oct 19, 2012, 7:46:13 PM10/19/12
to umurmur...@googlegroups.com

umu...@googlecode.com

unread,
Feb 11, 2013, 9:29:26 AM2/11/13
to umurmur...@googlegroups.com
Comment by T.F.Bu...@gmail.com:

I'm having the same issue as qwark:
"/jffs/usr/bin/umurmurd: symbol 'optarg': can't handle reloc type 0x7e"

Same package, different router (WRT54GL).

umu...@googlecode.com

unread,
May 9, 2013, 11:31:39 PM5/9/13
to umurmur...@googlegroups.com
Comment by DawudJac...@gmail.com:

Does anyone have an Optware package for the latest version 0.2.11 of
umurmur that just came out a few days ago?

Source:
https://code.google.com/p/umurmur/downloads/detail?name=umurmur-0.2.11.tar.gz
Changes: https://code.google.com/p/umurmur/wiki/Changelog

The daemon in 0.2.10 has unfortunately been _VERY_ unstable. I have some
monitoring setup to catch when it goes down, as well as a band-aid script
to just restart the dameon when it runs into a fatal problem, but it would
be nice to get an official fix which I think this latest version has.

I tried to compile directly on my router running DD-WRT + Optware and
failed. I also can't figure out how to setup a proper cross compile
environment.

For more information:
https://code.google.com/p/umurmur/wiki/DDWRT

umu...@googlecode.com

unread,
Oct 14, 2014, 10:29:46 PM10/14/14
to umurmur...@googlegroups.com
Comment by loganbre...@gmail.com:

seems that it wont work on a broadcom chipset. ill do some more research to
find out first.
Reply all
Reply to author
Forward
0 new messages