-----Original Message-----

From: terence_hwang@dlink.com.tw

Sent: Tuesday, January 18, 2000 10:34 AM

To: agri.ferrer@ambit.com.tw

Subject: Installation guide for you




QA-030

Product Category: Portable Adapters Model No: DFE-660TX

Subject: How to install DFE-660 in Lunix


Question:

I need the DFE-660 installation guide for RedHat 6.0. Could you give me a hand?


Answer:

CONTENTS

1. Introductions

2. Installing PCMCIA Card Services

3. Updating LAN driver

4. Configuration for LAN cards


1.Introductions

This document briefly describes how to use the CardBus LAN cards in a Linux operating system. To make use of the CardBus LAN cards, you need to install the Card Services which responds to card insertion and removal events, loading and unloading drivers on demand.

It also describes the installation of the Card Services, driver update as well as the configuration of LAN cards.


2. Installing the PCMCIA Card Services

Card Serives for Linux is written by David Hinds. It is now a part of many of the Linux distributions, like RedHat and Slackware. You need to install it into your Linux system for use of the PCMCIA or "PC Card". The source version is available at ftp://hyper.stanford.edu in the "/pub/pcmcia" dirctory, as "pcmcia-cs-3.0.x.tar.gz". It is decided by you to replace with newer version for more appropriate.

To install the PCMCIA Card Services, you need to install a full kernel source and do the following shell commands:

#cp pcmcia-cs-3.0.x.tar.gz /usr/src
#cd /usr/src
#tar zxvf pcmcia-cs-3.0.x.tar.gz
#cd pcmcia-cs-3.0.x
#./Configure
#make all
#make install

Generally, you don't need to change any default selections when you run "./Configure" to configure the compiled environment. But Don't forget to enable the (CardBus) option.


3. Updating LAN driver

To make use of 10M/100M CardBus LAN cards, you need to get a version of v0.91 or newer to support it at ftp://cesdis.gsfc.nasa.gov/pub/linux/drivers/tulip.c.

You also need to compile the source file "tulip.c" by using the GNU C compilier.

#gcc -DCARDBUS -DMODULE -D__KERNEL__ -Wall -Wstrict-prototypes -O6
-c tulip.c -o tulip_cb.o -I/usr/src/pcmcia-cs-3.0.x/include/

Then, you need to copy the output file 'tulip_cb.o" to the modules directory "/lib/modules//pcmcia".


4. Configuration for LAN cards

For LAN card users, you need to use editor to edit the file "/etc/pcmcia/network.opts" to assign IP address, netmask, gateway IP, nameservers,broadcast address, and etc. after the Card Services installation. A part of the file "network.opts" is as listed which is mandatory setup for the TCP/IP of your Linux machine:

#File: /etc/pcmcia/network.opts
#
#
#
#Host's IP address, netmask, network address, broadcast address
IPADDR="1.2.3.4"
NETMASK="255.255.255.0"
NETWORK="1.2.3.0"
BROADCAST="1.2.3.255"
#Gateway address for static routing
GATEWAY="1.2.3.254"
#Things to add to /etc/resolv.conf for this interface
DOMAIN="your.domain"
SEARCH=""
DNS_1=""
DNS_2=""
DNS_3=""
#
#

Remember to reboot your Linux machine for the Card Services after installation.

Now you should have the PCMCIA Card Services installed correctly. If the Card Service is not installed properly, please see the "PCMCIA-HOWTO" for the details in the root directory of the Card Services source code to resolve installation and configuraton problems.



Last modified on 1999/10/21

Copyright by D-Link Corporation

------------ End of Document ------------