PDA

Bekijk de volledige versie : Run Xlink Kai on the Wl500g



remixme
04-01-2005, 20:50
Didn't know if anyone is interested in this but the xlink kai engine seems to run fine on the wl500g.

For those puzzled about what kai actually is wonder over to http://www.teamxlink.co.uk/
I recommend you try the WinXP client/server before attempting this, and you will need to register your xtag.

Seemed quite simple to get running, I copied over the files to my usb hdd, entered the directory and ran
./kaid

I already have kaid installed and the win xp install includes the java client, just run the kai config tool, and select the options listed in the screen shot below.

Then select from your start menu; start kai, when the java ui pops up select file --> settings

Enter your router ip as the engine address, and the port (usually 34522), as well as your xtag details

Then you can hit attach engine and login to see the arena, please note I have not tested this with a console yet as it is in bits at the moment! :-)

MrMagu
06-01-2005, 00:07
Thanks! I got it working "out of the box". (At least I could connect, didn't try any games). I did it without downloading the Windows application. I used the latest version of XBox MediaCenter to connect.

remixme
06-01-2005, 12:56
Good to hear it!, I have actually managed to play a few games last night using the kai engine.

There are some things that need to be noted however, afaik this engine is still a work in progress; sometimes it segfaults when looking for orbital mesh, restarting the client and engine is normally enougth to cure this however.

The kaid.conf included already seems to be setup correctly, with br0 as the interface listed, you should include the mac address of your console in this file in the usual colon seperated format. If you are using an xbox ensure that you use the correct one, some programs available seem to give a dummy mac address. If in doubt check the dhcp lease in the router pages.

Also it might be an idea to turn wondershaper off/adjust it to take into account this service, as upload ping is all important, and too much lag will kill (you, in halo2 etc!) your gaming experience.

If you have any questions please make sure that you got the engine/client working on the pc with your xbox wired to you're network before attempting anything more advanced.

Happy Gaming!

WlanMan
07-01-2005, 01:01
Very Nice :)

Brearich
27-01-2005, 01:11
Hi
this is great news - what firmware do I need to be running on my WL500g and which files from teamxlink did you use?
Thanks

miraculix
11-05-2005, 06:27
Do you know if there is any chance to get this working on a wl300g? I saw this link (http://www.teamxlink.co.uk/kaistation/) on the xbox-scene.com yesterday and it got my hops up! Do any of you know?

Styno
11-05-2005, 07:31
Do you know if there is any chance to get this working on a wl300g? I saw this link (http://www.teamxlink.co.uk/kaistation/) on the xbox-scene.com yesterday and it got my hops up! Do any of you know?
Well, you can always try and find out...and report back here.

miraculix
17-05-2005, 08:04
Well I gave it a try. First i tried to fit it onto my flashram but it did not work so I did this workaround.
First I copied the files to my xbox.
Then I made this post-boot script.


#!/bin/sh
wget ftp://<username>:<pass>@<xboxip>/e/kaid -O /usr/local/sbin/kaid;
wget ftp://<username>:<pass>@<xboxip>/e/kaid.conf -O /usr/local/sbin/kaid.conf;
chmod +X /usr/local/sbin/kaid;
/usr/local/sbin/kaid -d -c /usr/local/sbin/kaid.conf;

now it works as long as I have my xbox running when rebooting the router :).

The other link seemed to need to be compiled into the firmware. I don't realy feel sure how to do this maybe something for Oleg to include....

Oleg
17-05-2005, 10:33
Could you please post a link to kaid source and binary?

macsat
17-05-2005, 10:40
Could you please post a link to kaid source and binary?

http://www.teamxlink.co.uk/

Oleg
17-05-2005, 10:46
yes, already found it. no sources, just big binary.
well, adding it to firmware is not a big deal (without config UI), but it would eat much space from flash, so this needs to be an option.
Probably we need online firmware builder. :)

pastor
17-05-2005, 19:27
Can't get it working :(

Downloaded the binaries and unpacked them to my usb harddisk ( i changed nothing in the kaid.conf), started with ./kaid. Everything seemed to work, but every time my xbox tried to connect, kaid stopped with segmentation fault error. Tried it some time, in a forum I found that this shouldn't happen with


$FULLPATH/kaid -c $FULLPATH/kaid.conf

but that didn't work either. So downloaded the binaries once more and since then I always get:



KAID: Kai Engine for KaiStation is initialising...
KAID: No orbitals servers are available...
KAID: Abnormal Kai Engine Termination...


Anyone an idea whats wrong?

