sslug-teknik team mailing list archive
-
sslug-teknik team
-
Mailing list archive
-
Message #60854
SIOCSIWNAME - cnet pcmcia wireless fastvnet_cs
just to document it, and hopefully google pick it up.
The hole stuff goes
"gcc -DLINUX_OS -D__KERNEL__ -DMODULE -O3 -I/usr/src/linux/include -I/usr/src/linux/include -c fastvnet_cs.c -o fastvnet_cs.o
fastvnet_cs.c: In function `vnet_ioctl':
fastvnet_cs.c:985: `SIOCSIWNAME' undeclared (first use in this function)
fastvnet_cs.c:985: (Each undeclared identifier is reported only once
fastvnet_cs.c:985: for each function it appears in.)
make[1]: *** [pcmcia] Error 1
make[1]: Leaving directory `/tmp/setup/pcmcia_src'
make: *** [pcmcia] Error 2"
And it's about compiling a CNET pcmcia wireless lan card
product info: "CNet", "CNWLC 11Mbps Wireless PC Card V-5"
manfid: 0x1371, 0x0811
function: 6 (network)
I had quite alot of trouble compiling it on a debian. And i think a
redhat/mandrake user will too, though cnet apparently includes a
linux driver for redhat and one for mandrake on their cd.
However, the was was quite easy.
steen:/usr/src/linux# grep -r SIOCSIWNAME *
include/linux/wireless.h: * - Rename SIOCSIWNAME as SIOCSIWCOMMIT
so just edit the fastvnet_cs.c file, and on line 985 change
SIOCSIWNAME to SIOCSIWCOMMIT
And it atleasts makes fine, i havent actualy tested the card yet.
An hour later. I've now been at the shop, and it finds the card.
I can give the card a ip with ifconfig, but since they didnt have
an access point, i dont know if it can actualy talk to an AP.
JonB
ps: the hardware is a dell inspiron 8200 with ati mobility radeon 9000 ?
And i couldnt get orinoco to work because it couldnt get an IRQ