>> Edit article
이름
제목
패스워드
: 도움좀 요청할께요.제가 알짜 리눅스 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 : : This 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 가지고온것이 아마 tar.gz 이런거겠지여 make install 하면 모듈이 생성되지않습니까?? 아마 모듈이름.o 이런식으로 생성될것입니다. 모듈이 생성되는곳은 configure파일에 아마 있을겁니다. 열어서 함 보시죠. 헌데 대부분 모듈은 /lib/modules/커널버젼/net 에 생성될것입니다. /net은 랜카드관련 모듈경로입니다. 그 모듈이 생성되면 모듈을 커널에 집어넣어줘야되겠죠. # modprobe 모듈이름 또는 # insmod 모듈이름 해줘도됩니다. 뒤의 .o는 넣지말고 하십시요. 이렇게하고 님이 유동아이피를 사용한다면 쉘상에서 아래와같이해주세요. # netconfig 해서 DHCP에 체크 부팅시활성화에 체크 이렇게하고나서 마지막으로 네트워크재시작... # /etc/rc.d/init.d/network restart 이제 인터넷하십시요.
Copyleft
1999-2026 by
JSBoard Open Project
Theme Designed by
IDOO
All right reserved