• Home
  • Help
  • Search
  • Login
  • Register
Pages: [1]
Author Topic: umurmur ( minimalistic Mumble server )  (Read 3859 times)
Titus_Crow
Newbie
*

Karma: 3
Posts: 6



View Profile
« on: May 25, 2010, 10:15:13 AM »

Hi here,

I wanted to report successful installation of umurmur :
Quote
uMurmur is a minimalistic Mumble server primarily targeted to run on routers with an open OS like OpenWRT. The server part of Mumble is called Murmur, hence the name uMurmur.

I'm on a Sheevaplug eSATA version provided by NewIT, running a Squeeze debian on a usb HDD ( waiting for flawless working eSATA booting on hdd ).
I tried using the mumble packages ( murmur-server and its dependencies). Everything went good ( installation and configuration ), but the Mumble clients don't seem to be able to connect correctly to it. Asking at #mumble on irc.freenode.net, it seems that squeeze versions has some bugs, corrected in unstable version.

As I don't want to dist-upgrade to unstable for my homeserver, I was advised to take a look at umurmur
( Homepage : http://code.google.com/p/umurmur/ )

I downloaded 0.2.4 source.
umurmur staff advise to use polarssl library instead of openssl one, with regards to memory consumtion criteria.
( aptitude install libpolarssl-dev do the trick ).

As umurmur doesn't provide yet autoconfiguration through autotools or CMake or etc... , little manipulations have to be done on the Makefile provided with source files. Here's mine :

Code:
:~# cat umurmur-0.2.4/src/Makefile
SRCS:=client.c main.c messages.c pds.c server.c ssl.c log.c conf.c crypt.c \
        timer.c messagehandler.c channel.c Mumble.pb-c.c voicetarget.c

OBJS:=$(patsubst %.c, %.o, $(SRCS))

# **** Stuff used for debugging ******
# For Valgrind OpenSSL
#EXTRA_CFLAGS:=$(CFLAGS) -I/data/export/proj/openssl/include/
#EXTRA_LDFLAGS:=$(LDFLAGS) -L/data/export/proj/openssl/lib/ -lcrypto -lssl

# Debug
# CFLAGS:=$(CFLAGS) -DDEBUG -g
# ********** Debug stuff END ************


# Build support and link to PolarSSL
# If PolarSSL is in a nonstandard place.
 POLARSSL_LIB:=/usr/lib/libpolarssl.a
 SSL_LIB:=$(POLARSSL_LIB) # If statically linking
 POLARSSL_INCLUDE:=/usr/include
 EXTRA_CFLAGS:=-DUSE_POLARSSL -I$(POLARSSL_INCLUDE)
 EXTRA_LDLAGS:=-lpolarssl


# OpenSSL - usually installed at a standard place
# EXTRA_CFLAGS:=
# EXTRA_LDFLAGS:=-lcrypto -lssl

CFLAGS:=$(CFLAGS) -I. -Wall $(EXTRA_CFLAGS)
LDFLAGS:=$(EXTRA_LDFLAGS) $(LDFLAGS) -lconfig

umurmurd:google/protobuf-c/libprotobuf_c.a $(OBJS)
        $(CC) $(LDFLAGS) $(OBJS) $(SSL_LIB) google/protobuf-c/libprotobuf_c.a -o umurmurd

google/protobuf-c/libprotobuf_c.a:
        $(MAKE) -C google/protobuf-c/

clean:
        $(MAKE) -C google/protobuf-c/ clean
        rm -f *.o umurmurd

all: umurmurd

$(OBJS): Makefile

( for those of you interested in compiling umurmur, don't forget to install the usual packages needed to compile (build-essential etc...) if you aim at compiling directly on Sheevaplug. For the others that use cross-compilation, well, I suppose you know what you're doing :p )

Few moments later, you should obtained an executable named umurmurd.
I personnaly choose to follow umurmur advises, and cped it  in /usr/local/sbin/ .
The configuration sample ( umurmur.conf.example ) is quite self explanatory, and I cped it afer modified it to /etc.

Running it as :
Code:
umurmurd -c /etc/umurmur.conf

should be all you need Cheesy

Result :
img]http://img143.imageshack.us/i/umurmurspec.jpg/[/img]


Works flawlessly on this marvelous device named sheevaplug Cheesy
« Last Edit: May 25, 2010, 10:17:26 AM by Titus_Crow » Logged

Pages: [1]
Print
Jump to: