Share
September 2024
S M T W T F S
1234567
891011121314
15161718192021
22232425262728
2930  

Archive for the ‘Tech’ Category

Favorite Linux Command Prompt

Love this command prompt on my Linux Systems.  Use it on both RedHat and Debian.  Feel free to tweak for your own use.  This is a compilation of several different ones I’ve seen and used over the years.

——————–

if [ $(id -u) -eq 0 ];
then # you are root, set red colour prompt
PS1=’\n\[\033[1;33m\] `/bin/cat /proc/loadavg | cut -d” ” -f-1`\[\033[0m\]\[\033[1;30m\] \d \t \[\033[0m\] \n\[\033[1;41m\] <location> \[\033[0m\] \[\033[1;31m\]\h:\[\033[0m\]\[\033[1;33m\]\w \[\033[1;32m\]#\[\033[0m\] ‘
else # normal
PS1=’\n\[\033[1;33m\] `/bin/cat /proc/loadavg | cut -d” ” -f-1`\[\033[0m\]\[\033[1;30m\] \d \t \[\033[0m\] \n\[\033[1;44m\] <location> \[\033[0m\] \[\033[1;36m\]\h:\[\033[0m\]\[\033[1;33m\]\w \[\033[1;32m\]#\[\033[0m\] ‘
fi

 

Share

Getting the Broadcom 43xx Wireless Card Working Under Ubuntu

Recently I decided to take my Dell XPS M1210 laptop and wipe Windows 7 from it and install Ubuntu 11.10. During the time I’ve had this laptop getting the Broadcom wireless card to work with various flavors of Linux (fedora, debian etc.) has always proven interesting. In an attempt to help stream line the process in the future and also in hopes of helping others I decided to post the steps that I took to get the Broadcom 4311 card running.

  1. Determine the card you have running
     sudo lspci -nn | grep Broadcom 

             0c:00.0 Network controller [0280]: Broadcom Corporation BCM4311 802.11b/g WLAN [14e4:4311] (rev 01)

  2. Connect up to your network via CAT5 Cable
  3. Update apt-get
     sudo apt-get update
  4. Install correct driver
     sudo apt-get install firmware-b43-installer
  5. Remove incorrect driver, if present
     sudo apt-get remove bcml-kernel-source
  6. Search for blacklist bcm43xx entry in Modprobe
     cat /etc/modprobe.d/* | grep 'bcm'
  7. If it is present edit the /etc/modprobe.d/blacklist.conf file
     sudo vi /etc/modprobe.d/blacklist.conf
  8. Search for bcm by typing /bcm place a # before the line so new line will read
     #blacklist bcm43xx
  9. Save file and quit
     :wq!

10.  Remove the Broadcom STA Wireless driver from the Additional Drivers Reboot

11.   Reboot

This is what it took to get mine working. Yours may or may not need all the steps. I’ve read that the same can be accomplished through the Ubuntu Software Center by searching for BCM and installing the aforementioned packages. I did not try this but you can feel free to. Hope this helps as I had to search multiple sites to compile these steps.

 

Share