my dell inspiron 5160 with Kubuntu

Introduction:

This computer was shipped with a preconfigured Dell build of Windows XP. Not only was this custom build bundled with lots and lots of spyware softwares, but some of the standard drivers like the video driver was very unstable in XP

The following was not tested:

  • Video out
  • modem

 


Average: 5 (1 vote)

Installation

I downloaded and installed Kubuntu 7.04 (Feisty Fawn) live CD. The CD can be installed from www.kubuntu.com

Boot the live CD and do a standard install.

 

Enable the repositories

Create a backup of your current list of sources, overwriting any previous backup.

sudo cp -i /etc/apt/sources.list /etc/apt/sources.list_backup

Use a text editor (gedit or nano) to edit the sources list:

gksudo gedit /etc/apt/sources.list

Edit the repositories in the sources.list similar to this template:

  • To use your local mirror you can add "cc." before archive.ubuntu.com, where cc = your country code
    e.g. deb http://lv.archive.ubuntu.com/ubuntu feisty main restricted universe multiverse

## See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
## newer versions of the distribution.

## Add comments (##) in front of any line to remove it from being checked.
## Use the following sources.list at your own risk.

## Uncomment deb-src if you wish to download the source packages

## If you have a install CD you can add it to the reposity using 'apt-cdrom add'
## which will add a line similar to the following:
#deb cdrom:[Ubuntu 7.04 _Feisty Fawn_ - Beta i386 (20070322.1)]/ feisty main restricted
deb http://us.archive.ubuntu.com/ubuntu/ feisty main restricted
#deb-src http://us.archive.ubuntu.com/ubuntu/ feisty main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.archive.ubuntu.com/ubuntu/ feisty-updates main restricted
#deb-src http://us.archive.ubuntu.com/ubuntu/ feisty-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://us.archive.ubuntu.com/ubuntu/ feisty universe
#deb-src http://us.archive.ubuntu.com/ubuntu/ feisty universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://us.archive.ubuntu.com/ubuntu/ feisty multiverse
#deb-src http://us.archive.ubuntu.com/ubuntu/ feisty multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://us.archive.ubuntu.com/ubuntu/ feisty-backports main restricted universe multiverse
#deb-src http://us.archive.ubuntu.com/ubuntu/ feisty-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu feisty-security main restricted
#deb-src http://security.ubuntu.com/ubuntu feisty-security main restricted
deb http://security.ubuntu.com/ubuntu feisty-security universe
#deb-src http://security.ubuntu.com/ubuntu feisty-security universe
deb http://security.ubuntu.com/ubuntu feisty-security multiverse
#deb-src http://security.ubuntu.com/ubuntu feisty-security multiverse

## PLF REPOSITORY (Unsupported. May contain illegal packages. Use at own risk.)
## Medibuntu - Ubuntu 7.04 "feisty fawn"
## Please report any bug on https://launchpad.net/products/medibuntu/+bugs
deb http://packages.medibuntu.org/ feisty free non-free
#deb-src http://medibuntu.sos-sts.com/repo/ feisty free non-free

## CANONICAL COMMERCIAL REPOSITORY (Hosted on Canonical servers, not Ubuntu
## servers. RealPlayer10, Opera, DesktopSecure and more to come.)
deb http://archive.canonical.com/ubuntu feisty-commercial main

## enlightenment e17 beta, use at your own risk
## E17 is in Beta and may break or break your system
#deb http://edevelop.org/pkg-e/ubuntu feisty e17
#deb http://e17.dunnewind.net/ubuntu feisty e17
#deb-src http://edevelop.org/pkg-e/ubuntu feisty e17

Download any needed gpg keys and add them to the keylist. The Medibuntu repository (not affiliated with Ubuntu) example is shown:

wget -q http://packages.medibuntu.org/medibuntu-key.gpg -O- | sudo apt-key add -

Here is another example using the Enlightenment repository (not affiliated with Ubuntu):

wget -q http://lut1n.ifrance.com/repo_key.asc -O- | sudo apt-key add -

Refresh packages list:

sudo apt-get update

 

Broadcom Wireless cards without Ndiswrapper
Please note that you may have to repeat this step each time the kernel is updated or you may not, your results may vary.

Obtain the driver and save it on your desktop:

  • Copy the driver from the CD that came with the Card
  • Copy it over from your windows partition if you have access to it, it will be located here: /Windows/System32/Drivers/bcmwl5.sys
  • Obtain it from here -http://sidulus.textdrive.com/bcmwl5sys.zip
  • Get any driver for your card of any date from their website - use this if initially you are not successful first tome try some newer/older drivers

