LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-08-2008, 02:00 PM   #1
druxcyck
LQ Newbie
 
Registered: Jul 2008
Posts: 9

Rep: Reputation: 0
Need help getting my wireless card to work on CentOS 5.2


I am almost a complete Linux Newbie, this is the first time I have tried installing and running Linux.

I installed linux just fine, added the server options because I want to use this as a test box, I work for an online coupon company and we are considering moving our servers to linux. Anyway Linux seems to recognize the wireless card just fine, when I go to system->Administration->Network

it shows eth1: as inactive
when I click on the Hardware Device tab in the hardware dropdown this is listed

Broadcom Corporation BCM4318 [AirForce One 54g] 802.11g Wireless Lan Controller

I tried setting it to dhcp but it wouldn't connect, my windows pcs are all connecting to the router fine and in fact this particular machine was running vista and connecting to the network before I decided to use it as a linux machine.

I tried setting the IP address and gateway information then activating the eth1 connection but it fails as well with this error

SIOCSIFFLAGS: No such file or directory
Failed to bring up eth1:0

please help
 
Old 07-08-2008, 02:21 PM   #2
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,526

Rep: Reputation: 53
The HCL section on this site has instructions for getting that card working in Linux. Take a look here:

http://www.linuxquestions.org/hcl/showcat.php/cat/202

Bob

BY THE WAY, WELCOME TO LQ!

Last edited by BobNutfield; 07-08-2008 at 02:27 PM.
 
Old 07-08-2008, 03:22 PM   #3
druxcyck
LQ Newbie
 
Registered: Jul 2008
Posts: 9

Original Poster
Rep: Reputation: 0
thanks for the welcome and the reply... I had seen some solutions similar to this earlier, but I can't seem to make the files for ndiswrapper, when I try to use the make command I end up with this error

*** Kernel tree not found - please set KBUILD to conifigured kernel.

from what I have been able to gather I need to install the compiler, I have CentOS on dvd and I am not connected to the internet yet, I tried installing the compiler from the dvd but was unable to get it successfully installed. I actually re-installed my os selecting all of the options to install hoping that would install it during the intial set up.

unforuneatly I'm still getting the same error... I think I'll try hardwiring my computer to my router and installing the developer tools that way...

I'll post back wiht my results, thanks for the help thus far
 
Old 07-08-2008, 03:39 PM   #4
druxcyck
LQ Newbie
 
Registered: Jul 2008
Posts: 9

Original Poster
Rep: Reputation: 0
thanks for the welcome and the reply... I had seen some solutions similar to this earlier, but I can't seem to make the files for ndiswrapper, when I try to use the make command I end up with this error

*** Kernel tree not found - please set KBUILD to conifigured kernel.

from what I have been able to gather I need to install the compiler, I have CentOS on dvd and I am not connected to the internet yet, I tried installing the compiler from the dvd but was unable to get it successfully installed. I actually re-installed my os selecting all of the options to install hoping that would install it during the intial set up.

unforuneatly I'm still getting the same error... I think I'll try hardwiring my computer to my router and installing the developer tools that way...

I'll post back wiht my results, thanks for the help thus far
 
Old 07-08-2008, 03:50 PM   #5
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,526

Rep: Reputation: 53
Yes what you will need is gcc. I do not use CentOS, but I know it is an RPM based system like the Fedora I DO use and you should not have trouble installing it using the package manager in CentOS. What errors are you getting? You will also need the kernel headers. Also check the CentOS repositories when you get on line with a wire connection. Many distros include ndiswrapper in their repositores. If it is not there, there should be an RPM version on the freshrpms site.

Last edited by BobNutfield; 07-08-2008 at 03:59 PM.
 
Old 07-08-2008, 04:52 PM   #6
druxcyck
LQ Newbie
 
Registered: Jul 2008
Posts: 9

Original Poster
Rep: Reputation: 0
Well I downloaded and installed gcc, but I still can't make a single thing Still getting the same error as before.

when I couldn't get ndiswrapper to make while, searching online I stumbled across someone metioning rpmforge and that it was like ndiswrapper and even had a GUI tool but unfortuneatly I can't for the life of me figure out how to run it... at least when I connected via hard line it was very easy to get running.

going to keep trying... thanks for the help
 
Old 07-08-2008, 04:57 PM   #7
druxcyck
LQ Newbie
 
Registered: Jul 2008
Posts: 9

Original Poster
Rep: Reputation: 0
oh for the erros... when I try to run amke in the ndiswrapper-1.53 directory I get this
make -C driver
make[1]: Entering directory `/root/ndiswrapper-1.53/driver`
Makefile:23: *** Kernel tree not found - please set KBUILD to configured kernel.
Stop.
make[1]: Leaving directory `/root/ndiswrapper-1.53/driver`
make: *** [all] Error 2

I don't know how to set KBUILD or a command ot even tell me what kernel I have :-(
 
Old 07-08-2008, 05:45 PM   #8
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,526

Rep: Reputation: 53
I believe you need the kernel headers which will be available in the CentOS repositories. But, as I mentioned above there is an RPM version of ndiswrapper available which will make it much easier to install.

Bob
 
Old 07-08-2008, 07:33 PM   #9
druxcyck
LQ Newbie
 
Registered: Jul 2008
Posts: 9

Original Poster
Rep: Reputation: 0
forgive my ignorance but a rpm is like a windows installer then?
 
Old 07-08-2008, 09:17 PM   #10
druxcyck
LQ Newbie
 
Registered: Jul 2008
Posts: 9

Original Poster
Rep: Reputation: 0
ok I was able tog et ndiswrapper successfully installed and the driver installed, but I think I messed myself up earlier by editing the ifcfg-eth1 file trying to get it to work earlier now it seems that the settings I have in GNOME are showing different than what is in the file, and when I try to activate I get SIOCSIFFLAGS: No Such File or directory, and in the settings I can not select dhcp even though I have it set to use dhcp in the file.
 
  


Reply



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
will redhat or centos work with a zyxel g-302 card? walterbyrd Red Hat 13 11-09-2008 12:15 AM
Advice on best wireless ethernet card to install in CentOS 4.4? hamcrash Linux - Hardware 3 04-29-2008 04:05 AM
Wireless Card Compatible with Linux CentOS Emmunis Linux - Wireless Networking 3 12-12-2006 12:00 PM
problem installing wireless network card on Centos abdulquadir Linux - Hardware 1 10-07-2006 06:20 AM
Error installing wireless card with ndiswrapper and centos hybridstorm Linux - Hardware 14 04-17-2006 05:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:02 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration