I switched to Linux but I have a problem with the ZyDAS zd1201 802.11b USB Driver for my wireless network USB stick. I untarred the driver and this is what I did next (what I typed is in bold):
Code:
[root@localhost Zydas]# make config
-------------- Linux WLAN Configuration Script -------------
The default responses are correct for most users.
Build Prism2.x PCMCIA Card Services (_cs) driver? (y/n) [y]: n
Build Prism2 PLX9052 based PCI (_plx) adapter driver? (y/n) [n]: n
Build Prism2.5 native PCI (_pci) driver? (y/n) [n]: n
Build Prism2.5 USB (_usb) driver? (y/n) [n]: y
Build ZD1201 driver on top of Prism2.5 USB? (y/n) [n]: y
Linux source directory [/usr/src/linux]: /usr/src/linux-2.6.9
The kernel source tree is version 2.6.9.
Kernel 2.5/2.6 support is highly experimental.
WARNING: the current running kernel is actually version 2.6.9-1.667.
The current kernel build date is Tue Nov 2 14:41:25 2004.
Alternate target install root directory on host []:
Module install directory [/lib/modules/2.6.9]:
It looks like you have a System V init file setup.
Prefix for build host compiler? (rarely needed) []:
Build for debugging (see doc/config.debug) (y/n) [n]:
Configuration successful.
[root@localhost Zydas]# make all
set -e; for d in src doc man etc; do make -C $d ; done
make[1]: Entering directory `/root/Desktop/Zydas/src'
set -e; for d in mkmeta p80211 prism2 shared wlanctl wland nwepgen wlancfg; do make -C $d ; done
make[2]: Entering directory `/root/Desktop/Zydas/src/mkmeta'
gcc -E -M -I../include -I/usr/src/linux-2.6.9/include -D__LINUX_WLAN__ ../shared/p80211types.c ../shared/p80211metamsg.c ../shared/p80211metamib.c ../shared/p80211meta.c mkmetadef.c ../shared/p80211types.c ../shared/p80211metamsg.c ../shared/p80211metamib.c ../shared/p80211meta.c mkmetastruct.c > .depend
mkdir -p obj
gcc -c -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -DZD -I../include -I/usr/src/linux-2.6.9/include -D__LINUX_WLAN__ ../shared/p80211types.c -o obj/p80211types.o
gcc -c -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -DZD -I../include -I/usr/src/linux-2.6.9/include -D__LINUX_WLAN__ ../shared/p80211metamsg.c -o obj/p80211metamsg.o
gcc -c -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -DZD -I../include -I/usr/src/linux-2.6.9/include -D__LINUX_WLAN__ ../shared/p80211metamib.c -o obj/p80211metamib.o
../shared/p80211metamib.c:2693: let op: overtollige elementen in beginwaarde van struct
../shared/p80211metamib.c:2693: let op: (dicht bij initialisatie van `p80211meta_mib_p2Table[5]')
gcc -c -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -DZD -I../include -I/usr/src/linux-2.6.9/include -D__LINUX_WLAN__ ../shared/p80211meta.c -o obj/p80211meta.o
gcc -c -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -DZD -I../include -I/usr/src/linux-2.6.9/include -D__LINUX_WLAN__ mkmetadef.c -o obj/mkmetadef.o
gcc -o mkmetadef obj/p80211types.o obj/p80211metamsg.o obj/p80211metamib.o obj/p80211meta.o obj/mkmetadef.o
cat mkmetadefhead.txt > ../include/wlan/p80211metadef.h
./mkmetadef >> ../include/wlan/p80211metadef.h
echo "#endif" >> ../include/wlan/p80211metadef.h
gcc -c -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -DZD -I../include -I/usr/src/linux-2.6.9/include -D__LINUX_WLAN__ mkmetastruct.c -o obj/mkmetastruct.ogcc -o mkmetastruct obj/p80211types.o obj/p80211metamsg.o obj/p80211metamib.o obj/p80211meta.o obj/mkmetastruct.o
cat mkmetastructhead.txt > ../include/wlan/p80211metastruct.h
./mkmetastruct >> ../include/wlan/p80211metastruct.h
echo "#endif" >> ../include/wlan/p80211metastruct.h
make[2]: Leaving directory `/root/Desktop/Zydas/src/mkmeta'
make[2]: Entering directory `/root/Desktop/Zydas/src/p80211'
if test ! -d /root/Desktop/Zydas/src/p80211/../.tmp_versions; then \
cp -rf /usr/src/linux-2.6.9/.tmp_versions /root/Desktop/Zydas/src/p80211/../ ; \
fi
make -C /usr/src/linux-2.6.9 SUBDIRS=/root/Desktop/Zydas/src/p80211 WLAN_SRC=/root/Desktop/Zydas/src/p80211/ \
MODVERDIR=/root/Desktop/Zydas/src/p80211/../.tmp_versions modules
make[3]: Entering directory `/usr/src/linux-2.6.9'
CC [M] /root/Desktop/Zydas/src/p80211/p80211mod.o
CC [M] /root/Desktop/Zydas/src/p80211/p80211conv.o
/root/Desktop/Zydas/src/p80211/p80211conv.c: In function `skb_ether_to_p80211':
/root/Desktop/Zydas/src/p80211/p80211conv.c:142: let op: unused variable `fc'
/root/Desktop/Zydas/src/p80211/p80211conv.c:147: let op: unused variable `foo'
/root/Desktop/Zydas/src/p80211/p80211conv.c: In function `skb_p80211_to_ether':
/root/Desktop/Zydas/src/p80211/p80211conv.c:520: error: union has no member named `ethernet'
make[4]: *** [/root/Desktop/Zydas/src/p80211/p80211conv.o] Fout 1
make[3]: *** [_module_/root/Desktop/Zydas/src/p80211] Fout 2
make[3]: Leaving directory `/usr/src/linux-2.6.9'
make[2]: *** [default] Fout 2
make[2]: Leaving directory `/root/Desktop/Zydas/src/p80211'
make[1]: *** [all] Fout 2
make[1]: Leaving directory `/root/Desktop/Zydas/src'
make: *** [all] Fout 2
[root@localhost Zydas]#
What am I (or the driver) doing wrong? I use Fedora Core 3 with a 2.6.9 kernel and a Topcom Skyr@cer Wireless USB v2.0 and I used the zd1201-0.14.tar.gz package from
http://linux-lc100020.sourceforge.net/. A solution for SuSE Linux 9.0 is welcome too.