LinuxQuestions.org
Visit Jeremy's Blog.
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 12-19-2013, 03:57 PM   #1
mrllong
LQ Newbie
 
Registered: Dec 2013
Posts: 6

Rep: Reputation: Disabled
Unhappy Ubuntu 12.04.3 doesn't see Broadcom wireless card need help with Makefile


I installed Ubuntu 12.04.3 on a Dell Insprion 1501 but it doesn't recognize the wireless network card.

I downloaded a driver from Broadcom but the Makefile has logic statements and variables so being a noobie I need someone to lead me through making the tg3.ko driver file.

I just pared the Makefile down to

tg3.ko: tg3.c
cc -c tg3.c

but all I get is tg3.c:33:36: fatal error: linux/module.h: No such file or directory compilation terminated. make: *** [tg3.ko] Error 1

BTW I have the files in [Home/Desktop/Ethernet Drivers/tg3-3.133d/]

The other files in that directory are
ChangeLog
esx_ioctl.h
makeflags.sh
tg3.4
tg3.c
tg3.h
tg3_compat.h
tg3_compat2.h
tg3_firmware.h
tg3_flags.h
tg3_vmware.c
tg3_vmware.h

I am not familiar with the scripting language in this file so this is a two fold need for assistance. The file as Broadcom supplied it is for different versions of the kernel so has different ways to achieve the desired results including ???RPM???? so am lost.

While I wouldn't normally classify this as urgent my computer illiterate grandson would. But he is young and only wants to store/play mp3s watch videos and play games. You know the impatience of youth.

Thank you in advance for anyone willing to lead me by the nose to impart the knowledge I am seeking.
 
Old 12-19-2013, 04:20 PM   #2
snowpine
Senior Member
 
Registered: Feb 2009
Posts: 4,037

Rep: Reputation: 1099Reputation: 1099Reputation: 1099Reputation: 1099Reputation: 1099Reputation: 1099Reputation: 1099Reputation: 1099
Welcome to the forums!

Here are the official, accurate, easy-to-follow instructions to get Broadcom wireless working on your Ubuntu system: https://help.ubuntu.com/community/Wi...Driver/bcm43xx

The instructions do not mention tg3 so I don't understand what you are doing.
 
1 members found this post helpful.
Old 12-19-2013, 04:45 PM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 14,834

Rep: Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820
tg3 is for ethernet - the instructions mentioned should suffice.
 
1 members found this post helpful.
Old 12-25-2013, 03:03 PM   #4
mrllong
LQ Newbie
 
Registered: Dec 2013
Posts: 6

Original Poster
Rep: Reputation: Disabled
Continuing problem

I've followed the links and did what I was told and still can't make the wireless NIC setup beg or even turn on through the function key.

I've only found more things that need to be compiled and none of those do so successfully -
 
Old 12-25-2013, 03:20 PM   #5
snowpine
Senior Member
 
Registered: Feb 2009
Posts: 4,037

Rep: Reputation: 1099Reputation: 1099Reputation: 1099Reputation: 1099Reputation: 1099Reputation: 1099Reputation: 1099Reputation: 1099
Quote:
Originally Posted by mrllong View Post
did what I was told
If you tell us, we can help.

Let's start with Step Zero:

Code:
lspci -vvnn | grep 14e4
"I tried everything and it didn't work," well... we can't help you with that.

"Here is the output from Step Zero, what should I do next?" we would be glad to help you.
 
Old 12-25-2013, 03:51 PM   #6
mrllong
LQ Newbie
 
Registered: Dec 2013
Posts: 6

Original Poster
Rep: Reputation: Disabled
downloading more

The last promising thing was to copy a file from the install disc for the STA drivers. But was warned that I needed linux headers for it to compile.

bcmwl-kernel-source_5.60.48.36+bdcom-0ubuntu3_amd64.deb

I also downloaded:
aptitude_0.4.11.11-1ubuntu10lucid1_amd64.deb
and
synaptic_0.63.1ubuntu6_amd64.deb

Both recommended for managing the installation of the first file. Maybe one will work.

---------- Post added 12-25-13 at 02:52 PM ----------

Its a 4311

Last edited by mrllong; 12-25-2013 at 03:54 PM. Reason: adding information
 
Old 12-25-2013, 03:58 PM   #7
mrllong
LQ Newbie
 
Registered: Dec 2013
Posts: 6

Original Poster
Rep: Reputation: Disabled
Waiting for installation to boot

The target machine is slow booting - unfortunately the machine I am using is Win 7 then sneaker net the files to the Linux Laptop via SD Card. But its what I have until I get the wireless card working.
 
Old 12-25-2013, 04:16 PM   #8
snowpine
Senior Member
 
Registered: Feb 2009
Posts: 4,037

Rep: Reputation: 1099Reputation: 1099Reputation: 1099Reputation: 1099Reputation: 1099Reputation: 1099Reputation: 1099Reputation: 1099
No no no.... 4311 is supported by b43 driver since 8.04 Hardy; you do not need to compile wl! All you need to do is supply the non-free "firmware." If you read the link I posted in #2, it describes a method you can use, even if you have no internet access:

