LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 02-20-2010, 12:13 PM   #16
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738

Alex;

Out of curiousity, did you ever check the Broadcom website?
 
Old 02-20-2010, 12:17 PM   #17
a13x06
Member
 
Registered: Feb 2010
Location: UK
Distribution: ubuntu
Posts: 60

Original Poster
Rep: Reputation: 15
I typed it in and it produced a load of code, what did it do? What do I do next?

Cheers

Alex
 
Old 02-20-2010, 12:19 PM   #18
a13x06
Member
 
Registered: Feb 2010
Location: UK
Distribution: ubuntu
Posts: 60

Original Poster
Rep: Reputation: 15
I typed that in and it produced a load of code, what did it do? What do I have to do now?

I did look on the Broadcom website but I have no idea what Im looking for

Cheers,

Alex
 
Old 02-20-2010, 01:48 PM   #19
mattca
Member
 
Registered: Jan 2009
Distribution: Slackware 14.1
Posts: 333

Rep: Reputation: 56
Quote:
Originally Posted by a13x06 View Post
I typed that in and it produced a load of code, what did it do? What do I have to do now?

I did look on the Broadcom website but I have no idea what Im looking for

Cheers,

Alex
It should not have produced "code", it should have produced output that indicates what it's doing and the results of those actions. If you still have it, we would need to see the output you got to explain it further.

In any case, it should have installed the given package.

I recently set my mom's inspiron 1525 up with Ubuntu and I had to do some fiddling to get the wireless to work. I had to install the driver (as I think you might have just done), and then I had to load specific kernel modules. I ended up having to write a script to load the modules at boot.

If none of that made sense, don't panic, we can help you We just need as much detail and output as you can provide.

I assume you've already tried google, but just in case, here are a bunch of howtos. This one looks close to what I had to do.

Hope that helps!
 
Old 02-20-2010, 02:35 PM   #20
a13x06
Member
 
Registered: Feb 2010
Location: UK
Distribution: ubuntu
Posts: 60

Original Poster
Rep: Reputation: 15
Really sorry but I didn't save it at the time but this is what it produces now:

alex@ubuntu:~$ sudo apt-get install bcmwl-kernel-source
[sudo] password for alex:
Reading package lists... Done
Building dependency tree
Reading state information... Done
bcmwl-kernel-source is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 72 not upgraded.

Thanks for the links, Il have a look through them Writing a script sounds a bit scary!
 
Old 02-20-2010, 02:53 PM   #21
mattca
Member
 
Registered: Jan 2009
Distribution: Slackware 14.1
Posts: 333

Rep: Reputation: 56
Ok so it sounds like the package is installed.

Quote:
Originally Posted by a13x06 View Post
Writing a script sounds a bit scary!
It isn't, really. A script is just a plain text file that contains the same commands you can type on the command line. It just gives you a way of executing a bunch of them at a time, and controlling how they are executed.

In this case, the script was, I think, 2 lines with a single command each

Start trying things in the links I posted, save as much output as you can, and post again when you run into a wall. If you didn't already know you can use ">" and ">>" to redirect output to a file. ">" will create a new file with the output in it (overwriting the file if it already exists), and ">>" will append the output to the file (saving anything that might already be there).

ie:

Code:
ls > file
or:

Code:
ls >> file
Then you can use less (to view, ie scroll, page up/page down, etc) or cat (to just spit the output into your terminal window) to get the output back:

Code:
less file
Code:
cat file
Hope that helps!
 
Old 02-20-2010, 03:08 PM   #22
a13x06
Member
 
Registered: Feb 2010
Location: UK
Distribution: ubuntu
Posts: 60

Original Poster
Rep: Reputation: 15
I feel like I'm laterally copying and pasting with no idea what I'm doing Hopefully one day this will all make sense!

When I typed
Code:
/etc/init.d/networking restart]
I got
Code:
 * Reconfiguring network interfaces...                                          ifdown: failed to open statefile /var/run/network/ifstate: Permission denied
ifup: failed to open statefile /var/run/network/ifstate: Permission denied
                                                                         [fail]
 
