Archive for the ‘Linux’ Category

RPM installation of Broadcom 802.11 STA wireless driver in Fedora 8/9/10

Saturday, November 15th, 2008

RPMs for the Broadcom 802.11 STA Wireless Driver are now available from the rpmfusion.org repos for Fedora 8, 9 and 10.

This is an official-release of Broadcom's IEEE 802.11a/b/g/n hybrid Linux device driver for use with Broadcom's BCM4311-, BCM4312-, BCM4321-, and BCM4322-based hardware. This driver also supports the incorrectly identified BCM4328 chipset which is actually a BCM4321 or BCM4322 chipset.

Previously I explained how to build the Broadcom STA driver from source but now the installation and updates can all be taken care of using yum and the rpmfusion non-free repository. Just follow these two simple steps:

1) Enable the rpmfusion non-free repository.

The broadcom-wl and wl-kmod RPMs that we need are in the rpmfusion non-free repository. To enable this repo in Fedora simply do this:

su -c 'rpm -ivh http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm'

2) Update and install the driver package

Now that you have the appropriate repository enabled, to install the driver package we first ensure that we have the latest updates and then install the "broadcom-wl" package which will bring with it the required "kmod-wl" package:

su -
yum update
yum install broadcom-wl

That's all there is to it. At this stage you may need to reboot in order to enable the new driver and any new kernel that was installed during the update.

When future kernels are released a simple "yum update" command should install the new kernel and also pull in the updated Broadcom driver for that new kernel.

Installing the Broadcom 802.11 STA driver in Fedora 9

Wednesday, October 22nd, 2008

Update 15 November 2008: Just a note to mention that I've packaged this up into an RPM and so this driver is now available as an RPM in the rpmfusion repos for Fedora 8, 9 and 10.

See this post for instructions of how to install using the RPM version (much easier!).

Happy, happy days! At long last, a Linux Broadcom driver for the BCM4328 chipset that doesn't require ndiswrapper and Windows drivers. For me, this is really, really huge: ndiswrapper has never worked properly with NetworkManager using WPA security but this new Broadcom driver seems bullet-proof. It is even supposed to support 802.11n standard but I can't verify that just yet.

The source packages currently available from Broadcom (version 5.10.27.6) don't build on the current Fedora 9 kernel (2.6.26.5-45) and probably won't compile on any newer kernel either. Digging around a bit I found a patch that makes the driver build successfully.

Great, but that's not the whole story: I then found that with the new driver I was unable to SSH or telnet into any remote servers - bummer. However, some more digging turned up another patch that fixes this problem. With these two patches in place the new driver really rocks. For the first time in 10 months (since I bought my MacBook) I can actually connect to WPA secured networks using NetworkManager - no more fiddling around with wpa_supplicant scripts for me!

Anyhow, here's a little how-to guide to install the new Broadcom driver in Fedora 9. Note: I'm a little unsure of which Broadcom chipsets this driver actually supports but I can confirm that it works beautifully with the BCM4328 which is standard on MacBook 3,1 and 4,1 versions.

(more...)

Custom build of synaptics for Fedora 8 x86_64 on MacBook

Thursday, July 10th, 2008

Based on the patches found in this post over at Ubuntu forums I have created an updated synaptics touchpad driver RPM package for Fedora 8 x86_64.

As the original author notes, this makes it more enjoyable to use the touchpad while using the MacBook. It does two things:

  1. Adds the option "MultiFingerButton" to synaptics. This allows us to configure the touchpad to right-click and middle-click by placing two or three fingers on the pad and then clicking the button. In my experience this is far more reliable than the "two finger tap" method of right-clicking.
  2. It makes the mouse arrow more stable - I have found this to be a HUGE improvement in usability over the stock synaptics driver. With the original driver, if you put two fingers on the mousepad and release only one, the mouse arrow moves. This is the default behaviour in Linux and Windows, but in MacOSX, the mouse arrow stays put, and in my personal opinion, this is a much better behaviour. This patch makes it behave just like MacOSX. This may not sound much, but you'll find it makes a huge difference to the stability and usability of the touchpad.

(more...)

Fedora 8 x86_64 fixes for battery being reported twice error

Saturday, July 5th, 2008

The latest 2.6.25.x Fedora 8 kernels have both ACPI_PROCFS_POWER and ACPI_SYSFS_POWER turned on and this can cause a strange problem with HAL which results in it incorrectly displaying the same battery twice and reporting incorrect charge levels for the "bogus" battery. This in turn creates problems with power management software such as kpowersave and gnome-power-manager.

I have only seen this reported on some specific x86_64 machines but it may affect other architectures too.

(more...)

Banshee 1.0 RPM for Fedora 8 x86_64

Saturday, July 5th, 2008

Banshee Media PlayerBanshee 1.0 was released on June 5 2008. At the time of writing I haven't been able to find an official Fedora 8 RPM build so I have built my own using the Fedora 9 source RPM and made it available here for you to download and install.

For those that don't know, Banshee is a great multimedia player for Linux with support for iPod syncing, podcasts, streaming radio, video and lots more. For iPod owners Banshee is one of few viable Linux alternatives to iTunes.

(more...)

Some useful linux commands

Monday, June 30th, 2008

A few useful linux commands and their explanations.

(more...)

Mounting an FTP filesystem under Yellow Dog Linux 6

Tuesday, May 13th, 2008

This guide shows how to use FUSE and CurlFtpFs to mount an FTP filesystem on Yellow Dog Linux 6. This guide presumes that you have already built and installed your own FUSE capable kernel for YDL 6.

(more...)

Building a custom kernel RPM with FUSE support on YDL 6

Tuesday, May 13th, 2008

This guide explains how to build and install a custom kernel RPM with FUSE support on Yellow Dog Linux 6. The guide is written based on my experience with YDL on an Apple XServe G4 using kernel-2.6.23-9 on ppc architecture. If your system is different then adjust the guide as required.

(more...)

Simple Linux to Amazon S3 backup script

Monday, May 5th, 2008

There are many tools available to help backup Linux systems to Amazon S3 but finding the right one to use can be difficult. Jeremy Zawodny made a good list of various S3 backup tools which is very helpful, if a little outdated. I experimented with a few tools, including some of the standard scripts published by Amazon but I found each had their own shortcomings.

One tool that is very simple to use is s3cmd which is a linux command line tool to upload, retrieve, and manage data in Amazon S3. The tool is written in python so should install and run on pretty much any modern linux distro and I have found it works very nicely and seems to be an ideal tool to use if you want to write a basic backup script.

(more...)

Converting a MySQL database to UTF-8

Wednesday, April 16th, 2008

I occasionally need to convert a mysql database to UTF-8. This can be a painful process and if it goes wrong can result in a nightmare of character-set collisions. Some digging around on the lazyweb led me to a nice solution I found over at oscarm.org that shows you how to quickly convert the actual data, but I wanted to convert the database too.

(more...)