View previous topic :: View next topic |
Author |
Message |
arpnuke n00b
Joined: 04 May 2005 Posts: 4
|
Posted: Sat May 28, 2005 6:21 pm Post subject: Setting up kaid for PSP use with xlink KAI |
|
|
Hi, I'm looking to setup kaid so that I can play with my PSP over the kai network (www.teamxlink.co.uk). What kai essentially does (from what I understand) is it tunnels PSP LAN games over the net. Here is a picture of their default example.
[img] http://www.nottingham.ac.uk/~cczcp1/images/psp/network.jpg [/img]
eth0 would be my net connection and ath0 (using madwifi-driver) would be my ad-hoc connection to the PSP. I don't think a wifi card can be connected to a PSP and my router at the same time, so thats why I'll be using eth0 and ath0. Anyways, Kaid is the kai daemon for linux. There are init scripts for gentoo, so I'll be using that. My question is how do I setup ath0 to auto accept ad-hoc connections (from the PSP)? |
|
Back to top |
|
|
arpnuke n00b
Joined: 04 May 2005 Posts: 4
|
Posted: Sat May 28, 2005 9:30 pm Post subject: |
|
|
I went into too much detail in first post, my question is how do I get my wifi card in ad-hoc mode? /etc/conf.d/wireless DOES have an ad-hoc thing, but I don't use that config file (/etc/conf.d/net is what I use with an added iface_ath0="dhcp" or something like that). Any tips? |
|
Back to top |
|
|
anunakin Tux's lil' helper
Joined: 31 May 2004 Posts: 101
|
Posted: Sun Oct 02, 2005 3:54 pm Post subject: |
|
|
I have a sucess with Wipeout pure but Burnout lost connection!
Lets GO!
1) I using Gentoo 2005.1 with net-wireless/wireless-tools
1) I using: KAID 7.0.0.5 and /etc/kaid.conf
2) jKaiUI like UI
3) I not using /etc/conf.d/wireless
4) My PCI wireless card is a encore with kernel module r8180 from net-wireless/rtl8180
Quote: | Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8180L 802.11b MAC |
5) I have 2 others PCI Ethernet Cards
6) My /ect/conf.d/net :
Code: |
mode_wlan0="Ad-Hoc"
config_wlan0=("192.168.8.1")
channel_wlan0="1"
#NFSU Rivals
#essid_wlan0="PSP_AULUS10007_L_"
#BurnOut Legends
essid_wlan0="PSP_AULES00125_L_BOUTLLOB"
config_eth0=( "192.168.254.1 netmask 255.255.255.0" )
config_eth1=( "192.168.0.1 netmask 255.255.255.0" )
routes_eth0=( "default via 192.168.254.254" )
|
7) My kaid.conf
Code: |
Verbosity = 3
UIBind = :34522
OrbPort = 34525
EngineBind = :5000
EnginePAT = 0
SniffDevice = wlan0
MacLearningMode = Auto
IgnoreMacs =
ConsoleMacs =
ConfigURL = www.teamxlink.co.uk/connector/clientgetconfig.php
Username = Anunakin
Password = XXXXXXXXX
AutoLogin = 0
XBoxHomebrew = 0
|
Run this at /etc/conf.d/local.start
Code: |
iptables -F
iptables -t nat -A POSTROUTING -j SNAT -o eth0 --to 192.168.254.1
echo 1 > /proc/sys/net/ipv4/ip_forward
iwconfig wlan0 mode Ad-Hoc rate auto
|
Now some explains!
U see the lines:
Code: | #NFSU Rivals
#essid_wlan0="PSP_AULUS10007_L_"
#BurnOut Legends
essid_wlan0="PSP_AULES00125_L_BOUTLLOB" |
At /etc/conf/net
Ya u need put same SSID to u PCI Wi-fi card from PSP GAME, and how to know whats? first put um PSP to use CHANNEL 01(ONE) and put u UMD and Load the Game.... go to Multiplayer and go to JOIN or HOSTING a GAME...
now at SHELL run this one:
Code: | iwlist wlan0 scanning |
U go have a result like this:
Quote: | wlan0 Scan completed :
Cell 01 - Address: 02:13:66:ED:DC:BF
ESSID:"PSP_AULES00125_L_BOUTLLOB"
Mode:Ad-Hoc
Frequency:2.412 GHz (Channel 1)
Bit Rate:1 Mb/s
Bit Rate:2 Mb/s
Bit Rate:5.5 Mb/s
Bit Rate:11 Mb/s
Quality=91/100 Signal level=-53 dBm Noise level=-256 dBm
Encryption key:off |
_________________ Anunakin (Marcus Fazzi)
PHP/Java/C++ Developer
Sony PS3 JPN 60GB, with Gentoo Linux + HDD 160GB
Sony PS2 50001, with PS2Linux, HDD 80GB |
|
Back to top |
|
|
corepl n00b
Joined: 23 Jun 2003 Posts: 2
|
Posted: Tue Oct 25, 2005 1:16 pm Post subject: KAI on gentoo + PSP + atheros wireless |
|
|
I was struggling for couple of days to make it work with my Atheros based card (on my HP nc6000 laptop and PCI wireless card in the PC).
The problem was with madwifi-driver in the portage (snapshot from April 05). I got one from madwifi.org CVS and it worked almost straight away.
Here is quick howto:
Code: |
0) stop ath0 (/etc/init.d/net.ath0 stop), unload modules from kernel and unmerge madwifi-driver
1) check out driver from CVS:
svn checkout http://svn.madwifi.org/branches/madwifi-old madwifi-old
or grab http://bartek.risp.pl/madwifi-driver-20051024.tar.bz2
2) cd to madwidi-old dir and make && make install
2.1) if you're using wpa_supplicant you have to manually copy new header files to /usr/include and reemerge wpa_supplicant
3) load modules manually or reboot
4) if you're using wpa-supplicant make sure it's not working (net.ath0 should stop it but if not kill -9)
5) read post above how to discover game's ESSID
6) issue "ifconfig ath0 192.168.199.1/24 up" (any private net NOT IN USE will do)
6.1) put PSP into "Join game" mode
7) iwconfig ath0 mode ad-hoc essid "ESSID_OF_YOUR_GAME" rate 2M
7.1) You can use tcpdump -i ath0 to see if you're getting broadcasts from the console
8) thats should do it! run kai and enjoy it |
|
|
Back to top |
|
|
|