TechTalkz.com Logo Ask the Experts!

Go Back   TechTalkz.com Technology & Computer Troubleshooting Forums > Operating Systems > Open Source & Linux

Sodding WiFi

Open Source & Linux

 
Reply
Thread Tools Display Modes
Unread 06-09-2013, 02:40 PM   #1
Tachikoma
Thread Starter
 
habibjp's Avatar
 
Join Date: Dec 2009
Location: Leeds
Age: 22
Posts: 2,895
Thanks: 92
Thanked 430 Times in 374 Posts
Mood: Innocent
Blog Entries: 9
Rep Power: 2482 habibjp is just Greathabibjp is just Greathabibjp is just Greathabibjp is just Greathabibjp is just Greathabibjp is just Greathabibjp is just Greathabibjp is just Greathabibjp is just Greathabibjp is just Greathabibjp is just Great

AMD ATi

Windows 10 Linux


Sodding WiFi

Hi all
I recently installed Fedora 19 (x86_64 [64 bit]) on my lappy (Dell Inspiron 1546). Everything works just fine, apart from the wifi. If I run "lspci" in the terminal, it presents this:
Code:
0b:00.0 Network controller: Broadcom Corporation BCM4312 802.11b/g LP-PHY (rev 01)
So Fedora recognises the card, except it doesn't show up in the network settings.

It turns out that the driver Fedora installed works for almost every Broadcom 43xx adapter except for the 4312. I have spent the last few days trying all kinds of solutions (drivers intended for other distros, assorted tools and even a set of official Broadcom drivers), and learnt a lot about working with the terminal that I didn't know, but not managing to solve the problem.

So far issues have included but are not limited to (in no particular order)
  • Not having cmake (fixed)
  • "make" didn't work when trying to compile Broadcom's driver
Code:
[root@localhost Downloads]# chmod u+x get_my_kernel_headers.sh
[root@localhost Downloads]# ./get_my_kernel_headers.sh 

************** INITIAL CHECKS **************
Checking if Module.symvers from kernel-devel-3.10.10-200.fc19.x86_64-x86_64 exists:
    kernel-devel is not installed. Please install. The Module.symvers file is needed.
Simples, thought I so naively, I'll just install "kernel-devel". Of course it is already installed:
Code:
[root@localhost Downloads]# yum install kernel-devel
Loaded plugins: langpacks, refresh-packagekit
Package kernel-devel-3.10.10-200.fc19.x86_64 already installed and latest version
Nothing to do
Grr.

So, what led me to try that, you ask?
Code:
[root@localhost hybrid_wl]# tar zxf /home/habib/Downloads/hybrid-portsrc_x86_64-v5_100_82_112.tar.gz 
[root@localhost hybrid_wl]# make
KBUILD_NOPEDANTIC=1 make -C /lib/modules/`uname -r`/build M=`pwd`
make[1]: Entering directory `/usr/src/kernels/3.10.10-200.fc19.x86_64'
Wireless Extension is the only possible API for this kernel version
Using Wireless Extension API
  LD      /home/habib/hybrid_wl/built-in.o
  CC [M]  /home/habib/hybrid_wl/src/shared/linux_osl.o
  CC [M]  /home/habib/hybrid_wl/src/wl/sys/wl_linux.o
/home/habib/hybrid_wl/src/wl/sys/wl_linux.c:43:24: fatal error: asm/system.h: No such file or directory
 #include <asm/system.h>
                        ^
compilation terminated.
make[2]: *** [/home/habib/hybrid_wl/src/wl/sys/wl_linux.o] Error 1
make[1]: *** [_module_/home/habib/hybrid_wl] Error 2
make[1]: Leaving directory `/usr/src/kernels/3.10.10-200.fc19.x86_64'
make: *** [all] Error 2
So then I tried this, as suggested on the site I initially found the official drivers from:
Code:
[root@localhost hybrid_wl]# make -C /home/habib/hybrid_wl M='pwd'
make: Entering directory `/home/habib/hybrid_wl'
KBUILD_NOPEDANTIC=1 make -C /lib/modules/`uname -r`/build M=`pwd`
make[1]: Entering directory `/usr/src/kernels/3.10.10-200.fc19.x86_64'
Wireless Extension is the only possible API for this kernel version
Using Wireless Extension API
  CC [M]  /home/habib/hybrid_wl/src/wl/sys/wl_linux.o
