You are not logged in.

#1 2011-02-12 10:33:16

xfaker
Banned
Registered: 2011-02-12
Posts: 15

[SOLVED]Broadcom 4312 Wifi card driver compiling problem

Hello ppl! Well, first post... Ive got troubles when trying to compile the driver for my Dell 11z wifi card (Broadcom 4312). Ive been searching on the internet, forums, already looked the wikis here, also seen on Broadcoms FAQ page, but i cant solve it. I dont have internet on my laptop, just wifi, but i cant get it to work... Ok, heres what i did (im on 2010.05 32 bit Arch):

I downloaded from broadcoms page the hybrid-...-38.tar.gz file (checked it was for 32 bits, i have the right file).
Then copied it to a usb stick.
Then gone to Arch (logged in as root), mounted the usb, then copied the .tar.gz file to ~/tmp
Then i did "tar xzvf hybrid-portsrc-x86_32-v5_100_82_38.tar.gz"
then "make -C /lib/modules/`uname -r`/build M=`pwd` clean" (cheked the diference betwen ' and ` )

heres where i cant go on... first i got an error telling me that "build" wasnt a directory... actually it didnt existed, so i created it...
After that i did "make ..." again, now i get an error that looks like "theres no rule for building the clean objective" or something like that... actually its in spanish so i dont know the correct translation...

Well, im really willing to get my wifi working, so i can acces the internet from arch... for now for every little trouble i have i need to log out, start win7, search the internet, shutdown, go to arch, try... error... go back to win7... and so on...

Ive been searching the internet, and maybe this problem has something to do with some linux-headers or something like that, but just couldnt do nothing for that, just dont know whats wrong... ok, any help will be apreciated (i really cant find how to solve this... ive managed to install win7 plus arch all by searching and not asking, but this is beyond my posibilities right now... and i must have internet acces to furder configure my arch... if not this is going to take really long... you know... the win7-arch-back win7-arch thing...).

Last edited by xfaker (2011-02-13 05:22:38)

Offline

#2 2011-02-12 11:01:26

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: [SOLVED]Broadcom 4312 Wifi card driver compiling problem

You don't mention what exact device you have, chances are you don't even need Broadcom's driver.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#3 2011-02-12 11:23:31

xfaker
Banned
Registered: 2011-02-12
Posts: 15

Re: [SOLVED]Broadcom 4312 Wifi card driver compiling problem

When i do: lspci | grep -i net
i get:

02:00.0 Ethernet controller: Atheros Communications Atheros AR8132 / L1c Gigabit Ethernet Adapter (rev c0)  (this is my ethernet card, cheked also with my 11z description)
08:00.0 Network controller: Broadcom Corporation BCM4312 802.11b/g (rev 01)

On my ticket i have a desription as "Tarjeta mini inalámbrica Dell Wireless 1397 (802.11 b/g)" something like "mini wireless card Dell Wireless 1397 (802.11 b/g)", but i just asume that thats a broadcom, just that dell bought broadcom and sold it as "dell"

So, i think i need that driver...

Last edited by xfaker (2011-02-12 11:25:45)

Offline

#4 2011-02-12 13:20:48

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: [SOLVED]Broadcom 4312 Wifi card driver compiling problem

Dell rebranded it. Post the output of lspci -n. You probably don't need that driver, once you have the PCI ID, you can match it against the database: http://linuxwireless.org/en/users/Drivers/b43

And use [ code ] tags for the output of commands.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#5 2011-02-12 13:39:43

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,094

Re: [SOLVED]Broadcom 4312 Wifi card driver compiling problem

The 4312 cards have limited support in b43, and full support in the  wl driver. If you want the later, then install it from aur.


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#6 2011-02-12 14:35:59

jlane01
Member
Registered: 2011-02-12
Posts: 4

Re: [SOLVED]Broadcom 4312 Wifi card driver compiling problem

I too am having problems getting my wireless card to work.  I've read through the wiki about the broadcom drivers, but can not seem to figure out how to get it to work.  I've determined that I need the wl driver and have tried installing it from aur, but still does not work.  I would appreciate any help that you guys might be able to provide.  The outcome of lspci -n is below.

Thanks Justin

00:00.0 0600: 8086:2a40 (rev 07)
00:02.0 0300: 8086:2a42 (rev 07)
00:02.1 0380: 8086:2a43 (rev 07)
00:1a.0 0c03: 8086:2937 (rev 03)
00:1a.1 0c03: 8086:2938 (rev 03)
00:1a.2 0c03: 8086:2939 (rev 03)
00:1a.7 0c03: 8086:293c (rev 03)
00:1b.0 0403: 8086:293e (rev 03)
00:1c.0 0604: 8086:2940 (rev 03)
00:1c.1 0604: 8086:2942 (rev 03)
00:1c.2 0604: 8086:2944 (rev 03)
00:1c.4 0604: 8086:2948 (rev 03)
00:1d.0 0c03: 8086:2934 (rev 03)
00:1d.1 0c03: 8086:2935 (rev 03)
00:1d.2 0c03: 8086:2936 (rev 03)
00:1d.7 0c03: 8086:293a (rev 03)
00:1e.0 0604: 8086:2448 (rev 93)
00:1f.0 0601: 8086:2919 (rev 03)
00:1f.2 0106: 8086:2929 (rev 03)
00:1f.3 0c05: 8086:2930 (rev 03)
09:00.0 0200: 11ab:4354 (rev 13)
0c:00.0 0280: 14e4:4315 (rev 01)

Offline

#7 2011-02-12 14:51:36

Gusar
Member
Registered: 2009-08-25
Posts: 3,605

Re: [SOLVED]Broadcom 4312 Wifi card driver compiling problem

You don't need the wl driver. Just install the firmware (b43-firmware from AUR). Though the linuxwireless page says there could be issues and lists switching to PIO mode (it's a parameter for the b43 module) as a workaround.

If that won't do, wl is an alternative, but saying "wl doesn't work" does not make it possible to help you. What exactly have you done, what's the output of relevant apps, etc, etc.

Last edited by Gusar (2011-02-12 14:52:30)

Offline

#8 2011-02-12 15:05:36

jlane01
Member
Registered: 2011-02-12
Posts: 4

Re: [SOLVED]Broadcom 4312 Wifi card driver compiling problem

I've installed the wl driver from aur and tried setting up the card using "ifconfig wlan0 up"  and get no such device.  What kind of output would help?

Offline

#9 2011-02-12 15:40:54

Gusar
Member
Registered: 2009-08-25
Posts: 3,605

Re: [SOLVED]Broadcom 4312 Wifi card driver compiling problem

jlane01 wrote:

I've installed the wl driver from aur and tried setting up the card using "ifconfig wlan0 up"  and get no such device.  What kind of output would help?

lsmod and dmesg. Though I don't have experience with the wl driver. However, I recall reading that wl names devices as eth. So try 'ifconfig eth1 up' (assuming eth0 is your wired card).

Offline

#10 2011-02-12 15:47:01

skunktrader
Member
From: Brisbane, Australia
Registered: 2010-02-14
Posts: 1,578

Re: [SOLVED]Broadcom 4312 Wifi card driver compiling problem

I followed these instructions and it worked correctly the first time
https://wiki.archlinux.org/index.php/Br … roadcom-wl

Offline

#11 2011-02-12 15:47:18

jlane01
Member
Registered: 2011-02-12
Posts: 4

Re: [SOLVED]Broadcom 4312 Wifi card driver compiling problem

That worked!  Thanks for your help, I appreciate it.  My wireless card is working now.

Offline

#12 2011-02-12 15:54:50

jlane01
Member
Registered: 2011-02-12
Posts: 4

Re: [SOLVED]Broadcom 4312 Wifi card driver compiling problem

I must say that it's been a fun experience learning about Arch.  I enjoyed learning about it as I installed onto my laptop.  Thanks for all of your help.

Offline

#13 2011-02-13 01:43:38

xfaker
Banned
Registered: 2011-02-12
Posts: 15

Re: [SOLVED]Broadcom 4312 Wifi card driver compiling problem

Well, i got the files from AUR (pfkbuild, semaphore, license... etc), plus the file from Broadcom webpage... i copied it to a usb, then logon to arch, copied it back to my laptop harddrive, there i did "makepkg", but i got an error telling me "missing dependencies: kernel26-headers" ... well... any idea how can i solve this? thnx!

Offline

#14 2011-02-13 02:04:25

skunktrader
Member
From: Brisbane, Australia
Registered: 2010-02-14
Posts: 1,578

Re: [SOLVED]Broadcom 4312 Wifi card driver compiling problem

pacman -S kernel26-headers perhaps?

Offline

#15 2011-02-13 02:13:43

xfaker
Banned
Registered: 2011-02-12
Posts: 15

Re: [SOLVED]Broadcom 4312 Wifi card driver compiling problem

skunktrader wrote:

pacman -S kernel26-headers perhaps?

Can i do that without internet conection?

Offline

#16 2011-02-13 04:59:22

xfaker
Banned
Registered: 2011-02-12
Posts: 15

Re: [SOLVED]Broadcom 4312 Wifi card driver compiling problem

well, finally i got the drivers installed: heres what i did:

Reinstalled arch adding kernel26-headers package...
Then went to AUR and searched for broadcom-wl, entered the first one, downloaded (PKGBUILD, install, license.patch, mutex-sema.patch, semaphore.patch), also got Broadcom's file. Got everything on a folder, in my usb, then copied em to another folder in arch, went to that folder and did:

makepkg --asroot
pacman -U pakcage_created.tar.xz

And that was all, i got now the driver installed... thnx ppl for the help! hehe, also i must thnx ppl from the spanish Arch comunity...

Hope this can help others... remember i didnt had internet acces and managed to get the drivers (well i had internet acces from my win7 sesion)

Offline

Board footer

Powered by FluxBB