XLink Kai Raspberry Pi Beginners Tutorial

Similar documents
RETROPIE INSTALLATION GUIDE

How do I setup a Raspberry Pi?

Preparing SD card for Pi

5inch HDMI LCD (B) User Manual

Adafruit's Raspberry Pi Lesson 1. Preparing an SD Card for your Raspberry Pi

Wallet Installation Guide for Staking on Raspberry PI

Adafruit's Raspberry Pi Lesson 6. Using SSH

This tutorial will guide you how to setup and run your own minecraft server on a Linux CentOS 6 in no time.

Raspberry Pi NTP Clock Setup Guide

Experiments 1 How to set up Raspberry Pi B+ The little computer you can cook into DIY tech projects

Spreedbox Getting Started Guide

WIFI MEDIA PLAYER QUICK SETUP GUIDE

Raspberry Pi 3 Model B+ and JMRI with WiFi Access Point for Pi- SPROG One and Pi-SPROG Nano raspian-stretch build

Digital Free Library. Created by Kirby Griese. Last updated on :35:15 PM UTC

Lab 0: Intro to running Jupyter Notebook on a Raspberry Pi

Adafruit's Raspberry Pi Lesson 1. Preparing an SD Card for your Raspberry Pi

Experimental Procedure. Frequently Asked Questions (FAQ) Kit General Questions. Setting Up and Using Your Raspberry Pi Projects Kit

Bluetooth Keyboard Setup Instructions

BASICS OF PORT FORWARDING ON A ROUTER

#Uncomment the second line to enable any form of FTP write command. #write_enable=yes

Click on a link below for additional information.

Raspberry Pi 2b PART 1. Table of Contents. Step by step guide. 1. Hardware (0:05) RS Online (ex-tax prices)... 3 MSY ebay...

Manual of ET-LCD SW HAT

Raspberry Pi Setup Tutorial

linkzone User ManUal

Configure router. 26. Start AirPort Utility (located in the Utilities folder). The AirPort Utility window show a component diagram:

Home Airwaves Radio. User s Guide. January 2017

MEDIAZONE PRO PLAYER INSTALLATION GUIDE

NETGEAR genie Apps. User Manual. 350 East Plumeria Drive San Jose, CA USA. August v1.0

Touch Dynamic Quest II 7 - Tablet Staging Setup

PiCloud. Building owncloud on a Raspberry PI

enablegames New User Guide v1.0

Building a standalone access point using a Raspberry Pi Zero W

Remote GUI access to a Linux computer using Tightvnc

You will need to know the IP address or the hostname of the pi (as discussed above) to continue and login to your pi via putty over Ethernet.

Contents. Crave Masternode Setup Guides. Single / Multiple Local Masternode(s) Single Masternode using a VPS. Multiple Masternodes using a VPS

Action Items SYSTEM REQUIREMENTS

Addonics T E C H N O L O G I E S. mini NAS. Model: NAS25HDU Key Features

Windows XP Remote Control Explained

7 inch Capacitive Touch Screen LCD, HDMI interface, resolution, supports various systems.

Setup Guide for Hard-Wire Ethernet Connected TP-Link TL-WR841N 300 Mbps Wireless N Router AARP Foundation Tax-Aide Colorado Technology Specialist

Getting started with Raspberry Pi (and WebIoPi framework)

How to Make a Raspberry Pi Web Server

KACCTV4CHA Networking Guide

WISP Setup Guide for TP-Link TL-WR841N 300 Mbps Wireless N Router AARP Foundation Tax-Aide Colorado Technology Specialist

Ps3 Set Ip Address Windows 7 Computer Static Local

First Time Setup Guide

Getting Started Guide XC9010 Raspberry Pi Starter Kit

When the player powers up you will first see a CeeNee loading screen followed by the Orchid screen seen below.

Users Guide for Orb Control Panel Orb Networks, Inc.

Installation with a DSL Connection.

Sigma Tile Workshop Guide. This guide describes the initial configuration steps to get started with the Sigma Tile.

BREEZE PLAYER INSTALLATION GUIDE FOR THE AAEON MOTHERBOARD

Intel Core i5 or higher 2.2 GHz CPU or higher 8GB RAM or higher Windows 10 Professional

Topics. What is a RaspberryPi? Why should I want one? What is Raspbian? What is SSH? What is FTP? What is LAMP? Making a LAMP Stack!

BrightSign User Manual

Pianoteq 6 Raspberry Pi 3 Station. By Edgar Bustamante

Port Forwarding & Case Study

Procedure to Upgrade Verizon FiOS Router and Configure Xbox 360 to connect with Microsoft USB WiFi Adapter