/home/habib/hybrid_wl/src/wl/sys/wl_linux.c:43:24: fatal error: asm/system.h: No such file or directory
 #include <asm/system.h>
                        ^
compilation terminated.
make[2]: *** [/home/habib/hybrid_wl/src/wl/sys/wl_linux.o] Error 1
make[1]: *** [_module_/home/habib/hybrid_wl] Error 2
make[1]: Leaving directory `/usr/src/kernels/3.10.10-200.fc19.x86_64'
make: *** [all] Error 2
make: Leaving directory `/home/habib/hybrid_wl'
Not good. I should have ended up with the directory of the drivers containing:
Code:
built-in.o
hybrid-portsrc-x86_32_5_10_27_6.tar.gz
lib
Makefile
modules.order
Module.symvers
src
wl.ko
wl.mod.c
wl.mod.o
wl.o
But it doesn't. Now, according to the readme file packaged with Broadcom driver:
Quote:
When the build completes, it will produce a wl.ko file in the top level
directory.

If your driver does not build, check to make sure you have installed the
kernel package described in the requirements above.
So (I forget why) I tried this:
Code:
[root@localhost habib]# yum install linux-headers-'uname -r'
Loaded plugins: langpacks, refresh-packagekit
No package linux-headers-uname -r available.
Error: Nothing to do
Nope. And that's the point where I tried the headers.


I refuse to give up. I will not allow this stupid little problem to get the better of me. That said, my time time is not unlimited and I really need some help here.

Sponsored Links
__________________
FX 4170 @4.8 w/H110
Sabertooth 990FX
XMS3 8GB
840 EVO 250GB
XFX 7870
Corsair GS500
X-Fi
Logitech Z506
---------------------------------------------
I aim to misbehave.
habibjp is offline   Reply With Quote
Unread 11-09-2013, 02:33 PM   #2
Webmaster
 
Strider's Avatar
 
Join Date: Nov 2005
Location: Interwebs
Posts: 5,045
Thanks: 636
Thanked 730 Times in 613 Posts
Mood: Busy
Blog Entries: 6
Rep Power: 9045 Strider is extemly EminentStrider is extemly EminentStrider is extemly EminentStrider is extemly EminentStrider is extemly EminentStrider is extemly EminentStrider is extemly EminentStrider is extemly EminentStrider is extemly EminentStrider is extemly EminentStrider is extemly Eminent

Intel Nvidia

Windows Server Windows 7 Windows 10 Linux


Re: Sodding WiFi

Hmm.. I was searching for the following error:

Quote:
wl_linux.c:43:24: fatal error: asm/system.h: No such file or directory
Is the suggestions in the following post any good?

Wireless BCM4312 with the 3.4 and 3.5 kernel | Mindwerks
Strider is offline   Reply With Quote
Unread 11-09-2013, 02:35 PM   #3
Webmaster
 
Strider's Avatar
 
Join Date: Nov 2005
Location: Interwebs
Posts: 5,045
Thanks: 636
Thanked 730 Times in 613 Posts
Mood: Busy
Blog Entries: 6
Rep Power: 9045 Strider is extemly EminentStrider is extemly EminentStrider is extemly EminentStrider is extemly EminentStrider is extemly EminentStrider is extemly EminentStrider is extemly EminentStrider is extemly EminentStrider is extemly EminentStrider is extemly EminentStrider is extemly Eminent

Intel Nvidia

Windows Server Windows 7 Windows 10 Linux


Re: Sodding WiFi

Also from Fedora Forum:

Quote:
I got the compilation from source working, in fact I'm posting this through the wireless interface. The modifications to the source file are really really simple.

If you want to try, it goes more or less like this:

1) get the source files from broadcom -- http://www.broadcom.com/docs/linux_s..._82_112.tar.gz

2) make a new directory and extract the source files
# mkdir hybrid-wl
# cd hydrid-wl
# tar -xvzf ../hybrid-portsrc_x86_64-v5_100_82_112.tar.gz

3) change to the problematic file directory
# cd src/wl/sys

4) fix the source file wl_linux.c (of course use your favourite editor):
# vi wl_linux.c
around line 43, remove the line
#include <asm/..
# make

If you are lucky things should work, and you'll have a file called "wl.ko" in the current directory. (I got these patches from the internet, not my own work.)

I then did

# mkdir -p /lib/modules/3.4.0-1.fc17.x86_64/extra/wl
# cp wl.ko /lib/modules/3.4.0-1.fc17.x86_64/extra/wl
# depmod -a
# modprobe wl

and I had to reconfigure the interface, inserting the network password again, but after that it's working.
Strider is offline   Reply With Quote
Unread 19-09-2013, 04:26 PM   #4
Tachikoma
Thread Starter
 
habibjp's Avatar
 
Join Date: Dec 2009
Location: Leeds
Age: 22
Posts: 2,895
Thanks: 92
Thanked 430 Times in 374 Posts
Mood: Innocent
Blog Entries: 9
Rep Power: 2482 habibjp is just Greathabibjp is just Greathabibjp is just Greathabibjp is just Greathabibjp is just Greathabibjp is just Greathabibjp is just Greathabibjp is just Greathabibjp is just Greathabibjp is just Greathabibjp is just Great

AMD ATi

Windows 10 Linux


Re: Sodding WiFi

That first link doesn't work for me; Terminal won't accept "patch" as a command. The second doesn't work either; no sodding wl.ko file. I'm gonna try an external wifi card and see how that goes :/
__________________
FX 4170 @4.8 w/H110
Sabertooth 990FX
XMS3 8GB
840 EVO 250GB
XFX 7870
Corsair GS500
X-Fi
Logitech Z506
---------------------------------------------
I aim to misbehave.
habibjp is offline   Reply With Quote
Unread 22-09-2013, 12:17 PM   #5
Tachikoma
Thread Starter
 
habibjp's Avatar
 
Join Date: Dec 2009
Location: Leeds
Age: 22
Posts: 2,895
Thanks: 92
Thanked 430 Times in 374 Posts
Mood: Innocent
Blog Entries: 9
Rep Power: 2482 habibjp is just Greathabibjp is just Greathabibjp is just Greathabibjp is just Greathabibjp is just Greathabibjp is just Greathabibjp is just Greathabibjp is just Greathabibjp is just Greathabibjp is just Greathabibjp is just Great

AMD ATi

Windows 10 Linux


Re: Sodding WiFi

Sponsored Links
Plugged my TP-Link high-gain adapter in; was connected to wifi in three seconds (takes several reboots on Win). Shame I couldn't get the internal working but I just don't have the time; term is about to start.

Ta for the efforts

Sponsored Links
__________________
FX 4170 @4.8 w/H110
Sabertooth 990FX
XMS3 8GB
840 EVO 250GB
XFX 7870
Corsair GS500
X-Fi
Logitech Z506
---------------------------------------------
I aim to misbehave.
habibjp is offline   Reply With Quote
Thanked Users:
Strider (26-09-2013)
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help How to convert a wifi connected laptop into a wifi hotspot carbonizer Internet & Networking 6 28-03-2011 05:31 PM
Slow Wifi Transfer But / Faster Wifi Internet PMPP Windows Vista - Networking / Sharing 1 07-06-2008 07:21 PM
PCMCIA WiFi Conflicts with Internal WiFi Card Chris Burson Laptops 1 06-12-2007 06:22 PM
PCMCIA WiFi Conflicts with Internal WiFi Card Chris Burson Laptops 1 06-12-2007 02:20 PM
Re: Slow German server or is it sodding Tiscali? The Older Gentleman Apple Mac 12 26-11-2007 09:46 AM


< Home - Windows Help - MS Office Help - Hardware Support >


New To Site? Need Help?

All times are GMT. The time now is 03:04 PM.


vBulletin, Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © 2005-2016, TechTalkz.com. All Rights Reserved - Privacy Policy
Valid XHTML 1.0 Transitional