gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

DS Flash Equipment > VMplayer, Knoppix, Windows and WMB using rt2570 usb devices

#78747 - masscat - Sun Apr 09, 2006 12:06 pm

People over on the dslinux forums have got the linux WMB host program and rt2570 driver running on Knoppix running under Vmplayer on Windows. It does work as I have tried it.
So you Windows users can now use your rt2570 wireless devices to WMB/wifime without even leaving your desktop.

Please post questions and the like to the dslinux forum thread as I am not actively developing this approach and am just posting to let people know.

http://www.dslinux.org/index.php?showtopic=1425

#78754 - Fling - Sun Apr 09, 2006 2:57 pm

A nice addition to that (which I don't think was mentioned, sorry if it was, I haven't tried what they mention in that thread yet either), is to set up Samba so you can easily access part of the filesystem inside VMware/VMplayer via Windows Shares. What I do is develop with Visual Studio, but part of my Makefile automatically copies the NDS over to the Windows share, then it's just as simple as re-running the WMB host to broadcast the new NDS.

I'm by no means a Linux pro or anything, but I've been doing the above with VMware Workstation 5.5.1 running Gentoo Linux 2.6.15-r1. Never used Knoppix so I'm not sure how easy it would be to set up a Samba server to allow access to the Linux virtual disk via Windows shares.

EDIT: Perhaps I should try out the stuff he provided to get it going... from the screenshots seeing "/mnt/sda4" looks like he's doing something similar (maybe not Windows shares, but something else.

EDIT2: Nevermind, apparently I overlooked it in a reply post where he mentions using a USB stick. :P Well whatever, just so you all know, Windows Shares is another way heh.

#79936 - iceman7 - Mon Apr 17, 2006 10:17 am

i want to try the "windows share"way...can you explain me that way?

#79967 - TJ - Mon Apr 17, 2006 7:44 pm

You just setup a Samba share on the Linux system.

Though it seems if you were going to go though all this trouble, with the VMWare setup and Samba shares, it would be easier to just install Slackware or something on an old computer, and put the WiFi card in that computer with the same Samba shares.

#80069 - Scorpei - Tue Apr 18, 2006 3:56 pm

Glad you all like my bit of VM-ing :).
I agree it would be easier to just install a real system, but for people that don't have a spare system (like I do :D) this could be very usefull.
I'm also using it quite frequently now, since I can't seem to be able to write to my CF correctly via Linux.
Anyways, enjoy the VM-ing, and check the site since there is a howto there and may make it a bit easier for some people :).

-Scor
www.simonvandeberg.be/nifi