Old 02-20-2010, 03:16 PM   #23
mattca
Member
 
Registered: Jan 2009
Distribution: Slackware 14.1
Posts: 333

Rep: Reputation: 56
It sounds like you're not root. You'll need to use sudo to execute that command:

Code:
sudo /etc/init.d/networking restart
And, also, I noticed you have a closing square bracket at the end of the command. That's probably just a typo, but it will cause problems, so watch out for it next time

[Edit: also, don't worry if you feel like you don't know what you're doing. Trying things out and seeing what happens as a result is how you learn!]

Last edited by mattca; 02-20-2010 at 03:18 PM.
 
1 members found this post helpful.
Old 02-20-2010, 03:24 PM   #24
a13x06
Member
 
Registered: Feb 2010
Location: UK
Distribution: ubuntu
Posts: 60

Original Poster
Rep: Reputation: 15
ITS WORKING!!!!! thank you so much guys!!!
 
Old 02-20-2010, 03:54 PM   #25
mattca
Member
 
Registered: Jan 2009
Distribution: Slackware 14.1
Posts: 333

Rep: Reputation: 56
Quote:
Originally Posted by a13x06 View Post
ITS WORKING!!!!! thank you so much guys!!!
Awesome!! I'm glad you got it sorted out!
 
Old 02-20-2010, 04:11 PM   #26
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
I wish we could hand out a prize every time a Newbie solves a problem after starting from zero!!

We will have you to guru status very soon......
 
Old 03-10-2010, 09:13 AM   #27
a13x06
Member
 
Registered: Feb 2010
Location: UK
Distribution: ubuntu
Posts: 60

Original Poster
Rep: Reputation: 15
Sorry to bring this topic up but I recently had to reinstall Ubuntu and I'm having problems getting the wireless going again, I cant remember what I did exactly. Im probably being stupid but although I'm getting better I'm no expect yet!!


these are the outputs of various commands from this thread:

Typing:
Code:
sudo apt-get install bcmwl-kernel-source
Produces:
Code:
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Couldn't find package bcmwl-kernel-source
Code:
alex@ubuntu:~$ sudo /etc/init.d/networking restart
 * Reconfiguring network interfaces...

Code:
alex@ubuntu:~$ lspci -vnn
00:00.0 Host bridge [0600]: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub [8086:2a00] (rev 0c)
	Subsystem: Dell Device [1028:022f]
	Flags: bus master, fast devsel, latency 0
	Capabilities: <access denied>
	Kernel driver in use: agpgart-intel
	Kernel modules: intel-agp

00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller [8086:2a02] (rev 0c)
	Subsystem: Dell Device [1028:022f]
	Flags: bus master, fast devsel, latency 0, IRQ 28
	Memory at fea00000 (64-bit, non-prefetchable) [size=1M]
	Memory at e0000000 (64-bit, prefetchable) [size=256M]
	I/O ports at eff8 [size=8]
	Capabilities: <access denied>
	Kernel driver in use: i915
	Kernel modules: i915

00:02.1 Display controller [0380]: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller [8086:2a03] (rev 0c)
	Subsystem: Dell Device [1028:022f]
	Flags: bus master, fast devsel, latency 0
	Memory at feb00000 (64-bit, non-prefetchable) [size=1M]
	Capabilities: <access denied>

00:1a.0 USB Controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 [8086:2834] (rev 02)
	Subsystem: Dell Device [1028:022f]
	Flags: bus master, medium devsel, latency 0, IRQ 20
	I/O ports at 6f20 [size=32]
	Kernel driver in use: uhci_hcd

00:1a.1 USB Controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 [8086:2835] (rev 02)
	Subsystem: Dell Device [1028:022f]
	Flags: bus master, medium devsel, latency 0, IRQ 21
	I/O ports at 6f00 [size=32]
	Kernel driver in use: uhci_hcd

00:1a.7 USB Controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 [8086:283a] (rev 02) (prog-if 20)
	Subsystem: Dell Device [1028:022f]
	Flags: bus master, medium devsel, latency 0, IRQ 22
	Memory at fed1c400 (32-bit, non-prefetchable) [size=1K]
	Capabilities: <access denied>
	Kernel driver in use: ehci_hcd

00:1b.0 Audio device [0403]: Intel Corporation 82801H (ICH8 Family) HD Audio Controller [8086:284b] (rev 02)
	Subsystem: Dell Device [1028:022f]
	Flags: bus master, fast devsel, latency 0, IRQ 21
	Memory at fe9fc000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: <access denied>
	Kernel driver in use: HDA Intel
	Kernel modules: snd-hda-intel

00:1c.0 PCI bridge [0604]: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 [8086:283f] (rev 02)
	Flags: bus master, fast devsel, latency 0
	Bus: primary=00, secondary=09, subordinate=09, sec-latency=0
	I/O behind bridge: 0000d000-0000dfff
	Memory behind bridge: fe800000-fe8fffff
	Capabilities: <access denied>
	Kernel driver in use: pcieport-driver
	Kernel modules: shpchp

00:1c.1 PCI bridge [0604]: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 [8086:2841] (rev 02)
	Flags: bus master, fast devsel, latency 0
	Bus: primary=00, secondary=0b, subordinate=0b, sec-latency=0
	Memory behind bridge: fe700000-fe7fffff
	Capabilities: <access denied>
	Kernel driver in use: pcieport-driver
	Kernel modules: shpchp

00:1c.4 PCI bridge [0604]: Intel Corporation 82801H (ICH8 Family) PCI Express Port 5 [8086:2847] (rev 02)
	Flags: bus master, fast devsel, latency 0
	Bus: primary=00, secondary=0c, subordinate=0d, sec-latency=0
	I/O behind bridge: 0000c000-0000cfff
	Memory behind bridge: fe400000-fe6fffff
	Prefetchable memory behind bridge: 00000000f0000000-00000000f01fffff
	Capabilities: <access denied>
	Kernel driver in use: pcieport-driver
	Kernel modules: shpchp

00:1d.0 USB Controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 [8086:2830] (rev 02)
	Subsystem: Dell Device [1028:022f]
	Flags: bus master, medium devsel, latency 0, IRQ 20
	I/O ports at 6f80 [size=32]
	Kernel driver in use: uhci_hcd

00:1d.1 USB Controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 [8086:2831] (rev 02)
	Subsystem: Dell Device [1028:022f]
	Flags: bus master, medium devsel, latency 0, IRQ 21
	I/O ports at 6f60 [size=32]
	Kernel driver in use: uhci_hcd

00:1d.2 USB Controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 [8086:2832] (rev 02)
	Subsystem: Dell Device [1028:022f]
	Flags: bus master, medium devsel, latency 0, IRQ 22
	I/O ports at 6f40 [size=32]
	Kernel driver in use: uhci_hcd

00:1d.7 USB Controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 [8086:2836] (rev 02) (prog-if 20)
	Subsystem: Dell Device [1028:022f]
	Flags: bus master, medium devsel, latency 0, IRQ 20
	Memory at fed1c000 (32-bit, non-prefetchable) [size=1K]
	Capabilities: <access denied>
	Kernel driver in use: ehci_hcd

00:1e.0 PCI bridge [0604]: Intel Corporation 82801 Mobile PCI Bridge [8086:2448] (rev f2) (prog-if 01)
	Flags: bus master, fast devsel, latency 0
	Bus: primary=00, secondary=02, subordinate=02, sec-latency=32
	Memory behind bridge: fe300000-fe3fffff
	Capabilities: <access denied>

00:1f.0 ISA bridge [0601]: Intel Corporation 82801HEM (ICH8M) LPC Interface Controller [8086:2815] (rev 02)
	Subsystem: Dell Device [1028:022f]
	Flags: bus master, medium devsel, latency 0
	Capabilities: <access denied>
	Kernel modules: iTCO_wdt

00:1f.1 IDE interface [0101]: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) IDE Controller [8086:2850] (rev 02) (prog-if 8a [Master SecP PriP])
	Subsystem: Dell Device [1028:022f]
	Flags: bus master, medium devsel, latency 0, IRQ 16
	I/O ports at 01f0 [size=8]
	I/O ports at 03f4 [size=1]
	I/O ports at 0170 [size=8]
	I/O ports at 0374 [size=1]
	I/O ports at 6fa0 [size=16]
	Kernel driver in use: ata_piix