Contents. Note: pay attention to where you are. Note: Plaintext version. Note: pay attention to where you are... 1 Note: Plaintext version...

Installing the Operating System or Hypervisor

Wireless Printing Updated 10/30/2008 POLICY. The use of Wireless Networking is not permitted at any site for full client/server networking of Taxwise.

OGST Console Kit for ODROID-XU4

USER MANUAL: 4G. The PiIoT is a WAN communications board which provides a 2G / 3G / 4G

Dell IoT Gateway 5500 Edge MicroServer Setup Guide

Point of View SmartTV-500 Center - Android 4.2. General notices for use...2 Disclaimer...2 Box Contents...2

USB 3.0 Docking Station

KODO Controller. Remote Access. Hutech Corporation Atlantic Ocean Dr., Unit B-17. Lake Forest, CA

Setup Instructions for Upgrading the Windows XP Panasonic CF-19 Toughbook to Windows 7

O ptima S aver P i. User Guide. January 2017 Version 1.0

Brother HL-5370DW Configuration

Lab Zero: A First Experiment Using GENI and Jacks Tool

Appliance Guide. Version 1.0

Atlas iot. Installation guide V 1.0

Lab Zero: A First Experiment Using GENI and Jacks Tool

ACE Live on RSP: Installation Instructions

Raspberry Pi as a VPN Wireless Access Point

IoTivity Development on ARTIK 530s

Rapoo E6700 Setup Instructions

Adafruit NFC/RFID on Raspberry Pi

A Step by Step Guide to Installing VPN on Raspberry Pi. Whitepaper

Centurion Technologies

Ps3 Set Ip Address Windows 7 Command Line

Setting up the Seagate D4 NAS with Hard Disk Sentinel Pro. By Gary Ryan. Adapted from:

Adafruit PiUART - USB Console and Power Add-on for Raspberry Pi

Firmware zippack name : R exe Firmware File Name : Dell1815dn_V _AutoUpgrade.exe

SMC Barricade Routers

Lab - Remote Desktop in Windows 8


10.1inch HDMI LCD (B) User Manual

Raspberry Pi 3 Model B and JMRI with WiFi Access Point for Pi-SPROG One and Pi-SPROG Nano raspian-jessie build

Wireless HDMI Display Receiver User s Manual

SmartCash SmartNode Setup Guide v1.2. Windows 10. Date: 13/01/2018. By (Jazz) yoyomonkey

Different ways to use Kon-Boot

SmartCash SmartNode Setup Guide V1.2 Windows 10 13/01/2018 By (Jazz) yoyomonkey Page 1

Lab - Connect to a Router for the First Time

Run an X-Carve CNC Machine Wirelessly with a Raspberry Pi

BeagleBone Black: Installing Operating Systems

iridium Server for Raspberry Pi

Usage Notes 1.0 USAGE 2.0 GETTING STARTED. 1.1 Connecting the device. 2.1 Turn on the device

Transcription:

XLink-Kai-Raspberry-Pi-Beginners-Tutorial.md XLink Kai Raspberry Pi Beginners Tutorial Hi! This tutorial will guide you through setting up XLink Kai on a Raspberry Pi to play multiplayer system link Xbox games (also known as LAN mode) online. If you've never used a Raspberry Pi, or played on XLink Kai before then this is the tutorial for you! Before you begin Before you get started there are a few things you will need: An internet connection and router that you can log into the configuration pages (more on this later) A laptop or desktop computer A Raspberry Pi model 1b/2/3 with protective case, power supply, and micro SD card (8GB or larger) USB keyboard and mouse A Xbox console, controller, AV cables, and a system link compatible game 2 network cables (sometimes called patch cords) (Optional) A cell phone to control XLink kai, otherwise you can use a computer To help you follow along here is the hardware we will be using: Router: Linksys E1200, a very typical router Laptop: Thinkpad with windows 7 Raspberry Pi 3 Raspberry Pi 3 protective case 2.5A Raspberry Pi power supply HDMI cable, to connect the Raspberry Pi to the television for setup Nexus 5 Android cell phone A copy of the game Halo 2, which supports system-link multiplayer 1. Network set up

For Xlink kai to function you cannot use WiFi between the device running XLink (a Raspberry Pi in this case) and your game console, as such this tutorial will use wired connections with network cables. A common residential home network is shown below with internet connection, router, wired computer, and a cell phone on the Wifi Later on in this tutorial we will show you how to game wirelessly with the Raspberry Pi on your WiFi connection 2. Raspberry Pi hardware The hardware of the Raspberry Pi isn't very complicated, lets get started with unboxing and installing it inside the protective case. 1. Raspberry Pi 3, Power supply, and protective case still in their boxes

