# Raspberry Pi Dedicated Issue

**URL:** <https://discourse.ioquake.org/t/raspberry-pi-dedicated-issue/831>\
**Category:** support\
**Created:** [March 11, 2017, 4:43am UTC](https://discourse.ioquake.org/t/raspberry-pi-dedicated-issue/831 "2017-03-11T04:43:12Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![ellisgl](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.ioquake.org/ellisgl/32/216_2.png) [@ellisgl](https://discourse.ioquake.org/u/ellisgl)\
**Post date:** [March 11, 2017, 4:43am UTC](https://discourse.ioquake.org/t/raspberry-pi-dedicated-issue/831/1 "2017-03-11T04:43:12Z")

</div>

When running ioq3ded.arm, it’s not really updating the master servers.  
I put in a bug request on gh: [https://github.com/raspberrypi/quake3/issues/8](https://github.com/raspberrypi/quake3/issues/8) but maybe it’s a pebkac error.

---

<div class="post-metadata">

**Author:** ![zturtleman](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.ioquake.org/zturtleman/32/718_2.png) [@zturtleman](https://discourse.ioquake.org/u/zturtleman)\
**Post date:** [March 11, 2017, 5:32am UTC](https://discourse.ioquake.org/t/raspberry-pi-dedicated-issue/831/2 "2017-03-11T05:32:06Z")

</div>

This old version of ioquake3 doesn’t properly handle communicating with masters with IPv4 disabled. It’s fixed in ioquake3 git master.

`net_enabled 2` only enables IPv6. The server uses [NA\_UNSPEC to get a IP address for master](https://github.com/raspberrypi/quake3/blob/master/code/server/sv_main.c#L263) and gets an IPv4. Then when it goes to send it, the server doesn’t have an IPv4 address and [drops it](https://github.com/raspberrypi/quake3/blob/master/code/qcommon/net_ip.c#L627).

Try `net_enabled 3` instead to enable both IPv4 and IPv6.

---

<div class="post-metadata">

**Author:** ![MrNuclearMonster](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.ioquake.org/mrnuclearmonster/32/820_2.png) [@MrNuclearMonster](https://discourse.ioquake.org/u/MrNuclearMonster)\
**Post date:** [March 11, 2017, 5:46am UTC](https://discourse.ioquake.org/t/raspberry-pi-dedicated-issue/831/3 "2017-03-11T05:46:20Z")

</div>

we can’t update or fix that fork of ioquake3, unfortunately.

---

<div class="post-metadata">

**Author:** ![ellisgl](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.ioquake.org/ellisgl/32/216_2.png) [@ellisgl](https://discourse.ioquake.org/u/ellisgl)\
**Post date:** [March 11, 2017, 6:23am UTC](https://discourse.ioquake.org/t/raspberry-pi-dedicated-issue/831/4 "2017-03-11T06:23:08Z")

</div>

Would be nice if RPI support was added into the main. =/

---

<div class="post-metadata">

**Author:** ![MrNuclearMonster](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.ioquake.org/mrnuclearmonster/32/820_2.png) [@MrNuclearMonster](https://discourse.ioquake.org/u/MrNuclearMonster)\
**Post date:** [March 11, 2017, 6:26am UTC](https://discourse.ioquake.org/t/raspberry-pi-dedicated-issue/831/5 "2017-03-11T06:26:49Z")

</div>

I await a suitable pull request.

---

<div class="post-metadata">

**Author:** ![ellisgl](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.ioquake.org/ellisgl/32/216_2.png) [@ellisgl](https://discourse.ioquake.org/u/ellisgl)\
**Post date:** [March 12, 2017, 4:28am UTC](https://discourse.ioquake.org/t/raspberry-pi-dedicated-issue/831/6 "2017-03-12T04:28:14Z")

</div>

What version of SDL is needed?  
There’s a fork - which I can’t get to compile (couldn’t find the SDL.h file - which I tried 1.2.x beta and 2.2.x): [https://github.com/twolife/ioq3](https://github.com/twolife/ioq3)

---

<div class="post-metadata">

**Author:** ![MrNuclearMonster](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.ioquake.org/mrnuclearmonster/32/820_2.png) [@MrNuclearMonster](https://discourse.ioquake.org/u/MrNuclearMonster)\
**Post date:** [March 12, 2017, 4:32am UTC](https://discourse.ioquake.org/t/raspberry-pi-dedicated-issue/831/7 "2017-03-12T04:32:23Z")

</div>

we use SDL 2 now, that version is probably using SDL 1.2.12 or something old like that.

---

<div class="post-metadata">

**Author:** ![Cdev](https://avatars.discourse-cdn.com/v4/letter/c/8797f3/32.png) [@Cdev](https://discourse.ioquake.org/u/Cdev)\
**Post date:** [March 12, 2017, 4:46am UTC](https://discourse.ioquake.org/t/raspberry-pi-dedicated-issue/831/8 "2017-03-12T04:46:55Z")

</div>

I was able to update that fork last summer with the current version of ioq3 and got it to compile.

---

<div class="post-metadata">

**Author:** ![ellisgl](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.ioquake.org/ellisgl/32/216_2.png) [@ellisgl](https://discourse.ioquake.org/u/ellisgl)\
**Post date:** [March 12, 2017, 5:21am UTC](https://discourse.ioquake.org/t/raspberry-pi-dedicated-issue/831/9 "2017-03-12T05:21:19Z")

</div>

I did find this -[https://github.com/ilmen-sandbox/ioquake3\_dedicated\_server](https://github.com/ilmen-sandbox/ioquake3_dedicated_server) - haven’t tried to compile yet.

---

<div class="post-metadata">

**Author:** ![Cdev](https://avatars.discourse-cdn.com/v4/letter/c/8797f3/32.png) [@Cdev](https://discourse.ioquake.org/u/Cdev)\
**Post date:** [March 12, 2017, 5:26am UTC](https://discourse.ioquake.org/t/raspberry-pi-dedicated-issue/831/10 "2017-03-12T05:26:50Z")

</div>

Let me know if you need any help. I can post the Makefile and [raspberrypi.sh](http://raspberrypi.sh) script if you need those. I did a git merge on the fork this afternoon and there’s only three files that have a conflict.

---

<div class="post-metadata">

**Author:** ![ellisgl](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.ioquake.org/ellisgl/32/216_2.png) [@ellisgl](https://discourse.ioquake.org/u/ellisgl)\
**Post date:** [March 12, 2017, 5:43am UTC](https://discourse.ioquake.org/t/raspberry-pi-dedicated-issue/831/11 "2017-03-12T05:43:26Z")

</div>

So it looks like [https://github.com/ilmen-sandbox/ioquake3\_dedicated\_server](https://github.com/ilmen-sandbox/ioquake3_dedicated_server) uses the old code. =(  
Really trying to push for IPv6 stuff. =)

---

<div class="post-metadata">

**Author:** ![ellisgl](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.ioquake.org/ellisgl/32/216_2.png) [@ellisgl](https://discourse.ioquake.org/u/ellisgl)\
**Post date:** [March 12, 2017, 5:44am UTC](https://discourse.ioquake.org/t/raspberry-pi-dedicated-issue/831/12 "2017-03-12T05:44:19Z")

</div>

Hey - anything to push one of the greatest games out to all platforms is good. Keeping it updated it better. =)

---

<div class="post-metadata">

**Author:** ![zturtleman](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.ioquake.org/zturtleman/32/718_2.png) [@zturtleman](https://discourse.ioquake.org/u/zturtleman)\
**Post date:** [March 12, 2017, 6:06am UTC](https://discourse.ioquake.org/t/raspberry-pi-dedicated-issue/831/13 "2017-03-12T06:06:39Z")

</div>

fwiw I neglected to mention that the official Q3 and ioq3 master servers do not have an IPv6 address. [dpmaster.deathmask.net](http://dpmaster.deathmask.net) does, which might be useful for testing IPv6-only server but probably not many people look for Q3 servers there. If you want the default master servers to work, you have to use `net_enabled 3` (for IPv4+IPv6) instead of `net_enabled 2` (for IPv6) even if you update to latest ioq3 code.

---

<div class="post-metadata">

**Author:** ![ellisgl](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.ioquake.org/ellisgl/32/216_2.png) [@ellisgl](https://discourse.ioquake.org/u/ellisgl)\
**Post date:** [March 12, 2017, 6:37am UTC](https://discourse.ioquake.org/t/raspberry-pi-dedicated-issue/831/14 "2017-03-12T06:37:44Z")

</div>

I thought IOQ master supported IPv6. If I do net\_enabled 3 - but only have the IPv6 firewall would it still work?!

---

<div class="post-metadata">

**Author:** ![Cdev](https://avatars.discourse-cdn.com/v4/letter/c/8797f3/32.png) [@Cdev](https://discourse.ioquake.org/u/Cdev)\
**Post date:** [March 12, 2017, 11:16am UTC](https://discourse.ioquake.org/t/raspberry-pi-dedicated-issue/831/15 "2017-03-12T11:16:39Z")

</div>

That sounds good…

---

<div class="post-metadata">

**Author:** ![zturtleman](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.ioquake.org/zturtleman/32/718_2.png) [@zturtleman](https://discourse.ioquake.org/u/zturtleman)\
**Post date:** [March 12, 2017, 10:51pm UTC](https://discourse.ioquake.org/t/raspberry-pi-dedicated-issue/831/16 "2017-03-12T22:51:49Z")

</div>

I don’t know. I am not knowledgeable about firewalls.

---

<div class="post-metadata">

**Author:** ![ellisgl](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.ioquake.org/ellisgl/32/216_2.png) [@ellisgl](https://discourse.ioquake.org/u/ellisgl)\
**Post date:** [March 13, 2017, 11:57pm UTC](https://discourse.ioquake.org/t/raspberry-pi-dedicated-issue/831/17 "2017-03-13T23:57:29Z")

</div>

Firewalls = allow/deny. Some allow you port map (great if you only have 1 address - IPv4 - or you need to force a change of an external port number to another, if the host application can’t change which port it’s on).

In my case, I could map the server via IPv4, but I don’t want to, I want to be an IPv6 only host.

---

<div class="post-metadata">

**Author:** ![ellisgl](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.ioquake.org/ellisgl/32/216_2.png) [@ellisgl](https://discourse.ioquake.org/u/ellisgl)\
**Post date:** [March 28, 2017, 7:34pm UTC](https://discourse.ioquake.org/t/raspberry-pi-dedicated-issue/831/18 "2017-03-28T19:34:12Z")

</div>

Cdev: Did you ever post that stuff up on Github?

---

<div class="post-metadata">

**Author:** ![ellisgl](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.ioquake.org/ellisgl/32/216_2.png) [@ellisgl](https://discourse.ioquake.org/u/ellisgl)\
**Post date:** [August 3, 2017, 6:58am UTC](https://discourse.ioquake.org/t/raspberry-pi-dedicated-issue/831/19 "2017-08-03T06:58:57Z")

</div>

Cdev: Had any time targeting the Raspberry Pi platforms?

---

<div class="post-metadata">

**Author:** ![Cdev](https://avatars.discourse-cdn.com/v4/letter/c/8797f3/32.png) [@Cdev](https://discourse.ioquake.org/u/Cdev)\
**Post date:** [August 5, 2017, 8:45pm UTC](https://discourse.ioquake.org/t/raspberry-pi-dedicated-issue/831/20 "2017-08-05T20:45:44Z")

</div>

Yes, I’ve put a lot of time into this over the past three months. It’s a lot of work for one person but it’s nearly complete. I’ll post a link to GitHub when it’s ready.

[Next page](https://discourse.ioquake.org/t/raspberry-pi-dedicated-issue/831.md?page=2)
