OS2 World Community Forum

OS/2, eCS & ArcaOS - Technical => Networking => Topic started by: jkrim on January 26, 2022, 04:26:36 am

Title: GenMU WIFI driver for Ralink 301
Post by: jkrim on January 26, 2022, 04:26:36 am
Hello,

Is there a GenMU WIFI test version driver for RALINK 0301 or can I "make" one?  In Windows 2000, I see the DEV_0301 in the .inf file and it works under Win 2K in the same machine I am trying to install it under eComStation 2.0.

(I attempted to directly send this to Doug Bissett but it appears his personal email that I corresponded to him at several months ago is no longer valid as it bounced).

Thanks,
Jordan Krim
Title: Re: GenMU WIFI driver for Ralink 301
Post by: Dave Yeo on January 26, 2022, 04:51:23 am
Yea, Doug changed his ISP. Same user name at ocii.com or wait till he shows up here.
And welcome to the forum.
Title: Re: GenMU WIFI driver for Ralink 301
Post by: Martin Iturbide on January 26, 2022, 03:56:23 pm
Hi Jordan. Good to see you in the forum.

I wrote this some time ago: "Testing an UnSupported Network Driver with GenMAC (https://www.os2world.com/wiki/index.php/Testing_an_UnSupported_Network_Driver_with_GenMAC)"

This was my experience trying to test an unsupported Windows XP (32bits) driver with GenMU. Maybe it may work, but GenMAC is a lottery. If by chance your Win2K driver works on OS/2 and it is not already on GenMu, please send it Doug  and/or post it here too.

Regards
Title: Re: GenMU WIFI driver for Ralink 301
Post by: Doug Bissett on January 26, 2022, 07:05:40 pm
Quote
Is there a GenMU WIFI test version driver for RALINK 0301 or can I "make" one?  In Windows 2000, I see the DEV_0301 in the .inf file and it works under Win 2K in the same machine I am trying to install it under eComStation 2.0.

Hi. Welcome. Yes, I did change my e-mail address, some time ago. It is changed in the information at: ftp://genmac@ftp.os2voice.org/ (http://ftp://genmac@ftp.os2voice.org/). You should go there, and review the information in GENMU_TEST_README.TXT (it will ask for a password, use "unsupported" lower case, and no quotes). There are a few RALINK devices configured, and listed, but nobody ever told me that they do, or do not, actually work, so they are still in the TEST group.

"RALINK 301" means nothing. You need to know the PCI ID, which will be something like: "1814:0701". You get that by running PCI.EXE. If your device is already configured, just install it. If it is not configured, send me the PCI ID, and I will see if I can remember how to build an installer for it (or, you can follow the directions in GENMU_TEST_README.TXT). I only need the windows file names, for now. I probably already have the files.

As Martin said, it is a lottery. Sometimes GENMAC works well. Sometimes, it won't work, at all. In either case, I would like to know what happens. Perhaps I can make some suggestions, if it doesn't work.
Title: Re: GenMU WIFI driver for Ralink 301
Post by: jkrim on January 27, 2022, 05:32:14 am
Here is the information from pci.exe:

Vendor 1814h  Ralink
Device 0301h  RT2561/RT61 802, 11 g PCI
Subsys Vendor 1737h Linksys

This device is the Linksys WMP54G PCI WIFI adapter.
Title: Re: GenMU WIFI driver for Ralink 301
Post by: Doug Bissett on January 27, 2022, 07:07:36 am
Quote
Vendor 1814h  Ralink
Device 0301h  RT2561/RT61 802, 11 g PCI
Subsys Vendor 1737h Linksys

Okay, that would be a 1814:0301. I am not sure which windows driver it would use. I need the windows driver file name. Older drivers (win NT) work best. Newer drivers may not work, at all, but there may not be much choice.
Title: Re: GenMU WIFI driver for Ralink 301
Post by: jkrim on January 27, 2022, 04:03:39 pm
The Windows (2K) driver is rt61.sys and the version is 1.00.03.0000.
Title: Re: GenMU WIFI driver for Ralink 301
Post by: Doug Bissett on January 27, 2022, 05:49:44 pm
The Windows (2K) driver is rt61.sys and the version is 1.00.03.0000.

Okay, I found it. Unfortunately, that one (more than one version) is in the "doesn't work" bin. We do not have source code to work with, so there isn't much that I can do about that.