miraculix
18-05-2005, 14:06
The source I was refering to was http://www.teamxlink.co.uk/kaistation/
I do not realy know if this is what you need but it looked to me like it was a description on what to do. :)

The kaid & kaid.conf I'm using i found on http://www.zbit.pt/kai/mips/fs/etc/kaid.conf and http://www.zbit.pt/kai/mips/fs/usr/bin/kaid but there is also a download availible on www.teamxlink.co.uk if you klick download and choose linux mips :)

SpAwN
23-05-2005, 02:08
Is there a way to make a custom firmware for this? Like they did for the Linksys routers.

I think you guys mean this source package (http://www.teamxlink.co.uk/binary/7005base.zip) for all platforms, posted at Xlink Kai (http://www.teamxlink.co.uk/news.php) homepage as news

It would make us n00bs a lot easier to run kai on our WL-500g, I have no idea how to load those config files, only experience I have with Linux is logging on my psyBNC and eggdrop configs with SSH that’s all.

The commands looks like familiar but not clear enough for me if it’s not possible to make a firmware, maybe someone is kindly to make a step by step tutorial for us.

I would love to run kai without my PC right from my router, I think more guys would use it here once its explained or made a firmware for it so you can put the info on the config page.

miraculix
23-05-2005, 07:16
@Oleg - For me it would be ok to handle the files the way I do with post-boot script but I would love the Config UI

@Pastor - To make it work U need to edit the kaid.conf so that kaid knows youre xbox mac-address.


# ConsoleMacs : You can and should specify your console(s) mac address(es)
# here. They'll be used as pcap filters reducing CPU loading
# processing each packet. It will also avoid sniffing
# incoming/injected packets to be caught. Format must be
# standard tcpdump format: Ex.: 00:ff:dd:5b:31:ac
# You can specify more than a mac address in a ; separated
# list. Will be parsed and "OR'ed" in filter. List should end
# with ";" or last element will be discarded.
ConsoleMacs = 00:50:f2:d4:f2:03;

@spawn - Everything you need is in this thread. :) :) :)
Download the two files kaid and kaid.conf.
Edit kaid.conf to fit your needs.
Make the files avalible on your rtr. On usb drive or in memory.
Start kaid in post-boot script.
goodluck! :)

remixme
03-06-2005, 18:35
I'm glad to see plenty of people got this working. I myself hadn't had much chance to use it since I wrote the tutorial.

Now I find myself a few of Oleg's firmware revisions on, having wiped my usb stick for something else; now wishing that it was flashed into the firmware. lol.

Unfortunetely the size of kaid at 1.17 meg is large, and unlike the wrt54g I seem to remember that we are more pushed for flash space, because of usb etc.

Maybe someone could make clear what features we would have to drop out of Olegs custom firmware to make room for it. I have some time on my hands so I could take a look. But I'd like to know if it is worth the effort first! :)

bashulaojia
04-09-2005, 02:34
I'm glad to see plenty of people got this working. I myself hadn't had much chance to use it since I wrote the tutorial.

Now I find myself a few of Oleg's firmware revisions on, having wiped my usb stick for something else; now wishing that it was flashed into the firmware. lol.

Unfortunetely the size of kaid at 1.17 meg is large, and unlike the wrt54g I seem to remember that we are more pushed for flash space, because of usb etc.

Maybe someone could make clear what features we would have to drop out of Olegs custom firmware to make room for it. I have some time on my hands so I could take a look. But I'd like to know if it is worth the effort first! :)

With the PSP having hit stores on the first of September across Europe, I guess a lot of folks out there are wondering if there wasn't a way we could get kaid implemented into Olegs custom firmware. I am thinking about maybe having a special "kaid-wl500g(x)-custom-firmware-release" for all us PSP fanatics out there who a too noobed to compile their own. ;)

Any comments or thoughts on that?

bashulaojia
06-09-2005, 16:57
Hi everyone,

I have tried all night to get KaiStation/Kai up and running on my Asus Wl500gx router (Olegs 1.9.2.7-5a firmware). In the end, all that's left is trying to seek help from the forum.

From what I understand and have read on others forums, there should basically be three ways to get this work.

1. Compiling a new firmware, based on the sources right here. http://www.teamxlink.co.uk/binary/7005base.zip
This option is beyond my knowledge of Linux and compiling.

2. Begging Oleg to implement KaiStation into one of his custom firmwares.
This would probably require a special version of his custom firmware, since the KaiStation seems to take up quite a lot of space.

