atuwi - The FreeBSD AT76c503 USB Wireless LAN driver Version 0.1 (beta) - 2003-09-02 Daan Vreeken - Danovitsch @ Vitsch . net How to install the atuwi driver ------------------------------- This driver is written on FreeBSD-5.1 RELEASE, but should work ok with any later version. (Possibly even 5.0) First unpack the tar archive into your source tree (this will overwrite usbdevs, back it up before you start if you want to keep the original) # cd /usr/src/sys # tar -xvzf /path/to/atuwi-0.1.tar.gz update the usbdevs list # cd dev/usb # make -f Makefile.usbdevs # cd /usr/src/sys/modules/usb # make compile the driver itself # cd /usr/src/sys/modules/atuwi # make How to use the driver --------------------- By now you should have a kernel module called if_atuwi.ko . Load it with : # kldload /usr/src/sys/modules/atuwi/if_atuwi.ko Now plug in your AT76c503 board. If the driver doesn't recognize the board, try to add the VID & PID in if_atuwi.c . If you succeed, please let me know the VID & PID so I can include them in the next release. At this moment there is a problem with the firmware upload. After uploading the firmware the adapter needs to be reset. Since the reset routine isn't (fully) working yet, you need to reset the device by hand. You can do this by unplugging the device half. By this I mean moving the plug out a few millimeters and plugging it back in without disconnecting the power of the adapter. You'll have to try this a couple of times before you succeed. Once you get the trick the second part of the firmware will be loaded and you should be ready to go. The driver defaults to channel=10 and ssid=vitsch-wlan , but you can set that to whatever you like with ifconfig. Known problems/bugs ------------------- - The atuwi_reset routine doesn't work yet. (It is included in if_atuwi.c , but doesn't get used) - Adapters with Intersil radios are supported, but I could not get mine to transmit. It does transmit & receive beacons but there are no packets coming out of the USB endpoint and it refuses to send data packets. (could be a problem with setting the MAC address) - Adapters with Intersil radios don't shut up after sending a CMD_RADIO_OFF command. I don't know if it's simply not supported in their firmware or if it's me doing something wrong. - Promiscuous mode doesn't work. It doesn't work either in the Linux driver, so it looks as if it's the firmware refusing it. - For some reason Windows machines seem to lose connection after a couple of seconds/minutes. I couldn't investigate this since I don't have any Windoze machines around. If you have, please tell me your experience.