>> Delete No. 40821 article
No. Realtek 8139 PCMCIA CardBus type 드라이버 컴파일 문의

등록 2002-01-25 13:52:00 By localhost     조회 2
이름 최은숙    

		PC-카드형 랜카드입니다.
리얼텍 8139 입니다.
드라이버 디스켓에 LINUX 드라이버가 있습니다.
드라이버 소스와 설치설명서....
문제는 소스를 컴파일 할때, 오류가 나와서 컴파일이 잘 안됩니다.
그래서, 원 소스를 제공하는 사이트를 검색해 보니, 최신 소스가 있습니다.
해당 소스를 구해, 컴파일을 하면, 경고(warning)가 몇개 나오고, obj 파일
을 만듭니다.
하지만, 모듈을 올리질 못합니다.
컴파일시의 오류가 문제인지...
 시스템 로그에 의하면, 카드는 잘 인식(cardmgr)합니다. 모듈을 수동으로 올
리려해도 안됩니다.
 아래, 참고로 파일들을 올립니다.
 ---------install.txt-------------------
Realtek CardBus Ethernet Card Installation on Linux
 1. Compile the source code :
 ->Copy the source code rtl8139.c (ver 1.08 above) to a directory
   and execute "gcc -DCARDBUS -DMODULE -D__KERNEL__ -Wall -Wstrict-
prototypes
   -O6 -c rtl8139.c -o realtek_cb.o -I/usr/src/linux/pcmcia-cs-
3.0.9/include/"
   The directory "pcmcia-cs-3.0.9" stands for the card service version
you
   use. Please change it to the version on your system in order to
include
   proper .h file. The final file is realtek_cb.o
 2. Copy driver :
 ->Copy the file "realtek_cb.o" to "/lib/modules/2.2.14-5.0/pcmcia"
 3. Edit config:
 ->Add 5 lines to the file "/etc/pcmcia/config"
 
   #
   # Device driver definitions
   #
 
   device "realtek_cb"
(==>Add 1/5)
     class "network" module "cb_enabler", "realtek_cb"   (==>Add 2/5)
     :
   :
    #
   # CardBus Cards
   #
    card "Realtek CardBus Ethernet Card"
	(==>Add 3/5)
     manfid 0x0000, 0x024C				(==>Add 4/5)
     bind "realtek_cb"
	(==>Add 5/5)
  
   The values 0x0000, 0x024C are JEDEC ID and can be read by typing
   "cardctl ident" on console with one card on socket.
	         
 4. Edit linuxconf
 ->Type "linuxconf" and choose "Config"-->"Networking"-->"Client
tasks"-->
   "Basic host information". Select an adapter, enable it, and
type "realtek_cb"
   on "Kernel module" and "eth0" (or eth1, eth2) on "Net device".
Click on
   "Accept" button and "Act/change" button.
  5. Restart the computer.
 6. More information about kernel compile:
http://metalab.unc.edu/mdw/HOWTO/Kernel-HOWTO.html    More information about install: man pcmcia
--------------------------------------------------------
 원본 소스 사이트 http://www.scyld.com/network/rtl8139.html  혹시, 이 카드 사용하시는 분 안계신가
요? 모듈파일좀 구합니다...
그럼, 수고하세요...--좀 엽기적인가?
[관리자] 패스워드를 입력 하십시오. 답장이 존재하면 함께 삭제됩니다.[ 목록 | 이전 ]
패스워드:    

Copyleft 1999-2026 by JSBoard Open Project
Theme Designed by IDOO All right reserved