The usual (and actually much better) plan is to get a WiFi Travel Router that connects using a wired NIC. The ones that i have  are getting old, so I won't make suggestions. Somebody else may have a current model, that works with OS/2.
Title: Re: GenMU WIFI driver for Ralink 301
Post by: jkrim on January 27, 2022, 06:35:52 pm
What do you mean exactly by "doesn't work"?   I used Martin's guide.  I found that the GENM32W.OS2 file already has the RT61 entry so didn't need to hack it.  I copied the Windows (2K) files (.inf, .reg and .sys) over to eCS.   I created a .nif file and added the card through System Setup->Network->Adapters and Protocols .  When I booted, Genmac loaded the driver.  The only problems I seem to have are that the widget says it is installing but doesn't show up on the bar at the bottom of the screen and more importantly  that the "scan connection" on the wireless monitor is greyed out.  This is probably due to the fact that I notice that on the Wireless LAN monitor properties page I see this:

wpa_supplicant version on your system
wpa_supplicant.exe not found!
e:\xwlan_1.3_widget\xcenter\xwlan\

Does the wpa_supplicant need to be installed somewhere or am I missing something else?

I am attempting to use Wireless LAN monitor version 3.13.   
Title: Re: GenMU WIFI driver for Ralink 301
Post by: Dave Yeo on January 27, 2022, 07:47:23 pm
The common problem is the inability to operate the radio. Can't turn the radio on and off, can't get a connection.
IIRC, the wpa_supplicant is for connecting to encrypted WiFi and without it, can only connect to an open system.
Title: Re: GenMU WIFI driver for Ralink 301
Post by: Andi B. on January 27, 2022, 08:39:18 pm
...
wpa_supplicant version on your system
wpa_supplicant.exe not found!
e:\xwlan_1.3_widget\xcenter\xwlan\

Does the wpa_supplicant need to be installed somewhere or am I missing something else?

I am attempting to use Wireless LAN monitor version 3.13.
wpa_supplicant is included since a while for your convenience. But current version is xwlan314beta11.zip (ftp://ftp.netlabs.org/pub/wlan/). Can't remember anymore if it was included with 3.13 too. It's also possible that you don't have the required libs installed to run wpa_supplicant. Try wpa_supplicant from the command line.

Wait I just read here ftp://ftp.netlabs.org/pub/wlan/readme.txt the supplicant is included since 3.14. Anyway you've check point 1 at this readme first.
Title: Re: GenMU WIFI driver for Ralink 301
Post by: Doug Bissett on January 27, 2022, 10:33:17 pm
Quote
What do you mean exactly by "doesn't work"?

At least two people reported that it doesn't work. Whether they were right, or not, I don't know. I don't remember the details. That was a few years ago.

Quote
I found that the GENM32W.OS2 file already has the RT61 entry so didn't need to hack it.

So, you were playing with this before, and didn't clean up after.

Quote
This is probably due to the fact that I notice that on the Wireless LAN monitor properties page I see this:

wpa_supplicant version on your system
wpa_supplicant.exe not found!
e:\xwlan_1.3_widget\xcenter\xwlan\

Does the wpa_supplicant need to be installed somewhere or am I missing something else?

I am attempting to use Wireless LAN monitor version 3.13.   

Okay, so you have the driver loading (that doesn't mean it will actually work). The supplicant is part of the WLAN package, and has nothing to do with GENMAC. See the previous entry, for more about WLAN, and the supplicant.

Keep us posted, if it does actually work, I will request the files that you are using, and I will put it into the GENMU TEST package.

Be aware, that the internal data (the windows driver) can overwrite part of the GENMAC configuration stuff. It may appear to load okay, but it isn't going to work, unless you are very very lucky, and the correct bits happen to match what you need (never happens).
Title: Re: GenMU WIFI driver for Ralink 301
Post by: jkrim on January 28, 2022, 03:29:34 am
Well, I guess I'm lucky  :)
I did get it to work by manually copying over a wpa_supplicant.exe file from another working eCs installation.  I also had to copy over DHCLIENT.EXE and DHCONF.EXE but I used a manual configuration setting the IP address on TCPIP configuration page because when eCS booted it was giving me the DCHP: message (counting down by 5 from 55 to 0) and delaying the boot process too much to suit me.