https://help.ubuntu.com/community/Wi...nternet_access

And if you can temporarily connect the computer to the internet by another method (such as wired ethernet) then it is even easier.
 
Old 12-25-2013, 10:36 PM   #9
mrllong
LQ Newbie
 
Registered: Dec 2013
Posts: 6

Original Poster
Rep: Reputation: Disabled
lspci -vvnn | grep 14e4

05:00.0 Network controller [0280]: Broadcom Corporation BCM4311 802.11a/b/g [14e4:4312] (rev 01)
08:00.0 Network controller [0200]: Broadcom Corporation BCM4401-B0 100Base-TX [14e4:170c] (rev 02)
 
Old 12-25-2013, 11:12 PM   #10
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
Hi,

Quote:
Originally Posted by mrllong View Post
05:00.0 Network controller [0280]: Broadcom Corporation BCM4311 802.11a/b/g [14e4:4312] (rev 01)
That confirms that you should follow the instructions linked to in snowpines most recent post. Ie you do not have to compile anything you just need the firmware (and b43-fwcutter to extract and install it).

Evo2.
 
Old 12-26-2013, 02:33 AM   #11
mrllong
LQ Newbie
 
Registered: Dec 2013
Posts: 6

Original Poster
Rep: Reputation: Disabled
Errors all I get are errors

b43 - No Internet access

you can install the bcmwl-kernel-source package from the restricted folder under ../pool/restricted/b/bcmwl on the Ubuntu install media.

Note: The bcmwl-kernel-source package depends on the linux-headers packages so you may need to first retrieve the appropriate package(s) from the online repositories. A running LiveCD/LiveUSB environment has these packages (allowing the wireless to work), but an installed system may not. Make sure you have the linux-headers package that matches your current kernel version, plus the appropriate generic header packages so that they are automatically updated on a kernel upgrade. To find out your current kernel use the command:
uname -r
3.8.0-29-generic
dpkg --get-selections | grep headers
linux-headers-3.8.0-29
linux-headers-3.8.0-29-generic
linux-headers-generic-lts-raring

cd /cdrom/pool/main/d/dkms
sudo dpkg -i dkms*

It worked!!!

cd /cdrom/pool/main/p/patch
sudo dpkg -i patch*
Directory P does not exist

cd /cdrom/pool/main/f/fakeroot
sudo dpkg -i fakeroot*

It worked!!!

cd /cdrom/pool/restricted/b/bcmwl
sudo dpkg -i bcmwl-kernel-source*

ERROR (dkms apport): kernel package linux-headers-3.8.0-29-generic not supported
Error! Bad return status for module build on kernel: 3.8.0-29-generic (x86_64)
Consult ../.../../../../make.log
FATAL: Module ssb is in use.

Make.log follows
DKMS make.log for bcmwl-6.20.155.1+bdcom for kernel 3.8.0-29-generic (x86_64)
Thu Dec 26 01:16:15 CST 2013
make: Entering directory `/usr/src/linux-headers-3.8.0-29-generic'
CFG80211 API is prefered for this kernel version
Using CFG80211 API
LD /var/lib/dkms/bcmwl/6.20.155.1+bdcom/build/built-in.o
CC [M] /var/lib/dkms/bcmwl/6.20.155.1+bdcom/build/src/shared/linux_osl.o
CC [M] /var/lib/dkms/bcmwl/6.20.155.1+bdcom/build/src/wl/sys/wl_linux.o
CC [M] /var/lib/dkms/bcmwl/6.20.155.1+bdcom/build/src/wl/sys/wl_iw.o
CC [M] /var/lib/dkms/bcmwl/6.20.155.1+bdcom/build/src/wl/sys/wl_cfg80211.o
/var/lib/dkms/bcmwl/6.20.155.1+bdcom/build/src/wl/sys/wl_cfg80211.c: In function ‘wl_cfg80211_join_ibss’:
/var/lib/dkms/bcmwl/6.20.155.1+bdcom/build/src/wl/sys/wl_cfg80211.c:705:26: error: ‘struct cfg80211_ibss_params’ has no member named ‘channel’
/var/lib/dkms/bcmwl/6.20.155.1+bdcom/build/src/wl/sys/wl_cfg80211.c: At top level:
/var/lib/dkms/bcmwl/6.20.155.1+bdcom/build/src/wl/sys/wl_cfg80211.c:1560:2: warning: initialization from incompatible pointer type [enabled by default]
/var/lib/dkms/bcmwl/6.20.155.1+bdcom/build/src/wl/sys/wl_cfg80211.c:1560:2: warning: (near initialization for ‘wl_cfg80211_ops.scan’) [enabled by default]
/var/lib/dkms/bcmwl/6.20.155.1+bdcom/build/src/wl/sys/wl_cfg80211.c:1565:2: warning: initialization from incompatible pointer type [enabled by default]
/var/lib/dkms/bcmwl/6.20.155.1+bdcom/build/src/wl/sys/wl_cfg80211.c:1565:2: warning: (near initialization for ‘wl_cfg80211_ops.set_tx_power’) [enabled by default]
/var/lib/dkms/bcmwl/6.20.155.1+bdcom/build/src/wl/sys/wl_cfg80211.c:1566:2: warning: initialization from incompatible pointer type [enabled by default]
/var/lib/dkms/bcmwl/6.20.155.1+bdcom/build/src/wl/sys/wl_cfg80211.c:1566:2: warning: (near initialization for ‘wl_cfg80211_ops.get_tx_power’) [enabled by default]
/var/lib/dkms/bcmwl/6.20.155.1+bdcom/build/src/wl/sys/wl_cfg80211.c: In function ‘wl_update_bss_info’:
/var/lib/dkms/bcmwl/6.20.155.1+bdcom/build/src/wl/sys/wl_cfg80211.c:1991:11: error: ‘struct cfg80211_bss’ has no member named ‘information_elements’
/var/lib/dkms/bcmwl/6.20.155.1+bdcom/build/src/wl/sys/wl_cfg80211.c:1992:15: error: ‘struct cfg80211_bss’ has no member named ‘len_information_elements’
make[1]: *** [/var/lib/dkms/bcmwl/6.20.155.1+bdcom/build/src/wl/sys/wl_cfg80211.o] Error 1
make: *** [_module_/var/lib/dkms/bcmwl/6.20.155.1+bdcom/build] Error 2
make: Leaving directory `/usr/src/linux-headers-3.8.0-29-generic'
 
