Skip to content

Install

macmpi edited this page Sep 18, 2025 · 5 revisions

Alpine Install / OpenRC service

Package can be installed from community repository (edge if not available in specific release):
apk add xg_multi

xg_multi may be run from command-line (check options) with admin privileges:
doas xg_multi

Running as a service:

Eventually set default parameters editing /etc/conf.d/xg_multi

Start service:
rc-service xg_multi start

Enable service at boot:
rc-update add xg_multi boot

Network settings for the interface (typically usbn) can be configured with setup-interfaces (or setup-alpine).

To leverage serial connection for console login at boot, user may choose to either:

  • modify /etc/inittab and add ttyGS0::respawn:/sbin/getty -L 115200 ttyGS0 vt100
  • install agetty as follows:
    apk add agetty
    ln -s /etc/init.d/agetty /etc/init.d/agetty.ttyGS0
    rc-update add agetty.ttyGS0 boot

xg_multi service will start before networking and agetty.ttyGS0 services at next reboot.

Clone this wiki locally