Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > GNU Linux Zone > Wireless Internet > [SOLVED] Wireless Setup on Ubuntu 9.04

Forgot Password?
 Wireless Internet   Anything related to getting wireless set up in Linux. WLAN, WiFi, etc.

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Closed Thread
 
Thread Tools Display Modes
Old 05-17-2009   #1 (permalink)
Just Joined!
 
Join Date: May 2009
Location: Canada
Posts: 6
[SOLVED] Wireless Setup on Ubuntu 9.04

I hate to make my first post a request for help so hello to everyone on the Linux forums, hopefully I will be a regular member here and continue to use Linux.

I recently decided to try Ubuntu 9.04 on an older laptop I have been using for school.

I did a full Linux only install on the Laptop (Acer Aspire 5000) and went to the pages on here about how to set up the wireless cards and ran into trouble with the
Code:
sudo apt-get install bcm43xx-fwcutter
portion of the install. It tells me it can not find the package bcm43xx-fwcutter.


I've been following the instructions found here wireless-setup-start-here Sticky and then here the linux wireless site for the broadcom card (43xx)

The first told me it was a broadcom card, then the later told me how to install the firmware (I am guessing ?)


I'll backup a few steps and post the information mentioned in the first link (not a link b/c of 15 post limit)

dmesg | grape firmware

Code:
[   23.328033] b43 ssb0:0: firmware: requesting b43/ucode5.fw
[   23.351555] b43-phy0 ERROR: You must go to [no URLS] and download the latest firmware (version 4).
[   23.416030] b43 ssb0:0: firmware: requesting b43/ucode5.fw
[   23.420798] b43-phy0 ERROR: You must go to [no URLS] and download the latest firmware (version 4).
[   37.240047] b43 ssb0:0: firmware: requesting b43/ucode5.fw
[   37.249963] b43-phy0 ERROR: You must go to [no URLS] and download the latest firmware (version 4).
lsmod

Code:
Module                  Size  Used by
nls_iso8859_1          12032  1 
nls_cp437              13696  1 
vfat                   18816  1 
fat                    58272  1 vfat
rfkill_input           12800  0 
binfmt_misc            16776  1 
ppdev                  15620  0 
bridge                 56340  0 
stp                    10500  1 bridge
bnep                   20224  2 
video                  25360  0 
output                 11008  1 video
lp                     17156  0 
parport                42220  2 ppdev,lp
joydev                 18368  0 
arc4                    9856  2 
snd_intel8x0           37532  3 
snd_ac97_codec        112292  1 snd_intel8x0
ecb                    10752  2 
ac97_bus                9856  1 snd_ac97_codec
snd_pcm_oss            46336  0 
snd_mixer_oss          22656  1 snd_pcm_oss
snd_pcm                82948  3 snd_intel8x0,snd_ac97_codec,snd_pcm_oss
snd_seq_dummy          10756  0 
snd_seq_oss            37760  0 
snd_seq_midi           14336  0 
snd_rawmidi            29696  1 snd_seq_midi
b43                   131484  0 
pcmcia                 44748  0 
snd_seq_midi_event     15104  2 snd_seq_oss,snd_seq_midi
snd_seq                56880  6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_timer              29704  2 snd_pcm,snd_seq
snd_seq_device         14988  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
mac80211              217208  1 b43
k8temp                 12416  0 
snd                    62628  16 snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
psmouse                61972  0 
sis_agp                15360  0 
yenta_socket           32396  1 
rsrc_nonstatic         19328  1 yenta_socket
cfg80211               38032  1 mac80211
soundcore              15200  1 snd
serio_raw              13316  0 
amd64_agp              18184  1 
pcmcia_core            43540  3 pcmcia,yenta_socket,rsrc_nonstatic
pcspkr                 10496  0 
input_polldev          11912  1 b43
snd_page_alloc         16904  2 snd_intel8x0,snd_pcm
led_class              12036  1 b43
agpgart                42696  2 sis_agp,amd64_agp
i2c_sis96x             12420  0 
shpchp                 40212  0 
ssb                    41220  1 b43
sis900                 28288  0 
mii                    13312  1 sis900
usb_storage            82880  1 
fbcon                  46112  0 
tileblit               10752  1 fbcon
font                   16384  1 fbcon
bitblit                13824  1 fbcon
softcursor              9984  1 bitblit
lspci

