【求助】誰能教我安裝網路卡驅動...

顯示結果從第 1 筆 到 5 筆,共計 5 筆
  1. #1
    會員
    註冊日期
    2001-04-17
    討論區文章
    57

    【求助】誰能教我安裝網路卡驅動...

    os: cle 1.o
    網卡: FW-100TA
    以下是所附之網路卡驅動程式檔案...
    dp83815.c dp83815.h dp83815.o Makefile

    Makefile的內容如下..

    ## Makefile -- Rules to compile and install dp83815 ethernet driver
    ##

    ## Check dp83815.c for available DEBUG_LEVEL values. Setting a non-zero
    ## value here will let the driver log additional debug messages corresponding
    ## to the indicated debug level

    DEBUG_LEVEL=0x0

    ## Verify that the kernel version is correct by running, cat /proc/version
    KERNEL_VER=`uname -r`

    ## INCLUDEDIR = /usr/src/linux
    INCLUDEDIR = /usr/src/linux/include

    SRCS=dp83815.c dp83815.h

    DEBUG_FLAGS = -DDRV_DEBUG=$(DEBUG_LEVEL)

    MACHINE_TYPE = `uname -m`

    ## Default rule, compile the driver
    CFLAGS= -D__KERNEL__ -DMODULE $(DEBUG_FLAGS) -I$(INCLUDEDIR) -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -march=$(MACHINE_TYPE) -malign-functions=4

    all: dp83815.o

    dp83815.o : $(SRCS)
    gcc -g $(CFLAGS) -c $< -o $@

    ## Install the compiled driver into the system's module pool
    install: dp83815.o
    cp dp83815.o /lib/modules/$(KERNEL_VER)/net

    ## Reload the Networking stack and driver
    init:
    sh /etc/rc.d/init.d/network stop
    insmod dp83815.o
    sh /etc/rc.d/init.d/network start

    ## Reload the Networking stack and driver
    reload:
    sh /etc/rc.d/init.d/network stop
    rmmod dp83815
    insmod dp83815
    sh /etc/rc.d/init.d/network start

    clean:
    rm -f *.o *~ core
    ------------------------------------------------------------------
    誰能教教我... 謝謝!!



  2. #2
    會員
    註冊日期
    2001-07-23
    討論區文章
    170
    先把它make起來後insmod dp83815.o
    就會把驅動程式安裝上去ㄌ

  3. #3
    會員
    註冊日期
    2001-04-17
    討論區文章
    57
    如何make....
    文件內容看不懂...

  4. #4
    會員
    註冊日期
    2001-07-23
    討論區文章
    170
    直接make阿....
    # make all
    # make install
    # insmod dp83815
    這樣試試看

  5. #5
    會員
    註冊日期
    2001-04-17
    討論區文章
    57
    還是不會...不過還是謝謝你!!



類似的主題

  1. (求助)如何在BT3安裝USB無線網路卡驅動程式
    作者:kelvinlin290 所在討論版:-- 無 線 網 路 版
    回覆: 3
    最後發表: 2009-04-02, 05:21 PM
  2. 在FreeBSD新安裝網路卡要怎麼抓第二張網路卡驅動程式?
    作者:coolts 所在討論版:-- FreeBSD & Linux 討 論 版
    回覆: 3
    最後發表: 2008-03-24, 09:23 AM
  3. 【求助】安裝網卡驅動程式的問題!!
    作者:Picasso 所在討論版:-- FreeBSD & Linux 討 論 版
    回覆: 0
    最後發表: 2005-11-08, 02:36 PM
  4. Win2000 無法安裝網卡驅動程式???
    作者:lgw 所在討論版:-- 網 路 硬 體 版
    回覆: 7
    最後發表: 2002-12-03, 02:00 AM
  5. 【求助】網路卡驅動程式無法安裝!!!??
    作者:aigo 所在討論版:-- HELP ME 電 腦 軟 硬 體 急 救 版
    回覆: 4
    最後發表: 2002-04-02, 09:06 AM

 

此網頁沒有從搜尋引擎而來的訪客

發表文章規則

  • 不可以發表新主題
  • 不可以回覆文章
  • 不可以上傳附加檔案
  • 不可以編輯自己的文章
  •