PDA

View Full Version : attaching FC3 PC to 802.11b wireless lan


o_motte
2005-06-06, 02:48 PM CDT
I have just converted an old Tower PC to Fedora Core 3 and want to add it to my home wireless network.

The wireless modem/router is something named a BT Voyager 2000 which I am told is 802.11b compatible. So it seems to me, being a non techie, that I should be able to stick a compatible board/card into the FC3 PC and away I go! But before chucking my money away, I wondered if anyone knows of something that works with FC3? FC3 lists a number of devices for which it has drivers but I have had trouble finding any of them for sale.

The more technically minded my want to know that I have already scoured the net to try to get and existing device, the Voyager 1010, to work with FC3. I am reliably told that this USB device is an ATMEL AT76C603A and that a driver is available from:

http://at76c503a.berlios.de/

I followed the instructions to use "make" but it didn't work. I have attached the result at the botton for the very brave where it warbles on about libraries missing and then gets really upset.

Any help really welcome, as I am very close to giving up.

motte

PS no flames about what crap equipment BT have supplied me with because it is what i have - alternative suggestions welcome if they are genuinely better.


[root@localhost at76c503-0.11]# make
gcc -MD -O2 -Wall -Wstrict-prototypes -pipe -fno-strict-aliasing -fno-common -Wno-sign-compare -Wno-unused -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -DDRIVER_VERSION=\"v0.11\" -I/lib/modules/2.6.9-1.667/build/include -DMODVERSIONS -include /lib/modules/2.6.9-1.667/build/include/linux/modversions.h -c at76c503.c
cc1: /lib/modules/2.6.9-1.667/build/include/linux/modversions.h: No such file or directory
In file included from /lib/modules/2.6.9-1.667/build/include/linux/irq.h:20,
from /lib/modules/2.6.9-1.667/build/include/asm/hardirq.h:6,
from /lib/modules/2.6.9-1.667/build/include/linux/hardirq.h:6,
from /lib/modules/2.6.9-1.667/build/include/linux/delay.h:13,
from /lib/modules/2.6.9-1.667/build/include/linux/usb.h:14,
from at76c503.c:91:
/lib/modules/2.6.9-1.667/build/include/asm/irq.h:16:25: irq_vectors.h: No such file or directory
In file included from /lib/modules/2.6.9-1.667/build/include/asm/hardirq.h:6,
from /lib/modules/2.6.9-1.667/build/include/linux/hardirq.h:6,
from /lib/modules/2.6.9-1.667/build/include/linux/delay.h:13,
from /lib/modules/2.6.9-1.667/build/include/linux/usb.h:14,
from at76c503.c:91:
/lib/modules/2.6.9-1.667/build/include/linux/irq.h:70: error: `NR_IRQS' undeclared here (not in a function)
In file included from /lib/modules/2.6.9-1.667/build/include/linux/irq.h:72,
from /lib/modules/2.6.9-1.667/build/include/asm/hardirq.h:6,
from /lib/modules/2.6.9-1.667/build/include/linux/hardirq.h:6,
from /lib/modules/2.6.9-1.667/build/include/linux/delay.h:13,
from /lib/modules/2.6.9-1.667/build/include/linux/usb.h:14,
from at76c503.c:91:
/lib/modules/2.6.9-1.667/build/include/asm/hw_irq.h:28: error: `NR_IRQ_VECTORS' undeclared here (not in a function)
In file included from at76c503.c:100:
at76c503.h:459: error: field `tqueue' has incomplete type
at76c503.h:465: error: field `kevent' has incomplete type
at76c503.c: In function `send_mgmt_bulk':
at76c503.c:1427: error: `USB_ST_URB_PENDING' undeclared (first use in this function)
at76c503.c:1427: error: (Each undeclared identifier is reported only once
at76c503.c:1427: error: for each function it appears in.)
at76c503.c:1466: warning: implicit declaration of function `FILL_BULK_URB'
at76c503.c:1474: error: too few arguments to function `usb_submit_urb'
at76c503.c: In function `defer_kevent':
at76c503.c:1757: warning: passing arg 2 of `set_bit' from incompatible pointer type
at76c503.c:1758: warning: implicit declaration of function `schedule_task'
at76c503.c: In function `kevent':
at76c503.c:1782: warning: passing arg 2 of `constant_test_bit' from incompatible pointer type
at76c503.c:1782: warning: passing arg 2 of `variable_test_bit' from incompatible pointer type
at76c503.c:1790: warning: passing arg 2 of `clear_bit' from incompatible pointer type
at76c503.c:1794: warning: passing arg 2 of `constant_test_bit' from incompatible pointer type
at76c503.c:1794: warning: passing arg 2 of `variable_test_bit' from incompatible pointer type
at76c503.c:1821: warning: passing arg 2 of `clear_bit' from incompatible pointer type
at76c503.c:1825: warning: passing arg 2 of `constant_test_bit' from incompatible pointer type
at76c503.c:1825: warning: passing arg 2 of `variable_test_bit' from incompatible pointer type
at76c503.c:1829: warning: passing arg 2 of `clear_bit' from incompatible pointer type
at76c503.c:1832: warning: passing arg 2 of `constant_test_bit' from incompatible pointer type
at76c503.c:1832: warning: passing arg 2 of `variable_test_bit' from incompatible pointer type
at76c503.c:1833: warning: passing arg 2 of `clear_bit' from incompatible pointer type
at76c503.c:1838: warning: passing arg 2 of `constant_test_bit' from incompatible pointer type
at76c503.c:1838: warning: passing arg 2 of `variable_test_bit' from incompatible pointer type
at76c503.c:1840: warning: passing arg 2 of `clear_bit' from incompatible pointer type
at76c503.c:1877: warning: passing arg 2 of `constant_test_bit' from incompatible pointer type
at76c503.c:1877: warning: passing arg 2 of `variable_test_bit' from incompatible pointer type
at76c503.c:1878: warning: passing arg 2 of `clear_bit' from incompatible pointer type
at76c503.c:1948: warning: passing arg 2 of `constant_test_bit' from incompatible pointer type
at76c503.c:1948: warning: passing arg 2 of `variable_test_bit' from incompatible pointer type
at76c503.c:1949: warning: passing arg 2 of `clear_bit' from incompatible pointer type
at76c503.c:1999: warning: passing arg 2 of `constant_test_bit' from incompatible pointer type
at76c503.c:1999: warning: passing arg 2 of `variable_test_bit' from incompatible pointer type
at76c503.c:2000: warning: passing arg 2 of `clear_bit' from incompatible pointer type
at76c503.c:2005: warning: passing arg 2 of `constant_test_bit' from incompatible pointer type
at76c503.c:2005: warning: passing arg 2 of `variable_test_bit' from incompatible pointer type
at76c503.c:2006: warning: passing arg 2 of `clear_bit' from incompatible pointer type
at76c503.c:2014: warning: passing arg 2 of `constant_test_bit' from incompatible pointer type
at76c503.c:2014: warning: passing arg 2 of `variable_test_bit' from incompatible pointer type
at76c503.c:2015: warning: passing arg 2 of `clear_bit' from incompatible pointer type
at76c503.c: In function `ieee80211_to_eth':
at76c503.c:2712: error: union has no member named `ethernet'
at76c503.c: In function `submit_rx_urb':
at76c503.c:3089: warning: passing arg 6 of `usb_fill_bulk_urb' from incompatible pointer type
at76c503.c:3090: error: too few arguments to function `usb_submit_urb'
at76c503.c: In function `at76c503_write_bulk_callback':
at76c503.c:3235: error: too few arguments to function `usb_submit_urb'
at76c503.c: In function `at76c503_tx':
at76c503.c:3321: error: too few arguments to function `usb_submit_urb'
at76c503.c: In function `at76c503_tx_timeout':
at76c503.c:3346: error: `USB_ASYNC_UNLINK' undeclared (first use in this function)
at76c503.c: In function `ethtool_ioctl':
at76c503.c:3689: error: structure has no member named `owner'
at76c503.c:3695:41: missing binary operator before token "("
at76c503.c: In function `at76c503_delete_device':
at76c503.c:4353: warning: implicit declaration of function `flush_scheduled_tasks'
at76c503.c: In function `at76c503_alloc_urbs':
at76c503.c:4384: warning: initialization from incompatible pointer type
at76c503.c:4390: error: structure has no member named `endpoint'
at76c503.c:4396: error: too few arguments to function `usb_alloc_urb'
at76c503.c:4407: error: too few arguments to function `usb_alloc_urb'
at76c503.c:4429: error: too few arguments to function `usb_alloc_urb'
at76c503.c: In function `at76c503_new_device':
at76c503.c:4463: warning: implicit declaration of function `INIT_TQUEUE'
at76c503.c:4507: warning: assignment from incompatible pointer type
at76c503.c: In function `at76c503_do_probe':
at76c503.c:4595: warning: implicit declaration of function `usb_inc_dev_use'
at76c503.c:4597: warning: implicit declaration of function `usb_get_configuration'
at76c503.c:4602: warning: implicit declaration of function `usb_set_configuration'
at76c503.c:4610: error: `USB_ST_STALL' undeclared (first use in this function)
at76c503.c:4625: error: structure has no member named `owner'
at76c503.c:4640: warning: implicit declaration of function `usb_dec_dev_use'
make: *** [at76c503.o] Error 1

kg4cbk
2005-06-07, 12:13 PM CDT
I am pretty sure the driver you are trying to build is for a 2.4 kernel not a 2.6 kernel.

The clue is that the modversions.h file which first complains about is not in the 2.6 header files but is in 2.4 header files.

You will need an updated driver for the 2.6 kernel you are running.

o_motte
2005-06-08, 04:06 AM CDT
Based on your feedback, I have done some further investigation and think you are right. I need to get the latest CVS tarball.

Thanks for the pointer

motte