• Welcome to OS2World OLD-STATIC-BACKUP Forum.
 

News:

This is an old OS2World backup forum for reference only. IT IS READ ONLY!!!

If you need help with OS/2 - eComStation visit http://www.os2world.com/forum

Main Menu

****solved***Network card help.

Started by mickhead, 2012.07.19, 02:38:25

Previous topic - Next topic

mickhead

Greetings- as a new eComStation 2.1 user, I've decided to post a question here to see if anyone can help.  I'm having an issue with my wireless card an Atheros 168c:001c. I can verify the driver seems to be loaded by:

[C:\]TYPE WRND32$

============================ StatusInfo ========================

PciVendor              0x168C  PciDevice              0x001C
SysName              ATHW.SYS  InfName           NETATHW.INF
PciBus                      3  PciSlot                     0
InterruptLevel             17  Timer100Ns     13448552473600
Interrupts              25656  DPC_Interrupt           25646
DPC_Timeout             26787  DPC_Oid                     4
DPC_Transmit                0  DPC_RealeaseRx              0
DoStack32                   1  TimerMode                   1
NdisStart          0xEB332000  NdisEnd            0xEB332314
IDTTABLE[0]                 0  IDTTABLE[1]                 0
Copy2                       0  Copy2Err                    0
AllocPagesS              5506  FreePagesS               1592
MaxStack                 3796


However, it doesn't seem to be enabled or fully recognized.  Checking the log I find a particular file is not found during loading:

0x00000310 63 00 00 00                                        c...
Wed Jul 18 23:03:30 2012 [WRND32$]Load File "C:\ecs\system\genmac\DRIVER\WRAPPER_168c_001c\NETATHW.INF" 2809
Wed Jul 18 23:03:30 2012 [WRND32$]Helper
Wed Jul 18 23:03:30 2012 [WRND32$]FUNCTION : 0x00000010
Wed Jul 18 23:03:30 2012 FUNCTION_READ_FILE 0
Wed Jul 18 23:03:30 2012 [WRND32$] File "C:\ecs\system\genmac\DRIVER\WRAPPER_168c_001c\AW1012d.ini" not found!
Wed Jul 18 23:03:30 2012 [WRND32$]WrapperPath "\IBMCOM\MACS\AW1012d.ini"
Wed Jul 18 23:03:30 2012 [WRND32$] File "\T_NDIS\AW1012d.ini" not found!
Wed Jul 18 23:03:30 2012 [WRND32$]Load File Error "\T_NDIS\AW1012d.ini"
Wed Jul 18 23:03:30 2012 [WRND32$]Helper
Wed Jul 18 23:03:30 2012 [WRND32$]FUNCTION : 0x00000010
Wed Jul 18 23:03:30 2012 FUNCTION_READ_FILE 0
Wed Jul 18 23:03:30 2012 [WRND32$] File "C:\ecs\system\genmac\DRIVER\WRAPPER_168c_001c\regAdd.txt" not found!
Wed Jul 18 23:03:30 2012 [WRND32$]WrapperPath "\IBMCOM\MACS\regAdd.txt"
Wed Jul 18 23:03:30 2012 [WRND32$] File "\T_NDIS\regAdd.txt" not found!
Wed Jul 18 23:03:30 2012 [WRND32$]Load File Error "\T_NDIS\regAdd.txt"

I'm unable to get further than this.

I read a forum post where someone said to delete the MPTS setting and put it back, but this did not seem to help.  The Realtek ethernet card works.  What's puzzling to me is the eCS installer recognizes the wireless card, naming it Atheros AR5007EG/AR42X, and suggests a driver.  Thinking the driver was the issue, I went and downloaded the unsupported Genmac package from March of this year that also lists the 168c:001c.  Those instructions referred to downloading a program from an archive and editing a similar file, but they lost me.  Does anyone with more experience with this operating system have ideas?

Thank you.

Mick



DougB

QuoteHowever, it doesn't seem to be enabled or fully recognized.

That is true. If you load a GENMAC driver in UNSUPPORTED mode, it apparently doesn't load something that XWLAN needs to make it work.

QuoteChecking the log I find a particular file is not found during loading:

True again, but those files are not needed.

QuoteWhat's puzzling to me is the eCS installer recognizes the wireless card, naming it Atheros AR5007EG/AR42X, and suggests a driver.

There is a problem with the Atheros drivers in eCS 2.1. Apparently, Mensys could not get clearance to include the windows drivers for Atheros devices, so they removed the windows drivers from all of them. GENMAC still installs okay, but the windows driver is missing (it probably wouldn't work anyway <see below>).

QuoteThose instructions referred to downloading a program from an archive and editing a similar file, but they lost me.

What you need to do, is modify an entry for a supported device, in the GENMAC driver, to make it match the device that you have. This cannot be done, and then distributed, because that has been specifically forbidden by the author of GENMAC (who also refuses to release his work, or do anything more with it). All we can do is tell you how to do the modification (which is actually quite easy). I will add a few more lines to the note from the GENMU package.

NOTE: It seems that GENMAC does not enable wireless device support when it is used in UNSUPPORTED mode.
To get around that limitation, you will need to edit a similar device in
\IBMCOM\macs\genm32w.os2
(other copies of this file are not used). There is a tool called EGENM32W that is designed to make
changes to that file. It is at:
hobbes.nmsu.edu/download/pub/os2/system/drivers/network/EGenM32W_V02.zip

Unzip that, and run the program EGENM32W.EXE. Click the OPEN button, and navigate to <boot drive>:\IBMCOM\macs, then scroll down until you find genm32w.os2. Click Open. Now, you will see all of the SUPPORTED devices that are in GENMAC.

Look up a similar device (try $168C $0012), and change the ID, and file names (if required).

Change $0012 to $001C
Change AR5211.SYS to ATHW.SYS
Change AR5211.INF to NETATHW.INF
Click SAVE and EXIT.

Then, edit <boot drive>:\IBMCOM\PROTOCOL.INI to change the word "UNSUPPORTED" to "NONE"

Reboot, and see what happens. Of course, you also need XWLAN to be able to actually use the wireless device.

hobbes.nmsu.edu/download/pub/os2/util/wps/xwlan310.zip

READ the instructions carefully.

mickhead

Thank you for explaining the issue to me.  That was easy and it's now working. Cheers.

DougB

QuoteThank you for explaining the issue to me.  That was easy and it's now working.

Great! Unfortunately, doing that doesn't always work. More recent devices seem to need something else that GENMAC is missing. Eventually, the Multimac project should produce a driver for more modern devices, but I think that GENMAC will still be required for some of the older devices that GENMAC supports. Watch for announcements of new support by Multimac, and use that, if it supports your device, and if it works. If it is supposed to support your device, but doesn't work, be sure to let the developers know about the problems so they can fix them.

Enjoy...