Code:
00:00.0 Host bridge: Silicon Integrated Systems [SiS] 760/M760 Host (rev 03)
00:01.0 PCI bridge: Silicon Integrated Systems [SiS] SG86C202
00:02.0 ISA bridge: Silicon Integrated Systems [SiS] SiS963 [MuTIOL Media IO] (rev 25)
00:02.1 SMBus: Silicon Integrated Systems [SiS] SiS961/2 SMBus Controller
00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE]
00:02.6 Modem: Silicon Integrated Systems [SiS] AC'97 Modem Controller (rev a0)
00:02.7 Multimedia audio controller: Silicon Integrated Systems [SiS] AC'97 Sound Controller (rev a0)
00:03.0 USB Controller: Silicon Integrated Systems [SiS] USB 1.1 Controller (rev 0f)
00:03.1 USB Controller: Silicon Integrated Systems [SiS] USB 1.1 Controller (rev 0f)
00:03.2 USB Controller: Silicon Integrated Systems [SiS] USB 2.0 Controller
00:04.0 Ethernet controller: Silicon Integrated Systems [SiS] SiS900 PCI Fast Ethernet (rev 91)
00:06.0 CardBus bridge: Texas Instruments PCI1410 PC card Cardbus Controller (rev 02)
00:0b.0 Network controller: Broadcom Corporation BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller (rev 02)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS] 661/741/760 PCI/AGP or 662/761Gx PCIE VGA Display Adapter
uname -r

Code:
2.6.28-11-generic
Hope this helps, Im not sure why it cannot find the bcm43xx-fwcutter file. I have tried changing the directory to where the file is stored and running the command as well.

Any help is greatly appreciated,


Thanks
Bivouhac is offline  


Old 05-17-2009   #2 (permalink)
Linux Guru
 
reed9's Avatar
 
Join Date: Feb 2009
Location: Boston, MA
Posts: 2,200
Hello and welome.

Try sudo apt-get install b43-fwcutter
reed9 is online now  
Old 05-17-2009   #3 (permalink)
Linux Guru
 
reed9's Avatar
 
Join Date: Feb 2009
Location: Boston, MA
Posts: 2,200
Just to be more clear. bcm43xx is deprecated, and for most cards the current driver is the b43, and the firmware cutter is called b43-fwcutter. Some broadcom cards still need the b43legacy drivers, but the 4318 works with the b43.

More info here.
reed9 is online now  
Old 05-17-2009   #4 (permalink)
Just Joined!
 
Join Date: May 2009
Location: Canada
Posts: 6
ok, I tried the sudo apt-get b43-fwcutter with the bcm43xx-fwcutter and no go... I then downloaded the files for the b43-fwcutter. (From the link you gave me) I copied these downloaded files to my home directory (I have no wired/wireless connection so I cannot use the wget command in the terminal) and the used the commands as shown for the b43-fwcutter I then tried sudo apt-get b43-fwcutter at the end of the:

Code:
export FIRMWARE_INSTALL_DIR="/lib/firmware"
tar xjf broadcom-wl-4.150.10.5.tar.bz2
cd broadcom-wl-4.150.10.5/driver
sudo ../../b43-fwcutter-011/b43-fwcutter -w "$FIRMWARE_INSTALL_DIR" wl_apsta_mimo.o
Code, I also went back to the home directory and tried the sudo apt-get b43-fwcutter command again... Here is what it has shown me for both b43 and bcm43xx :

Code:
sudo apt-get b43-fwcutter
Reading Package lists... Done 
Building dependency tree
Reading state information... Done
E: Couldn't find package b43-fwcutter
any ideas on what this is ?

Thanks for helping me out


EDIT:

I guess I should list some file locations since that sounds like the problem to me.


