20070607 wireless networking with ndiswrapper - plembo/onemoretech GitHub Wiki
title: wireless networking with ndiswrapper link: https://onemoretech.wordpress.com/2007/06/07/wireless-networking-with-ndiswrapper/ author: lembobro description: post_id: 697 created: 2007/06/07 05:19:00 created_gmt: 2007/06/07 05:19:00 comment_status: open post_name: wireless-networking-with-ndiswrapper status: publish post_type: post
wireless networking with ndiswrapper
The house laptop (a Dell Inspiron 1200) just got an upgrade to Fedora Core 6, so I had to once again set up wireless networking on it. My prefered route is to use ndiswrapper, because it supports so many different cards. Basically I followed the instructions found on the project’s web site. The steps were simple:
- Install the kernel source rpm for the running kernel (for CentOS this would be something like
kernel-devel-2.6.9-42.0.3.EL.i686.rpm
, you usually can get by doing a “yum install kernel-devel”). If installing from a downloaded rpm file, use “rpm -ivh
“. - Download and unarchive the ndiswrapper source tar.gz to /usr/src/redhat/SOURCES.
- Change directory into the unarchived ndiswrapper directory under SOURCES and make an rpm using
make rpm
. - Install the rpm (found in /usr/src/redhat/RPMS).
- Download and unarchive the D-Link driver for the card (in my case a DWL-G650C b/g device).
- Install the desire driver with
ndiswrapper -i DRIVER.INF
from within the unarchived driver directory. - Do a
modprobe ndiswrapper
. - Edit modprobe.conf to include the following lines:
options ndiswrapper if_name=wlan0 alias wlan0 ndiswrapper
- Create a
ifcfg-wlan0
(see example below) and akeys-wlan0
file (containing the lineKEY: xxxxxxxxxxxxxxxxxxxxxx
) to hold your config and credentials for WEP authentication. - Restart the network and take the laptop for a walk around the house.
Following is a copy of my ifcfg-wlan0 file:`
Atheros Communications, Inc. AR5212 802.11abg NIC
DEVICE=wlan0
ONBOOT=yes
BOOTPROTO=dhcp
TYPE=Wireless
MODE=Managed
ESSID=mynetworkessid
RATE=Auto
NETMASK=
DHCP_HOSTNAME=
IPADDR=
DOMAIN=
HWADDR=
CHANNEL=1
USERCTL=no
IPV6INIT=no
PEERDNS=yes
`
Copyright 2004-2019 Phil Lembo