2. Unboxed 3. Assembled 3. Raspberry Pi software 1. Much like a regular computer the Raspberry Pi will need an operating system running on it before we can install any other programs, like XLink. Head on over to the raspbian website and grab a copy of the latest image "Raspbian with Desktop". We will be using Raspbian 'stretch' which downloads as a file named 2017-11-29-raspbian-stretch.zip 2. Once the download finishes insert the Micro SD card in your computer. You might need a USB reader if you don't have an SD slot 3. Download and run Etcher. Select from your hard drive the Raspbian file you just downloaded, select your SD card, and click Flash

4. Once Etcher finishes flashing Raspbian to your micro SD card remove it and install it in your Raspberry Pi as shown below 5. Connect the Raspberry Pi to your network using a network cable, connect the keyboard and mouse and plug in your HDMI cable between the Pi and your TV

6. After your Pi finishes booting up you should be at the Raspbian desktop. Open the raspberry menu, go to Preferences, then open Raspberry Pi Configuration 7. Check Wait for Network. This means the Pi will wait to start the desktop, and XLink, until you have a network connected 8. Enable SSH and VNC. This will allow you to remotely control the Pi without needing a TV/Keyboard/Mouse attached later on 9. When prompted reboot the Pi 4. Installing XLink Kai From this point forward you have two options: Use the keyboard/mount and your TV to configure XLink Kai, or do it remotely via SSH connection ver the network. Some people find the SSH method easier. 4a. Installing XLink Kai via Desktop

1. Click the globe icon on the top bar to open the web browser, go to http://teamxlink.co.uk and click Downloads. Select the Raspberry Pi version in the dropdown menu and click the Download button. 2. Click the folders icon to open the file manager. Navigate to the /home/pi/downloads folder. Right click the XLink Kai download and choose Extract Here 3. Open the newly created folder. Right click kaiengine and choose Properties

4. Click the Permissions tab and change Execute to Only Owner or Anyone. Click OK 5. Click the black terminal icon in the top bar to open a terminal. Type the following and press Enter after each line: i. cd Downloads ii. cd kaiengine-7.4.31/ You might have a different XLink Kai version, adjust this to match iii. sudo mkdir /root/.xlink Enter raspberry if prompted for a password. This creates the configuration folder iv. sudo./kaiengine This starts the XLink Kai engine 6. XLink Kai is now running 4b. Installing XLink Kai via SSH 1. Determine what IP address your Raspberry Pi has on your network. This can be done from the Raspbian desktop, a terminal by running ifconfig or by looking at your router's status pages. Shown below is how to determine your IP address via the desktop by mousing over the Network Manager. In this case the IP is 192.168.1.141

2. Download a SSH client such as PuTTY and use it to connect to your Raspberry Pi's IP address. Enter the address in the Host Name box and click Open 3. Click Yes to accept the SSH key when prompted. 4. Log in as the user pi with the password raspberry 5. It is a good idea to change the password used to log in, if you want you can change it type passwd and press enter. Follow the prompts. 6. Before getting XLink Kai running we need to install a few extra programs that are not included in raspbian by default. Run the following command to install nano, wget and screen: `sudo apt-get update && sudo apt-get install nano wget screen` 7. Download XLink Kai using wget: `wget http://cdn.teamxlink.co.uk/binary/kaiengine-7.4.31-rev606.headless.arm.tar.gz` change this link to get the latest version. You may need to 8. Extract the file: `tar zxvf kaiengine-7.4.31-rev606.headless.arm.tar.gz` 9. Move kaiengine to your home directory: mv kaiengine-7.4.31-rev606.headless.arm/kaiengine /home/pi/ 10. Make the kaiengine file executable: chmod +x kaiengine 11. Create the configuration directory: sudo mkdir /root/.xlink Enter raspberry (or the password you set) if prompted for a password. 12. Run the XLink Kai engine: sudo./kaiengine 5. Configuring XLink Kai to start automatically on boot or if it crashes 1. Open a terminal via the desktop or SSH to your Pi 2. Before getting XLink Kai running automatically we need to install a few extra programs that are not included in raspbian by default. Run the following command to install nano, wget and screen: `sudo apt-get update && sudo apt-get install nano wget screen` 2. If you installed XLink using the Desktop method in step 4a move the kaiengine executable to your home directory: mv Downloads/kaiEngine-7.4.31/kaiengine /home/pi/ 3. Open a new file called launchkai.sh using nano: nano launchkai.sh 4. Enter the following exactly: while true; do /home/pi/kaiengine sleep 1 done 5. Save the file by pressing CTRL O and accepting the file name by pressing Enter. Press CTRL X to close it 6. Make the launchkai.sh file executable: chmod +x launchkai.sh

