LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices

Reply
 
Search this Thread
Old 05-22-2003, 05:42 AM   #1
rwhitworth
Member
 
Registered: Dec 2002
Location: Guildford, UK
Posts: 43

Rep: Reputation: 15
Cannot activate WiFi


I'm running Red Hat 8.0 on a lap-top, primarily as a router/firewall for my home LAN.

It has two Ethernet cards in it, one upstream (eth0) to the cable modem, and one downstream (eth1) to the home LAN.

Everything working fine on the wired network, thanks.

However... I want to make the home LAN wireless. Hence I want to replace the eth1 card with a WiFi card.

I have two brands of card to play with: Actiontec 802CAT1, and Belkin F5D6020.

Using the RedHat Network Configuration tool, I am asked to enter the type of Wireless card... and my two brands are not listed. I guess at "Lucent Orinoco and Prism II-based PCMCIA".

The card appears to configure, and now I have it listed in Devices, but not activated. When I try to Activate, it says it can't... but gives no reason. Same for both brands of card.

What do I do next?
 
Old 05-28-2003, 08:09 AM   #2
rwhitworth
Member
 
Registered: Dec 2002
Location: Guildford, UK
Posts: 43

Original Poster
Rep: Reputation: 15
I now have some more info on this one. The Belkin card will work if I put a copy of hermes.conf in /etc/pcmcia, and I select "Lucent/Agere/Melco PCMCIA wireless (alternate)" in the Redhat Network config utility.

At least this proves that wireless network is possible on my system!

Unfortunately, I really want to use the Belkin card on my Windows desktop machine (since it came with a matching PCI adaptor). I want to use the Adaptec WiFi card in the Linux laptop... and I still can't find a way to make it happen.

Whatever driver I select, it will not activate.

cardctl ident gives me this:

Socket 1:
product info: "WLAN", "802.11b PC CARD"
manfid: 0x0000, 0x0000
function: 6 (network)

Anyone got any thoughts... or do I need to buy a different card (perhaps another Belkin).
 
Old 05-28-2003, 10:18 AM   #3
tenn_eric
LQ Newbie
 
Registered: May 2001
Distribution: FC3
Posts: 21

Rep: Reputation: 15
I think you can use the pci adapter for any pcmcia card you want, I am not sure though. As for the main problem, what wifi driver are you using?
 
Old 05-28-2003, 10:57 AM   #4
rwhitworth
Member
 
Registered: Dec 2002
Location: Guildford, UK
Posts: 43

Original Poster
Rep: Reputation: 15
No, this PCI adaptor is specific to the Belkin card, unfortunately. That's what the documentation says... and they don't seem to be joking - with the Actiontec card plugged into it, it tries to load the Belkin drivers, which then fail.

I have now had a reply from Actiontec's help desk, who inform me that I need to use an Atmel driver, with instructions here:

http://thekelleys.org.uk/actiontec.html

These drivers need to be compiled... and that's something I have so far managed to avoid in my experience so far with Linux. I don't even have a compiler included in my installation at the moment (not sure I can fit it in, now).

At least that explains why the Actiontec isn't happy - but I think my solution is to buy yet another Belkin card, and I've already found one on eBay.
 
Old 05-28-2003, 02:59 PM   #5
finegan
Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 57
If the card is specific to the chipset, most likely its a prism2 card, also you weren't specific on which card that ident line came from.

First off, what's the output of:

/sbin/lspci

regarding the PCI adapter? Also, you might just want to take a shot with the orinoco driver:

/sbin/modprobe orinoco_plx


And what's the pcmcia ident line of Both cards.

I've compiled the atmel drivers a lot, and I don't even own an atmel based card, and they're realllllly easy. You'll have to install a compiler AND kernel source too btw. Buying around the problem really is much more trouble then compiling the atmel driver.

Cheers,

Finegan
 
Old 05-30-2003, 03:06 AM   #6
rwhitworth
Member
 
Registered: Dec 2002
Location: Guildford, UK
Posts: 43

Original Poster
Rep: Reputation: 15
Sorry - red herring because I haven't quite explained the full story!

The PCI system is Win98, so /sbin/lspci isn't going to get me very far. Let's forget about the Belkin / PCI / Win 98 system, and concentrate on the Actiontec / PCMCIA / RedHat 8.0 - which is the one I really want to get working.

The ident given a few messages back is the Actiontec.

I have now installed gcc, and am ready to follow the instructions in the URL given earlier.

What bothers me is that I'm simply following the instructions parrot-fashion, and the "make xxx" always comes back with loads of messages - and I don't know which ones I can ignore and which ones are bad news!

In the first pass I guess I'll just ignore the errors (if that is what they are), and see if a working system comes out at the other end. If it doesn't, then I'm going to have to start posting the "make" output here.
 
Old 05-30-2003, 09:42 AM   #7
rwhitworth
Member
 
Registered: Dec 2002
Location: Guildford, UK
Posts: 43

Original Poster
Rep: Reputation: 15
Tried it... didn't work; doesn't seem to recognise the card. So here, as threatened (apologies for length) is the entire output from the make...

[root@localhost atmelwlandriver]# make config
Build all (y/n) : n
which: no modprobe in (/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/russell/bin)
Kernel Version Running 2.4.20-13.8
Found Kernel Source Directory ()
Build Debug version (y/n) : n
Set extra module version information (y/n) : y
Build USB Drivers (y/n) : n
Build PCMCIA Drivers (y/n) : y
Build PCMCIA rfmd Driver (y/n) : n
Build PCMCIA 3COM Driver (y/n) : n
Build PCMCIA rfmd revision d Driver (y/n) : y
Build PCMCIA rfmd revision e Driver (y/n) : n
Build PCMCIA 504 Driver (y/n) : n
Build miniPCI Driver (y/n) : n
Build applications (y/n) : n
Finished. Now run make clean, all, install
[root@localhost atmelwlandriver]# make clean
find -name '*.o' -o -name '*.map' |xargs rm -f
[root@localhost atmelwlandriver]# make all
Building src/Pcmcia_Pci
make[1]: Entering directory `/home/russell/atmelwlandriver/src/Pcmcia_Pci'
PCMCIA yes : revd
for i in revd; do make $i; done
make[2]: Entering directory `/home/russell/atmelwlandriver/src/Pcmcia_Pci'
make clean
make[3]: Entering directory `/home/russell/atmelwlandriver/src/Pcmcia_Pci'
find -name '*.o'|xargs rm -f
make[3]: Leaving directory `/home/russell/atmelwlandriver/src/Pcmcia_Pci'
make final CFLAGS:='-I/pcmcia/include -DLINUX_OS -D__KERNEL__ -pipe -O3 -fomit-frame-pointer -fno-strict-aliasing -I/include -I/home/russell/atmelwlandriver/src/includes -I/home/russell/atmelwlandriver/src/includes/pcmcia -Wall -DMODULE -DMODVERSIONS -include /include/linux/modversions.h -DRFMD -DINT_ROAM -DRX_CRC -DREV_D' RF:='0' DBG:='0' MODULE:='pcmf502rd.o' LIB:=-REVD-
make[3]: Entering directory `/home/russell/atmelwlandriver/src/Pcmcia_Pci'
gcc -I/pcmcia/include -DLINUX_OS -D__KERNEL__ -pipe -O3 -fomit-frame-pointer -fno-strict-aliasing -I/include -I/home/russell/atmelwlandriver/src/includes -I/home/russell/atmelwlandriver/src/includes/pcmcia -Wall -DMODULE -DMODVERSIONS -include /include/linux/modversions.h -DRFMD -DINT_ROAM -DRX_CRC -DREV_D -c -o card.o card.c
<command line>:137876999:54800: /include/linux/modversions.h: No such file or directory
In file included from /usr/include/linux/fs.h:23,
from /usr/include/linux/capability.h:17,
from /usr/include/linux/binfmts.h:5,
from /usr/include/linux/sched.h:9,
from /home/russell/atmelwlandriver/src/includes/pcmcia/vnet_linux.h:43,
from /home/russell/atmelwlandriver/src/includes/pcmcia/vnet.h:28,
from card.c:23:
/usr/include/linux/string.h:8:2: warning: #warning Using kernel header in userland!
In file included from /usr/include/linux/sched.h:14,
from /home/russell/atmelwlandriver/src/includes/pcmcia/vnet_linux.h:43,
from /home/russell/atmelwlandriver/src/includes/pcmcia/vnet.h:28,
from card.c:23:
/usr/include/linux/timex.h:173: field `time' has incomplete type
In file included from /usr/include/linux/bitops.h:69,
from /usr/include/asm/system.h:7,
from /usr/include/linux/sched.h:16,
from /home/russell/atmelwlandriver/src/includes/pcmcia/vnet_linux.h:43,
from /home/russell/atmelwlandriver/src/includes/pcmcia/vnet.h:28,
from card.c:23:
/usr/include/asm/bitops.h:333:2: warning: #warning This includefile is not available on all architectures.
/usr/include/asm/bitops.h:334:2: warning: #warning Using kernel headers in userspace.
In file included from /usr/include/linux/signal.h:4,
from /usr/include/linux/sched.h:25,
from /home/russell/atmelwlandriver/src/includes/pcmcia/vnet_linux.h:43,
from /home/russell/atmelwlandriver/src/includes/pcmcia/vnet.h:28,
from card.c:23:
/usr/include/asm/signal.h:107: parse error before "sigset_t"
/usr/include/asm/signal.h:110: parse error before '}' token
In file included from /usr/include/linux/sched.h:81,
from /home/russell/atmelwlandriver/src/includes/pcmcia/vnet_linux.h:43,
from /home/russell/atmelwlandriver/src/includes/pcmcia/vnet.h:28,
from card.c:23:
/usr/include/linux/timer.h:45: parse error before "spinlock_t"
/usr/include/linux/timer.h:53: parse error before '}' token
/usr/include/linux/timer.h:67: parse error before "tvec_base_t"
/usr/include/linux/timer.h:101: parse error before "tvec_bases"
/usr/include/linux/timer.h: In function `init_timer':
/usr/include/linux/timer.h:105: dereferencing pointer to incomplete type
/usr/include/linux/timer.h:105: dereferencing pointer to incomplete type
/usr/include/linux/timer.h:106: dereferencing pointer to incomplete type
/usr/include/linux/timer.h: In function `timer_pending':
/usr/include/linux/timer.h:121: dereferencing pointer to incomplete type
In file included from /home/russell/atmelwlandriver/src/includes/pcmcia/vnet.h:28,
from card.c:23:
/home/russell/atmelwlandriver/src/includes/pcmcia/vnet_linux.h:51:25: asm/uaccess.h: No such file or directory
/home/russell/atmelwlandriver/src/includes/pcmcia/vnet_linux.h:56:28: pcmcia/version.h: No such file or directory
/home/russell/atmelwlandriver/src/includes/pcmcia/vnet_linux.h:57:29: pcmcia/cs_types.h: No such file or directory
/home/russell/atmelwlandriver/src/includes/pcmcia/vnet_linux.h:58:23: pcmcia/cs.h: No such file or directory
/home/russell/atmelwlandriver/src/includes/pcmcia/vnet_linux.h:59:27: pcmcia/cistpl.h: No such file or directory
/home/russell/atmelwlandriver/src/includes/pcmcia/vnet_linux.h:60:27: pcmcia/cisreg.h: No such file or directory
/home/russell/atmelwlandriver/src/includes/pcmcia/vnet_linux.h:61:23: pcmcia/ds.h: No such file or directory
In file included from /usr/include/linux/highmem.h:5,
from /usr/include/linux/skbuff.h:26,
from /home/russell/atmelwlandriver/src/includes/pcmcia/vnet_linux.h:66,
from /home/russell/atmelwlandriver/src/includes/pcmcia/vnet.h:28,
from card.c:23:
/usr/include/asm/pgalloc.h:6:24: asm/fixmap.h: No such file or directory
In file included from /usr/include/linux/highmem.h:5,
from /usr/include/linux/skbuff.h:26,
from /home/russell/atmelwlandriver/src/includes/pcmcia/vnet_linux.h:66,
from /home/russell/atmelwlandriver/src/includes/pcmcia/vnet.h:28,
from card.c:23:
/usr/include/asm/pgalloc.h: At top level:
/usr/include/asm/pgalloc.h:57: parse error before '*' token
/usr/include/asm/pgalloc.h: In function `get_pgd_slow':
/usr/include/asm/pgalloc.h:59: `pgd_t' undeclared (first use in this function)
/usr/include/asm/pgalloc.h:59: (Each undeclared identifier is reported only once
/usr/include/asm/pgalloc.h:59: for each function it appears in.)
/usr/include/asm/pgalloc.h:59: `pgd' undeclared (first use in this function)
/usr/include/asm/pgalloc.h:59: parse error before ')' token
/usr/include/asm/pgalloc.h:62: `USER_PTRS_PER_PGD' undeclared (first use in this function)
/usr/include/asm/pgalloc.h:63: `swapper_pg_dir' undeclared (first use in this function)
/usr/include/asm/pgalloc.h:63: `PTRS_PER_PGD' undeclared (first use in this function)
/usr/include/asm/pgalloc.h: At top level:
/usr/include/asm/pgalloc.h:70: parse error before '*' token
/usr/include/asm/pgalloc.h: In function `get_pgd_fast':
/usr/include/asm/pgalloc.h:80: `pgd_t' undeclared (first use in this function)
/usr/include/asm/pgalloc.h:80: parse error before ')' token
/usr/include/asm/pgalloc.h: At top level:
/usr/include/asm/pgalloc.h:83: parse error before '*' token
/usr/include/asm/pgalloc.h: In function `free_pgd_fast':
/usr/include/asm/pgalloc.h:85: `pgd' undeclared (first use in this function)
/usr/include/asm/pgalloc.h: At top level:
/usr/include/asm/pgalloc.h:90: parse error before '*' token
/usr/include/asm/pgalloc.h: In function `free_pgd_slow':
/usr/include/asm/pgalloc.h:99: `pgd' undeclared (first use in this function)
/usr/include/asm/pgalloc.h: At top level:
/usr/include/asm/pgalloc.h:103: parse error before '*' token
/usr/include/asm/pgalloc.h: In function `pte_alloc_one':
/usr/include/asm/pgalloc.h:105: `pte_t' undeclared (first use in this function)
/usr/include/asm/pgalloc.h:105: `pte' undeclared (first use in this function)
/usr/include/asm/pgalloc.h:109: parse error before ')' token
/usr/include/asm/pgalloc.h: At top level:
/usr/include/asm/pgalloc.h:118: parse error before '*' token
/usr/include/asm/pgalloc.h: In function `pte_alloc_one_fast':
/usr/include/asm/pgalloc.h:127: `pte_t' undeclared (first use in this function)
/usr/include/asm/pgalloc.h:127: parse error before ')' token
/usr/include/asm/pgalloc.h: At top level:
/usr/include/asm/pgalloc.h:130: parse error before '*' token
/usr/include/asm/pgalloc.h: In function `pte_free_fast':
/usr/include/asm/pgalloc.h:132: `pte' undeclared (first use in this function)
/usr/include/asm/pgalloc.h: At top level:
/usr/include/asm/pgalloc.h:137: parse error before '*' token
/usr/include/asm/pgalloc.h: In function `pte_free_slow':
/usr/include/asm/pgalloc.h:139: `pte' undeclared (first use in this function)
/usr/include/asm/pgalloc.h: In function `flush_tlb_mm':
/usr/include/asm/pgalloc.h:183: `current' undeclared (first use in this function)
/usr/include/asm/pgalloc.h: In function `flush_tlb_page':
/usr/include/asm/pgalloc.h:190: dereferencing pointer to incomplete type
/usr/include/asm/pgalloc.h:190: `current' undeclared (first use in this function)
/usr/include/asm/pgalloc.h: In function `flush_tlb_range':
/usr/include/asm/pgalloc.h:197: `current' undeclared (first use in this function)
In file included from /home/russell/atmelwlandriver/src/includes/pcmcia/vnet_linux.h:66,
from /home/russell/atmelwlandriver/src/includes/pcmcia/vnet.h:28,
from card.c:23:
/usr/include/linux/skbuff.h: At top level:
/usr/include/linux/skbuff.h:100: parse error before "spinlock_t"
/usr/include/linux/skbuff.h:120: parse error before "atomic_t"
/usr/include/linux/skbuff.h:124: parse error before '}' token
/usr/include/linux/skbuff.h:183: parse error before "atomic_t"
/usr/include/linux/skbuff.h:215: parse error before '}' token
In file included from /home/russell/atmelwlandriver/src/includes/pcmcia/vnet_linux.h:86,
from /home/russell/atmelwlandriver/src/includes/pcmcia/vnet.h:28,
from card.c:23:
/usr/include/linux/modversions.h:1:2: #error Modules should never use kernel-headers system headers,
/usr/include/linux/modversions.h:2:2: #error but rather headers from an appropriate kernel-source package.
/usr/include/linux/modversions.h:3:2: #error Change -I/usr/src/linux/include (or similar) to
/usr/include/linux/modversions.h:4:2: #error -I/lib/modules/$(uname -r)/build/include
/usr/include/linux/modversions.h:5:2: #error to build against the currently-running kernel.
make[3]: *** [card.o] Error 1
make[3]: Leaving directory `/home/russell/atmelwlandriver/src/Pcmcia_Pci'
make[2]: *** [revd] Error 2
make[2]: Leaving directory `/home/russell/atmelwlandriver/src/Pcmcia_Pci'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/russell/atmelwlandriver/src/Pcmcia_Pci'
make: *** [all] Error 2
[root@localhost atmelwlandriver]# make install
set -x
depmod -aq
make: depmod: Command not found
make: *** [install] Error 127
[root@localhost atmelwlandriver]#
 
Old 05-30-2003, 02:06 PM   #8
finegan
Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 57
kernel source and /usr/include headers, you're going to have to install an awful lot of base source code in order to get this sucker to compile. The Hat loves to not give you the fun toys, usually they ignore installing a compiler also.

RH has some GUI tool for installing RPMs from the CDs that'll get all of the dependencies right, just tell it to install the 2.4.18-? kernel source and it'll do the headers as a dependency along with maybe one or two other widgets...

Cheers,

Finegan
 
Old 06-02-2003, 01:55 PM   #9
rwhitworth
Member
 
Registered: Dec 2002
Location: Guildford, UK
Posts: 43

Original Poster
Rep: Reputation: 15
Actually, the installer thing seems to have been broken by up2date (I now have later versions of some things, that it won't recognise). But "up2date -f kernel-source" seemed to do the trick.

So this time I get another selection of error messages! They don't look quite so bad and there aren't so many of them... but it looks like I'm not out of the forest yet. Here they come:

[root@localhost atmelwlandriver]# make config
Build all (y/n) : n
which: no modprobe in (/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/home/russell/bin)
Kernel Version Running 2.4.20-13.8
Found Kernel Source Directory (/lib/modules/2.4.20-13.8/build)
Build Debug version (y/n) : n
Set extra module version information (y/n) : y
Build USB Drivers (y/n) : n
Build PCMCIA Drivers (y/n) : y
Build PCMCIA rfmd Driver (y/n) : n
Build PCMCIA 3COM Driver (y/n) : n
Build PCMCIA rfmd revision d Driver (y/n) : y
Build PCMCIA rfmd revision e Driver (y/n) : n
Build PCMCIA 504 Driver (y/n) : n
Build miniPCI Driver (y/n) : n
Build applications (y/n) : n
Finished. Now run make clean, all, install
[root@localhost atmelwlandriver]# make clean
find -name '*.o' -o -name '*.map' |xargs rm -f
[root@localhost atmelwlandriver]# make all
Building src/Pcmcia_Pci
make[1]: Entering directory `/home/russell/atmelwlandriver/src/Pcmcia_Pci'
PCMCIA yes : revd
for i in revd; do make $i; done
make[2]: Entering directory `/home/russell/atmelwlandriver/src/Pcmcia_Pci'
make clean
make[3]: Entering directory `/home/russell/atmelwlandriver/src/Pcmcia_Pci'
find -name '*.o'|xargs rm -f
make[3]: Leaving directory `/home/russell/atmelwlandriver/src/Pcmcia_Pci'
make final CFLAGS:='-I/lib/modules/2.4.20-13.8/build/pcmcia/include -DLINUX_OS -D__KERNEL__ -pipe -O3 -fomit-frame-pointer -fno-strict-aliasing -I/lib/modules/2.4.20-13.8/build/include -I/home/russell/atmelwlandriver/src/includes -I/home/russell/atmelwlandriver/src/includes/pcmcia -Wall -DMODULE -DMODVERSIONS -include /lib/modules/2.4.20-13.8/build/include/linux/modversions.h -DRFMD -DINT_ROAM -DRX_CRC -DREV_D' RF:='0' DBG:='0' MODULE:='pcmf502rd.o' LIB:=-REVD-
make[3]: Entering directory `/home/russell/atmelwlandriver/src/Pcmcia_Pci'
gcc -I/lib/modules/2.4.20-13.8/build/pcmcia/include -DLINUX_OS -D__KERNEL__ -pipe -O3 -fomit-frame-pointer -fno-strict-aliasing -I/lib/modules/2.4.20-13.8/build/include -I/home/russell/atmelwlandriver/src/includes -I/home/russell/atmelwlandriver/src/includes/pcmcia -Wall -DMODULE -DMODVERSIONS -include /lib/modules/2.4.20-13.8/build/include/linux/modversions.h -DRFMD -DINT_ROAM -DRX_CRC -DREV_D -c -o card.o card.c
gcc -I/lib/modules/2.4.20-13.8/build/pcmcia/include -DLINUX_OS -D__KERNEL__ -pipe -O3 -fomit-frame-pointer -fno-strict-aliasing -I/lib/modules/2.4.20-13.8/build/include -I/home/russell/atmelwlandriver/src/includes -I/home/russell/atmelwlandriver/src/includes/pcmcia -Wall -DMODULE -DMODVERSIONS -include /lib/modules/2.4.20-13.8/build/include/linux/modversions.h -DRFMD -DINT_ROAM -DRX_CRC -DREV_D -c -o command.o command.c
gcc -I/lib/modules/2.4.20-13.8/build/pcmcia/include -DLINUX_OS -D__KERNEL__ -pipe -O3 -fomit-frame-pointer -fno-strict-aliasing -I/lib/modules/2.4.20-13.8/build/include -I/home/russell/atmelwlandriver/src/includes -I/home/russell/atmelwlandriver/src/includes/pcmcia -Wall -DMODULE -DMODVERSIONS -include /lib/modules/2.4.20-13.8/build/include/linux/modversions.h -DRFMD -DINT_ROAM -DRX_CRC -DREV_D -c -o interrupt.o interrupt.c
gcc -I/lib/modules/2.4.20-13.8/build/pcmcia/include -DLINUX_OS -D__KERNEL__ -pipe -O3 -fomit-frame-pointer -fno-strict-aliasing -I/lib/modules/2.4.20-13.8/build/include -I/home/russell/atmelwlandriver/src/includes -I/home/russell/atmelwlandriver/src/includes/pcmcia -Wall -DMODULE -DMODVERSIONS -include /lib/modules/2.4.20-13.8/build/include/linux/modversions.h -DRFMD -DINT_ROAM -DRX_CRC -DREV_D -c -o mgmt.o mgmt.c
gcc -I/lib/modules/2.4.20-13.8/build/pcmcia/include -DLINUX_OS -D__KERNEL__ -pipe -O3 -fomit-frame-pointer -fno-strict-aliasing -I/lib/modules/2.4.20-13.8/build/include -I/home/russell/atmelwlandriver/src/includes -I/home/russell/atmelwlandriver/src/includes/pcmcia -Wall -DMODULE -DMODVERSIONS -include /lib/modules/2.4.20-13.8/build/include/linux/modversions.h -DRFMD -DINT_ROAM -DRX_CRC -DREV_D -c -o rx.o rx.c
gcc -I/lib/modules/2.4.20-13.8/build/pcmcia/include -DLINUX_OS -D__KERNEL__ -pipe -O3 -fomit-frame-pointer -fno-strict-aliasing -I/lib/modules/2.4.20-13.8/build/include -I/home/russell/atmelwlandriver/src/includes -I/home/russell/atmelwlandriver/src/includes/pcmcia -Wall -DMODULE -DMODVERSIONS -include /lib/modules/2.4.20-13.8/build/include/linux/modversions.h -DRFMD -DINT_ROAM -DRX_CRC -DREV_D -c -o tx.o tx.c
gcc -I/lib/modules/2.4.20-13.8/build/pcmcia/include -DLINUX_OS -D__KERNEL__ -pipe -O3 -fomit-frame-pointer -fno-strict-aliasing -I/lib/modules/2.4.20-13.8/build/include -I/home/russell/atmelwlandriver/src/includes -I/home/russell/atmelwlandriver/src/includes/pcmcia -Wall -DMODULE -DMODVERSIONS -include /lib/modules/2.4.20-13.8/build/include/linux/modversions.h -DRFMD -DINT_ROAM -DRX_CRC -DREV_D -c -o vnet.o vnet.c
vnet.c: In function `JoinSpecificBSS':
vnet.c:1077: warning: unused variable `i'
gcc -I/lib/modules/2.4.20-13.8/build/pcmcia/include -DLINUX_OS -D__KERNEL__ -pipe -O3 -fomit-frame-pointer -fno-strict-aliasing -I/lib/modules/2.4.20-13.8/build/include -I/home/russell/atmelwlandriver/src/includes -I/home/russell/atmelwlandriver/src/includes/pcmcia -Wall -DMODULE -DMODVERSIONS -include /lib/modules/2.4.20-13.8/build/include/linux/modversions.h -DRFMD -DINT_ROAM -DRX_CRC -DREV_D -c -o vnetlinux.o vnetlinux.c
gcc -I/lib/modules/2.4.20-13.8/build/pcmcia/include -DLINUX_OS -D__KERNEL__ -pipe -O3 -fomit-frame-pointer -fno-strict-aliasing -I/lib/modules/2.4.20-13.8/build/include -I/home/russell/atmelwlandriver/src/includes -I/home/russell/atmelwlandriver/src/includes/pcmcia -Wall -DMODULE -DMODVERSIONS -include /lib/modules/2.4.20-13.8/build/include/linux/modversions.h -DRFMD -DINT_ROAM -DRX_CRC -DREV_D -DMODULE -c fastvnet_cs.c -o fastvnet_cs.o
fastvnet_cs.c:45: warning: `version' defined but not used
ld -r -o /home/russell/atmelwlandriver/objs/pcmf502rd.o fastvnet_cs.o card.o command.o interrupt.o mgmt.o rx.o tx.o vnet.o vnetlinux.o
nm /home/russell/atmelwlandriver/objs/pcmf502rd.o |sort -u >/home/russell/atmelwlandriver/objs/pcmf502rd.map;
make[3]: Leaving directory `/home/russell/atmelwlandriver/src/Pcmcia_Pci'
make[2]: Leaving directory `/home/russell/atmelwlandriver/src/Pcmcia_Pci'
make[1]: Leaving directory `/home/russell/atmelwlandriver/src/Pcmcia_Pci'
[root@localhost atmelwlandriver]# make install
set -x
depmod -aq
make: depmod: Command not found
make: *** [install] Error 127
[root@localhost atmelwlandriver]#
 
