Differences
This shows you the differences between two versions of the page.
en:calaos_os [2014/08/20 22:32] cedric created |
en:calaos_os [2016/01/13 20:28] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== CALAOS-OS ====== | ||
- | Calaos-OS is a Linux distribution derived from Yocto/ | ||
- | |||
- | Available software package are disable by default and need to be activated on the the first use. | ||
- | |||
- | ==== Available software ==== | ||
- | |||
- | * calaos-server | ||
- | * calaos-home | ||
- | * calaos-webapp | ||
- | |||
- | ===== Configuration ===== | ||
- | |||
- | ==== SSH Console ==== | ||
- | For setting up Calaos-OS you need to connect using SSH to your Calaos server. | ||
- | |||
- | [[en: | ||
- | |||
- | |||
- | ==== Commands ==== | ||
- | === systemctl === | ||
- | |||
- | Calaos-OS us [[http:// | ||
- | |||
- | systemctl enable calaos-server | ||
- | systemctl disable calaos-server | ||
- | |||
- | Or for calaos-home: | ||
- | systemctl enable calaos-home | ||
- | systemctl disable calaos-home | ||
- | |||
- | === journalctl === | ||
- | |||
- | This command is used to see system log for every services. You can see the logs of calaos-server: | ||
- | |||
- | journalctl -lu calaos-server | ||
- | |||
- | You can also see calaos-home log (less useful in general, but can help for some cases): | ||
- | |||
- | journalctl -lu calaos-home | ||
- | |||
- | === Setting up network interfaces === | ||
- | |||
- | Calaos-OS use now " | ||
- | connmanctl services | ||
- | To display the list of network interfaces. For example " | ||
- | The manual configuration is done via the following command: | ||
- | |||
- | connmanctl config ethernet_000c29f63a80_cable --ipv4 manual 192.168.0.100 255.255.255.0 192.168.0.254 | ||
- | Replace the interface name using the one listed by the first command. | ||
- | |||
- | |||
- | === calaos_config === | ||
- | |||
- | The first run of calaos-server will automatically create the configuration files in / | ||
- | |||
- | | ||
- | |||
- | The important file is / | ||
- | |||
- | <?xml version=" | ||
- | < | ||
- | < | ||
- | < | ||
- | < | ||
- | < | ||
- | < | ||
- | < | ||
- | < | ||
- | </ | ||
- | |||
- | They can be changed by the following commands: | ||
- | |||
- | | ||
- | | ||
- | |||
- | To properly setup calaos options (like user name, password, mail server), you must use **calaos_config**. | ||
- | |||
- | [[en: | ||
- | |||
- | ==== Connecting the screen ==== | ||
- | |||
- | === RS232 touch screen === | ||
- | |||
- | You can use a RS232 touch screen panel with either an RS232 port on the mainboard or using an Serial< | ||
- | |||
- | To use the serial port, you need to activate a systemd service: | ||
- | |||
- | For an Serial< | ||
- | systemctl enable usb-serial-touchscreen@ttyUSB0 | ||
- | | ||
- | For an integrated serial port: | ||
- | systemctl enable usb-serial-touchscreen@ttyS0 | ||
- | |||
- | === USB touchscreen === | ||
- | |||
- | An USB touchscreen panel will be automatically detected when pluged in. No further action is required. If it doesn' | ||
- | |||
- | ==== Calibrating the touchscreen ==== | ||
- | |||
- | To calibrate the screen, you need to run the following command: | ||
- | |||
- | DISPLAY=:0 xinput_calibrator | ||
- | |||
- | Then you need to look and interact with the screen as asked. Once done, you need to go back to the console and take note of the returned values. | ||
- | |||
- | You should then create a file **90-calib.conf** with the following content: | ||
- | |||
- | Section " | ||
- | Identifier | ||
- | MatchProduct | ||
- | Option | ||
- | Option | ||
- | EndSection | ||
- | |||
- | The XXXX and YYYY values must be replaced with the one returned by xinput_calibrator. | ||
- | |||
- | Once this file has been created, you need to move in into **/ | ||
- | |||
- | Now you can restart the server. |