00:1f.2 SATA controller [0106]: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) SATA AHCI Controller [8086:2829] (rev 02) (prog-if 01)
	Subsystem: Dell Device [1028:022f]
	Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 27
	I/O ports at 6eb0 [size=8]
	I/O ports at 6eb8 [size=4]
	I/O ports at 6ec0 [size=8]
	I/O ports at 6ec8 [size=4]
	I/O ports at 6ee0 [size=32]
	Memory at fe9fb800 (32-bit, non-prefetchable) [size=2K]
	Capabilities: <access denied>
	Kernel driver in use: ahci

00:1f.3 SMBus [0c05]: Intel Corporation 82801H (ICH8 Family) SMBus Controller [8086:283e] (rev 02)
	Subsystem: Dell Device [1028:022f]
	Flags: medium devsel, IRQ 10
	Memory at fe9fb700 (32-bit, non-prefetchable) [size=256]
	I/O ports at 10c0 [size=32]
	Kernel modules: i2c-i801

02:09.0 FireWire (IEEE 1394) [0c00]: Ricoh Co Ltd R5C832 IEEE 1394 Controller [1180:0832] (rev 05) (prog-if 10)
	Subsystem: Dell Device [1028:022f]
	Flags: bus master, medium devsel, latency 64, IRQ 16
	Memory at fe3ff800 (32-bit, non-prefetchable) [size=2K]
	Capabilities: <access denied>
	Kernel driver in use: ohci1394
	Kernel modules: firewire-ohci, ohci1394