7. Edit the system launch script sudo nano /etc/rc.local 8. Insert a new line near the end of the file just above the line that says exit 9. Add this to the new line: sudo screen -DmS kaiengine /home/pi/launchkai.sh 10. Save the file by pressing CTRL O and accepting the file name by pressing Enter. Press CTRL X to close it 11. Your Raspberry Pi will now automatically start XLink Kai when turned on and will restart kai if it crashes. 12. Reboot your Pi to enable the changes 6. Configuring XLink Kai Now that XLink Kai is running on your Raspberry Pi it is time to configure it 1. Accessing the XLink Kai Web UI 2. Going forward it is recommended to use XLink Kai's web interface from either a computer or cell phone rather than the Raspberry Pi desktop. To do so you will need to know the IP address of your Raspberry Pi on your network. This can be done from the Raspbian desktop, a terminal by running ifconfig or by looking at your router's status pages. Shown below is how to determine your IP address via the desktop by mousing over the Network Manager. In this case the IP is 192.168.1.141 Once you have the IP address go to http://192.168.1.141:34522/ (Your address will be different) using a computer or cell phone on your local network or WiFi 3. If you would prefer to continue using the desktop to use XLink Kai click the globe icon on the top bar to open the web browser, and go to http://127.0.0.1:34522/. 4. Click Configure XLink Kai 5. 6. Enter 30000 as the Port

7. Enter your XTag (XLink Username) and password if you want to use the automatic login feature 8. Click Save 9. The kai engine will automatically restart within 5 seconds 7. Configuring your router's firewall for port forwarding To be able to connect to other players with XLink Kai your router needs to let the game traffic through its firewall to the static IP of your Raspberry Pi and then to kaiengine. How you have to do this varies wildly by router manufacturer and often by ISP. Please use the guides on the Team XLink forums and portforward.com to forward port 30000 UDP to the IP of your Raspberry Pi. Here are instructions for Linksys routers like the E1200: 1. Log into the configuration page at http://192.168.1.1/ with the default username and password of admin 2. On the main page click DHCP Reservation

3. Check the box next to the row for your Raspberry Pi and click Save Settings. Your Raspberry Pi will now always have the same IP address. 4. Click Applications & Gaming. Enter XLink Kai as the Application name and 30000 for the internal and external ports. Enter the IP address assigned to your Raspberry Pi and check the Enabled check box. Click Save Settings 8. Connecting your Xbox 1. The keyboard, mouse, and television arn't needed for the Raspberry Pi any longer, only power and the network connection.

2. Connect your Xbox to your router with a network cable just like the Raspberry Pi 3. Launch your Xbox game, navigate to the system-link multiplayer section and start looking for matches 9. Joining a match 1. Open the XLink Kai Web UI on a computer/phone near your Xbox for ease of use when gaming by following Section 6 step 1 2. Log in to XLink Kai if prompted 3. You are now in General Chat. In this area you can chat with other users and send private messages to your friends on XLink

4. Click Game Arenas to enter the play area. Navigate through the menu tree to find the game you want to play. 5. Before joining a game for the first time we need to do one last check to make sure everything is working. Click Metrics at the top of the screen. You should see Reachable: Yes indicating that port forwarding worked correctly.

Scroll down in the Metrics window and check that your Xbox was detected.

6. You should now see available matches within your game and be able to join. 7. Happy gaming! 10. Wireless XLink Kai gaming (Optional) Many users often find it difficult or impossible to run a network cable from their Xbox to their router and would prefer to game wirelessly. Unfortunately the Xbox doesn't play nicely with most WiFi adapters but using a Raspberry Pi it is easily possible. If you have a Raspberry Pi model 3 you have built in wireless support, otherwise you will need to use a USB WiFi adapter plugged into one of your Pi's USB ports. 1. With a keyboard, mouse, and television connected to your Raspberry Pi click on the network icon in the top bar. Select the WiFi network you want to connect to and enter the password when prompted. 2. Follow section 7: Configuring your router's firewall for port forwarding to update your firewall with your Raspberry Pi's WiFi IP address, it is different than the wired interface IP address. 3. Reboot your Raspberry Pi to force the kaiengine to restart with your new network configuration

4. Connect your Xbox directly to the Raspberry Pi with a network cable 5. Follow section 9. Joining a match to confirm connectivity is functional 6. Enjoy your new wireless freedom, game on!