tech_log: Setting up Debian WiFi driver on DELL Inspiron 1525

Thursday, January 22, 2009

Setting up Debian WiFi driver on DELL Inspiron 1525

To find out WiFi interface:
Marx:/home/drasko# lspci
00:00.0 Host bridge: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub (rev 0c)
00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 0c)
00:02.1 Display controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 0c)
00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 (rev 02)
00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 02)
00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 02)
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 (rev 02)
00:1c.4 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 5 (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f2)
00:1f.0 ISA bridge: Intel Corporation 82801HEM (ICH8M) LPC Interface Controller (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) IDE Controller (rev 02)
00:1f.2 SATA controller: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) SATA AHCI Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 02)
02:09.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 05)
02:09.1 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 22)
02:09.2 System peripheral: Ricoh Co Ltd R5C843 MMC Host Controller (rev 12)
02:09.3 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 12)
02:09.4 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev ff)
09:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8040 PCI-E Fast Ethernet Controller (rev 12)
0b:00.0 Network controller: Broadcom Corporation BCM4312 802.11b/g (rev 01)
Marx:/home/drasko#

OK, we need drivers for Broadcom BCM4312.

So I tried:

Marx:/home/drasko# apt-cache search broadcom
b43-fwcutter - Utility for extracting Broadcom 43xx firmware
bcm5700-source - module source for Broadcom's bcm5700 ethernet driver
bluez-firmware - Firmware for Bluetooth devices
firmware-bnx2 - Binary firmware for Broadcom NetXtremeII
Marx:/home/drasko#

b43-fwcutter package seemed promising, so I checked out http://wireless.kernel.org/en/users/Drivers/b43

Unfortunately, on this site is noted:

supported


  • bcm4303 (802.11b-only chips, uses b43legacy)
  • bcm4306 (Rev. 2 uses b43legacy, Rev. 3 uses b43)
  • bcm4309 (only the 2.4GHz part)
  • bcm4311 rev 1 / bcm4312
  • bcm4311 rev 2 / bcm4312 (needs patches for 2.6.24)
  • bcm4312 (only the 2.4GHz part)
  • bcm4318


unsupported


  • The 802.11a part of the 4309 and 4312 is not supported.
  • BCM
    4310 USB - This device has an LP PHY. We think that means low power. In
    any case, previous code does not work. The reverse engineers have
    translated a great deal of the code and are currently generating specs
    for the code writers. Note: This card uses the PCI bus, despite its
    name.
  • BCM
    4322 802.11a/b/g/n (Has PCI-ID 0x432B) - This device has an N Phy.
    There is no support for any Draft 802.11n features. We are working on
    it.
  • BCM
    4321 (Has PCI-IDs 0x4328 and 0x4329) - These devices have N Phys. There
    is no support for any Draft 802.11n features. We are working on it.
Now what?

Googleing led me to here: http://jomcode.com/fadhil/?p=59

Official drivers can be found here: http://www.broadcom.com/support/802.11/linux_sta.php

Build it as writtend in README that comes with a driver (it is a kernel module that have to be modprobed).

My /etc/network/interfaces:

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug eth0
iface eth0 inet dhcp

# Wireless network interface
#auto eth1
allow-hotplug eth1
iface eth1 inet dhcp
   wireless-essid Adael-Gratuit


Usefull commands:
# aptitude install wireless-tools<br /># iwconfig<br /># iwlist <span id="line-15" class="anchor"><span id="line-30" class="anchor">eth1</span></span> scan<br /># iwconfig eth1 essid <span id="line-15" class="anchor"><span id="line-30" class="anchor">Adael-Gratuit<br /><br />etc...<br /></span></span><br /><br /><br />




0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home