02:09.1 SD Host controller [0805]: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter [1180:0822] (rev 22) (prog-if 01)
	Subsystem: Dell Device [1028:022f]
	Flags: bus master, medium devsel, latency 64, IRQ 18
	Memory at fe3ff400 (32-bit, non-prefetchable) [size=256]
	Capabilities: <access denied>
	Kernel driver in use: sdhci-pci
	Kernel modules: sdhci-pci

02:09.2 System peripheral [0880]: Ricoh Co Ltd R5C843 MMC Host Controller [1180:0843] (rev 12)
	Subsystem: Dell Device [1028:022f]
	Flags: bus master, medium devsel, latency 64, IRQ 5
	Memory at fe3ff500 (32-bit, non-prefetchable) [size=256]
	Capabilities: <access denied>
	Kernel driver in use: ricoh-mmc
	Kernel modules: ricoh_mmc

02:09.3 System peripheral [0880]: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter [1180:0592] (rev 12)
	Subsystem: Dell Device [1028:022f]
	Flags: bus master, medium devsel, latency 64, IRQ 5
	Memory at fe3ff600 (32-bit, non-prefetchable) [size=256]
	Capabilities: <access denied>

02:09.4 System peripheral [0880]: Ricoh Co Ltd xD-Picture Card Controller [1180:0852] (rev ff) (prog-if ff)
	!!! Unknown header type 7f

09:00.0 Ethernet controller [0200]: Marvell Technology Group Ltd. 88E8040 PCI-E Fast Ethernet Controller [11ab:4354] (rev 12)
	Subsystem: Dell Device [1028:022f]
	Flags: bus master, fast devsel, latency 0, IRQ 29
	Memory at fe8fc000 (64-bit, non-prefetchable) [size=16K]
	I/O ports at de00 [size=256]
	Capabilities: <access denied>
	Kernel driver in use: sky2
	Kernel modules: sky2

0b:00.0 Network controller [0280]: Broadcom Corporation BCM4312 802.11b/g [14e4:4315] (rev 01)
	Subsystem: Dell Device [1028:000b]
	Flags: bus master, fast devsel, latency 0, IRQ 17
	Memory at fe7fc000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: <access denied>
	Kernel driver in use: b43-pci-bridge
	Kernel modules: ssb
