ota-kun
Posts: 36
Joined: Tue Jul 17, 2012 8:38 am

Re: Teamspeak server on Pi

Thu Jul 25, 2013 8:12 am

I updated the guide.

I wrote the SSH port for connecting to Teamspeak. *facepalm*
I cleared things up for booting debian.

Out of curiosity did someone get the server running?

b1czu
Posts: 1
Joined: Mon Aug 05, 2013 11:00 pm

Re: Teamspeak server on Pi

Mon Aug 05, 2013 11:07 pm

Hi, has anyone mirror for http://198.154.101.186/RaspberryPI/qemudidi2.rar? Because this link isn't working for me.

meigrafd
Posts: 97
Joined: Tue May 29, 2012 9:28 am
Location: Germany

Re: Teamspeak server on Pi

Thu Aug 08, 2013 11:51 am

b1czu wrote:Hi, has anyone mirror for http://198.154.101.186/RaspberryPI/qemudidi2.rar? Because this link isn't working for me.
Try:

http://199.231.94.230/qemudidi2.rar


But another thing i have to ask:

http://qemu.weilnetz.de/w32/qemu-w32.exe

Doesnt exists anymore and when i try it with some other File like http://qemu.weilnetz.de/w32/qemu-20130616-w32.exe theres no "qemu.exe" in it.. After 2011-10-28 thats missing, but i want to use a QEMU Version as new as possible :(

When i then try it with "qemu-system-i386.exe" i get a strange error: http://www10.pic-upload.de/08.08.13/n5kk79mnyfua.png
Then i tried to overwrite sgabios.bin with http://qemu.weilnetz.de/w32/2012-06-28/sgabios.bin but than the window freeze and crashs :(

Does anyone have a working way / backup?


/EDIT: Got it by using http://www.omledom.com/pub/qemu/qemu-1. ... 2.tar.lzma and added some missing DLL's from ttp://qemu.weilnetz.de/w32/dll/

You can download it ready2go from http://199.231.94.230/

I will also upload a ready2go Debian Lenny and Squeeze Image later

Helaas
Posts: 6
Joined: Mon Jul 02, 2012 7:07 pm

Re: Teamspeak server on Pi

Sun Aug 11, 2013 1:12 am

Tried following meigrafd's instructions without success. Well not for now at least. As I understand it, booting up the virtual server can take over 20 minutes?

Anyway. --nographic and -deamonize is not possible on the newest Qemu.

qemu-system-i386 -cpu 486 -hda /home/qemu/debian.img -m 150m -smp 1 -redir tcp:9022::22 -redir udp:9055::9987 -display none -daemonize
Does work however.

Submitted the job that way, going to bed now, see if it's running ok in the morning.

kampari
Posts: 1
Joined: Thu Oct 17, 2013 5:02 pm

Re: Teamspeak server on Pi

Fri Oct 18, 2013 9:51 am

- im at step 7 of meigrafd instruction and nothing happens. i have changed the directory and the name of the image
qemu-system-i386 -cpu 486 -hda /home/qemu/debian.img -m 150m -smp 1 -redir tcp:9022::22 -redir udp:9055::9987 --nographic

http://www.bilder-upload.eu/upload/6fd4 ... 089649.png

http://www.bilder-upload.eu/upload/9423 ... 089822.png

- if i use "Helaas step 7"
qemu-system-i386 -cpu 486 -hda /home/qemu/debian.img -m 150m -smp 1 -redir tcp:9022::22 -redir udp:9055::9987 -display none -daemonize
also nothing

http://www.bilder-upload.eu/upload/38d5 ... 096232.png

- but wenn i only use :
qemu-system-i386 -cpu 486 -hda /home/qemu/debian.img -m 150m -smp 1 -redir tcp:9022::22 -redir udp:9055::9987

i get en error
qemu-system-i386: could not set up host forwarding rule 'udp:9055::9987'
qemu-system-i386: Device 'user' could not be initialized

sonata82
Posts: 3
Joined: Fri Oct 11, 2013 6:50 am

Re: Teamspeak server on Pi

Wed Oct 23, 2013 6:40 pm