3. Downloading the linux version of Kai (kaid4linuxmips) from the Xlink Website, copying the two files (kaid and kaid.conf) to a usb harddrive that's attached to the router. Editing the kaid.conf file to match the MAC of my PSP and then having Kai started in a post-boot script every time the rooters boots. I suppose one could then also get Kai set up via the Windows Java Applet??
This way seems to be the easiest to realize. One wouldn't even have to flash the firmware of the router. Problem is that I am a complete noob when it comes to Linux. Therefore I would really appreciate of someone out there could give me some pointers in the right direction.

Thanks for your help guys!!!

BLAST3R
27-10-2005, 19:51
With the PSP having hit stores on the first of September across Europe, I guess a lot of folks out there are wondering if there wasn't a way we could get kaid implemented into Olegs custom firmware. I am thinking about maybe having a special "kaid-wl500g(x)-custom-firmware-release" for all us PSP fanatics out there who a too noobed to compile their own. ;)

Any comments or thoughts on that?
That's a very good idea if you ask me! I can't seem to get it to work.. So i would really appreciate that. But im running on OpenWRT, so can someone post a post-boot script.. Cuz mine is giving errors.. This is the text i get if i excecute my command.

This is my command i use to start:

/opt/xlink/kaid -c /opt/xlink/kaid.conf;

As response i get:

KAI: Reading settings from /opt/xlink/kaid.conf
'.NFIG: Config: Unknow directive '
'.NFIG: Config: Unknow directive '
'.NFIG: Config: Unknow directive '
'.NFIG: Config: Unknow directive '
'.NFIG: Config: Unknow directive '
'.NFIG: Config: Unknow directive '
'.NFIG: Config: Unknow directive '
'.NFIG: Config: Unknow directive '
CONFIG: Downloading settings from http://www.teamxlink.co.uk/connector/clientget...fig.php
CONFIG: 8 orbital(s) available...
KAI: Kai for KaiStation now starting...
KAI: Failed to bind to :34522
KAI: The provided Address is already in use

KAI: Listening for UI's on :34522
KAI: Added 2 device(s) to engine cache.
PKTSNIFF: Setting up packet sniffer...
'. pcap error was 'ioctl: No such device'.
Try using 'br0' as SnifferDevice
Segmentation fault

What is wrong with my conf file.. Or whats wrong with my command?

macattec
23-10-2006, 11:30
hi guys!

i followed the xlink kai tutorials in this forum - especially that one: http://wl500g.info/showthread.php?t=1428&highlight=kai

running the engine on my pc works great but xlink won´t run on my wl-500gp. im loading kaid and kaid.conf with the post-boot script. when starting it says:
KAID: Kai Engine for KaiStation is initialising...
WARNING: Unable to open engine persist data file (/tmp/kaiEnginePersist.txt)
KAID: Kai Engine for KaiStation is starting...
THREAD: Engine thread started...
User defined signal 1

i played around with the config settings but it won´t run. the firmware i´m using is: WL500gp-1.9.2.7-7f-pre7.trx
hw configuration: wl500gp => adsl modem
i turned off the firewall and upnp.
it would be great if someone would post his config file so i can compare the settings. please tell me if there are any specific router settings to make this thing work.

thx
mac

macattec
23-10-2006, 20:30
it seems that the latest mips version won´t run on the router. after some research i found a solution: use kaistation_kaid and the corresponding config file which can be found here:
www.ju1c3.com/kaistation_kaid
www.ju1c3.com/kaid.conf

have fun!
mac

pinkfloyd
08-01-2008, 14:05
any updates on this ? I want to install Kai on my 500gp so I can use my psp with it...any help????

pinkfloyd
08-01-2008, 21:32
someone running xlink kai on the 500gp with Oleg firmware please ?

any tutorial ? seems there is one in the Russian section but I dont understand russian :(

Serpent
09-01-2008, 14:44
You can use Babel Fish Translation:
http://babelfish.altavista.com/

pinkfloyd
09-01-2008, 22:02
I did but it comes all messed up and I am a newbie on linux

I installed dd-wrt on the 500gp but even if it has kai enabled in the firmware it does not work with my psp

adek24
15-02-2010, 21:32
Hi
How know how install server Xlink Kai and connect from PC to this server and configuration to psp and x360 (without XboxMedia)
Please help
I install Xlink but in log have:

-- Started logging: 15 February 2010 08:56:26 PM --
KAID: Kai Engine is Daemonizing...
KAID: Kai Engine for KaiStation is initialising...
WARNING: Unable to open engine persist data file (/tmp/kaiEnginePersist.txt)
KAID: Kai Engine for KaiStation is starting...
THREAD: Engine thread started...
KAID: Failed to create UI socket...