Find the answer to your Linux question:
Page 2 of 3 FirstFirst 1 2 3 LastLast
Results 11 to 20 of 24
If you want to make it simpler on yourself, you can just install the firmware cutter package from Ubuntu : so no need to compile anything. You can find the ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #11
    Linux Guru antidrugue's Avatar
    Join Date
    Oct 2005
    Location
    Montreal, Canada
    Posts
    3,211

    If you want to make it simpler on yourself, you can just install the firmware cutter package from Ubuntu : so no need to compile anything.

    You can find the .deb package here :
    http://archive.ubuntu.com/ubuntu/poo...uild1_i386.deb

    To install a .deb package :
    Code:
    sudo dpkg -i package_name
    About the "cannot stat" error, this is cause by the fact that you didn't mount your MAC OS X partition in Linux, so obviously Linux can't see it.

    You can do a
    Code:
    sudo fdisk -l | grep hf
    to know which is your MAC OS X partition.

    Then you can mount it like that :
    Code:
    sudo mkdir /mnt/macosx
    sudo mount /dev/hda8 /mnt/macosx -t hfsplus
    given /dev/hda8 is your OS X partition.

    Then you will be able to cut the firmware from the OS X partition.
    "To express yourself in freedom, you must die to everything of yesterday. From the 'old', you derive security; from the 'new', you gain the flow."

    -Bruce Lee

  2. #12
    Just Joined!
    Join Date
    Jul 2006
    Posts
    26
    awesom druguey thanks for the layout, i am only like a week new to this so the step by step helps. i appreciate all the help

    sp

  3. #13
    Just Joined!
    Join Date
    Jul 2006
    Posts
    26
    well it turns out that the cutter isnt compatable with power pc

    Code:
    me@ubuntu:~$ sudo dpkg -i /home/me/Desktop/bcm43xx-fwcutter_20060108-6build1_i386.deb
    dpkg: error processing /home/me/Desktop/bcm43xx-fwcutter_20060108-6build1_i386.deb (--install):
     package architecture (i386) does not match system (powerpc)
    Errors were encountered while processing:
     /home/me/Desktop/bcm43xx-fwcutter_20060108-6build1_i386.deb
    me@ubuntu:~$
    and when i did the other trying to mount osx i got
    Code:
    bash: [: /etc/bash_complittle: binary operator expected
    me@ubuntu:~$ sudo fdisk -l | grep hf
    me@ubuntu:~$ #as you can see this did nothing, but i looked it up in the gui to get the partition name
    me@ubuntu:~$ sudo mkdir /mnt/macosx
    mkdir: cannot create directory `/mnt/macosx': File exists
    me@ubuntu:~$ #this is the second try at this, so that is why it already exists, i am just showin all the steps
    me@ubuntu:~$ sudo mount /dev/hda3 /mnt/macosx -t hfsplus
    mount: /dev/hda3 already mounted or /mnt/macosx busy
    mount: according to mtab, /dev/hda3 is already mounted on /mnt/macosx
    me@ubuntu:~$ #so now it is mounted, and the above shows it.
    me@ubuntu:~$ #now i am going to start from the beginning of the ibook how to
    me@ubuntu:~$ svn checkout svn://svn.berlios.de/bcm43xx/trunk/fwcutter
    Checked out revision 1178.
    me@ubuntu:~$ cd fwcutter
    me@ubuntu:~/fwcutter$ make
    cc -O2 -fomit-frame-pointer -std=c99 -Wall -pedantic -D_BSD_SOURCE -DFWCUTTER_VERSION_=005 -o bcm43xx-fwcutter fwcutter.o md5.o
    me@ubuntu:~/fwcutter$ cp $OSXROOT/System/Library/Extensions/AppleAirPort2.kext/Contents/MacOS/AppleAirPort2 .
    cp: cannot stat `/System/Library/Extensions/AppleAirPort2.kext/Contents/MacOS/AppleAirPort2': No such file or directory
    me@ubuntu:~/fwcutter$
    so for some reason it still wont read the mac partition

    i have also included notes in the code, you probably wont need them, but i thought it would organize it better

  4. $spacer_open
    $spacer_close
  5. #14
    Just Joined!
    Join Date
    Jul 2006
    Posts
    26
    i also tried the other link now that i have the partition mounted and came up with this if it means anything

    Code:
    bash: [: /etc/bash_complittle: binary operator expected
    me@ubuntu:~$ sudo /usr/share/bcm43xx-fwcutter/install_bcm43xx_firmware.sh
    --20:12:09--  http://downloads.openwrt.org/sources/kernel-binary-wl-0.5.tar.gz
               => `kernel-binary-wl-0.5.tar.gz.1'
    Resolving downloads.openwrt.org... 195.56.146.238
    Connecting to downloads.openwrt.org|195.56.146.238|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 1,669,436 (1.6M) [application/x-tar]
    
    100%[============================
    extracting bcm43xx_initval03.fw ...
    extracting bcm43xx_initval04.fw ...
    extracting bcm43xx_initval05.fw ...
    extracting bcm43xx_initval06.fw ...
    extracting bcm43xx_initval07.fw ...
    extracting bcm43xx_initval08.fw ...
    extracting bcm43xx_initval09.fw ...
    extracting bcm43xx_initval10.fw ...
    me@ubuntu:~$ sudo modprobe bcm43xx
    me@ubuntu:~$ iwconfig
    lo        no wireless extensions.
    
    eth0      IEEE 802.11b/g  ESSID:off/any  Nickname:"Broadcom 4318"
              Mode:Managed  Frequency=2.437 GHz  Access Point: Invalid
              Bit Rate:11 Mb/s
              RTS thr:off   Fragment thr: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
    
    eth1      no wireless extensions.
    
    sit0      no wireless extensions.
    
    me@ubuntu:~$ sudo iwlist eth0 scan
    eth0      Interface doesn't support scanning : No such device
    
    me@ubuntu:~$========>] 1,669,436    373.62K/s    ETA 00:00
    
    20:12:15 (269.70 KB/s) - `kernel-binary-wl-0.5.tar.gz.1' saved [1669436/1669436]
    wl/
    wl/ap_bcmwpa.o
    wl/ap_d11ucode.o
    wl/ap_rc4.o
    wl/ap_tkhash.o
    wl/ap_wl_linux.o
    wl/ap_wlc.o
    wl/ap_wlc_led.o
    wl/ap_wlc_phy.o
    wl/ap_wlc_rate.o
    wl/ap_wlc_security.o
    wl/apsta_aes.o
    wl/apsta_aeskeywrap.o
    wl/apsta_bcmwpa.o
    wl/apsta_d11ucode.o
    wl/apsta_hmac.o
    wl/apsta_md5.o
    wl/apsta_passhash.o
    wl/apsta_prf.o
    wl/apsta_rc4.o
    wl/apsta_rijndael-alg-fst.o
    wl/apsta_sha1.o
    wl/apsta_tkhash.o
    wl/apsta_wl_linux.o
    wl/apsta_wlc.o
    wl/apsta_wlc_led.o
    wl/apsta_wlc_phy.o
    wl/apsta_wlc_rate.o
    wl/apsta_wlc_security.o
    wl/apsta_wlc_sup.o
    wl/apsta_wlc_wet.o
    wl/sta_aes.o
    wl/sta_aeskeywrap.o
    wl/sta_bcmwpa.o
    wl/sta_d11ucode.o
    wl/sta_hmac.o
    wl/sta_md5.o
    wl/sta_passhash.o
    extracting bcm43xx_initval03.fw ...
    extracting bcm43xx_initval04.fw ...
    extracting bcm43xx_initval03.fw ...
    extracting bcm43xx_initval04.fw ...
    extracting bcm43xx_initval05.fw ...
    extracting bcm43xx_initval06.fw ...
    extracting bcm43xx_initval07.fw ...
    extracting bcm43xx_initval08.fw ...
    extracting bcm43xx_initval09.fw ...
    extracting bcm43xx_initval10.fw ...
    me@ubuntu:~$ sudo modprobe bcm43xx
    me@ubuntu:~$ iwconfig
    lo        no wireless extensions.
    
    eth0      IEEE 802.11b/g  ESSID:off/any  Nickname:"Broadcom 4318"
              Mode:Managed  Frequency=2.437 GHz  Access Point: Invalid
              Bit Rate:11 Mb/s
              RTS thr:off   Fragment thr: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
    
    eth1      no wireless extensions.
    
    sit0      no wireless extensions.
    
    me@ubuntu:~$ sudo iwlist eth0 scan
    eth0      Interface doesn't support scanning : No such device
    
    me@ubuntu:~$
    extracting bcm43xx_initval05.fw ...
    extracting bcm43xx_initval06.fw ...
    extracting bcm43xx_initval07.fw ...
    extracting bcm43xx_initval08.fw ...
    extracting bcm43xx_initval09.fw ...
    extracting bcm43xx_initval10.fw ...
    me@ubuntu:~$ sudo modprobe bcm43xx
    me@ubuntu:~$ iwconfig
    lo        no wireless extensions.
    
    eth0      IEEE 802.11b/g  ESSID:off/any  Nickname:"Broadcom 4318"
              Mode:Managed  Frequency=2.437 GHz  Access Point: Invalid
              Bit Rate:11 Mb/s
              RTS thr:off   Fragment thr: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
    
    eth1      no wireless extensions.
    
    sit0      no wireless extensions.
    
    me@ubuntu:~$ sudo iwlist eth0 scan
    eth0      Interface doesn't support scanning : No such device
    
    me@ubuntu:~$
    wl/sta_prf.o
    wl/sta_rc4.o
    wl/sta_rijndael-alg-fst.o
    wl/sta_sha1.o
    wl/sta_tkhash.o
    wl/sta_wl_linux.o
    wl/sta_wlc.o
    wl/sta_wlc_led.o
    wl/sta_wlc_phy.o
    wl/sta_wlc_rate.o
    wl/sta_wlc_security.o
    wl/sta_wlc_sup.o
    wl/sta_wlc_wet.o
    wl/wl_ap.o
    wl/wl_apsta.o
    wl/wl_sta.o
    wl/wl2/
    wl/wl2/wl.o
    fwcutter can cut the firmware out of wl_apsta.o
      filename :  wl_apsta.o
      version  :  3.90.37.0
      MD5      :  f9fa565a766e8befeb495a8a8c0c134b
    
    extracting bcm43xx_microcode2.fw ...
    extracting bcm43xx_microcode4.fw ...
    extracting bcm43xx_microcode5.fw ...
    *****: Sorry, it's not posible to extract "bcm43xx_microcode11.fw".
    *****: Extracting firmware from an old driver is bad. Choose a more recent one.
    *****: Luckily bcm43xx driver doesn't include microcode11 uploads at the moment.*****: But this can be added in the future...
    extracting bcm43xx_pcm4.fw ...
    extracting bcm43xx_pcm5.fw ...
    extracting bcm43xx_initval01.fw ...
    extracting bcm43xx_initval02.fw ...
    extracting bcm43xx_initval03.fw ...
    extracting bcm43xx_initval04.fw ...
    extracting bcm43xx_initval05.fw ...
    extracting bcm43xx_initval06.fw ...
    extracting bcm43xx_initval07.fw ...
    extracting bcm43xx_initval08.fw ...
    extracting bcm43xx_initval09.fw ...
    extracting bcm43xx_initval10.fw ...
    me@ubuntu:~$ sudo modprobe bcm43xx
    me@ubuntu:~$ iwconfig
    lo        no wireless extensions.
    
    eth0      IEEE 802.11b/g  ESSID:off/any  Nickname:"Broadcom 4318"
              Mode:Managed  Frequency=2.437 GHz  Access Point: Invalid
              Bit Rate:11 Mb/s
              RTS thr:off   Fragment thr: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
    
    eth1      no wireless extensions.
    
    sit0      no wireless extensions.
    
    me@ubuntu:~$ sudo iwlist eth0 scan
    eth0      Interface doesn't support scanning : No such device
    
    me@ubuntu:~$

  6. #15
    Linux Guru antidrugue's Avatar
    Join Date
    Oct 2005
    Location
    Montreal, Canada
    Posts
    3,211
    Quote Originally Posted by SublimeProgie
    well it turns out that the cutter isnt compatable with power pc
    Sorry, my bad : I sent you the link for the i386 version of "fwcutter". Here is the link for PowerPC :
    http://archive.ubuntu.com/ubuntu/poo...d1_powerpc.deb

    So perhaps uninstall the old i386 cutter :
    Code:
    sudo apt-get remove --purge bcm43xx-fwcutter
    And then install the new one :
    Code:
    sudo dpkg -i bcm43xx-fwcutter_20060108-6build1_powerpc.deb
    Also, once the MAC OS X partition is mounted, type :
    Code:
    sudo updatedb
    ...then wait a few seconds/minutes.

    Then do a search for "AppleAirPort2" :
    Code:
    locate AppleAirPort2
    so you know the exact path of the driver.

    Plus, the right command to find your OS X partition would be
    Code:
    sudo fdisk -l | grep -i hf
    ...sorry for that too.
    "To express yourself in freedom, you must die to everything of yesterday. From the 'old', you derive security; from the 'new', you gain the flow."

    -Bruce Lee

  7. #16
    Just Joined!
    Join Date
    Jul 2006
    Posts
    26
    OK, i think all the work has payed off. i ended up using the information that you gave me yesterday (mounting, and the right packages) and using those respectively with the wiki link you suggested (i think that is the one that i used) and when i did an iwlist scan this was the result

    Code:
    sublimeprogie@ubuntu:~$ iwlist scan
    lo        Interface doesn't support scanning.
    
    eth1      Interface doesn't support scanning.
    
    eth0      Scan completed :
              Cell 01 - Address: 00:16:47:4D:CB:90
                        ESSID:"UMaps"
                        Protocol:IEEE 802.11b
                        Mode:Master
                        Channel:7
                        Encryption key:off
                        Bit Rates:11 Mb/s
                        Extra: Rates (Mb/s): 1 2 5.5 11
                        Quality=100/100  Signal level=-202 dBm
                        Extra: Last beacon: 20ms ago
              Cell 02 - Address: 00:12:43:3D:FB:70
                        ESSID:"<hidden>"
                        Protocol:IEEE 802.11g
                        Mode:Master
                        Channel:6
                        Encryption key:on
                        Bit Rates:54 Mb/s
                        Extra: Rates (Mb/s): 1 2 5.5 6 9 11 12 18 24 36 48 54
                        Quality=100/100  Signal level=-214 dBm
                        IE: WPA Version 1
                            Group Cipher : TKIP
                            Pairwise Ciphers (1) : TKIP
                            Authentication Suites (1) : PSK
                        Extra: Last beacon: 32ms ago
    i cant see any errors about it so i am assuming that it is good to go, however i cant test it right now caused my school uses a vpn client and i have yet to tackle that on linux. so basically i was just curious how you thought the scan looked and if you could see any reason why it wouldnt work

    thanks for all your help drugue you have saved me alot of trouble

  8. #17
    Just Joined!
    Join Date
    Jul 2006
    Posts
    26
    ok, i thought i was good to go, but apparently i am not. i dont know what to do to make it work now, it is obviosly picking up the wirless card, and the card is picking up available connections. however when i tried to go to an internet address it just showed that it was unable to contact the site.

    the only difference now is that instead of picking up UMaps it is picking up my home wireless router "linksys"

    so am i missing something or doing something wrong?

  9. #18
    Just Joined!
    Join Date
    Jul 2006
    Posts
    26
    can somone please help me, i am so close to having it set up, i just dont know what i need to do. i assume it is something pretty simple. i just dont have the experience yet

  10. #19
    Just Joined! meshica7's Avatar
    Join Date
    Jul 2006
    Location
    Florida
    Posts
    34
    Sublime

    Are you using a laptop or desktop Mac?
    I am using a PowerMac G4 and finally said "Enough!" I plugged my DSL right into my ethernet port of my Mac and chose the ethernet configuration in my Network settings in Ubuntu and I was online!
    Now,I do have another Mac that needs to access the net so if I can't find a simple solution via settings,drivers,etc. in Ubuntu,I am thinking about getting an ethernet hub.This way I can plug both my Mac and Aiport Base Station into the DSL modem via ethernet and still use my Airport Station for my wife's OS X i-Mac to get on the net.I hope this works as I don't see plugging and replugging my modem in everytime I switch OSes as a convinient option.Maybe this is a cheat of sorts,but not knowing much about Linux I must revert to the ol' techie way of doing things!
    Any comments from the more experienced are certainly welcomed

    Juan

  11. #20
    Just Joined!
    Join Date
    Jul 2006
    Posts
    26
    i actually got it working, i sort of used both of the links that antidrugue posted and that advice. everything in the thread is all i ended up using. i am using an ibook g4

Page 2 of 3 FirstFirst 1 2 3 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •