WMB/WiFiMe howto with rt2570/rt2500usb/rt2500, Windows, No-OS, and OpenSuse Read this tutorial in Dutch!
Introduction
-
This is my howto on WifiMe-ing/WMB-ing for Windows and Knoppix (live CD so no install has to be made), and every other system that runs VMPlayer.
This part is the normal version of the rt2570 WifiMe/WMB for WIndows, Knoppix & VMPlayer.
If you have a slow system, you should use this version.
For those of you who do not know Knoppix, Knoppix is a Linux Live CD (you can run it from a CD without having installed any OS, or leaving the OS you have installed untouched).
I have made five videos showing you step by step how to set up your WMB/WifiMe using this guide (rt2570 normal and slow-system)..
In the videos I sometimes say slash when it is always(!) backslash in Linux.
These video's start (logically) from part4b/4a (starting VMplayer and booting Knoppix).
The ZIP is about 240Mb in size.
Part1: What you'll need before proceeding:
- Winzip/Winrar, or any other application capable of opening/extracting a .zip file.
- An USB wifi stick supported by the driver, with the rt2570 chipset (like the official Nintendo WiFi dongle).
Check via here, and here. I'm continuing as if you have the official Nintendo USB stick.
- The Knoppix live iso CD (only tested with version 4.0.2 -> working, rt2570 is known not to work with the latest version of knoppix (5.0.1). Mirrors
- Any official Nintendo demo (or other .nds with an official RSA).
- A working computer :).
- An USB data stick.
- My USB data stick ZIP file.
- Optional for windows use: VMplayer (only tested with original release version), you can get it here.
- Optional for windows use: My vmdk file here.
Part2: After you've downloaded and installed all neccesary files, we'll begin.
-
You will now have to choose if you will be using a Real-System (booting your computer into Knoppix with the Knoppix Live CD you have downloaded) or VMplayer (using your Windows install).
- Setting up your system/hardware; version inspecific part
- Setting up your system/hardware; VMplayer version (you can skip this part if you are using the Real-System version)
- Setting up your system/hardware; Real-System version (this part can be skipped if you use VMplayer)
- Installing the rt2570 driver and WMB app; version inspecific
I recommend using the Real-System version, this is the most stable and fast.
I only recommend the VMplayer version if you are unsure if your wireless card is supported, you can then check if it does inside Windows.
If you have the oppertunity to use the Real-System version, use that one.
I will no proceed as such:
-
First you will need to put the files from my USB zip file on your USB data stick.
On that usb stick you will also need to put a NDS demo (several demo's do not work, if you want to be safe you put more then one demo on your USB stick, one demo I know works is the Zelda Gallery).
It is important they stay in the hda1 folder, and the hda1 folder is in the root of the USB device.
Also, make sure your rt2570/rt2500usb/Nintendo-USB is not plugged in.
Part4a: Setting up your system/hardware; VMplayer version (you can skip this part if you are using the Real-System version)
-
Download the Windows specific files.
Install VMplayer, following the instructions VMplayer gives you.
----
Now that you have all the files downloaded, extract my zip file somewhere on your hard drive.
For example in c:\Knoppix.
Now open the vdmk config file with your favorite tekst editor (notepad is good, vi too). You'll see this output:
config.version = "8"
virtualHW.version = "3"
ide0:0.present = "TRUE"
ide0:0.fileName = "data.vmdk"
memsize = "256"
ide1:0.present = "TRUE"
ide1:0.fileName = "f:\vmplayer\Personal drives\knoppixnifi\cd\KNOPPIX_V4.0.2CD-2005-09-23-EN.iso"
ide1:0.deviceType = "cdrom-image"
floppy0.fileName = "A:"
ethernet0.present = "TRUE"
ethernet0.connectionType = "bridged"
usb.present = "TRUE"
sound.present = "TRUE"
sound.virtualDev = "es1371"
displayName = "TEST"
guestOS = "winxppro"
nvram = "WindowsXPPro.nvram"
scsi0:0.redo = ""
ethernet0.addressType = "generated"
uuid.location = "56 4d 93 55 f2 79 af 34-df 8c 3c 32 47 09 40 18"
uuid.bios = "56 4d 93 55 f2 79 af 34-df 8c 3c 32 47 09 40 18"
ide1:0.autodetect = "TRUE"
ethernet0.generatedAddress = "00:0c:29:09:40:18"
ethernet0.generatedAddressOffset = "0"
checkpoint.vmState = "data.vmss"
tools.remindInstall = "TRUE"
ide0:0.redo = ""
usb.autoConnect.device0 = "path:1/2/6 autoclean:1"
usb.autoConnect.device1 = "path:1/2/7 autoclean:1"
Now you'll have to edit the line:
ide1:0.fileName = "f:\vmplayer\Personal drives\knoppixnifi\cd\KNOPPIX_V4.0.2CD-2005-09-23-EN.iso"
So that the iso of your Knoppix is pointed out.
For example ide1:0.fileName = "C:\knoppix\KNOPPIX_V4.0.2CD-2005-09-23-EN.iso" if you placed the iso in c:\knoppix
Save and close the file.
Double click on the config file (now VMplayer should start up). VMplayer will ask you a question, answer with create. During the bootup, click on the VMware window to get focus, press Esc to get to the bootmenu, and select CD-rom. Now just let VMplayer boot Knoppix.
You can now start part5.
Part4b: Setting up your system/hardware; Real-System version (this part can be skipped if you use VMplayer)
-
You will need to burn the Knoppix CD (remember, it needs to be version 4.0.2, or another version with the kernel sources, if you do not know what that means go with version 4.0.2) and put it in your CD drive.
You must also insert/have inserted your USB data stick with all the needed files.
Part5: Inside Knoppix 4.0.2
-
Now that you have booted Knoppix, we will start to set up the wireless interface and the WMB tool (the WMB tool can be modified by adding a flag to send over WifiMe).
- su
- mount /dev/*the name you had to remember*
- sh /mnt/*the name you had to remember*/new_hda1/shell1 *the name you had to remember*
There should be an icon on the desktop that looks like an USB device (unplug all USB data devices but your USB data stick with the WMB/Wifime files on it/make sure that your USB data stick is the only device inserted in VMplayer).
Remember the name underneath the icon (i.e. sda1, sda2, sda3, sdb1, etc.).
You open a Konsole.
-
Type these commands:
An example would be: sh /mnt/sda4/new_hda1/shell1 sda4
When working with VMplayer, make sure the device is also inserted in VMplayer.
You can see this by looking at the button that describes your wireless device (in my case with the official Nintendo USB device a "Melco. USB device"), when this button is pressed like is in this picture your device is plugged in.
When you have made sure that your rt2570/rt2500usb (Nintendo USB device) is plugged in, you must type: sh /mnt/*the name you had to remember*/new_hda1/shell2 *the name you had to remember*.
You can now enter the command "wmb" in the Konsole and fill in all the neccesary dat/aflags.
The Flags for the wmb programm are:
- Usage: wmb [OPTION...]
A Nintendo DS WMB host -- server for ni-fi downloads
Wireless mode:
-
-i, --iface=IF_NAME The name of the wireless interface.
-
-o, --outfile=FILENAME The file to which the client will place its output.
-s, --infile=FILENAME The file from which the client will take its input.
-
-a, --genacks Generate ACK frames - if your hardware does not auto respond you will need this.
-c, --channel=CHANNEL_NUM The channel the interface is on (THIS DOES NOT TUNE THE INTERFACE TO THE CHANNEL)
-n, --name=SERVER_NAME Set the server name to the supplied string (maximum of 10 characters).
-p, --pcap=FILE_PREFIX Dump Tx and Rx frames, in pcap format, to FILE_PREFIX_tx.pcap, FILE_PREFIX_rx.pcap and FILE_PREFIX_rx_all.pcap.
-t, --interval=INTERVAL_TIME Set the interval, in microseconds (minimum 2000), between sends to the client. A smaller value means a faster
download. The default is 20000. Using a smaller value than the default with a rt2570 based USB stick can lead to instablity of the driver. Values that are too small (less than 5000 but this is system dependent) will actually cause the download to be slower.
-w, --wifime Enable WifiMe and boot the GBA flash cart/GBA media device
-?, --help Give this help list
--usage Give a short usage message
-V, --version Print program version
Serve Nintendo DS downloads over the air to anybody who asks for them.
In my shells I set your rt2570/rt2500usb/Nintendo USB device to air on channel 13, so you will have to type -c 13 behind wmb.
The flags -c and -i are obligatory, -c will always be 13 (when using my howto) and -i should always be ninusb0.
So an example would be: wmb -i ninusb0 -c 13 /mnt/sda1/new_hda1/zelda_gallery_e3_2005.nds
Note:
- The USB data device is mounted at /mnt/*the name you had to remember*.
When you point wmb to a demo you have on your USB data device, instead of putting a drive letter (like you are used to in Windows) you must place /mnt/*the name you had to remember* before putting the location (on your USB data device) of your NDS demo.
And instead of using \ to show a sub directory (in Windows), Linux uses a /.
Note:
- WMB will work for all DS systems (when using official demos), however when using VMplayer it will be unstable and the chances of an unsuccesful transfer are larger as oposed to Real-System.
WiFiMe will only work with DS systems that have firmware versions one, twoo or three, your chances of a succesful WiFiMe are also smaller when using VMplayer oposed to Real-System.
When WiFiMe-ing you must still define a NDS demo.
I hope helped you getting WMB/WifiMe to work.
-Simon van de Berg
Warning: include() [function.include]: URL file-access is disabled in the server configuration in /mounted-storage/home32c/sub002/sc25283-CZGQ/www/WMB_rt2570_normal.html on line 200
Warning: include(http://common.scorpei.com/common/license.php) [function.include]: failed to open stream: no suitable wrapper could be found in /mounted-storage/home32c/sub002/sc25283-CZGQ/www/WMB_rt2570_normal.html on line 200
Warning: include() [function.include]: Failed opening 'http://common.scorpei.com/common/license.php' for inclusion (include_path='.:/usr/share/php5/') in /mounted-storage/home32c/sub002/sc25283-CZGQ/www/WMB_rt2570_normal.html on line 200
