Table of Contents#
- Prerequisites
- Identifying the Intel 2200BG Adapter
- Understanding the Driver: ipw2200
- Updating Debian Etch Repositories
- Installing Dependencies
- Downloading the ipw2200 Driver and Firmware
- Compiling and Installing the ipw2200 Driver
- Installing Firmware
- Configuring Wireless Connectivity
- Troubleshooting Common Issues
- Conclusion
- References
Prerequisites#
Before starting, ensure you have:
- A Debian Etch (4.0) system with a working Ethernet connection (temporarily needed for downloads).
- Root access (via
suorsudo). - A USB drive or CD (if transferring files to an offline system).
- Basic familiarity with the Linux terminal.
Identifying the Intel 2200BG Adapter#
First, confirm your system has the Intel 2200BG adapter. Run:
lspci | grep -i wireless You should see output similar to:
03:00.0 Network controller: Intel Corporation PRO/Wireless 2200BG [Calexico2] Network Connection (rev 05)
If this line appears, your system has the 2200BG adapter, and you can proceed.
Understanding the Driver: ipw2200#
The Intel 2200BG requires the ipw2200 kernel module. This driver is not included in Debian Etch’s default kernel (2.6.18) due to licensing restrictions, so we’ll need to install it manually. Additionally:
- Firmware: The adapter requires proprietary firmware (
ipw2200-fw), which is not included in Debian’s main repositories. - Regulatory Daemon: The
ipw2200ddaemon manages radio frequency regulations (required for legal operation in most countries).
Updating Debian Etch Repositories#
Debian Etch is no longer supported, so its original repositories are offline. To access packages, update /etc/apt/sources.list to use Debian’s archive mirrors.
Edit the file with:
nano /etc/apt/sources.list Replace existing entries with:
deb http://archive.debian.org/debian etch main contrib non-free
deb-src http://archive.debian.org/debian etch main contrib non-free
Save and exit (Ctrl+O, Ctrl+X). Then update the package list:
apt-get update Installing Dependencies#
Install tools required to compile the driver and manage wireless connections:
apt-get install build-essential linux-headers-$(uname -r) wireless-tools wpa-supplicant build-essential: Compilation tools (gcc, make, etc.).linux-headers-$(uname -r): Kernel headers matching your running kernel (critical for compiling modules).wireless-tools: Includesiwconfig(for basic wireless setup).wpa-supplicant: For WPA/WPA2 encryption (most modern networks use this).
Downloading the ipw2200 Driver and Firmware#
Debian Etch’s repos lack the latest ipw2200 driver and firmware, so we’ll download them manually.
1. ipw2200 Driver Source#
The latest stable driver for 2200BG is ipw2200-1.2.2. Download it from the Kernel.org wireless archives:
wget https://wireless.wiki.kernel.org/_media/en/users/drivers/ipw2200/ipw2200-1.2.2.tgz 2. Firmware#
Download the firmware package (ipw2200-fw-3.1.tgz):
wget https://wireless.wiki.kernel.org/_media/en/users/drivers/ipw2200/ipw2200-fw-3.1.tgz 3. Regulatory Daemon (ipw2200d)#
Download ipw2200d-1.1.1 (required for regulatory compliance):
wget https://wireless.wiki.kernel.org/_media/en/users/drivers/ipw2200/ipw2200d-1.1.1.tgz Compiling and Installing the ipw2200 Driver#
Extract the driver source and compile it:
tar -xzf ipw2200-1.2.2.tgz
cd ipw2200-1.2.2
make
make install This will build the ipw2200.ko kernel module and install it to /lib/modules/$(uname -r)/kernel/drivers/net/wireless/.
Load the module:
modprobe ipw2200 Verify the module is loaded:
lsmod | grep ipw2200 You should see ipw2200 in the output.
Installing Firmware#
The ipw2200 driver requires firmware to initialize the hardware. Extract and install the firmware:
tar -xzf ipw2200-fw-3.1.tgz
cd ipw2200-fw-3.1
mkdir -p /lib/firmware
cp *.ucode /lib/firmware/ Update the initramfs to include the firmware:
update-initramfs -u Installing the Regulatory Daemon (ipw2200d)#
Extract and install ipw2200d:
tar -xzf ipw2200d-1.1.1.tgz
cd ipw2200d-1.1.1
make
make install Start the daemon:
ipw2200d To run ipw2200d automatically at boot, add it to /etc/rc.local before the exit 0 line:
nano /etc/rc.local Add:
/usr/local/sbin/ipw2200d Configuring Wireless Connectivity#
Using iwconfig for Basic Setup (Open/WEP Networks)#
For open (no encryption) or WEP-encrypted networks, use iwconfig (part of wireless-tools).
- Identify your wireless interface (usually
eth1orwlan0):
iwconfig Look for a interface like eth1 with "IEEE 802.11bg" listed.
- Scan for nearby networks:
iwlist eth1 scan Note the ESSID (network name) and channel of your target network.
- Connect to an open network:
iwconfig eth1 essid "YOUR_ESSID" channel 6
dhclient eth1 # Request an IP via DHCP - Connect to a WEP network (replace
YOUR_KEYwith your WEP key, e.g.,s:mypasswordor hex key):
iwconfig eth1 essid "YOUR_ESSID" key s:YOUR_KEY
dhclient eth1 Using wpa_supplicant for WPA/WPA2 Networks#
Most modern networks use WPA/WPA2, which requires wpa_supplicant.
- Create a
wpa_supplicantconfiguration file:
nano /etc/wpa_supplicant.conf Add the following (replace YOUR_ESSID and YOUR_PASSWORD):
network={
ssid="YOUR_ESSID"
psk="YOUR_PASSWORD"
key_mgmt=WPA-PSK
} For WPA2-only networks, add proto=RSN and pairwise=CCMP.
- Test the connection:
wpa_supplicant -B -i eth1 -c /etc/wpa_supplicant.conf
dhclient eth1 - To connect automatically at boot, edit
/etc/network/interfaces:
nano /etc/network/interfaces Add:
auto eth1
iface eth1 inet dhcp
pre-up wpa_supplicant -B -i eth1 -c /etc/wpa_supplicant.conf
post-down killall wpa_supplicant Troubleshooting Common Issues#
"Firmware not found" Error#
If dmesg | grep ipw2200 shows "Firmware not found", recheck the firmware installation step. Ensure .ucode files are in /lib/firmware.
Driver Not Loading#
If modprobe ipw2200 fails, check:
- Kernel headers match your kernel version (
uname -rvs. installedlinux-headers). - No conflicting modules (e.g.,
ipw2100). Blacklist them in/etc/modprobe.d/blacklist:
echo "blacklist ipw2100" >> /etc/modprobe.d/blacklist Weak Signal or Disconnects#
- Ensure
ipw2200dis running (ps aux | grep ipw2200d). - Try a different channel (use
iwlist scanto find less crowded channels).
Conclusion#
Installing the Intel PRO/Wireless 2200BG on Debian Etch requires manual driver compilation, firmware installation, and configuration. While Debian Etch is outdated, this guide leverages legacy tools and archives to revive wireless connectivity on older hardware. With the ipw2200 driver and wpa_supplicant, you can connect to both legacy and modern networks.