TJ CSL
  • TJ CSL
  • Services
    • Ion
      • Development
        • Overview
        • Setup
          • Docker Setup
          • Vagrant Setup
        • Environment
        • Fixtures
        • PR Workflow
        • Style Guide
        • Maintainer Workflow
        • Repository Maintenance
        • Data Generation
      • Production
      • User Experience
        • User Interface
    • Director
      • Development
        • Vagrant Setup
        • PR Workflow
        • Style Guide
        • Maintainer Workflow
      • Production
    • Workstations
    • Signage
      • Setup
      • Administration
      • Monitoring
      • Troubleshooting
      • Experimental
        • IonTap
        • SignageAdmin
    • Remote Access
      • Setup
      • Administration
    • Cluster
      • FAQ
      • Setup
        • SSH Setup
      • Administration
      • Slurm
      • Slurm Administration
      • Borg
    • Printing
      • Setup
      • Troubleshooting
    • WWW
      • Administration
      • Sites
        • Web Proxy
      • Setup
      • Troubleshooting
    • Academic Services
      • Tin
      • Othello
        • Administration
        • Setup
  • Technologies
    • Web
      • Nginx
      • Django
      • PHP-FPM
      • Node.js
      • Supervisord
    • DBs
      • PostgreSQL
      • MySQL
    • Authentication
      • Passcard
        • GPG Usage
      • SSHD
        • SSH Passwordless Login
      • FreeIPA
    • Storage
      • NFS
      • Ceph
        • Setup
        • Backups
        • CephFS
    • Operating Systems
      • Ubuntu Server
      • AlmaLinux
      • Debian
    • Tools
      • Ansible
      • Slack
      • GitBook
      • GitLab
        • Setup
        • Updating
    • Virtualization
      • QEMU/KVM
      • Libvirt
    • Advanced Computing
      • MPI
      • Tensorflow
    • Networking
      • Netbox
      • Cisco
      • Netboot
      • DNS
      • DHCP
      • NTP
      • BGP
    • Mail
      • Postfix
      • Dovecot
    • Monitoring
      • Prometheus
      • Grafana
      • Sentry
      • Uptime Robot
  • Machines
    • VM Servers
      • Utonium
      • Blossom
      • Bubbles
      • Buttercup
      • Antipodes
      • Chatham
      • Cocos
      • Galapagos
      • Gandalf
      • Gorgona
      • Overlord
      • Waverider
      • Torch
    • Ceph
      • Karel
      • Stobar
      • Wumpus
      • Waitaha
      • Barrel
      • Valdes
    • HPC Cluster
      • Zoidberg
    • Borg Cluster
    • Compute Sticks
    • Other
      • ASM
      • Duke
      • Snowy
      • Sauron
      • Sun Servers
        • Altair
        • Centauri
        • Deneb
        • Sirius
        • Vega
        • Betelgeuse
        • Ohare
    • Switches
      • Core0
      • Xnor
      • Xor
      • Imply
    • UPS
    • History
      • 2008 Sun AEG
      • 2011 Sun Upgrades
      • 2017 VM Disaster
      • 2018 Purchases
      • 2018 Cephpocalypse
    • VLANs
    • Remote Management
      • iLO
      • LOMs
    • Understudy
      • Switch Configuration
      • Server Configuration
        • Setting Up the Operating System
        • Network Configuration
        • Saruman
        • Fiordland
  • General
    • Sysadmins List
    • Organization
    • Documentation
      • Security
      • Runbooks
    • Communication
      • Terminology
    • Understudies
    • Account Structure
    • Machine Room
    • Branding
    • History
      • Fridge
      • The Brick
  • Procedures
    • Data Recovery
    • Account Provisioning
    • tjSTAR
      • Tech Support
    • Onboarding
      • New Sysadmin Onboarding
  • Guides
    • VM Creation
    • sshuttle Usage
    • Linux Wifi Setup
    • VNC Usage
    • Password Changes
    • Sun Server RAID Configuration
  • Policies
    • Data Release Policy
    • Upgrade Policy
    • Account Policy
    • Election Policy
  • Obsolete
    • Arcturus
    • Chuku
    • Cray SV1 Supercomputer
    • Ekhi
    • Mihr
    • Moloch
    • Sol
    • Rockhopper
    • Kerberos
    • LDAP
    • Agni
    • Moon
    • Apocalypse
    • AFS
      • OpenAFS
      • Setup
      • Client Setup
      • Administration
      • Troubleshooting
      • Directory Structure
      • Backups
      • Cross-Cell Authentication
    • Observium
    • OpenVPN