*If you can write a nice bit of script that brings up a general samba server (since it's VMplayer it should be okay for everyone) I'll add it to my vmdk image. Good idea for some people (but it does require a bit more Linux knowlidge). I do feel that it may be a bit more system/network specific (which is why I choose for the use of a USB-stick), perhaps the easiest way would be to explain how people can add their .nds file to the VMDK image and howto make a shell script that automaticaly runs the WMB with that .nds file.

#82844 - scopeuk - Wed May 10, 2006 6:59 pm

just a thought but for windows shares once knoppix is loaded
share a folder as normal under windows
sudo mkdir /nifi
sudo mount -t smbfs //server/folder /nifi
press enter at the password prompt (assuming standard configuration)
cd /nifi
hack away

#84430 - Xtonic - Mon May 22, 2006 2:54 pm

I dont use the Nintenod USB sticj, so i have a problem doing that. In the site http://masscat.afraid.org/ninds/rt2570.php
they say for me to change a line, (mine is D-LinK9 but i dont know how to change it, becuase after i chnage it i cant extract, and i dont know what to do after making that step, can any1 help me plz ?

Thanks in advance

#86400 - Scorpei - Tue Jun 06, 2006 10:16 pm

You can't use my scripts fully if you need to change something in the driver.
I'll try to help you tomorrow :).

#86533 - Scorpei - Wed Jun 07, 2006 7:03 pm

Okay, tell me what your card is, and I'll see if I can change the driver so that it fits your card.
Then I can send you the new file.
But have you tried it with my tutorial (not changing the driver)?
Because I think I had already adapted it to work with all supported devices.

#86812 - Scorpei - Fri Jun 09, 2006 3:38 pm

This is strange, maybe masscat can help me out.
I've just checked both files on my website (going to update them after my testweek with the latest gratest WMB host, thanks masscat!), and both have all wifi cards enabled.

I've tested the files personally and they work great (for as far as can be ;)).

#86835 - Scorpei - Fri Jun 09, 2006 7:17 pm

Masscat, I've enabled all devices in the driver.
Is his wlan card supported?

#86905 - masscat - Sat Jun 10, 2006 11:40 am

Scorpei wrote:
Masscat, I've enabled all devices in the driver.
Is his wlan card supported?

I have had a look at the rt2x00 Open Source Project version of the driver and they have added more USB stick support to their driver, including a D-link device. I have now updated the hacked driver with these new devices so hopefully this could fix the problem. Get the update from the usual place. Also, in the update I have changed it so that all usb device types are supported by default so you will not have to change the rt2570sw.h file.

#86910 - Scorpei - Sat Jun 10, 2006 12:32 pm

Thank you, I'll update my files somewhere tonight (I have loads of studying to do for Latin, Physics etc. :s).

-Scor

#86935 - Scorpei - Sat Jun 10, 2006 7:33 pm

I've just updated the "real" system version.
The vmdk file will follow soon, but please just test with this version (then I know if I need to change anything, this is much easier to test then the vmdk file).
You can find it on my site in the green bit of the "real" system howto.
Direct link to the file.

#88730 - Xtonic - Wed Jun 21, 2006 11:17 am

Well, I just have a small queston, in the howto tutorial, the last one, inside knoppix, there is a part where it says Insert Nintendo's USB dongle, well, I don't have the Nintendo USB wifi connection, I will try without it anyway.

#88758 - Scorpei - Wed Jun 21, 2006 3:18 pm

Like I stated at the top of the howto :), it doesn't need to be the Nintendo USB device.
Any device that has the rt2570/rt2500usb chip will work IF supported by the driver.
It also does not require you to have a Nintendo WiFi connection.

#88770 - Xtonic - Wed Jun 21, 2006 3:55 pm

Almost everything worked out as planed, the only problem was when i typed sh /mnt/hda1/shell2 or shell3 and the same error message appear in the beggining "Error while getting interface flags: No such device" and a little below: " Error for wireless request "Set Mode" (8B06)"

this happened with shell2 and shell3, all other steps worked just fine.

#88772 - Scorpei - Wed Jun 21, 2006 3:58 pm

Then either the driver did not install properly orrrrrr.....
The interface is named differently.
Can you do all steps upto shell2/3 (including putting the usb device in) and then type:
ifconfig -a
And place the output here?

#88815 - Xtonic - Wed Jun 21, 2006 6:58 pm

Sure, after i wrote shell2 i typed what you said, ifconfig -a and what appeared was:
[img=http://img281.imageshack.us/img281/8946/ifconfiga5ts.jpg]

#88927 - Scorpei - Thu Jun 22, 2006 9:00 am

You do understand that that isn't the real system install correct?
That's VMplayer.
The files should work, if you use them the same way though.

To get this strait:
You put the files from the ZIP file on your USB stick.
Then you started VMplayer and booted Knoppix.
There you mounted the USB device (your USB storage).
You typed:
Code:

sh /mnt/sda1/hda/shell1


sda1 can be different depending on your system.

Then you put your Nintendo USB/rt2500/rt2570 device in your computer (and plugged it in in VMplayer).
Then you typed
Code:

ifconfig -a


At the moment it doesn't seem like your device is being detected as a rt2500usb/rt2570 device...strange (if you did what I stated above).

#88987 - Xtonic - Thu Jun 22, 2006 6:24 pm

I just don't get it when i have to type: sh /mnt/sda1/hda/shell1
in the code it has none of that part:
* su
* mount /dev/hda1
* sh /mnt/hda1/shell1

sh /mnt/hda1/shell2

#89003 - Scorpei - Thu Jun 22, 2006 7:28 pm

There is a difference in the "REAL-SYSTEM" version, and the VMplayer version.
The REAL-SYSTEM version is for use with a REAL system -->
Put the files on your USB stick, burn Knoppix to a CD and follow the steps.
VMPlayer --> download the VMDK file, and follow those steps.

#89068 - Xtonic - Thu Jun 22, 2006 11:16 pm

Yeah, i tried both ways, with VMPlayer and with Real System, but when the part for the shell2 or 3 arrived the error was the same...
Here is my email in case you don't mind to help me troough msn: anidrosan@msn.com

Just found what is the problem, all works fine until i have to insert the comand /mnt/sda1/hda1/shell1

after that all the comands are wrong, but its because fo something in that comand, all other comands I have done it just fine.

#89098 - tepples - Fri Jun 23, 2006 2:59 am

Does "Real System" work with all video cards and with older BIOS that doesn't boot from USB?
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#89131 - Scorpei - Fri Jun 23, 2006 7:38 am

tepples wrote:
Does "Real System" work with all video cards and with older BIOS that doesn't boot from USB?

The real system version works with all video cards supported by Knoppix (I think that coveres most if not all cards).
And you do not need to boot from USB, but from CD (I need things that are on the CD or DVD for that matter).

*edit*
Xtonic wrote:
Yeah, i tried both ways, with VMPlayer and with Real System, but when the part for the shell2 or 3 arrived the error was the same...
Here is my email in case you don't mind to help me troough msn: anidrosan@msn.com

Just found what is the problem, all works fine until i have to insert the comand /mnt/sda1/hda1/shell1

after that all the comands are wrong, but its because fo something in that comand, all other comands I have done it just fine.

I'll add you to my MSN, lets discuss a time when I can see you online.
I will try to talk you through it.

#89716 - Scorpei - Mon Jun 26, 2006 1:29 pm

I got a message earlier today that my howto does not work with the latest greatest Knoppix (5.01).
I've tested it out, and I agree that it does not work :), but the first problem lies with the drivers (or well, the makefile).
I get a bunch of error messages which result in the noncompiling of the module.
[Images not permitted - Click here to view it]
I'll check out what error message I usually got with Knoppix 4.0.0.2.
But in there the module compiled.
Maybe Masscat, do you have any ideas how to fix this?
*edit*
Just looked at knoppix 4.0.2 again, in there it compiles fine.
**edit**
I've now found the problem.....5.0.1 does not have the kernel sources files :s.

#90904 - Scorpei - Mon Jul 03, 2006 10:49 am

Updated my howto to make it more fool proof :).
Nah, just to make it easier for all.
Anyway, now all your links are screwed.
Masscat, the link you have.
I'll try to rename it all soon so your links can all stay the same.

#91916 - Scorpei - Mon Jul 10, 2006 3:54 pm

I've uploaded my howto for WMB-/WiFiMe-ing with a rt2570/rt2500usb (Nintendo USB key) again.
I noticed there were a few bugs and I forgot a few things.
Fixed it all (there might be a few spelling mistakes though).
I will add something nice at the end of this month, so stay tuned!

URL: http://www.simonvandeberg.be/nifi
And then click to the howto under items.

#92066 - Scorpei - Tue Jul 11, 2006 11:46 am

I've just finished my howto for WMB-/WifiMe-ing with OpenSuse, the old howto moved to a new url (to make room for the menu to choose which howto you want).
Check out the new howto here.
Enjoy, and many hours of happy DS-ing and Linux-ing!

#95234 - Scorpei - Fri Jul 28, 2006 9:25 am

Added (untested) support for rt2500 devices (making WMB possible once again for people with the new DSlite and a rt2500 PCI card).
And added a slow system part/version of the howto.

link: http://simonvandeberg.be/nifi/howto.html

*Support for the rt2500 (untested) has been added to the "normal" part and the "slow-system" part, not OpenSuse

#95340 - Scorpei - Fri Jul 28, 2006 10:29 pm

Sadly, rt2500 support is fully broken in Knoppix.
I do not know what is causing this, but I don't think I can fix it.
I will however look into writing a new part of my guide for use with the rt2500 chipset.
This will use Katonix 2005-04 (possibly lite, experimenting tomorrow).
I will then have a howto with the title I have now given it with this scheme:
Code:

                   ______normal
                   |_____slow-system
        ___rt2570--|_____OpenSuse
howto--|
       |                 
       """"rt2500--normal
                (|)*
                (--------slow-system)*

*slow system version is optional depending on the capabilites of katonix (I have never worked with Katonix before).

I will try my best to finish the guide before monday, should be possible neh? :).

Really sorry I'm working on it so much, but I want to make it very nice.
And adding rt2500 support is something I believe is very interesting to people as the Windows WMB tool no longer works with the new DSlite.

Any tips are welcome!

-Scor

p.s. Thanks to john over at the DSlinux forums to be my tester!

#95588 - Scorpei - Sun Jul 30, 2006 11:57 am

Revision 3 of my howto is up.
Just look at it and read my previous post and you have a changelog :).

#95595 - Sektor - Sun Jul 30, 2006 12:29 pm

Someone experienced with Linux should create a tiny distribution purely designed for WMB.

Your howto currently has white text on a white background.
_________________
GTAMP.com/DS

#95598 - Scorpei - Sun Jul 30, 2006 1:21 pm

That should be fixed now.
And as for the tiny distro, it could be done...but Knoppix and Kanotix are quite well known live distro's.

#95732 - Scorpei - Sun Jul 30, 2006 9:04 pm

Read my tutorial in Dutch!
I've spent all day writing my howto into Dutch!
Just follow the old link and it should be pretty clear :).

#100541 - Scorpei - Mon Aug 28, 2006 3:58 pm

Probably around wednsday I'll put up a VMDK file especially for people who don't have USB data sticks and still want to run WMB, Knoppix with their Nintendo USB wifi stick (or other rt2570/rt2500usb device).

#100746 - Scorpei - Wed Aug 30, 2006 7:59 am

Okay, it'll take a bit longer as my bandwith just reached it's limit :P.
Next month maybe!

#100747 - PlackSlayer - Wed Aug 30, 2006 8:23 am

I was wondering weather or not you got the RT2500 PSI cards up and working again with this distro. I have tried over and over using the real-system way as well as the VMplayer and I cannot get the driver to recognise my RT2500 PCI card. VERY VERY annoying :(

Any assistance would be greatly appreciated.

--Plack

#100751 - Scorpei - Wed Aug 30, 2006 8:46 am

I haven't looked at it much (as I do not have the hardware), but I seem to remember Knoppix indeed didn't like the rt2500PCI cards.
Which is why I switched to kanotix for the rt2500PCI :).
Have you tried the rt2500PCI "version" of my howto?

Working on this howto is not really a priority anymore.
I'm pretty busy with school these days, and most people do not WifiMe/WMB anymore.
The addition of the VMDK file is simply because someone on the DSlinux forums asked me to as he didn't have an USB data device.
I'll put everything on there (including the rt2500PCI drivers).
Possibly it may take a bit longer as I want to change the scripts for this release too.

*ps as stated earlier, I killed my hosting by having to much visitors this moth :) (never thought that would happen), so any updates will have to wait untill at least next month (two days or so).

#100763 - PlackSlayer - Wed Aug 30, 2006 12:02 pm

I have tried the RT2500PCI version and it is still a no go. The card isn't picking up as a wifi card at all.

#100864 - Scorpei - Thu Aug 31, 2006 7:00 am

Could you see if you have more then one network device?
If you have more then one you could try the other devices by changing the shell script to match them (changing all eth0 arguments).

#101511 - PlackSlayer - Wed Sep 06, 2006 4:47 am

I can only see one network device, well except for the lo ofcourse. The problem with that is that I have 2 of them, I have a gigabit lan card as well that is built into my motherboard. I'll see if I can turn that off and try again.

--PS

#101832 - PlackSlayer - Fri Sep 08, 2006 8:51 am

Well it seems that the Knoppix doesn't even recognise my card as being there. When in windows its all sh*ts and giggles, when linux looks, it turns a blind eye.

No idea how to fix this so I think I'm going to try and just sell it and get another one that works or get another device. :\

--PS

#103283 - Scorpei - Wed Sep 20, 2006 5:37 pm

I really find it strange, maybe kanotix helps? (as rt2500 support is broken in Knoppix in the last version I tested 5.0 I think).