Extract the content of the zip file. The file you need is wl_apsta.o

Install bcm43xx-fwcutter

Open a terminal (dont worry) and type the following:

sudo apt-get install bcm43xx-fwcutter

It will ask for your password and may ask you to press y to install, but dont worry its really easy

Extract your Cards firmware from the driver

Open a terminal (dont worry) and type the following:

sudo bcm43xx-fwcutter -w /lib/firmware ~/Desktop/wl_apsta.o

This will create lots of new files in the /lib/firmware directory, this is the firmware part of the driver that will make your card work with ubuntu!

Just to be safe we'll put the driver in the kernel folder too:

sudo bcm43xx-fwcutter -w /lib/firmware/`uname -r` ~/Desktop/wl_apsta.o

Install Knetworkmanager

sudo apt-get install network-manager knetworkmanager

Now you should reboot your computer for the changes to become operative, but before you do this, you should bookmark this page. Press CTRL + D

Reboot.

After you reboot, you should be able to start knetworkmanager from the K menu, and start a wireless connection. If it doesnt, right click on the icon in the right tray and tick "Enable Wireless" then left click on it and select the wirless network of your choice.

----------------------------------------------------
Issues:
Ensure the router you are connecting to supports 802.11 B connections s this is what the card is now set up to use, check if your router has a "mixed" setting rather than a G only setting which it should as G is backwards compatible with B

----------------------------------------------------
For anyone that is having problems, try this:

modprobe bcm43xx

... and reboot

 

References:
Configuration of the wireless network card: nickm - reference

Hardware information