Powered by GitBook
On this page
  • Network Configuration Overview
  • Installation
  • Manual Stuff
  • Automatic Configuration
  1. Services
  2. Signage

Setup

PreviousSignageNextAdministration

Last updated 1 year ago

Network Configuration Overview

Each Signage Intel Compute Stick connects to TJ's Windows network. Each stick's MAC address is whitelisted by TJ's Tech Team to access the tjhsst network. Using and , each stick is assigned an IP on the Windows network.

Installation

In the past, Signage was a separate web application from Ion, viewed on Raspberry Pis.

Now, Signage is run on Intel Compute Sticks running Ubuntu Server with a minimal GUI.

This guide will show you how to set up a new stick.

Manual Stuff

Installing the OS

When you first get one of the , it should come pre-loaded with Windows 10 by default. If this is not the case, you probably got the wrong version of Compute Stick (the Ubuntu ones aren't powerful enough).

Prepare the Installation USBs

These steps only have to be done if there are no installation USBs around.

This guide assumes (hopefully correctly) that you know how to manage USBs on whatever computer you are using.

  1. Download the OS.

    • Head on over to Ubuntu's and download the .iso for the the latest LTS version.

  2. Put the OS on a USB.

    • On Linux or Mac, use the dd utility to flash a USB with the OS installer. On Windows, use or something to that nature.

    • Example dd command: sudo dd if=ubuntu_server-16.04.iso of=/dev/sdx progress=status, replacing sdx with the actual USB device identifier.

  3. Download the wpa_supplicant package and dependencies.

    • On an Ubuntu system with the same architecture as the Compute Stick (preferably an existing Compute Stick), use this command to download wpa_supplicant and all of its dependencies:

      apt-get download wpa_supplicant && apt-cache depends -i wpa_supplicant | awk '/Depends:/ {print $2}' | xargs apt-get download
    • On a Windows or Mac system, you will have to do this manually by tracing dependencies.

Get Configuration Files

You should clone it by running within the mounted wpa_supplicant drive

git clone git@gitlab.tjhsst.edu:signage3/cs-config.git

Boot from the OS Install Disk

  1. Plug in a keyboard into the Compute Stick.

  2. Plug the Stick into an available monitor.

  3. Turn the Stick on.

  4. As the Stick is booting, repeatedly press the F10 key until you see a boot menu.

    • If this does not work, reboot and try again.

  5. At the boot screen, select the USB as the boot device.

  6. Follow the on-screen prompts to install Ubuntu Server LTS.

    • Try to install as few extra features as possible.

    • Set the username/password as instructed by the Signage Lead. The password, however, will be changed later.

Mount the USB

Now, plug in the other installation USB (the one with the packages on it) into the Compute Stick. Mount it with

sudo mount /dev/sdxn /mnt

where sdxn is the USB partition you stored the files on. x will usually be a, and n will usually be 1.

Automatic Configuration

  • Cd into /mnt/cs-config.

  • Run ./setup_network.sh <LAST TWO DIGITS OF IP> to configure networking.

  • Reboot.

  • Check that you have internet (ping) and use ip a to check that you have been assigned an IP address.

  • Run ./setup_finish.sh to complete setup (install python basic config).

  • From your device, run the CSL Ansible play for signage (signage.yml) to configure the base of the system.

There is a GitLab which contains important scripts and config files to setup networking and an Ansible-ready system.

If you can't boot, what went wrong.

Scripts to complete initial setup of the script can be found on . You will need to copy this repository to a flash drive.

wpa_supplicant
systemd-networkd
Compute Sticks
website
Win32DiskImager
repo
Google
GitLab