|
|
| Line 31: |
Line 31: |
| | ===From Precompiled Binary=== | | ===From Precompiled Binary=== |
| | | | |
| - | It even may work on a LS2 (MIPSel) because binaries exist for both architectures. The only problem is that there is no static binary for the MIPSel.<ref>[http://forum.linkstationwiki.net/index.php?action=vthread&forum=6&topic=730 The Linkstation Community Forum / Linkstation HG (ppc) / XLINK Kai]</ref> For your LS1 or HG download the "Linux PPC (static)" binary from here: <ref> http://teamxlink.co.uk/downloads.php - XLink Kai: Evolution VII - Downloads</ref> | + | It even may work on a LS2 (MIPSel) because binaries exist for both architectures. The only problem is that there is no static binary for the MIPSel.<ref>[http://forum.linkstationwiki.net/index.php?action=vthread</ref> |
| - | wget http://www.teamxlink.co.uk/binary/kaid-ppc-static-libc-2.3.zip
| + | |
| - | 1) decompress it to get the real binary
| + | |
| - | unzip kaid-*
| + | |
| - | 2) Move it to /usr/local/sbin
| + | |
| - | mv kaid-static* kaid
| + | |
| - | mv kaid /usr/local/sbin
| + | |
| - | chmod 755 /usr/local/sbin/kaid
| + | |
| - | | + | |
| - | ===Compiling from source===
| + | |
| - | <font color=red> can someone place proper instructions in here for this?</font>
| + | |
| - | | + | |
| - | | + | |
| - | http://texas.teamxlink.co.uk/forum/viewtopic.php?t=12396&sid=99495cf5a5e93864a5520a9d813af5b5
| + | |
| - | | + | |
| - | There is a link for the kaid sources in there. Or you can find it here :
| + | |
| - | | + | |
| - | http://www.teamxlink.co.uk/binary/
| + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | ===Scripts and configuration files===
| + | |
| - | | + | |
| - | ====/etc/init.d/kaid====
| + | |
| - | | + | |
| - | #! /bin/sh
| + | |
| - | export USER="root"
| + | |
| - | NAME=kaid
| + | |
| - | start()
| + | |
| - | {
| + | |
| - | mkdir /var/misc
| + | |
| - | touch /var/misc/kaiSystemConfig.txt
| + | |
| - | touch /var/misc/kaiEnginePersist.txt
| + | |
| - | chmod ugo+w /var/misc/kaiSystemConfig.txt
| + | |
| - | chmod ugo+w /var/misc/kaiEnginePersist.txt
| + | |
| - | su - $USER -c"kaid"
| + | |
| - | }
| + | |
| - | stop()
| + | |
| - | {
| + | |
| - | su - $USER -c"killall kaid"
| + | |
| - | }
| + | |
| - | case "$1" in
| + | |
| - | start)
| + | |
| - | echo -n "Starting Kaid: "
| + | |
| - | start
| + | |
| - | ;;
| + | |
| - | stop)
| + | |
| - | echo -n "Stopping Kaid "
| + | |
| - | stop
| + | |
| - | ;;
| + | |
| - | restart)
| + | |
| - | echo -n "Restarting Kaid "
| + | |
| - | stop
| + | |
| - | start
| + | |
| - | ;;
| + | |
| - | *)
| + | |
| - | echo "Usage: /etc/init.d/$NAME {start|stop|restart}"
| + | |
| - | exit 1
| + | |
| - | ;;
| + | |
| - | esac
| + | |
| - | exit 0
| + | |
| - |
| + | |
| - | Create a symbolic link to start kaid at every reboot and kill it at every shutdown automaticly:
| + | |
| - |
| + | |
| - | chmod 755 /etc/init.d/kaid
| + | |
| - | ln -s /etc/init.d/kaid /etc/rc.d/rc0.d/K99kaid
| + | |
| - | ln -s /etc/init.d/kaid /etc/rc.d/rc2.d/S99kaid
| + | |
| - | ln -s /etc/init.d/kaid /etc/rc.d/rc6.d/K99kaid
| + | |
| - | | + | |
| - | ====/etc/kaid.conf====
| + | |
| - | | + | |
| - | you only have to put in your username/password and copy it to <tt>/etc/kaid.conf</tt>
| + | |
| - | | + | |
| - | ################################################################################
| + | |
| - | # Kai Engine Configuration File (7.0.0.6-a)
| + | |
| - | #
| + | |
| - | # This file contains the configuration options for Kai Engine.
| + | |
| - | # There are some fields which can be modified, the descriptions of these fields
| + | |
| - | # and their default values are listed below
| + | |
| - | #
| + | |
| - | #
| + | |
| - | # Verbosity : Debug output verbosity. Options are as follows:
| + | |
| - | # 0 - Silent apart from starting / stopping messages, and init failures.
| + | |
| - | # 1 - As 1, but shows import events such as UI attach/detach, console detection,
| + | |
| - | # orb connection / loss.
| + | |
| - | # 2 - As 2, but more detailed, showing thread start/stop events, DHCP
| + | |
| - | # events, and other important information.
| + | |
| - | # 3 - Debug - same as 2, but with lots of extra information - useful
| + | |
| - | # for diagnosing segfaults etc.
| + | |
| - | Verbosity = 1
| + | |
| - | #
| + | |
| - | # User : Specifies which system user to switch to after having
| + | |
| - | # allocated necessary privileged resources. (FreeBSD Only!)
| + | |
| - | User = daemon
| + | |
| - | #
| + | |
| - | # UIBind : Specifies which ip/port kaid will use to listen for controller
| + | |
| - | # UIs. You don't want to change this.
| + | |
| - | UIBind = :34522
| + | |
| - | #
| + | |
| - | # OrbPort : Specifies which port kaid will use to probe(UDP) and talk to
| + | |
| - | # Orbitals (TCP) . You don't want to change this.
| + | |
| - | OrbPort = 34525
| + | |
| - | #
| + | |
| - | # OrbDeepPort : Specified which port kaid will use to probe and talk to
| + | |
| - | # deep resolution servers. You don't want to change this.
| + | |
| - | OrbDeepPort = 34523
| + | |
| - | #
| + | |
| - | # EngineBind : Specifies the IP:port to listen for the engine (UDP socket);
| + | |
| - | # (port should be forwarded in your router if using NAT)
| + | |
| - | # Ex.: 69.69.69.69, 69.69.69.69:37500, :37500
| + | |
| - | EngineBind = :0
| + | |
| - | #
| + | |
| - | # EngineDeepBind : Specifies the IP:port to listen for the engine (deep resolution)
| + | |
| - | # Do not enable this unless directed to.
| + | |
| - | # EngineDeepBind must be a different port than EngineBind if
| + | |
| - | # they use the same IP address
| + | |
| - | # Ex.: 69.69.69.69, 69.69.69.69:37501, :37501
| + | |
| - | EngineDeepBind = :0
| + | |
| - | #
| + | |
| - | # Engine PAT : Tells the orbital server to use your perceived UDP port, as opposed to the
| + | |
| - | # one specified in EngineBind. Ignored if EngineBind is 0. Please don't turn this
| + | |
| - | # setting to 1, unless directed to do so in a troubleshooting session.
| + | |
| - | EnginePAT = 0
| + | |
| - | #
| + | |
| - | # SniffDevice : NIC to sniff for console traffic (eth0, ethX, ...). Will be used
| + | |
| - | # for packet injection too.
| + | |
| - | # Ex.: eth0 (default), en0 (Mac OSX), br0 (WRT54G)
| + | |
| - | SniffDevice = eth0
| + | |
| - | #
| + | |
| - | # LocalDevices : How many consoles to detect before the engine locks the pcap filter. Setting this to 0,
| + | |
| - | # means the engine will never lock - which means you can use any number of consoles, but
| + | |
| - | # you will notice a performance hit, if your network is busy with other traffic. The best
| + | |
| - | # thing to do here is to set the number to the number of consoles you own - that's why it
| + | |
| - | # defaults to 1 - because most people have just 1 console.
| + | |
| - | LocalDevices = 1
| + | |
| - | #
| + | |
| - | # ConfigURL : URL where orb list is published (and extra stuff) - best not to mess with this.
| + | |
| - | ConfigURL = www.teamxlink.co.uk/connector/clientgetconfig.php
| + | |
| - | #
| + | |
| - | # ConfigCache : Location of cached orb list - this file is used if the ConfigURL is inaccessible
| + | |
| - | # Make sure this file is writable. WRT54G users might want to change it to a non-volatile
| + | |
| - | # location if that feature is available in their firmware
| + | |
| - | # (i.e. /jffs/tmp/ for DD-WRT, /usr/local/ for Sveasoft)
| + | |
| - | ConfigCache = /var/misc/kaiSystemConfig.txt
| + | |
| - | #
| + | |
| - | # CacheFile : Location of Kai engine cache information
| + | |
| - | # Make sure this file is writable. WRT54G users might want to change it to a non-volatile
| + | |
| - | # location if that feature is available in their firmware
| + | |
| - | # (i.e. /jffs/tmp/ for DD-WRT, /usr/local/ for Sveasoft)
| + | |
| - | CacheFile = /var/misc/kaiEnginePersist.txt
| + | |
| - | #
| + | |
| - | #Authentication : Set username and password and AutoLogin=1 for an easy life...
| + | |
| - | Username =<font color = red>XXXXXXXXX</font>
| + | |
| - | Password =<font color = red>XXXXXXXXX</font>
| + | |
| - | AutoLogin = 1
| + | |
| - | #
| + | |
| - | # Xbox DHCP setting : Please leave alone, unless playing with emulators or DoomX etc. You DO NOT need this set to 1
| + | |
| - | # to use XBMC as a dashboard - setting it to 1 will *break* your dashboards internet connectivity.
| + | |
| - | XBoxHomebrew = 0
| + | |
| - | | + | |
| - | ==== Linksys WRT54G router script ====
| + | |
| - | ''Note: I have tested the script with the DD-WRT SP2 VPN firmware; please add any additional routers to the list below''
| + | |
| - | | + | |
| - | Works on:
| + | |
| - | - Linksys WRT54G
| + | |
| - | +- DD-WRT V2.3 SP2
| + | |
| - | | + | |
| - | Add below script to the "Startup script" in your router:
| + | |
| - | cd /tmp
| + | |
| - | wget http://genotix.nl/kai/runme.script
| + | |
| - | chmod +x ./runme.script
| + | |
| - | ./runme.script
| + | |
| - | | + | |
| - | This command downloads and runs the above script.
| + | |
| - | | + | |
| - | I've made it resonnably generic so it should work on most MIPS CPU based routers with linux
| + | |
| - | and with the following tools installed:
| + | |
| - | * sh (default shell)
| + | |
| - | * wget
| + | |
| - | * awk
| + | |
| - | * sed
| + | |
| - | * tar
| + | |
| - | | + | |
| - | Feel free to alter the base script and please let me know of the changes if you do.
| + | |
| - | Contact me at: eric at genotix dot nl
| + | |
| - | | + | |
| - | ==XLink Kai: Evolution VII QuickStart Guide==
| + | |
| - | <ref>http://teamxlink.co.uk/quickstart.php - XLink Kai: Evolution VII QuickStart Guide</ref>
| + | |
| - | ===[http://teamxlink.co.uk/quickstart.php#step1 Register an XTag]===
| + | |
| - | ===[http://teamxlink.co.uk/quickstart.php#step2 Download / Install Kai]===
| + | |
| - | ===[http://teamxlink.co.uk/quickstart.php#step3 Setup your Network / Firewall]===
| + | |
| - | ===[http://teamxlink.co.uk/quickstart.php#step4 Log in]===
| + | |
| - | ===[http://teamxlink.co.uk/quickstart.php#step5 Check Kai Diagnostics]===
| + | |
| - | ===[http://teamxlink.co.uk/quickstart.php#step6 Navigate and Play!]===
| + | |
| - | | + | |
| - | ==References==
| + | |
| - | <references/>
| + | |
It even may work on a LS2 (MIPSel) because binaries exist for both architectures. The only problem is that there is no static binary for the MIPSel.[2]