FAQ  •  Search  •  Profile  •  Log in to check your private messages  •  Log in
 GW-USNano View next topic
View previous topic
Post new topicReply to topic
Author Message
[MRC]Link1275
Kai Beginner
Kai Beginner


Joined: 20 Jul 2011
Posts: 74

PostPosted: Sat Jan 07, 2012 10:32 pm Reply with quoteBack to top

Is it compatible with Linux computers for Xlink Kai?
View user's profileSend private message
karmic
Kai Regular
Kai Regular


Joined: 02 Jan 2006
Posts: 172

PostPosted: Sun Jan 08, 2012 11:16 pm Reply with quoteBack to top

I think it's compatible.
You need 32-bit Linux kernel, ndiswrapper and Windows driver.

_________________
XLinkKai on Linux ( http://www37.atwiki.jp/linux_kai/ )
View user's profileSend private message
giggyprince
Team XLink Moderator
Team XLink Moderator


Joined: 27 Feb 2011
Posts: 1206

PostPosted: Mon Jan 09, 2012 12:54 pm Reply with quoteBack to top

its only compatible with Windows 7(32bit/64bit) / Vista (32bit/64bit) / XP source here http://www.planex.net/product/wireless/gw-usnano.htm but give it a shot with ndiswrapper.
View user's profileSend private message
karmic
Kai Regular
Kai Regular


Joined: 02 Jan 2006
Posts: 172

PostPosted: Sat Jun 09, 2012 9:24 am Reply with quoteBack to top

Just as you say, Planex doesn't support this product in Linux. But, I have confirmed that this product worked in the following environment. This is short guide of "How to set up GW-USNano for XLink Kai on Ubuntu 12.04".
    - PLANEX GW-USNano (Wireless Chipsets: Realtek RTL8188SU, VID:2019, PID:AB28)
    - Ubuntu 12.04 i386 (3.2.0-24-generic-pae, 32-bit kernel)
    - ndiswrapper 1.57
    - Kaiengine for Linux 7.4.18
    - MONSTER HUNTER PORTABLE 3rd
    - PlayStation Portable (PSP-3000)


DISCLAIMER:
If you try any methods used on this guide you do so at your own risk.

INSTRUCTIONS:
Get the device information about GW-USNano:
Code:
lsusb

Code:
Bus 001 Device 002: ID 2019:ab28 PLANEX GW-USNano

Confirm native module for GW-USNano:
Code:
lsmod | grep r8712u

Code:
r8712u                163845  0

List native module:
Code:
modprobe -l | grep r8712u

Code:
kernel/drivers/staging/rtl8712/r8712u.ko

After disabling an interface, unload native module for GW-USNano:
Code:
sudo ifconfig wlan0 down
sudo modprobe -r r8712u

Add the following 1 line to module blacklist file:
Code:
sudo nano /etc/modprobe.d/blacklist.conf

Code:
blacklist r8712u

Delete the following 2 lines from udev net rules file:
Code:
sudo nano /etc/udev/rules.d/70-persistent-net.rules

Code:
# USB device 0x2019:0xab28 (usb)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:22:cf:32:db:27", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan0"


Install "ndiswrapper" package:
Code:
sudo apt-get install ndiswrapper-common ndiswrapper-utils-1.9 ndiswrapper-dkms

Add the following 1 line to modules file:
Code:
sudo nano /etc/modules

Code:
ndiswrapper

Create alias directive:
Code:
sudo ndiswrapper -m

Load ndiswrapper module:
Code:
sudo modprobe ndiswrapper

Make sure it has loaded correctly:
Code:
lsmod | grep ndiswrapper

Code:
ndiswrapper           192268  0

Get more information about ndiswrapper module:
Code:
modinfo ndiswrapper | head -10

Code:
filename:       /lib/modules/3.2.0-24-generic-pae/updates/dkms/ndiswrapper.ko
license:        GPL
version:        1.57
description:    NDIS wrapper driver
...


Get the latest version of the Windows driver for GW-USNano (Realtek RTL8188SU) from Realtek' website:
Code:
http://www.realtek.com.tw/downloads/

Unzip the driver archive you have just downloaded (e.g. in your downloads directory):
Code:
unzip RTL8188SU_AutoInstallPackage.zip

Find the Windows XP driver in the resulting directory:
Code:
ls -l

Code:
-rw-rw-r-- 1 USER USER  14333  Aug 19  2011 net8192su.cat
-rw-rw-r-- 1 USER USER  29687  Aug 11  2011 net8192su.inf
-rw-rw-r-- 1 USER USER 606440  Aug 11  2011 rtl8192su.sys

Install Windows XP driver to ndiswrapper:
Code:
sudo ndiswrapper -i net8192su.inf

Make sure it has installed correctly:
Code:
ndiswrapper -l

Code:
net8192su : driver installed
    device (2019:AB28) present (alternate driver: r8712u)

Edit ndiswrapper configuration file for GW-USNano:
Code:
sudo nano /etc/ndiswrapper/net8192su/2019:AB28.F.conf

Code:
...
Channel|1        either 1, 6 or 11
...
PSPXlinkMode|1        1 is enable
...


Configure an interface to connect GW-USNano to PSP:
Code:
sudo ifconfig wlan0 down
sudo iwconfig wlan0 mode ad-hoc
sudo iwconfig wlan0 channel 1
sudo iwconfig wlan0 essid PSP_AULJM05800_L_MHP3Q000
sudo ifconfig wlan0 up

Make sure it has configured correctly:
Code:
sudo ifconfig wlan0

Code:
wlan0     Link encap:Ethernet  HWaddr 00:22:cf:32:db:27
          inet addr:169.254.7.134  Bcast:169.254.255.255  Mask:255.255.0.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:366 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2042 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:75740 (75.7 KB)  TX bytes:167953 (167.9 KB)

Get more information about “wlan0”:
Code:
sudo iwconfig wlan0

Code:
wlan0     IEEE 802.11g  ESSID:"PSP_AULJM05800_L_MHP3Q000"
          Mode:Ad-Hoc  Frequency:2.412 GHz  Cell: 02:E0:B4:88:87:B4
          Bit Rate=11 Mb/s   Tx-Power:20 dBm   Sensitivity=0/3
          RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality:78/100  Signal level:-46 dBm  Noise level:-96 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

Configure the value of kaiAdapter in XLink Kai user configuration file:
Code:
sudo nano kaiUserConfig.txt

Code:
...
# Network adapter (!=autodetect)
kaiAdapter=wlan0
...


Known issues:
- In the case of ubuntu 12.04 amd64 (64-bit kernel), ndiswrapper and Windows 64-bit driver doesn't work. When ndiswrapper module loads Windows driver, Ubuntu hangs up. xD
- Cannot play SSID swapping games.

Thanks

_________________
XLinkKai on Linux ( http://www37.atwiki.jp/linux_kai/ )
View user's profileSend private message
Display posts from previous:      
Post new topicReply to topic


 Jump to:   



View next topic
View previous topic
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group :: Theme by Daz :: All times are GMT