Code:
alex@ubuntu:~$ lsmod
Module                  Size  Used by
b43                   122136  0 
mac80211              181236  1 b43
b44                    28684  0 
cfg80211               93052  2 b43,mac80211
ssb                    35300  2 b43,b44
mii                     5212  1 b44
ieee80211_crypt_tkip     9276  0 
ieee80211_crypt         5024  1 ieee80211_crypt_tkip
binfmt_misc             8356  1 
ppdev                   6688  0 
bridge                 47952  0 
stp                     2272  1 bridge
bnep                   12060  2 
snd_hda_codec_idt      59844  1 
snd_hda_codec_intelhdmi    12860  1 
snd_hda_intel          26920  2 
snd_hda_codec          75708  3 snd_hda_codec_idt,snd_hda_codec_intelhdmi,snd_hda_intel
snd_hwdep               7200  1 snd_hda_codec
snd_pcm_oss            37920  0 
joydev                 10272  0 
snd_mixer_oss          16028  1 snd_pcm_oss
snd_pcm                75296  3 snd_hda_intel,snd_hda_codec,snd_pcm_oss
iptable_filter          3100  0 
ip_tables              11692  1 iptable_filter
x_tables               16544  1 ip_tables
snd_seq_dummy           2656  0 
snd_seq_oss            28576  0 
ricoh_mmc               3676  0 
lp                      8964  0 
parport                35340  2 ppdev,lp
snd_seq_midi            6432  0 
snd_rawmidi            22208  1 snd_seq_midi
snd_seq_midi_event      6940  2 snd_seq_oss,snd_seq_midi
snd_seq                50224  6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_timer              22276  2 snd_pcm,snd_seq
snd_seq_device          6920  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
sdhci_pci               7100  0 
sdhci                  17472  1 sdhci_pci
btusb                  11856  2 
led_class               4096  2 b43,sdhci
dell_wmi                2564  0 
snd                    59204  17 snd_hda_codec_idt,snd_hda_codec_intelhdmi,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
soundcore               7264  1 snd
snd_page_alloc          9156  2 snd_hda_intel,snd_pcm
dell_laptop             8128  0 
dcdbas                  7292  1 dell_laptop
psmouse                56180  0 
serio_raw               5280  0 
fbcon                  36640  72 
tileblit                2460  1 fbcon
font                    8124  1 fbcon
bitblit                 5372  1 fbcon
softcursor              1756  1 bitblit
usbhid                 38208  0 
ohci1394               29900  0 
ieee1394               86596  1 ohci1394
sky2                   46560  0 
i915                  221064  3 
drm                   159584  3 i915
i2c_algo_bit            5760  1 i915
intel_agp              27484  2 i915
agpgart                34988  2 drm,intel_agp
video                  19380  1 i915
output                  2780  1 video
Many thanks,

Alex
 
Old 03-10-2010, 09:35 AM   #28
a13x06
Member
 
Registered: Feb 2010
Location: UK
Distribution: ubuntu
Posts: 60

Original Poster
Rep: Reputation: 15
Sorry, Iv solved it I hadnt activated the drivers.

Alex
 
  


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
Setting up Wireless on Ubuntu Netbook LN Smith Linux - Newbie 80 03-22-2010 10:44 AM
Setting up Linux (Ubuntu) to work with Dell Truemobile 1300 USB Wireless Adaptor IBUA Linux - Networking 2 04-03-2009 11:38 PM
Setting up Wireless Card on laptop os Ubuntu gregrae Linux - Hardware 3 10-31-2008 08:01 AM
Issues Setting Up a Wireless Access Point on Ubuntu Server 7.4 with BCM4306 card sneakyjoe Linux - Wireless Networking 0 08-12-2007 05:21 PM
setting up wireless internet on IBM Thinkpad 1171 with Ubuntu halfwaynowhere Linux - Wireless Networking 4 08-04-2006 10:17 PM


All times are GMT -5. The time now is 04:47 PM.

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