Code University

      "Where tuition is free!"

News | Images | Contact     
  • Home
  • Coding KC
  • Scripts
  • Software
  • Templates
  • Tutorials
  • About
 

Tutorials

Posted on Jun 26, 2010 at 19:39

Networking - ndiswrapper wireless card setup


1) Install kernel development package
/lib/modules/`uname -r`/build > rpm -i kernel-devel-2.6.18-36.e15.i686.rpm
If the symbolic link above points to a file that does not exist, the kernel development package needs to be installed. Then ndiswrapper can be installed.

2) Install ndiswrapper from source
> tar -xzvf ndiswrapper-version.tar.gz > make uninstall > make > make install

3) Configure wireless card
driver files: LSRTNDS.INF, LSRTNDS.SYS > ndiswrapper -i LSRTNDS.INF > ndiswrapper -l lsrtnds : driver installed device (10EC:8180) present > ndiswrapper -m > modprobe ndiswrapper PCI: Enabling device 0000:02:00.0 (0000 -> 0003) > ifconfig -a (check for wlan0 device. if present, all is well)
Get the appropriate *.inf and *.sys files for the card and put them in a common directory. Then follow the steps outlined above.

4) Scan for Access Points
> iwlist scan
If your card has been install and configured correctly this should return information about your Access Point such as ESSID, mode and MAC Address.

5) Setup iwconfig script
iwconf.sh ========= iwconfig wlan0 essid ESSID mode Managed key restricted [1] 1234567890 ifconfig wlan0 STATIC_IP route add default gw 192.168.1.1 echo "search ISP_DOMAIN" > /etc/resolv.conf echo "nameserver NS1_IP" >> /etc/resolv.conf echo "nameserver NS2_IP" >> /etc/resolv.conf
Put this script on your system somewhere. (/usr/local/src/iwconf.sh)

> sudo vi /etc/rc/rc.d/rc.local /usr/local/src/iwconf.sh
Add the above line to the /etc/rc/rc.d/rc.local file so it automatically configures the card on boot.


Tagged:  Linux
Tutorials
  • Introduction
  • Documentation
    Creating man(ual) pages
  • Dual Boot Systems
    Fedora/Windows XP
    Red Hat/FreeBSD
  • Files
    Dynamic PDF generation
  • Linux
    NTP server setup
    Root password reset (grub)
  • Networking
    ndiswrapper setup (wireless)
  • Version Control
    CVS - repo setup
  • Web Hosting
    Apache 2 - Installations
    Apache 2 - Configurations
    Apache 2 - Virtual Hosts
Resources
  • CodeIgniter - MVC Framework
  • HowtoForge - Linux Tutorials
  • Linux Today - Linux News
  • Lxer - Linux News Feed
  • Monsterb - Linux, Podcasting
  • MySQL - Databasing
  • Perl - Programming
  • PHP - Programming
  • Systhread - Admin & Programming
  • W3Schools - Web Tutorials
About

Code University contains a wealth of technical information aimed at the computer sciences.


 
Home | Coding KC | Scripts | Software | Templates | Tutorials | About
Top ^
 
© 2007-2012 Code University| Disclaimer
Website template by Arcsin