Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Wireless card on CentOS problems

Status
Not open for further replies.

wags2272

Technical User
Jun 3, 2005
39
0
0
US
I have been trying to get my wireless card on my ASUS laptop installed. It is an Intel(R) PRO/Wireless 3945ABG Net wireless card. I have tried downloading the packages and installing it and have been having problems. I ran a script of my attempts to run make and make file, it is at the end of this post. I am lost at this point, any suggestions would be appreciated.

Thanks,
Jonathan


make
Checking in /lib/modules/2.6.9-42.0.10.EL for ieee80211 components...
make -C /lib/modules/2.6.9-42.0.10.EL/build M=/root/ieee80211-1.2.16 modules
make[1]: Entering directory `/usr/src/kernels/2.6.9-42.0.10.EL-i686'
CC [M] /root/ieee80211-1.2.16/ieee80211_module.o
In file included from /root/ieee80211-1.2.16/ieee80211_module.c:52:
/root/ieee80211-1.2.16/compat.h:70: error: redefinition of 'is_multicast_ether_addr'
include/linux/etherdevice.h:60: error: previous definition of 'is_multicast_ether_addr' was here
/root/ieee80211-1.2.16/compat.h:76: error: redefinition of typedef 'gfp_t'
include/linux/gfp.h:133: error: previous declaration of 'gfp_t' was here
/root/ieee80211-1.2.16/compat.h:79: error: redefinition of 'is_broadcast_ether_addr'
include/linux/etherdevice.h:65: error: previous definition of 'is_broadcast_ether_addr' was here
/root/ieee80211-1.2.16/compat.h:84: error: conflicting types for 'kzalloc'
include/linux/slab.h:101: error: previous declaration of 'kzalloc' was here
/root/ieee80211-1.2.16/compat.h:84: error: conflicting types for 'kzalloc'
include/linux/slab.h:101: error: previous declaration of 'kzalloc' was here
/root/ieee80211-1.2.16/compat.h:94: error: redefinition of 'compare_ether_addr'
include/linux/etherdevice.h:109: error: previous definition of 'compare_ether_addr' was here
make[2]: *** [/root/ieee80211-1.2.16/ieee80211_module.o] Error 1
make[1]: *** [_module_/root/ieee80211-1.2.16] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.9-42.0.10.EL-i686'
make: *** [modules] Error 2
]0;root@localhost:~/ieee80211-1.2.16 [root@localhost ieee80211-1.2.16]# make file
make: *** No rule to make target `file'. Stop.
]0;root@localhost:~/ieee80211-1.2.16 [root@localhost ieee80211-1.2.16]# makefile
bash: makefile: command not found
]0;root@localhost:~/ieee80211-1.2.16 [root@localhost ieee80211-1.2.16]# Mmake install
make -C /lib/modules/2.6.9-42.0.10.EL/build M=/root/ieee80211-1.2.16 modules
make[1]: Entering directory `/usr/src/kernels/2.6.9-42.0.10.EL-i686'
CC [M] /root/ieee80211-1.2.16/ieee80211_module.o
In file included from /root/ieee80211-1.2.16/ieee80211_module.c:52:
/root/ieee80211-1.2.16/compat.h:70: error: redefinition of 'is_multicast_ether_addr'
include/linux/etherdevice.h:60: error: previous definition of 'is_multicast_ether_addr' was here
/root/ieee80211-1.2.16/compat.h:76: error: redefinition of typedef 'gfp_t'
include/linux/gfp.h:133: error: previous declaration of 'gfp_t' was here
/root/ieee80211-1.2.16/compat.h:79: error: redefinition of 'is_broadcast_ether_addr'
include/linux/etherdevice.h:65: error: previous definition of 'is_broadcast_ether_addr' was here
/root/ieee80211-1.2.16/compat.h:84: error: conflicting types for 'kzalloc'
include/linux/slab.h:101: error: previous declaration of 'kzalloc' was here
/root/ieee80211-1.2.16/compat.h:84: error: conflicting types for 'kzalloc'
include/linux/slab.h:101: error: previous declaration of 'kzalloc' was here
/root/ieee80211-1.2.16/compat.h:94: error: redefinition of 'compare_ether_addr'
include/linux/etherdevice.h:109: error: previous definition of 'compare_ether_addr' was here
make[2]: *** [/root/ieee80211-1.2.16/ieee80211_module.o] Error 1
make[1]: *** [_module_/root/ieee80211-1.2.16] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.9-42.0.10.EL-i686'
make: *** [modules] Error 2
 
did you read the requirements' section on the 3945ABG project's page?

the page is available at


What version of CentOS are you running? What kernel?
Have you enabled all necessary kernel modules?

QaTQat

Life is what happens when you are making other plans.
 
At this point I'm somewhat lost. I'm running CentOS 4.4 with all of the latest kernel updates and I'm running 2.6.9-42.0.10. As I said, I'm somewhat lost, I'm not even sure what I've installed and what I haven't. I'm about to the point of wiping and reloading so that I can start from scratch.

Jonathan
 
Post the output of lsmod

QatQat

Life is what happens when you are making other plans.
 
Here it is:


Script started on Wed 14 Mar 2007 09:36:24 PM PDT
]0;root@localhost:~[root@localhost ~]# lsmod

Module Size Used by

parport_pc 28033 0

lp 15661 0

parport 38025 2 parport_pc,lp

autofs4 23109 0

i2c_dev 14529 0

i2c_core 26049 1 i2c_dev

sunrpc 144037 1

vfat 17089 1

fat 44385 1 vfat

dm_mirror 31901 0

dm_multipath 22473 0

dm_mod 60741 2 dm_mirror,dm_multipath

button 10705 0

battery 12997 0

asus_acpi 15445 0

ac 8901 0

md5 8129 1

ipv6 242657 10

joydev 14337 0

uhci_hcd 32857 0

ehci_hcd 32325 0

hw_random 9685 0

snd_azx 21713 2

snd_hda_codec 121665 1 snd_azx

snd_pcm_oss 52729 0

snd_mixer_oss 21953 2 snd_pcm_oss

snd_pcm 92357 3 snd_azx,snd_hda_codec,snd_pcm_oss

snd_timer 28229 1 snd_pcm

snd 57509 8 snd_azx,snd_hda_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer

soundcore 13089 2 snd

snd_page_alloc 13897 2 snd_azx,snd_pcm

r1000 22144 0

ext3 119113 3

jbd 59609 1 ext3

ata_piix 15557 5

libata 67613 1 ata_piix

sd_mod 20545 6

scsi_mod 117709 2 libata,sd_mod

]0;root@localhost:~[root@localhost ~]# exit

exit


Script done on Wed 14 Mar 2007 09:36:31 PM PDT
 
First of all you need linux kernel 2.6.13 or newer, as clearly stated in the requirements page.

After updating and recompiling your kernel, proceed to download all patches and drivers.

QatQat

Life is what happens when you are making other plans.
 
How do I get the new kernel? I've tried running the up2date service.

 
up2date is far more conservative than yum (which is not a bad thing)

Yum, in its mimicking debian's apt, takes it to the limit and even updates the kernel for you.
That is bad, but will do the trick for you.


Code:
yum update
This will, incidentally, also update every piece of software in your installation.
If that does not work

Code:
yum update kernel

QatQat

If I could have sex each time I reboot my server, I would definitely prefer Windoz over Linux!
 
I tried yum update kernel I get "Could not find update match for kernel." Last night I had tried yum update and received some errors, but it did not update the kernel.

 
Ok, I've played with it a bit more. When I try yum update or yum upgrade, I get package dependencies and it fails. How do I force it to deal with the dependencies?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top