【求助】無線網卡華碩WL-107G for Linux driver安裝問題

顯示結果從第 1 筆 到 7 筆,共計 7 筆
  1. #1
    會員
    註冊日期
    2003-12-25
    討論區文章
    114

    【求助】無線網卡華碩WL-107G for Linux driver安裝問題

    以下是華碩wl-107g說明書的部份,


    This source code package can be use in Linux version after RedHat Linux 7.1



    Script or command functionality comment:

    load load module to kernel

    unload unload module from kernel

    Configure config build linux version

    bridge_setup script for bridge setup



    Setup sequence:

    1. Use 'chmod' command to change access right of following script files

    'load', 'unload', 'Configure', 'bridge_setup'



    2. Turn on or patch linux bridge package



    3. $make config # config build linux os version



    4. $make all # compile driver source code



    5. $load # load/insmod module(rt2500ap.o)



    6. $bridge_setup # configure bridge


    但我執行make config時,
    都會出現:
    -------------------- RT2500 SoftAP Configuration --------------------

    Linux kernel source directory [/usr/src/linux-2.4.20-8]:
    直接按enter會出現路徑錯誤,
    指向/lib/modules/2.4.20-8會出現:

    Linux kernel source directory : /lib/modules/2.4.20-8

    sed: can't read /lib/modules/2.4.20-8/Makefile: 沒有此一檔案或目錄
    sed: can't read /lib/modules/2.4.20-8/Makefile: 沒有此一檔案或目錄
    sed: can't read /lib/modules/2.4.20-8/Makefile: 沒有此一檔案或目錄
    sed: can't read /lib/modules/2.4.20-8/Makefile: 沒有此一檔案或目錄
    expr: syntax error
    ./Configure: line 115: [: -lt: unary operator expected
    Module install directory : /lib/modules/2.4.20-8/kernel/drivers/net

    Type make to build the module.


    直接用
    make clean
    make all
    會出現以下錯誤...
    make: *** [rtmp_main.o] Error 1
    請站上各位大大協助小弟解決這個問題
    感激不盡...



  2. #2
    會員
    註冊日期
    2003-08-25
    討論區文章
    1,120
    Driver看來是給v2.4.20的kernel用的,你是用這版(而且有裝kernel source,BTW,貼一下lspci吧 )嗎??

    BTW,我比較喜歡自己裝source code(wether kernel or driver,所以我沒用過RedHat ),不知他們提供的是source或binary/semi-binary code??

  3. #3
    會員
    註冊日期
    2003-08-25
    討論區文章
    1,120
    剛去Asus下載linux的driver,是Ralink的chipset,driver只有semi-binary,如果你kernel的版本跟其所提供的libary不同的話可能會有點麻煩 ....

  4. #4
    會員
    註冊日期
    2003-12-25
    討論區文章
    114
    謝謝wangcm大大指導,

    我已經到ralink網站下載最新的driver了
    以下是說明書部分:

    但我在做到c步驟時還是會出現
    Linux kernel source directory [/usr/src/linux-2.4.20-8]:
    直接按enter會出現路徑錯誤,
    輸入/lib/modules/2.4.20-8,還是會有錯誤訊息
    Linux kernel source directory : /lib/modules/2.4.20-8


    expr: syntax error
    ./Configure: line 115: [: -lt: unary operator expected
    Module install directory : /lib/modules/2.4.20-8/kernel/drivers/net

    請問在這個步驟我應該把路徑指向哪邊?


    RT2500 b/g driver for RT2500 b/g, Ralink Tech Corp.
    =================================================================
    Supported linux distribution are:
    1. Redhat : 7.2,7.3,8.0,9.0
    2. Mandrake : 9.0, 9.1, 9.2, 10.0
    3. SuSE : 8.1, 9.0
    4. Fedora : Core1, (and generic kernel source,2.4.24, 2.4.25, 2.4.26, 2.6.2, 2.6.4, 2.6.5)
    5. Slackware : 8.1, 9.0, 9.1


    FILE LAYOUT
    =================================================================
    ./LINUX_RACONFIG : source codes for RT2500b/g user interface API.
    ./redhat : drivers for redhat official release.
    ./mandrake : drivers for mandrake official release.
    ./SuSE : drivers for SuSE official release.
    ./fedora : drivers for Fedora official release.
    ./slackware : drivers for Slackware official release.
    ./2.4.x : contains Makefile for kernel source 2.4.x
    ./2.6.x : contains Makefile for kernel source 2.6.x
    RT2500STA.dat : sample file for configuration file. Driver will search configuration file in
    /etc/Wireless/RT2500STA/ at every startup.



    1) SETUP SEQUENCE
    ======================================================================
    a. $tar -xvzf RT2500STA-Linux-1.3.0.2.tgz
    go to "./RT2500STA-Linux-1.3.0.2/" directory.

    b. for kernel version greater than 2.6.x,
    cp ./2.6.x/Makefile .
    for kernel version 2.4.x,
    cp ./2.4.x/Makefile .

    c. $make config # config build linux os version

    d. $make install # cp driver module to /lib/modules/'uname -r'\kernel\drivers\net.
    # In redhat, mandrake, SuSE, Fedora distributions,
    # create script file so as to auto-start at boot.
    # In slackware distributions, no script file created.
    # For who wants auto-start at boot in slackware, please change related config files yourself.

    e. Go to the corresponding directory to derive your driver modules according to your linux distribution,
    then /sbin/insmod rt2500.o (or rt2500.ko for kernel 2.6.x)

    f. $load


    Note: Script functionality:
    load load module to kernel
    unload unload module from kernel
    Configure retrive linux version

  5. #5
    會員
    註冊日期
    2003-08-25
    討論區文章
    1,120
    抱歉因為我沒用過RedHat,只能給你大略的建議....

    1:你是用那套distribution?? 你貼的說明中Redhat只支援到9.0或FC1,最近很流行的FC2並不在其中...

    2:你有沒有裝kernel modules?? 試一下ls /lib/modules看有啥東東...BTW,通常要update kernel相關的東東必須要有root permission,這點不要忘了 ...

    3:你的kernel是哪個版本的?? 試一下uname -r,看來它認為你是跑2.4.20-8(RedHat released的版本),這類semi-binary driver如果判斷錯誤的話會裝不起來甚至讓kernel crash ....

    4:你有沒有裝kernel source(至少要裝kernel header),不然是compile不起來的 ....



  6. #6
    會員
    註冊日期
    2003-12-25
    討論區文章
    114
    感謝wangcm大大...^^

    我的是RedHat9.0...
    安裝時還是一堆錯誤訊息
    不過網卡已經亮燈...
    索性把tool安裝起來,
    執行...真的可以抓到AP...-__-
    而且還可以正常連線...怪怪...

  7. #7
    會員
    註冊日期
    2005-02-18
    討論區文章
    5
    引用 作者:password
    感謝wangcm大大...^^

    我的是RedHat9.0...
    安裝時還是一堆錯誤訊息
    不過網卡已經亮燈...
    索性把tool安裝起來,
    執行...真的可以抓到AP...-__-
    而且還可以正常連線...怪怪...
    您好
    華碩網站有提到WL-107g可當作AP使用
    說明書上指稱AP僅能在winxp使用,但其網站宣稱linux可使用
    請問您有沒有架設過呢?是否可以始用?

類似的主題

  1. 如何在Fedora安裝無線網卡
    作者:yes54mm 所在討論版:-- FreeBSD & Linux 討 論 版
    回覆: 1
    最後發表: 2010-11-23, 11:43 AM
  2. 【求助】無線網路初學者兩問?(關於華碩wl-500g)
    作者:天氣預報 所在討論版:-- 無 線 網 路 版
    回覆: 1
    最後發表: 2004-10-04, 10:29 AM
  3. 【求助】華碩的無線網卡WL-103b
    作者:OSos 所在討論版:-- 無 線 網 路 版
    回覆: 4
    最後發表: 2003-11-15, 01:13 AM
  4. 【求助】有沒有人在 Linux 下安裝 USB 無線網卡?
    作者:vchou 所在討論版:-- 無 線 網 路 版
    回覆: 0
    最後發表: 2003-01-21, 10:31 PM
  5. 顯示卡華碩V7100 PRO 64M SE在winme上的正確安裝方式....
    作者:sinful 所在討論版:-- HELP ME 電 腦 軟 硬 體 急 救 版
    回覆: 1
    最後發表: 2002-05-01, 02:17 AM

 

rt2500ap

發表文章規則

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