Old 12-26-2013, 02:37 AM   #12
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
Hi,

why are you messing around with bcmwl? Did you read what snowpine posted?

Evo2.
 
Old 12-26-2013, 09:48 AM   #13
snowpine
Senior Member
 
Registered: Feb 2009
Posts: 4,037

Rep: Reputation: 1099Reputation: 1099Reputation: 1099Reputation: 1099Reputation: 1099Reputation: 1099Reputation: 1099Reputation: 1099
All the information you need is in your hands already, best of luck to you!

Last edited by snowpine; 12-26-2013 at 10:10 AM.
 
Old 01-06-2014, 12:18 PM   #14
rubyyarn
LQ Newbie
 
Registered: Nov 2013
Location: Virginia
Distribution: Linux 15 MATE
Posts: 22

Rep: Reputation: Disabled
Having the same problem

When I first installed Mint 15 MATE it would not recognize the wireless card either. My machine is an Inspiron 1720 and I have a Broadcom router. When this machine ran VISTA, it recognized the router. Mint does not. Several people have tried to help me and so far I haven't been able to figure it out.

I went to the site indicated above and followed the steps exactly, starting with
Code:
lspci -vvnn | grep 14e4
Since I was already in Terminal I used the first 2 'sudo' commands mentioned. My machine ended up in the same place as mrllong's. A lot of code ran, then my Internet connection shut off, even though the ethernet cable was still in place. Rebooting the machine still resulted in no Internet connection, either from the wireless or the cable (which was still in place).

I had to re-install Mint just to get back where I was.

I am extremely new to the command line and about all I know are the 'pwd', 'cd', and 'ls' commands. So far I have wiped out VISTA (never to be seen again) and messed up Mint (re-installed) trying to fix this.

Is there a fix? Is this particular Inspiron just hopeless? Would another version of Linux work better? I understand the Linksys router is quite Linux friendly, so it must be something I am missing. Something simple, probably
 
Old 01-06-2014, 11:49 PM   #15
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
Hi,
Quote:
Originally Posted by rubyyarn View Post
When I first installed Mint 15 MATE it would not recognize the wireless card either. My machine is an Inspiron 1720 and I have a Broadcom router.
This is a different machine to the OP and as such possibly a different wireless chip. You should start your own thread and we can help you there. In that post you should provide information including:

- What OS/distro and version you are using. The following command will provide that information:
Code:
lsb_release --all
- What the wireless device is. Ie run and post the output of the following:
Code:
lspci |grep -iE 'network|wireless'
HTH,

Evo2.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Ubuntu doesn't recognize wireless card on Grundig laptop. igonzalez Linux - Newbie 4 02-27-2011 07:38 PM
DISCUSSION: How to get Broadcom 43xx Wireless (AirForce54g) card to work (proven in Ubuntu Dappe Drake) secretservgy LinuxAnswers Discussion 6 05-31-2010 12:47 PM
Broadcom Wireless Card Detected but NOT working. Ubuntu/Fedora 6 Antonio44 Linux - Hardware 4 06-14-2007 05:30 PM
Ubuntu doesn't recognize wireless card on Acer laptop ConsumingFire783 Linux - Newbie 3 05-28-2007 03:26 PM
Trouble installing ndiswrapper in Ubuntu 7.04 Broadcom Wireless Card dylan623 Linux - Newbie 5 05-06-2007 01:04 AM


All times are GMT -5. The time now is 06:51 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration