도움좀 요청할께요.제가 알짜 리눅스 6.2(레드헷6.2기반)를 쓰거든요. 그런데 이 리눅스가
아래에 있는 엘지 랜카드를 인식 못해서 드라이버를 받았어여. 그런데 아래와 같이 영문이
고 (영어 실력이 떨어져셔리 ^^;;)컴파일 경로명이 틀려서인지 컴파일이 안되는군요. 왜그
런지 자세한 설명점 부탁드려요. 주변에 전문가두 없고 그래서 염치없이 도움좀 요청드립
니다. 꼭 점 알려주세요.이것때문에 무지 고생이군요. 그럼 수고하세요 m(-_-)m dmfe.c: Version 1
.27 10/08/1999 A LNC 10/100-TP2 DM9102(A)/DM9132/DM9801 fast ethernet driver for Linux. Copyright (C) 1997 Sten Wang T
his program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
A. Compiler command:
"gcc -DMODULE -D__KERNEL__ -I/usr/src/linux/net/inet -Wall
-Wstrict-prototypes -O6 -c dmfe.c"
OR
"gcc -DMODULE -D__KERNEL__ -I/usr/src/linux/net -Wall
-Wstrict-prototypes -O6 -c dmfe.c"
B. The following steps teach you how to active LNC 10/100-TP2 board:
1. Used the upper compiler command to compile dmfe.c
2. Insert dmfe module into kernel
"insmod dmfe" ;;Auto Detection Mode (Suggest)
"insmod dmfe mode=0" ;;Force 10M Half Duplex
"insmod dmfe mode=1" ;;Force 100M Half Duplex
"insmod dmfe mode=4" ;;Force 10M Full Duplex
"insmod dmfe mode=5" ;;Force 100M Full Duplex
3. Config a LNC 10/100-TP2 network interface
"ifconfig eth0 172.22.3.18"
^^^^^^^^^^^ Your IP address
4. Active the IP routing table. For some distributions, it is not
necessary. You can type "route" to check.
"route add -net 172.22.3.0 eth0"
5. Well done. Your LNC 10/100-TP2 Adapter actived now.
C. The driver has been verified in the following kernals:
kernel version 2.2.5
RedHat6.0 kernel version 2.2.5-15
kernel version 2.2.12
kernel version 2.3.18