The b43-fwcutter-011.tar.bz2 and broadcom-wl-4.80.53.0.tar.bz2 are in the home folder (same folder as music, pictures, etc..) The extracted folders are in the home folder as well.


In the /lib/firmware folder I have a b43 folder with a no read emblem on it and I cna not see any contents inside of it

hope this helps. I'm not sure if using the wget command will download the files into the proper places or when I copied them over I copied them to the wrong places.
Bivouhac is offline  
Old 05-17-2009   #5 (permalink)
Linux Guru
 
reed9's Avatar
 
Join Date: Feb 2009
Location: Boston, MA
Posts: 2,200
Quote:
(I have no wired/wireless connection so I cannot use the wget command in the terminal)
If you have no internet connection, apt-get will not work. Please note also that it's apt-get not apt=get. The package is here. You can download it and transfer over to install. Normally, for Ubuntu, after install you would be prompted to download the firmware files and extract them, but again, no go without a connection on that box.

However, if you downloaded the program from the link and installed it that way, you should be fine, you wouldn't need to download it from the repos.

Did you get any errors when you tried to extract the firmware?
reed9 is online now  
Old 05-17-2009   #6 (permalink)
Just Joined!
 
Join Date: May 2009
Location: Canada
Posts: 6
Hi reed9,

The apt=get was a bad typo error, I have been using apt-get on the terminal.

I downloaded the "b43-fwcutter_011-5_i386.deb on Intel x86 machines" and tried to run it, but the installation failed, I also tried the amd64 version but my operating system was not compatible with it. (Is amd64 a 64 bit OS?)

heres what came up when I tried to install the b43-fwcutter_011-5_i386.deb and the installation was reported as having failed...