Tried this with qemu 1.6, no luck booting Debian wheezy :(

gymjava
Posts: 1
Joined: Sat Dec 28, 2013 12:44 pm

Re: Teamspeak server on Pi

Sat Dec 28, 2013 12:52 pm

I followed the instructions of meigrafd on his site (http://199.231.94.230/), but when i try to connect via ssh to the emulated Debian image, I get this error:

ssh_exchange_identification: Connection closed by remote host

I used

Code: Select all

qemu-system-i386 -cpu 486 -hda /home/qemu/debian.img -m 150m -smp 1 -redir tcp:9022::22 -redir udp:9055::9987 -display none -daemonize
to start qemu.

I think I am stuck on this point.
If somebody has an idea how to connect to the emulated Debian system, please post a reply to help me :D

Koppis
Posts: 1
Joined: Sun Mar 23, 2014 7:09 pm

Re: Teamspeak server on Pi

Sun Mar 23, 2014 7:15 pm

I got it running now using a different version of qemu and running with this command:

Code: Select all

qemu -cpu 486 -hda debian.img -m 150m -smp 1 -redir tcp:9022::22 -redir udp:9055::9987 --nographic
Booting to the x86 Linux takes about 15 minutes and then I can ssh into it. I can't seem to get teamspeak 3 running however. This is as far as I get and then it just hangs and CPU usage stays at ~97%:

Code: Select all

root@qemusqueeze:/home/ts3user/teamspeak3-server_linux-x86# ./ts3server_minimal_runscript.sh
2014-03-23 18:28:31.567552|INFO    |ServerLibPriv |   | TeamSpeak 3 Server 3.0.10.3 (2014-01-01 16:28:39)
2014-03-23 18:28:31.989773|INFO    |ServerLibPriv |   | SystemInformation: Linux 2.6.32-5-486 #1 Fri May 10 08:01:28 UTC 2013 i486 Binary: 32bit
2014-03-23 18:28:32.285411|INFO    |DatabaseQuery |   | dbPlugin name:    SQLite3 plugin, Version 2, (c)TeamSpeak Systems GmbH
2014-03-23 18:28:32.303326|INFO    |DatabaseQuery |   | dbPlugin version: 3.7.3
2014-03-23 18:28:32.506523|INFO    |DatabaseQuery |   | checking database integrity (may take a while)
2014-03-23 18:28:40.689312|INFO    |SQL           |   | db_CreateTables() tables created

------------------------------------------------------------------
                      I M P O R T A N T
------------------------------------------------------------------
               Server Query Admin Account created
         loginname= "serveradmin", password= ""
------------------------------------------------------------------

2014-03-23 18:29:35.406054|WARNING |Accounting    |   | Unable to find valid license key, falling back to limited functionality
So far it has been running for 45 minutes, I'll leave it overnight and see if I get any errors.

EDIT: It finally launched the server software after 2 hours... But the performance is pretty bad.

jeyt
Posts: 13
Joined: Wed Apr 23, 2014 8:29 pm

Re: Teamspeak server on Pi

Thu May 01, 2014 9:49 pm

Hi,
At step 11, when i type then command and validate, i've QEMU screen and select install (or whatever).
But then, i get a black screen.


What can i do please ?

[Edit]It's OK with QEMU 32bits.

TechKno
Posts: 8
Joined: Tue Feb 04, 2014 10:49 pm

Re: Teamspeak server on Pi

Thu May 22, 2014 10:32 pm

Is there anyway you guys could compile an image with the Teamspeak 3 server is already setup?

OllyHayward
Posts: 1
Joined: Sat May 24, 2014 4:16 pm

Re: Teamspeak server on Pi

Sat May 24, 2014 4:19 pm

I get an error message when i try step 2:
I can't connect to the IP address in the command, what do i do?

User avatar
BlueShadow<3
Posts: 40
Joined: Tue Oct 07, 2014 4:51 pm
Location: Herefordshire, England
Contact: Website

Re: Teamspeak server on Pi

Tue Oct 07, 2014 6:39 pm

Just to clarify. This will host a TeamSpeak 3 server. Right? Yes I'm tight and where's the fun in renting one?


Thanks to you all In the fast response!

Thinking of buying a Model B+ soon.

See ya Around!

Shadow.
Shadow<3

meigrafd
Posts: 97
Joined: Tue May 29, 2012 9:28 am
Location: Germany

Re: Teamspeak server on Pi

Wed Oct 08, 2014 12:14 pm

OllyHayward wrote:I get an error message when i try step 2:
I can't connect to the IP address in the command, what do i do?
See some Posts above:
meigrafd wrote:
b1czu wrote:Hi, has anyone mirror for http://198.154.101.186/RaspberryPI/qemudidi2.rar? Because this link isn't working for me.
Try:

http://199.231.94.230/qemudidi2.rar

And by the way, still noone got a working Teamspeak running on the PI, also not B+

Kang
Posts: 1
Joined: Sat Nov 22, 2014 1:23 pm

Re: Teamspeak server on Pi

Sat Nov 22, 2014 1:35 pm

Hey I've got a question.
The link: 198.154.101.186/RaspberryPI/qemudidi2.rar in the 2. step isn't working anymore so I used this one: http://199.231.94.230/qemudidi2.rar. (This link is working)
And now I got the problem when I try to:

Code: Select all

unrar x qemuADLI.part1.rar
And now:

Code: Select all

UNRAR 4.10 freeware           Copyright (c) 1993 - 2012 Alexander Roshal

Cannot open qemuADLI.part1.rar
No such file or directory
No files to extract
(I installed the unrar non-free version already)

Can anyone please help me?

luttman
Posts: 1
Joined: Wed Dec 10, 2014 6:43 pm

Re: Teamspeak server on Pi

Wed Dec 10, 2014 6:51 pm

meigrafd wrote:
b1czu wrote:Hi, has anyone mirror for http://198.154.101.186/RaspberryPI/qemudidi2.rar? Because this link isn't working for me.
Try:

http://199.231.94.230/qemudidi2.rar


But another thing i have to ask:

http://qemu.weilnetz.de/w32/qemu-w32.exe

Doesnt exists anymore and when i try it with some other File like http://qemu.weilnetz.de/w32/qemu-20130616-w32.exe theres no "qemu.exe" in it.. After 2011-10-28 thats missing, but i want to use a QEMU Version as new as possible :(

When i then try it with "qemu-system-i386.exe" i get a strange error: http://www10.pic-upload.de/08.08.13/n5kk79mnyfua.png
Then i tried to overwrite sgabios.bin with http://qemu.weilnetz.de/w32/2012-06-28/sgabios.bin but than the window freeze and crashs :(

Does anyone have a working way / backup?


/EDIT: Got it by using http://www.omledom.com/pub/qemu/qemu-1. ... 2.tar.lzma and added some missing DLL's from ttp://qemu.weilnetz.de/w32/dll/

You can download it ready2go from http://199.231.94.230/

I will also upload a ready2go Debian Lenny and Squeeze Image later
Hey! when i try to make i get

(cd /home/qemu/qemu-1.6.0-rc2/pixman; autoreconf -v --install)
/bin/sh: 1: autoreconf: not found
Makefile:146: recipe for target '/home/qemu/qemu-1.6.0-rc2/pixman/configure' failed
make: *** [/home/qemu/qemu-1.6.0-rc2/pixman/configure] Error 127

im aiming high right now, but can't you uppload a sdcard image of debian with qemu working with your qemu.image_i386_debian.squeeze, i could get you some beer on paypal. :)

ttz91
Posts: 1
Joined: Fri Mar 20, 2015 6:36 pm

Re: Teamspeak server on Pi

Mon Mar 23, 2015 4:52 pm

I succeeded to launch TS3 server on qemu on PI.

But I can't access to my server using: 192.168.0.13:9055 from my windows laptop

thank you if you could help

turbo703
Posts: 1
Joined: Tue Apr 07, 2015 3:05 pm

Re: Teamspeak server on Pi

Tue Apr 07, 2015 3:08 pm

sorry i don't understand i have my raspberri pi with an os on it in the sd card i installed qemu on it, then you say that i need to make another image.. but if i make this image on another pc what do i have to do then? put the image on the sd and put it in the pi? or ?please help i really want this ts server on my raspberry pi

pUnK
Posts: 99
Joined: Mon Aug 25, 2014 3:40 pm
Contact: Website

Re: Teamspeak server on Pi

Sun Jan 31, 2016 4:17 pm

There is another emulator for x86 on arm - ExaGear Desktop. It is a bit simpler to use and works 5-10 times faster than QEMU.

Below the link how to install Teamspeak 3 Server on Raspberry Pi using ExaGear Dektop
http://eltechs.com/run-teamspeak-3-serv ... pberry-pi/
ExaGear Desktop - run x86 apps on Raspberry Pi
pUnK from Eltechs

meigrafd
Posts: 97
Joined: Tue May 29, 2012 9:28 am
Location: Germany

Re: Teamspeak server on Pi

Sat Feb 20, 2016 10:25 am

ExaGear isnt Freeware. Is there a Demo to download?

The more importend question is: does it run stable and with low latency? Only because it "runs" doesnt mean that its usable

pUnK
Posts: 99
Joined: Mon Aug 25, 2014 3:40 pm
Contact: Website

Re: Teamspeak server on Pi

Mon Feb 22, 2016 12:45 pm

On TS forum here
http://forum.teamspeak.com/threads/4880 ... post416859
there is short feedback
ExaGear Desktop - run x86 apps on Raspberry Pi
pUnK from Eltechs

DanielWEWO
Posts: 2
Joined: Wed Sep 07, 2016 5:48 pm

Re: Teamspeak server on Pi

Wed Sep 07, 2016 5:51 pm

meigrafd wrote:
b1czu wrote:Hi, has anyone mirror for http://198.154.101.186/RaspberryPI/qemudidi2.rar? Because this link isn't working for me.
Try:

http://199.231.94.230/qemudidi2.rar
This link appears to be dead as well, and I'm not willing to pay for exagear. Does anybody have a mirror for qemu?

meigrafd
Posts: 97
Joined: Tue May 29, 2012 9:28 am
Location: Germany

Re: Teamspeak server on Pi

Wed Sep 07, 2016 9:33 pm


DanielWEWO
Posts: 2
Joined: Wed Sep 07, 2016 5:48 pm

Re: Teamspeak server on Pi

Fri Sep 09, 2016 4:22 am

meigrafd wrote:Try: http://199.231.94.230/QEMU/

chears ;)

That link works thanks! I'm wondering if maybe I downloaded the wrong file though? I downloaded qemudidi2.rar and got an error during make.

Code: Select all

Makefile:4: ../config-all-devices.mak: No such file or directory
make[1]: *** No rule to make target '../config-all-devices.mak'.  Stop.
Makefile:84: recipe for target 'subdir-libhw64' failed
make: *** [subdir-libhw64] Error 2
I'm not sure if this is because I downloaded the incorrect file or not. Should I try it with qemuADLI.part1/2.rar ?


Edit: I downloaded qemuADLI.part1/2.rar and did the same thing and got this error:

Code: Select all

make[1]: *** No rule to make target '/home/pi/raspidev/qemu/vl.c', needed by 'vl.o'.  Stop.
Makefile:84: recipe for target 'subdir-libhw64' failed
make: *** [subdir-libhw64] Error 2

LollosoSi
Posts: 1
Joined: Sun Feb 18, 2018 10:51 am

Re: Teamspeak server on Pi

Sun Feb 18, 2018 10:59 am

ota-kun wrote:
Tue Jan 15, 2013 2:40 pm
Teamspeak does not support arm/Raspberry Pi as server. In some gaming communities like World of Warcraft/Germany Teamspeak is the standard server, which everyone uses. So mumble is no alternative.

As already posted (and copied here) on http://raspberrypi.stackexchange.com/qu ... k-3-server


I got Teamspeak 3 running using qemu running a x86 Debian squeeze. There is some room for improvement for sure, but for now that's what worked for me. I hope I didn't forget something.

First of all thanks to Dietmar and meigrafd of the raspberry pi forum. Without their work I wouldn't have succeeded.

**How to**

**Installing qemu**

1. We need some software `apt-get install git zlib1g-dev libsdl1.2-dev`
2. Download the source of qemu (`wget 198.154.101.186/RaspberryPI/qemudidi2.rar`) already patched by Dietmar for Raspberry pi. It is qemu 0.15.50 from Thoronir, because the support for ARM host seems to be even worse with the current version.
3. Unrar it `unrar x qemuADLI.part1.rar`. You have to use the unrar non-free version ([Link to howto][1])
4. Configure what to compile (takes about a minute)
`./configure --target-list="i386-softmmu" --enable-sdl --extra-cflags="-O3 -mfloat-abi=hard -mfpu=vfp -mcpu=arm1176jzf-s -mtune=arm1176jzf-s -march=armv6zk" --audio-drv-list="alsa oss sdl pa" --audio-card-list="ac97 es1370 sb16 cs4231a adlib gus hda"`
5. Now compile `make` (takes half an hour at least)
6. Now install `make install`
7. Now qemu is installed successfully.

**Preparing Debian Image** (using Windows as host)

8. Download and install qemu for Windows ([Link][2])

9. Download Debian netinstall image ([squeeze][3]). I used squeeze, but wheezy might be also good.

10. Create image using `qemu-img.exe create -f qcow2 G:\debian.img 1500M`(smaller size should be suffient too)

11. Install debian x86. I recommend to choose no meta package. `qemu -cpu 486 -hda G:\debian.img -cdrom G:\debian-6.0.4-i386-netinst.iso -boot d -m 512 -smp 1`

12. After installation run the qemu command again, but with some changes `qemu -cpu 486 -hda G:\debian.img -boot d -m 512 -smp 1 -redir tcp:9022::22 -redir udp:1234::9987`. -redir is used to redirect the network from the guest to the hosts ports.

13. Now install less and your favorite editor (like nano, vim,etc.) you like to use `apt-get install less vim`

14. Install OpenSSH Server `apt-get install openssh-server`

15. Install Teamspeak like you usually would do.

16. Connect to teamspeak from you windows host using localhost:1234 (remember above we redirected the port)

17. Test to connect to it via ssh/putty using localhost:9022

18. Shutdown `shutdown -hP now` the image and copy it via scp(winscp) to your pi.

**Run it on the Pi** (Use a SSH for the following commands)

19. Get the missing qemu Bios `wget -O /usr/share/qemu/sgabios.bin http://qemu.weilnetz.de/w32/2012-06-28/sgabios.bin`

20. Start it! `qemu -cpu 486 -hda debian.img -m 150m -smp 1 -redir tcp:9022::22 -redir udp:9055::9987 --nographic`

21. If you get a memory error then try it a few times.

22. If it says starting Grub then wait some minutes (it's booting in the background, but you will never get a prompt here!). Now login with a other SSH terminal to login 'ssh root@localhost -p 9022'

23. Now start Teamspeak and try to log in on port 9055 of the Pi.

24. Shutdown again the qemu guest.

25. Start it again but add -daemonize, so it runs even when you log off. I also made a [script][4] to help me.

**Performance**

My Pi is the 256 MB version overclocked to 1000 Mhz using raspi-config.

The Pi runs constantly at 70% CPU load average. It varies between 50% (using 700 MHz) and nearly 100% using 1000 MHz. But the load shows "0.77, 0.83, 0.80", which is okay.

In the future I hope to either use a native Teamspeak version (my hope is still up) or to use qemu in user mode and better performance with more current version. Time will tell :)

I have yet to test the performance of teamspeak itself, if it is usable for gaming situations. I noticed some milliseconds latence overhead, but not too much to worry yet.

[1]: http://raspberrypi.stackexchange.com/qu ... ar-nonfree
[2]: http://qemu.weilnetz.de/w32/qemu-w32.exe
[3]: http://cdimage.debian.org/debian-cd/6.0 ... etinst.iso
[4]: http://pastebin.com/a4gBVUgJ
This isn't working anymore. I followed the instructions and for newest debian (dowloaded from https://www.debian.org/CD/netinst/ at i386 link) but when I try to boot on my pc with

Code: Select all

 qemu-system-i386.exe -cpu 486 -hda D:\debianx86netinst.iso -cdrom D:\deb
iansystem.iso -boot d -m 512 -smp 1 
it says "This kernel requires an i586 CPU, but detected an i486 CPU. Unable to boot - please use a kernel appropriate for your CPU."
I'm not able to change cpu or kernel so I'm stuck here

pUnK
Posts: 99
Joined: Mon Aug 25, 2014 3:40 pm
Contact: Website

Re: Teamspeak server on Pi

Mon Feb 19, 2018 12:27 pm

You can run ts3 server with ExaGear:

1. Install ExaGear Desktop

Code: Select all

sudo apt-get update
sudo apt-get install exagear-desktop
2. Run ExaGear

Code: Select all

exagear
3. Update repos and install bzip2

Code: Select all

sudo apt-get update
sudo apt-get install bzip2
4. Create new user for ts3

Code: Select all

sudo adduser teamspeak
5. Create installation directory

Code: Select all

sudo mkdir /usr/local/teamspeak
sudo chown teamspeak /usr/local/teamspeak
6. Login as ts user

Code: Select all

su teamspeak
7. Download TeamSpeak 3 Server for Linux 32-bit and unpack it

Code: Select all

cd /usr/local/teamspeak
wget http://dl.4players.de/ts/releases/3.0.13.2/teamspeak3-server_linux_x86-3.0.13.2.tar.bz2
tar -xjvf teamspeak3-server_linux_x86-3.0.13.2.tar.bz2
rm teamspeak3-server_linux_x86-3.0.13.2.tar.bz2
8. Start ts3

Code: Select all

/usr/local/teamspeak/teamspeak3-server_linux_x86/ts3server_minimal_runscript.sh
Write down the credentials.

9. Press CTRL+C and then start the Server in the background

Code: Select all

/usr/local/teamspeak/teamspeak3-server_linux_x86/ts3server_startscript.sh start

Based on https://eltechs.com/run-teamspeak-3-ser ... pberry-pi/
ExaGear Desktop - run x86 apps on Raspberry Pi
pUnK from Eltechs

Return to “Other projects”

Who is online

Users browsing this forum: Google [Bot] and 10 guests