Mailing List os2-wireless_users@2rosenthals.com Archived Message #6620

From: "Thomas Dennis" <os2-wireless_users@2rosenthals.com> Full Headers
Undecoded message
Subject: Re: [OS2Wireless] GenMac driver
Date: Wed, 24 Feb 2010 01:35:16 +0100
To: OS/2 Wireless Users Mailing List <os2-wireless_users@2rosenthals.com>

Lewis G Rosenthal wrote:
Sorry for the delay; turning out to be a busy day...

On 02/22/10 12:47 pm, Thomas Dennis thus wrote :
Lewis G Rosenthal wrote:
Hi, Thomas...

Thomas Dennis wrote:
Lewis G Rosenthal wrote:


On 02/21/10 03:32 am, Thomas Dennis thus wrote :
Hi All:
I must have done something right because I now get the
GenMac Sign-on message.  But there is a small detail that
I haven't been able to correct.
And that's a green blinking notice that:
"No valid hardware found for (WRND32$)"
<snip>
What is this section in the PROTOCOL.ini [W8086x4224_NIF]
designed for. It looks like it would be something for an Intel chip.
I have no such entry in my PROTOCOL.ini.
Nor should you. Indeed, that is the entry for *my* Intel chip. Yours will be something like [W168Cx001C_NIF] for an Atheros AR5008, for example.
Is that due to the fact that the Chip Set in the D-Link
card is from Atheros?
Yes. The 168C is the manufacturer code, and the 001C is the model code. Put them together (168C:001C) and you have a PCI ID string. Each PCI device has a (hopefully) unique ID string.
<snip>
Because our cards are different. These refer to the filenames of the Windows driver files located in the wrapper directory.
From where do these two entries originate?
If my understanding is correct than these two files should
be in x:\IBMCOM\MACS but these files aren't there.
No. Only the GenMAC nif and GENM32W.OS2 driver will be there. The wrapper files stay under the GenMAC tree.

Your wrapper nif is also incorrect. Under the FILE section, it should read:

[FILE]
Name = GENM32W.OS2
Path = IBMCOM\MACS

<snip>
Or are these two from Windows?
Yes. You need to put them in your wrapper directory.
<snip>
 
The Windows drivers for the D-Link/AR5008 card are
"ar5416.sys" and "net5416.inf".
So I see. You still have an error in your PROTOCOL.INI file:

[W168CX001C]

  DriverName = WRND32$
  VENDOR = 0x168C
  DEVICE = 0x001C
  NDIS_SYS = "ar5416.sys"
  NDIS_INF = "net5416.nif"
  SSID = "ANY"
  DEBUGLEVEL = "NONE"
  OPTIONS = "UNSUPPORTED"

The section name should correspond to what's up at the top, so it should be:

[W168CX001C_NIF]

This is why you should probably have put the files in place and let MPTS edit the file for you. No matter; it should be right when you make this change (unless someone else on the list has picked up on something I missed?)...

The nif looks fine.
Question.
Where should I put these files so the program can
find them?

I thought I covered this in my presentation, but perhaps I didn't create a slide for it... Anyway, follow along:

To answer your previous question (and then this one, by extension), somewhere on your drive, you have a "genmac" directory. This is either under the root of your boot drive or under \ecs\system. Starting from there, you should have a directory tree (what I referred to earlier as the "GenMAC tree") which looks like this:

genmac\
   bin\
   driver\
      WRAPPER_168C_001C\ <- you need to create this (obviously without the trailing "\"!); this is the wrapper directory
   inf\
   nif\

Copy the Win32 driver & inf to the newly created genmac\driver\WRAPPER_168C_001C directory. Copy the nif you edited into the nif directory (and your \IBMCOM\PROTOCOL\MACS directory, if you like).

Your CONFIG.SYS should be ready to go, as GENM32W.OS2 will pick up the Win32 driver it is supposed to load from the entries in PROTOCOL.INI.

Remember that there is NO GUARANTY that this will work. I do not know of anyone who has tried the AR5008 chipset, so we're all anxiously awaiting news.

GL
Lewis:
When you have the time, check the two files for errors.  I think everything has been corrected and they are now
the way they should be.  But who knows.  I'm only human.
I went looking for the MACS folder at \IBMCOM\PROTOCOL but it doesn't seem to be at that location.
It's at \IBMCOM\MACS.  Is this an error?

Thomas
W168Cx0023.nif

[W168Cx0023]
Type = NDIS
Title =  "GenMac Wrapper Atheros Wlan CARDBUS [168C:0023]"
Version = 1.0
DriverName = wnd32$
Xports = NETBEUI, LANDD
CopyFile = GENM32M.MSG

[FILE]
Name = GENM32W.OS2
Path = IBMCOM\MACS

[VENDOR]
Display = "168C"
Type = Hexadecimal
Range = 0-FFFF
Optional = UNSUPPORTED
Editable = NO
Default  = 168C
Help= "Vendor-ID of your NIC"

[DEVICE]
Display = "0023"
Type = Hexadecimal
Range = 0-FFFF
Optional = UNSUPPORTED
Editable = NO
Default  = 0023
Help= "Device-ID of your NIC"

[NDIS_SYS]
Display = "Windows SYS-Filename"
Type = String
StrLength = 32
Default = "ar5416.sys"
Optional = YES
Editable = YES
Help= "You should not modify this value."

[NDIS_INF]
Display = "Windows INF-Filename"
Type = String
StrLength = 32
Default = "net5416.INF"
Optional = YES
Editable = YES
Help= "You should not modify this value."

[SSID]
Display = "Network Name (SSID)"
Type = String
StrLength = 32
Default = "ANY"
Optional = YES
Editable = YES
Help= "You need to provide the Service Set ID of your Wireless LAN."

[DEBUGLEVEL]
Display = "Debuglevel"
Type = String
StrLength = 64
Default = "NONE"
Optional = YES
Editable = YES
Help= "You need to provide the DEBUGLEVELS."

[OPTIONS]
Display = "Wrapper Options"
Type = String
StrLength = 64
Default = "NONE"
Optional = YES
Editable = YES
Help= "You need to provide the OPTIONS."
Attached File:  PROTOCOL.INI (948 bytes)

Subscribe: Feed, Digest, Index.
Unsubscribe
Mail to ListMaster