Old 06-02-2003, 02:11 PM   #10
finegan
Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 57
No, that looks great, the only problem seems to be that the script can't find depmod, which is more then a little silly. Its probably just a path problem. When you use "su" to become root, you keep the path of the joe user you were logged in as. depmod is not in joe user's patch and these guys didn't put the full path to depmod in the script, which is a little odd:

su -

That'll completely re-log you in as root with roots path, don't even bother to re-run the make, just run the make install.

Cheers,

Finegan
 
Old 06-03-2003, 06:05 AM   #11
rwhitworth
Member
 
Registered: Dec 2002
Location: Guildford, UK
Posts: 43

Original Poster
Rep: Reputation: 15
Excellent! "su -" is useful to know about - thanks.

So now I have a driver compiled, but sadly it still isn't recognised.

When I plug the card in, I get a "beep - boop" (high-low), instead of the "beep-beep" that I would expect for recognised cards.

Nothing appears in dmesg.

So I'm stuck again. Any further suggestions?
 
Old 06-03-2003, 04:38 PM   #12
finegan
Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 57
There should now be a file in /etc/pcmcia/ called atmel.conf, make certain there is an entry for your card in there that looks like:

Socket 1:
product info: "WLAN", "802.11b PC CARD"
manfid: 0x0000, 0x0000
function: 6 (network)

If not, add one, just make sure its in the format as the other entries. Ignore the wording of the "card" entry, its just hood-ornamenting, the important part is to match the manfid line.

Cheers,

Finegan
 
Old 06-04-2003, 08:34 AM   #13
rwhitworth
Member
 
Registered: Dec 2002
Location: Guildford, UK
Posts: 43

Original Poster
Rep: Reputation: 15
There seem to be two formats in use in that file, one using manfid and one using version. So I've tried both:

card "Actiontec wireless"
manfid 0x0000, 0x0000
bind "pcmf502rd"

and

card "Actiontec wireless"
version "WLAN", "802.11b PC CARD"
bind "pcmf502rd"

Neither seems to do anything.
 
Old 06-05-2003, 08:49 AM   #14
rwhitworth
Member
 
Registered: Dec 2002
Location: Guildford, UK
Posts: 43

Original Poster
Rep: Reputation: 15
I'm up and running :-)

Enough of the messing around with Actiontec... I found a cheap Prism clone on eBay that works fine.

Finegan: Many thanks for your help - I learnt a lot along the journey even though I didn't reach the end of the road!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Activate USB WiFi on startup on Fedora Core 4 xxrsc Linux - Wireless Networking 1 11-26-2005 08:30 PM
udma won't activate in 10.1 no dice Mandriva 0 10-27-2004 12:50 PM
Ralink WIFI with Asus@Home WIFI wavemachine Linux - Hardware 0 10-20-2004 03:10 PM
eth0 will not activate reichhorn Linux - Networking 16 05-14-2004 01:04 AM
ISDN - How to activate? LinuxBie Linux - General 1 01-06-2004 03:24 AM


All times are GMT -5. The time now is 08:59 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration