Author Topic: Testing GenMAC with Unsupported drivers  (Read 31517 times)

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4696
  • Karma: +41/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Testing GenMAC with Unsupported drivers
« on: June 16, 2014, 05:43:12 pm »
Hi.

I wanted to test some network drivers with the Windows driver and GenMac on eCS 2.1.  I want to write an article about it on the OS2World Wiki, but sadly I don't have a successful case to share. I can share my try with a NIC that I can not make it work.

For the moment I'm trying a “D-Link DWA-525 Wireless N 150 Desktop” PCI card which is a RALink 5360 HardwareID: 1814x5360

Can anybody help me out? Can you check my openoffice article (attached on this post) and let me know if I'm doing the procedure in a right way? Maybe I'm missing some important step. 

Thank in advance

Regards
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Doug Bissett

  • Hero Member
  • *****
  • Posts: 1593
  • Karma: +4/-2
    • View Profile
Re: Testing GenMAC with Unsupported drivers
« Reply #1 on: June 16, 2014, 07:38:04 pm »
Please see: ftp://genmac@ftp.os2voice.org/ for details (use the word "unsupported" as a password, with no quotes, and it must be lower case). READ both README files, carefully, and upload the windows driver, and registry information. I will add it to the GENMU_TEST package for testing. If that works, it will be moved to the GENMU package.

No guarantees that it will work, but it will be installed properly.

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4696
  • Karma: +41/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: Testing GenMAC with Unsupported drivers
« Reply #2 on: June 17, 2014, 12:15:43 am »
Thanks Doug.

According to what I'm reading I'm missing two important steps.

1) Using EGenM32W_V02.zip to edit genm32w.os2 (I'm still reading how to do it.
and
2) Editing Protocol.ini and change the word "UNSUPPORTED" to "NONE"

Let's see what happens.
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4696
  • Karma: +41/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: Testing GenMAC with Unsupported drivers
« Reply #3 on: June 17, 2014, 04:10:18 am »
Hi.

I'm not sure if I'm using EGenM32W right. If anybody can check the updated article file and tell if doing the right steps I will appreciate it.

Regards
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Doug Bissett

  • Hero Member
  • *****
  • Posts: 1593
  • Karma: +4/-2
    • View Profile
Re: Testing GenMAC with Unsupported drivers
« Reply #4 on: June 17, 2014, 07:33:56 am »
Thanks Doug.

According to what I'm reading I'm missing two important steps.

1) Using EGenM32W_V02.zip to edit genm32w.os2 (I'm still reading how to do it.
and
2) Editing Protocol.ini and change the word "UNSUPPORTED" to "NONE"

Let's see what happens.

EGenM32W_V02 is a bit tricky, but it is not difficult to use. Just follow the directions that I give in the README files. Be sure that you edit IBMCOM\MACS\genm32w.os2. It is the only one that is actually used.

You should edit the NIF file, in \IBMCOM\MACS, not PROTOCOL.INI. After editing the NIF file, use Asapters and Protocols to uninstall it (if already installed), and install it again.

Why not just send me the files? It takes about 5 minutes to add a device to the WarpIn installer (once I get time to do it), and you don't have to mess with editing things. You are wasting time messing around trying to re-invent the wheel.

Hopefully, GENMAC will become obsolete, when Multiimac support is created.

Quote
I'm not sure if I'm using EGenM32W right. If anybody can check the updated article file and tell if doing the right steps I will appreciate it.

Just follow the directions in the README files.

Doug Bissett

  • Hero Member
  • *****
  • Posts: 1593
  • Karma: +4/-2
    • View Profile
Re: Testing GenMAC with Unsupported drivers
« Reply #5 on: June 17, 2014, 07:39:44 am »
I should have mentioned, that Win2K drivers work best, followed by WINXP drivers. Drivers from VISTA, and later, usually don't work.

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4696
  • Karma: +41/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: Testing GenMAC with Unsupported drivers
« Reply #6 on: June 17, 2014, 05:45:57 pm »
Hi Doug.

I just send you the files to your email (I it is also attached here).

I will try to find the Win2K drivers for it to test them out.

Regards
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Doug Bissett

  • Hero Member
  • *****
  • Posts: 1593
  • Karma: +4/-2
    • View Profile