I then tried the sudo apt-get install b43-fwcutter command on the terminal and get this:
Code:
laptop:~$ sudo apt-get install b43-fwcutter
[sudo] password for geoff: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
b43-fwcutter is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up b43-fwcutter (1:011-5) ...
--2009-05-17 00:39:30--  [linky]
Resolving downloads.openwrt.org... failed: Name or service not known.
wget: unable to resolve host address [Link]
dpkg: error processing b43-fwcutter (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 b43-fwcutter
E: Sub-process /usr/bin/dpkg returned an error code (1)
So the installation requires an internet connection to install wireless internet ? Is there any way around this?
apt-get also requires an internet connection? what would I use in place of this?
Thats got me a little bit confused


As far as I know I didn't get any errors when Extracting the firmware, it ran seamlessly through the terminal
Heres the terminal code for the firmware extraction:

Code:
geoff@geoff-laptop:~$ tar xjf broadcom-wl-4.80.53.0.tar.bz2geoff@geoff-laptop:~$ cd broadcom-wl-4.80.53.0/kmodgeoff@geoff-laptop:~/broadcom-wl-4.80.53.0/kmod$ sudo ../../b43-fwcutter-011/b43-fwcutter -w "$FIRMWARE_INSTALL_DIR" wl_apsta_mimo.o
[sudo] password for geoff: 
This file is recognised as:
  ID         :  FW11
  filename   :  wl_apsta_mimo.o
  version    :  351.126
  MD5        :  722e2e0d8cc04b8f118bb5afe6829ff9
Extracting b43/ucode4.fw
Extracting b43/ucode5.fw
Extracting b43/ucode11.fw
Extracting b43/ucode13.fw
Extracting b43/pcm4.fw
Extracting b43/pcm5.fw
Extracting b43/b0g0initvals4.fw
Extracting b43/b0g0bsinitvals4.fw
Extracting b43/a0g0initvals4.fw
Extracting b43/a0g0bsinitvals4.fw
Extracting b43/b0g0initvals5.fw
Extracting b43/b0g0bsinitvals5.fw
Extracting b43/a0g0initvals5.fw
Extracting b43/a0g1initvals5.fw
Extracting b43/a0g0bsinitvals5.fw
Extracting b43/a0g1bsinitvals5.fw
Extracting b43/lp0initvals13.fw
Extracting b43/lp0bsinitvals13.fw
Extracting b43/b0g0initvals13.fw
Extracting b43/b0g0bsinitvals13.fw
Extracting b43/a0g1initvals13.fw
Extracting b43/a0g1bsinitvals13.fw
geoff@geoff-laptop:~/broadcom-wl-4.80.53.0/kmod$
Bivouhac is offline  
Old 05-17-2009   #7 (permalink)
Linux Guru
 
reed9's Avatar
 
Join Date: Feb 2009
Location: Boston, MA
Posts: 2,200
Quote:
laptop:~$ sudo apt-get install b43-fwcutter
[sudo] password for geoff:
Reading package lists... Done
Building dependency tree
Reading state information... Done
b43-fwcutter is already the newest version.
As I thought, you have successfully installed b43-fwcutter. The error you're receiving is when it tries to download the firmware. However, you have already manually downloaded the firmware, and, apparently, run b43-fwcutter on the file to extract the correct files. Assuming you've extracted the files to /lib/firmware, your wireless should be working now.

Have you dmesg | grep firmware for errors again? What is the output of sudo iwconfig?

An AMD64 bit processor is capable of running a 64 bit OS. The default option for download on the Ubuntu website is 32 bit, so unless you changed it, that's what you downloaded. Post the output of uname -a
reed9 is online now  
Old 05-17-2009   #8 (permalink)
Just Joined!
 
Join Date: May 2009
Location: Canada
Posts: 6
Ahhh ok, that makes sense.

I tried to extract the firmware into the firmware folder but it is telling me that I do not have permission to extract to that directory. I am logged on as the only user that I have created so I should have permission ? The permission on the folder is set to allow file creation and delete files SO I don't understand why it won't let me extract to the firmware folder, I've tried a complete shutdown, log out and restart, but it's not letting me extract or copy the firmware files over.

uname -a
Code:
Linux geoff-laptop 2.6.28-11-generic #42-Ubuntu SMP Fri Apr 17 01:57:59 UTC 2009 i686 GNU/Linux
dmesg | grep firmware

Code:
[   24.372043] b43 ssb0:0: firmware: requesting b43/ucode5.fw
[   24.432515] b43 ssb0:0: firmware: requesting b43/pcm5.fw
[   24.506204] b43 ssb0:0: firmware: requesting b43/b0g0initvals5.fw
[   24.530333] b43 ssb0:0: firmware: requesting b43/b0g0bsinitvals5.fw
[   24.664097] b43-phy0: Loading firmware version 351.126 (2006-07-29 05:54:02)
[   24.664105] b43-phy0 warning: You are using an old firmware image. Support for old firmware will be removed in July 2008.
[   24.664110] b43-phy0 warning: You must go to [Link ]
iwconfig

Code:
wlan0     IEEE 802.11bg  ESSID:"dlink"  
          Mode:Managed  Frequency:2.462 GHz  Access Point: Not-Associated   
          Tx-Power=20 dBm   
          Retry min limit:7   RTS thr:off   Fragment thr=2352 B   
          Encryption key:off
          Power Management:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0
Bivouhac is offline  
Old 05-17-2009   #9 (permalink)
Trusted Penguin
 
waterhead's Avatar
 
Join Date: Jul 2004
Location: Franklin, Wisconsin
Posts: 3,957
There is a slightly easier way to go about this. Someone has packaged the firmware as a deb package. You can download the package with Windows, and then transfer and install the package.

http://ubuntu.cafuego.net/dists/jaun...uego/broadcom/

Download the b43-firmware_1.1-0cafuego1_all.deb file. Clicking on the file should bring up the installer, then just click the install button and give the password.
__________________
Paul

Please do not PM me with requests for help. I will not reply.
waterhead is offline  
Old 05-17-2009   #10 (permalink)
Linux Guru
 
reed9's Avatar
 
Join Date: Feb 2009
Location: Boston, MA
Posts: 2,200
Good to know about that package, waterhead.

It looks to me like you're wireless is working, though, bivouhac. Have you tried connecting to a network via the networkmanager?
reed9 is online now  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 12:34 PM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2