OpenSUSE sandbox: различия между версиями

Материал из Toshiba AC100 wiki
Перейти к навигации Перейти к поиску
(add dlna)
 
м (add lower ram usage)
 
Строка 11: Строка 11:
<pre>
<pre>
FW_SERVICES_EXT_IP="igmp"
FW_SERVICES_EXT_IP="igmp"
</pre>
==Lower ram usage==
*Switch to runlevel 3
<pre>
# ln -sf /usr/lib/systemd/system/multi-user.target /etc/systemd/system/default.target
</pre>
*Disable services
<pre>
# systemctl disable cups
# systemctl disable avahi-daemon
# systemctl disable nscd
# systemctl disable bluetooth
</pre>
*Change ntp to chrony
<pre>
# systemctl stop ntp
# zypper rm ntp
# zypper in chrony
# systemctl start chronyd
</pre>
</pre>

Текущая версия от 02:55, 28 января 2017

Enable dlna

If your dlna server in External zone, add these lines to /etc/sysconfig/SuSEfirewall2

FW_ALLOW_FW_BROADCAST_EXT="yes"
FW_IGNORE_FW_BROADCAST_EXT="no"
FW_SERVICES_EXT_TCP="8200"
FW_SERVICES_EXT_UDP="1900"

this one is questinable, but for sure required for udp/rtp multicast

FW_SERVICES_EXT_IP="igmp"

Lower ram usage

  • Switch to runlevel 3
# ln -sf /usr/lib/systemd/system/multi-user.target /etc/systemd/system/default.target
  • Disable services
# systemctl disable cups
# systemctl disable avahi-daemon
# systemctl disable nscd
# systemctl disable bluetooth
  • Change ntp to chrony
# systemctl stop ntp
# zypper rm ntp
# zypper in chrony
# systemctl start chronyd