dell-linux
description: Portable Computer
product: Inspiron 5160
vendor: Dell Computer Corporation
serial: 359CF1J
width: 32 bits
capabilities: smbios-2.3 dmi-2.3
configuration: boot=normal chassis=portable uuid=44454C4C-3500-1039-8043-B3C04F46314A
*-core
description: Motherboard
product: 0T5326
vendor: Dell Computer Corporation
physical id: 0
serial: .359CF1J.CN129614BH5619.
*-firmware
description: BIOS
vendor: Dell Computer Corporation
physical id: 0
version: A06 (10/26/2004)
size: 64KB
capacity: 512KB
capabilities: isa pci pcmcia pnp apm upgrade shadowing cdboot bootselect int13floppy720 int5printscreen int9keyboard int14serial int17printer int10video acpi usb agp smartbattery biosbootspecification netboot
*-cpu
description: CPU
product: Mobile Intel(R) Pentium(R) 4 CPU 2.80GHz
vendor: Intel Corp.
physical id: 400
bus info: cpu@0
version: 15.4.1
serial: 0000-0F41-0000-0000-0000-0000
slot: Microprocessor
size: 1867MHz
capacity: 3200MHz
width: 32 bits
clock: 133MHz
capabilities: fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe constant_tsc pni monitor ds_cpl est tm2 cid xtpr cpufreq
configuration: id=0
*-cache:0
description: L1 cache
physical id: 700
size: 8KB
capacity: 8KB
capabilities: internal write-back data
*-cache:1
description: L2 cache
physical id: 701
size: 1MB
capacity: 1MB
clock: 66MHz (15.0ns)
capabilities: pipeline-burst internal varies unified
*-logicalcpu:0
description: Logical CPU
physical id: 0.1
width: 32 bits
capabilities: logical
*-logicalcpu:1
description: Logical CPU
physical id: 0.2
width: 32 bits
capabilities: logical
*-memory
description: System Memory
physical id: 1000
slot: System board or motherboard
size: 512MB
capacity: 2GB
*-bank:0
description: DIMM DDR Synchronous 333 MHz (3.0 ns)
physical id: 0
slot: DIMM_A
size: 256MB
width: 64 bits
clock: 333MHz (3.0ns)
*-bank:1
description: DIMM DDR Synchronous 333 MHz (3.0 ns)
physical id: 1
slot: DIMM_B
size: 256MB
width: 64 bits
clock: 333MHz (3.0ns)
*-pci
description: Host bridge
product: 82852/82855 GM/GME/PM/GMV Processor to I/O Controller
vendor: Intel Corporation
physical id: e0000000
bus info: pci@00:00.0
version: 02
width: 32 bits
clock: 33MHz
resources: iomemory:e0000000-e7ffffff
*-system:0 UNCLAIMED
description: System peripheral
product: 82852/82855 GM/GME/PM/GMV Processor to I/O Controller
vendor: Intel Corporation
physical id: 0.1
bus info: pci@00:00.1
version: 02
width: 32 bits
clock: 33MHz
capabilities: bus_master
configuration: latency=0
*-system:1 UNCLAIMED
description: System peripheral
product: 82852/82855 GM/GME/PM/GMV Processor to I/O Controller
vendor: Intel Corporation
physical id: 0.3
bus info: pci@00:00.3
version: 02
width: 32 bits
clock: 33MHz
capabilities: bus_master
configuration: latency=0
*-pci:0
description: PCI bridge
product: 82852/82855 GM/GME/PM/GMV Processor to AGP Controller
vendor: Intel Corporation
physical id: 1
bus info: pci@00:01.0
version: 02
width: 32 bits
clock: 66MHz
capabilities: pci normal_decode bus_master
*-display
description: VGA compatible controller
product: NV34M [GeForce FX Go5200]
vendor: nVidia Corporation
physical id: 0
bus info: pci@01:00.0
version: a1
size: 256MB
width: 32 bits
clock: 66MHz
capabilities: vga bus_master vga_palette cap_list
configuration: driver=nvidia latency=248 maxlatency=1 mingnt=5
resources: iomemory:fc000000-fcffffff iomemory:d0000000-dfffffff irq:21
*-usb:0
description: USB Controller
product: 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1
vendor: Intel Corporation
physical id: 1d
bus info: pci@00:1d.0
version: 01
width: 32 bits
clock: 33MHz
capabilities: uhci bus_master
configuration: driver=uhci_hcd latency=0
resources: ioport:bf80-bf9f irq:16
*-usbhost
product: UHCI Host Controller
vendor: Linux 2.6.20-16-generic uhci_hcd
physical id: 1
bus info: usb@1
logical name: usb1
version: 2.06
capabilities: usb-1.10
configuration: driver=hub maxpower=0mA slots=2 speed=12.0MB/s
*-usb:1
description: USB Controller
product: 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2
vendor: Intel Corporation
physical id: 1d.1
bus info: pci@00:1d.1
version: 01
width: 32 bits
clock: 33MHz
capabilities: uhci bus_master
configuration: driver=uhci_hcd latency=0
resources: ioport:bf40-bf5f irq:18
*-usbhost
product: UHCI Host Controller
vendor: Linux 2.6.20-16-generic uhci_hcd
physical id: 1
bus info: usb@2
logical name: usb2
version: 2.06
capabilities: usb-1.10
configuration: driver=hub maxpower=0mA slots=2 speed=12.0MB/s
*-usb:2
description: USB Controller
product: 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3
vendor: Intel Corporation
physical id: 1d.2
bus info: pci@00:1d.2
version: 01
width: 32 bits
clock: 33MHz
capabilities: uhci bus_master
configuration: driver=uhci_hcd latency=0
resources: ioport:bf20-bf3f irq:19
*-usbhost
product: UHCI Host Controller
vendor: Linux 2.6.20-16-generic uhci_hcd
physical id: 1
bus info: usb@3
logical name: usb3
version: 2.06
capabilities: usb-1.10
configuration: driver=hub maxpower=0mA slots=2 speed=12.0MB/s
*-usb:3
description: USB Controller
product: 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller
vendor: Intel Corporation
physical id: 1d.7
bus info: pci@00:1d.7
version: 01
width: 32 bits
clock: 33MHz
capabilities: ehci bus_master cap_list
configuration: driver=ehci_hcd latency=0
resources: iomemory:f4fffc00-f4ffffff irq:20
*-usbhost
product: EHCI Host Controller
vendor: Linux 2.6.20-16-generic ehci_hcd
physical id: 1
bus info: usb@4
logical name: usb4
version: 2.06
capabilities: usb-2.00
configuration: driver=hub maxpower=0mA slots=6 speed=480.0MB/s
*-pci:1
description: PCI bridge
product: 82801 Mobile PCI Bridge
vendor: Intel Corporation
physical id: 1e
bus info: pci@00:1e.0
version: 81
width: 32 bits
clock: 33MHz
capabilities: pci normal_decode bus_master
*-network:0
description: Ethernet interface
product: BCM4401-B0 100Base-TX
vendor: Broadcom Corporation
physical id: 1
bus info: pci@02:01.0
logical name: eth0
version: 02
serial: 00:11:43:61:8d:5c
size: 10MB/s
capacity: 100MB/s
width: 32 bits
clock: 33MHz
capabilities: bus_master cap_list ethernet physical mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=b44 driverversion=1.01 duplex=half latency=32 link=no multicast=yes port=twisted pair speed=10MB/s
resources: iomemory:faffe000-faffffff irq:17
*-network:1
description: Wireless interface
product: BCM4306 802.11b/g Wireless LAN Controller
vendor: Broadcom Corporation
physical id: 2
bus info: pci@02:02.0
logical name: eth1
version: 03
serial: 00:0b:7d:0a:d6:ae
width: 32 bits
clock: 33MHz
capabilities: bus_master ethernet physical wireless
configuration: broadcast=yes driver=bcm43xx driverversion=2.6.20-16-generic ip=192.168.1.104 latency=32 link=yes multicast=yes wireless=IEEE 802.11b/g
resources: iomemory:faffc000-faffdfff irq:19
*-pcmcia
description: CardBus bridge
product: PCI4510 PC card Cardbus Controller
vendor: Texas Instruments
physical id: 4
bus info: pci@02:04.0
version: 02
width: 32 bits
clock: 33MHz
capabilities: pcmcia bus_master cap_list
configuration: driver=yenta_cardbus latency=176 maxlatency=5 mingnt=192
resources: iomemory:f6000000-f6000fff irq:16
*-firewire
description: FireWire (IEEE 1394)
product: PCI4510 IEEE-1394 Controller
vendor: Texas Instruments
physical id: 4.1
bus info: pci@02:04.1
version: 00
width: 32 bits
clock: 33MHz
capabilities: ohci bus_master cap_list
configuration: driver=ohci1394 latency=32 maxlatency=4 mingnt=2
resources: iomemory:faffb800-faffbfff iomemory:faff4000-faff7fff irq:16
*-isa
description: ISA bridge
product: 82801DBM (ICH4-M) LPC Interface Bridge
vendor: Intel Corporation
physical id: 1f
bus info: pci@00:1f.0
version: 01
width: 32 bits
clock: 33MHz
capabilities: isa bus_master
configuration: latency=0
*-ide
description: IDE interface
product: 82801DBM (ICH4-M) IDE Controller
vendor: Intel Corporation
physical id: 1f.1
bus info: pci@00:1f.1
logical name: scsi0
logical name: scsi1
version: 01
width: 32 bits
clock: 33MHz
capabilities: ide bus_master emulated scsi-host
configuration: driver=ata_piix latency=0
resources: ioport:1f0-1f7 ioport:3f4-3f3 ioport:170-177 ioport:374-373 ioport:bfa0-bfaf iomemory:34000000-340003ff irq:16
*-cdrom
description: DVD reader
product: CDRW/DVD SN-324S
vendor: SAMSUNG
physical id: 0
bus info: scsi@0:0.0.0
logical name: /dev/cdrom
logical name: /dev/dvd
logical name: /dev/scd0
logical name: /dev/sr0
version: U303
capabilities: removable audio cd-r cd-rw dvd
configuration: ansiversion=5
*-disc
physical id: 0
logical name: /dev/cdrom
*-disk
description: SCSI Disk
product: TOSHIBA MK6026GA
vendor: ATA
physical id: 1
bus info: scsi@1:0.0.0
logical name: /dev/sda
version: PA20
serial: Y4IQ9590T
size: 55GB
capabilities: partitioned partitioned:dos
configuration: ansiversion=5
*-volume:0
description: Linux filesystem partition
physical id: 1
bus info: scsi@1:0.0.0,1
logical name: /dev/sda1
capacity: 54GB
capabilities: primary bootable
*-volume:1
description: Extended partition
physical id: 2
bus info: scsi@1:0.0.0,2
logical name: /dev/sda2
size: 1474MB
capacity: 1474MB
capabilities: primary extended partitioned partitioned:extended
*-logicalvolume
description: Linux swap / Solaris partition
physical id: 5
logical name: /dev/sda5
capacity: 1474MB
capabilities: nofs
*-multimedia
description: Multimedia audio controller
product: 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller
vendor: Intel Corporation
physical id: 1f.5
bus info: pci@00:1f.5
version: 01
width: 32 bits
clock: 33MHz
capabilities: bus_master cap_list
configuration: driver=Intel ICH latency=0
resources: ioport:b800-b8ff ioport:bc40-bc7f iomemory:f4fff800-f4fff9ff iomemory:f4fff400-f4fff4ff irq:17
*-communication UNCLAIMED
description: Modem
product: 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Modem Controller
vendor: Intel Corporation
physical id: 1f.6
bus info: pci@00:1f.6
version: 01
width: 32 bits
clock: 33MHz
capabilities: generic cap_list
configuration: latency=0
resources: ioport:b400-b4ff ioport:b080-b0ff irq:17
*-battery
product: DELL 9T352
vendor: Panasonic
physical id: 1
slot: Sys. Battery Bay
capacity: 66000mWh
configuration: voltage=14.8V


Back to top