Re: Testing GenMAC with Unsupported drivers
« Reply #7 on: June 17, 2014, 07:23:41 pm »
I sent you an e-mail with the details. You had a typo, and the INF file is for a Realtek device. The windows registry information, for your device is necessary.

I will build an installer, when I get the registry information.

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4696
  • Karma: +41/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: Testing GenMAC with Unsupported drivers
« Reply #8 on: June 17, 2014, 10:20:27 pm »
Nice, the Wifi card started to work once I fixed the Typo you told me. I will update the article too to post it on the Wiki.

Regards
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4696
  • Karma: +41/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: Testing GenMAC with Unsupported drivers
« Reply #9 on: June 17, 2014, 11:45:26 pm »
Here I share what I learned on this two days about running a network card with GenMAC.

http://www.os2world.com/wiki/index.php/Testing_an_UnSupported_Network_Driver_with_GenMAC

Now I'm doing more test with this card, the hardware loads, but the Wireless LAN Monitor (V3.12b2) is giving me problems.
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Andi B.

  • Hero Member
  • *****
  • Posts: 811
  • Karma: +11/-2
    • View Profile
Re: Testing GenMAC with Unsupported drivers
« Reply #10 on: June 18, 2014, 11:25:25 am »
Quote
...but the Wireless LAN Monitor (V3.12b2) is giving me problems...
If you tell something about the problems maybe I can help ;)

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4696
  • Karma: +41/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: Testing GenMAC with Unsupported drivers
« Reply #11 on: June 18, 2014, 01:58:58 pm »
Thanks Andi

I'm not sure what is happening. I was able to surf the Internet on a public hotspot with this card and machine. After a while of surfing the web I tried to connect to a WPA2 network and them it started to stop working.

I'm using Wireless LAN Monitor (V3.12b2) and WPA Supplicant v2.0 2013-05-12 build (on eCS 2.1) . When I scan for Wifi network I can see all the list of SSID, but if I select one the connect button does not "light up" and do not work.  I also created a "profile" for the WPA2 network and is getting ignored when I apply it. Also it stopped connecting to the public network too. The icon just stays with the "magnifying glass" without connecting anymore.

Any ideas?

Regards
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Andi B.

  • Hero Member
  • *****
  • Posts: 811
  • Karma: +11/-2
    • View Profile
Re: Testing GenMAC with Unsupported drivers
« Reply #12 on: June 18, 2014, 03:53:50 pm »
Not sure if the wpa_supplicant can not connect or dhclient does not get an IP address. In addition to what I've written here http://www.os2world.com/forum/index.php/topic,412.msg3718.html#msg3718 the basic things to check are
1) does xwlan detect the device (settings page)
2) what version of wpa_supplicant xwlan uses (see WPA settings page, should be 2.0 written in blue color)
3) what version of dhclient xwlan finds on your system (TCP/IP settings page 2, dhclient3xx don't know exactly any more but when it's written in blue it should be okay)

Pete

  • Hero Member
  • *****
  • Posts: 1281
  • Karma: +9/-0
    • View Profile
Re: Testing GenMAC with Unsupported drivers
« Reply #13 on: June 18, 2014, 04:33:04 pm »
Hi Martin

I just spotted a thread about WPA2 in the genmac mailing list see news.gmane.org thread WPA2-PSK

In the above thread Doug states "WPA2-PSK support seems to have problems. Try WPA-TKIP. You *may* be able to get WPA2-PSK to work with the updated supplicant and the updated XWLAN, but you should understand a bit about how it all works, if you want to try that. You will also need the new DHCP support."

I also seem to recall reading somewhere, possibly in the above newsgroup, that WPA2 may not work with all (genmac) drivers.

I cannot remember whether my laptops are using WPA2. I'll have to check that later and if WPA2 is not in use I'll give it a try and report back.


Regards

Pete

Doug Bissett

  • Hero Member
  • *****
  • Posts: 1593
  • Karma: +4/-2
    • View Profile
Re: Testing GenMAC with Unsupported drivers
« Reply #14 on: June 18, 2014, 07:54:55 pm »
GENMU_TEST has been updated to include the 1814:5360 device. If it works, it will be removed from GENMU_TEST, and put into GENMU, which *may* get it into the GENMAC that ships with eCS 2.2.

ftp://genmac@ftp.os2voice.org/

Use the word "unsupported" (lower case, and no quotes) if it asks for a password.