LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 06-03-2011, 07:19 PM   #1
Krothie
Member
 
Registered: Jun 2011
Posts: 32

Rep: Reputation: Disabled
Pardus 2011 Wireless Never Works


Hello. I currently installed Pardus 2011 32bit today and cannot get the wireless to work at all.

The WiFi light doesn't turn on, wireless networks tab in networks connections is disable unable to use.

The PiSi package manager says that i installed my wireless drivers. I reinstalled them just in case and it didn't change anything.

Code:
0b:00.0 Network controller: Broadcom Corporation BCM4321 802.11a/b/g/n (rev 03)
Also this might be useful 14e4:4328 (not exactly sure what it is but I know it's important)

I tried using ndiswrapper and it didn't change anything.

I also tried installing the tar.gz file but got an error message when i had to use the "make" command. said I had to install the PiSi make command. I installed it in the terminal exactly like it told me. I later got the make command and got this error message:
Code:
kroth@Kroth-PC hybrid_wl $ make
KBUILD_NOPEDANTIC=1 make -C /lib/modules/`uname -r`/build M=`pwd`
make[1]: Entering directory `/usr/src/linux-headers-2.6.37.6'
  LD      /home/kroth/hybrid_wl/built-in.o
  CC [M]  /home/kroth/hybrid_wl/src/shared/linux_osl.o
  CC [M]  /home/kroth/hybrid_wl/src/wl/sys/wl_linux.o
/home/kroth/hybrid_wl/src/wl/sys/wl_linux.c: In function 'wl_attach':
/home/kroth/hybrid_wl/src/wl/sys/wl_linux.c:485:3: error: implicit declaration of function 'init_MUTEX'

*** 1 errors, 0 warnings
make[2]: *** [/home/kroth/hybrid_wl/src/wl/sys/wl_linux.o] Error 1
make[1]: *** [_module_/home/kroth/hybrid_wl] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.37.6'
make: *** [all] Error 2
So i cannot install tar.gz files since i cannot use the make command

I am using a Dell XPS M1530 if that helps at all.

Can anyone help me with my make command issue + my wireless drivers issue?

Please and Thank You!
 
Old 06-03-2011, 09:25 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,342
Blog Entries: 28

Rep: Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145
You likely need the firmware for the Broadcom wireless chip. This link might help:

http://linuxwireless.org/en/users/Drivers/b43
 
Old 06-03-2011, 10:16 PM   #3
Krothie
Member
 
Registered: Jun 2011
Posts: 32

Original Poster
Rep: Reputation: Disabled
Thanks for the link but you didn't read that i cannot use the Make command so that means no tar.gz or related files because I keep getting an error message. This one was a little bit different this time. Here:
Code:
kroth@Kroth-PC Installations $ wget http://bu3sch.de/b43/fwcutter/b43-fwcutter-013.tar.bz2
--2011-06-03 23:11:35--  http://bu3sch.de/b43/fwcutter/b43-fwcutter-013.tar.bz2
Resolving bu3sch.de (bu3sch.de)... 80.190.117.144
Connecting to bu3sch.de (bu3sch.de)|80.190.117.144|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 15359 (15K) [application/x-bzip2]
Saving to: “b43-fwcutter-013.tar.bz2”

100%[======================================>] 15,359      53.8K/s   in 0.3s    

2011-06-03 23:11:36 (53.8 KB/s) - “b43-fwcutter-013.tar.bz2” saved [15359/15359]

kroth@Kroth-PC Installations $ ls
b43-fwcutter-013.tar.bz2
kroth@Kroth-PC Installations $ tar xjf b43-fwcutter-013.tar.bz2
kroth@Kroth-PC Installations $ ls
b43-fwcutter-013  b43-fwcutter-013.tar.bz2
kroth@Kroth-PC Installations $ cd b43-fwcutter-013
kroth@Kroth-PC b43-fwcutter-013 $ ls
b43-fwcutter.1  fwcutter.h       Makefile  md5.h      README
fwcutter.c      fwcutter_list.h  md5.c     mklist.py
kroth@Kroth-PC b43-fwcutter-013 $ make
     DEPEND   dep/md5.d
     DEPEND   dep/fwcutter.d
     CC       obj/fwcutter.o
fwcutter.c:33:20: fatal error: stdlib.h: No such file or directory
compilation terminated.
make: *** [obj/fwcutter.o] Error 1
Can anyone help me install the correct packages so I can install tar.gz files? Please and Thank You.
 
Old 06-03-2011, 10:22 PM   #4
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,342
Blog Entries: 28

Rep: Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145
Search LQ for threads on "linux broadcom wireless."

I don't know enough about Pardus to make any Pardus-specific suggestions.

Another option would be to track down the error messages to find out what you are missing that keeps you from compiling software. The tools are basic Linux tools and should be readily available once you identify the missing ones.

Aside: I get quite irritated at distros that do not include gcc, glibc, and other tools necessary for compiling software. It seems most impolite to omit basic Linux tools.
 
Old 06-04-2011, 07:01 AM   #5
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
@Krothie - What kernel version is Pardus using? The output of uname -a should tell you if you don't know. The Broadcom sta driver needs some patching to work with more recent kernels, and I think the error message in your first post suggests that is the case.
 
Old 06-04-2011, 11:42 AM   #6
Krothie
Member
 
Registered: Jun 2011
Posts: 32

Original Poster
Rep: Reputation: Disabled
Here is my kernel
Code:
kroth@Kroth-PC b43-fwcutter-013 $ uname -a
Linux Kroth-PC 2.6.37.6 #1 SMP Wed Mar 30 16:31:56 EEST 2011 i686 i686 i386 GNU/Linux
I don't understand how the kernel i'm using would effect the "make" command though. I might not have a problem with my wireless if I can use the "make" command to install tar.gz files.

Does anyone know what packages needed to be installed to use the make command successfully?

I have the following packages installed:
gcc
kernel-module-headers
kernel-headers

I may have others installed but these are three I know of...
 
Old 06-04-2011, 02:41 PM   #7
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
Quote:
I don't understand how the kernel i'm using would effect the "make" command though.
It isn't affecting the make command. The make command is simply compiling the source code in an orderly fashion, and the errors you're seeing are because either libraries needed by the source are not there or have changed such that some assumptions made in the source code are no longer true. That is the case here. The kernel has changed since the sta source code was written and Broadcom hasn't updated the driver. If you read through this thread there are instructions of how to patch the sta source code so it works with newer kernels. And Broadcom also has the patch and instructions on their site.
 
Old 06-04-2011, 02:54 PM   #8
Krothie
Member
 
Registered: Jun 2011
Posts: 32

Original Poster
Rep: Reputation: Disabled
@Hangdog42

Thank you for posting but your information doesn't help. I do not use a deb based package managerI use a new PiSi package manager so the first link is gone. As for the second link you still have to understand that I cannot install tar.gz files so the sencond link is useless untill I can get the Make command to work.

As for the kernel update... I never had to update the kernel yet and the Make command ive had problems with before on Ubuntu 10.10 as well. only seems to work correctly on Linux Mint 10.

I do not know why the make command has these errors and I seem to be the only one ever to get the errors...
 
Old 06-04-2011, 03:05 PM   #9
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
Quote:
I do not use a deb based package managerI use a new PiSi package manager so the first link is gone.
I know that. Since you originally said that the Pardus driver didn't work, I am assuming that you're trying to isntall from source, and the thread I linked to has posts on how to patch the source. I suspect the Broadcom link also has instructions in the tarball.
Quote:
As for the second link you still have to understand that I cannot install tar.gz files so the sencond link is useless untill I can get the Make command to work.
Let me be blunt so there is no room for misunderstanding:

Your make command is not broken.


You are seeing legitimate error messages thrown by Make because it is encountering a situation it can't handle. Make is doing exactly what it is supposed to do.

The ACTUAL problem is that the sta source code was written for an older kernel version than you have and it makes assumptions that are no longer true. If you download the source from Broadcom and patch it according to their instructions, it will likely work.


Quote:
As for the kernel update...
Nobody is asking you to update your kernel. We simply needed to know what was standard for Pardus. We needed to know this because Broadcom is very slow in updating the sta driver and I suspected you had a newer kernel than their source code allowed.
 
Old 06-04-2011, 03:14 PM   #10
Krothie
Member
 
Registered: Jun 2011
Posts: 32

Original Poster
Rep: Reputation: Disabled
I know that my Make command isn't broken. I believe I need to install more packages so that it can work.

I also tried the sta and b43 most recent drivers and got two different errors. (This includes the link you gave me)

You may be right about the wireless driver already installed in the package manager though.
 
Old 06-04-2011, 03:26 PM   #11
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
Quote:
I also tried the sta and b43 most recent drivers and got two different errors.
Well they are two different drivers, so it is highly unlikely you would get the same error from both. And as I've said, it looks like you tried to compile the unpatched version of the sta driver, so that is certainly going to fail on your system.

You really have two options here:

1- The sta driver. Assuming that there isn't a viable driver in the Pardus repository, you will need to download the source code and patch from Broadcom. You will then need to patch the source code and compile it.

2- The b43 driver. The kernel portion is already installed on your machine (assuming Pardus turned on b43 when they created their kernel) and you'll need to install firmware in order for b43 to work. If Pardus doesn't have a firmware package (and they likely don't since Broadcom licensing doesn't allow it), you'll have to install fwcutter and use that to create the needed firmware files.
 
Old 06-04-2011, 03:40 PM   #12
Krothie
Member
 
Registered: Jun 2011
Posts: 32

Original Poster
Rep: Reputation: Disabled
For your step 1: Thats exactly what I did and got the error and what ive been trying to tell you.

For your step 2: I have both the wireless drivers and the firmware installed for the b43 drivers and still got nothing.
 
Old 06-04-2011, 03:54 PM   #13
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
Quote:
For your step 1: Thats exactly what I did and got the error and what ive been trying to tell you.
No, I don't think you did. I just downloaded the source and patch from Broadcom. When I tried to compile the unpatched source, it failed with the exact error message you posted. When I patched it, it compiled fine. I'm also running a 2.6.37.6 kernel.


Quote:
For your step 2: I have both the wireless drivers and the firmware installed for the b43 drivers and still got nothing.
If that is true you need to look in your log files and see if b43 is complaining.
 
Old 06-04-2011, 03:54 PM   #14
Krothie
Member
 
Registered: Jun 2011
Posts: 32

Original Poster
Rep: Reputation: Disabled
I missed to patch info on the broadcom site before my last post.

The instructions say this:
Quote:
Patch for Broadcom 80211 (STA) driver 5.100.82.38
# Fixes the 'init_MUTEX' compile problem seen on newer (> 2.6.37) kernels.
# If you were able to compile, you don't need this patch.
# To apply:
# cd to the top level of the driver source. ('ls' should show at least src, lib, Makefile)
# patch -p0 < this_file
# make
But when I tried to patch I got this:
Quote:
kroth@Kroth-PC hybrid_wl $ ls
built-in.o lib Makefile src
kroth@Kroth-PC hybrid_wl $ patch -p0
The program 'patch' is not installed on your system. You can install it using package manager or by typing:
sudo pisi it patch
bash: patch: command not found
kroth@Kroth-PC hybrid_wl $ make
KBUILD_NOPEDANTIC=1 make -C /lib/modules/`uname -r`/build M=`pwd`
make[1]: Entering directory `/usr/src/linux-headers-2.6.37.6'
CC [M] /home/kroth/hybrid_wl/src/wl/sys/wl_linux.o
/home/kroth/hybrid_wl/src/wl/sys/wl_linux.c: In function 'wl_attach':
/home/kroth/hybrid_wl/src/wl/sys/wl_linux.c:485:3: error: implicit declaration of function 'init_MUTEX'

*** 1 errors, 0 warnings
make[2]: *** [/home/kroth/hybrid_wl/src/wl/sys/wl_linux.o] Error 1
make[1]: *** [_module_/home/kroth/hybrid_wl] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.37.6'
make: *** [all] Error 2
 
Old 06-04-2011, 04:01 PM   #15
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
Quote:
kroth@Kroth-PC hybrid_wl $ patch -p0
You ran the patch command wrong. Look again at what the instructions say:

Quote:
# patch -p0 < this_file
You left off the "< this_file" part (where "this_file" is the name of the patch file you just downloaded from Broadcom). It won't patch if you don't do that.

And apparently you also have to install the patch command to begin with.

Last edited by Hangdog42; 06-04-2011 at 04:03 PM.
 
  


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
[SOLVED] Wireless does not work in KDE but it does in GNOME. (Pardus 2011) silvyus_06 Linux - Newbie 1 02-16-2011 10:44 PM
LXer: Pardus 2011 Review LXer Syndicated Linux News 0 02-01-2011 04:30 AM
LXer: Pardus 2011 Release Candidate is out now LXer Syndicated Linux News 0 01-05-2011 01:10 PM
LXer: Pardus 2011 beta review LXer Syndicated Linux News 0 11-25-2010 02:12 PM
LXer: Pardus 2011 on the way with new goodies LXer Syndicated Linux News 0 11-05-2010 02:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 12:58 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