Find the answer to your Linux question:
Results 1 to 6 of 6
Hi. I have ASUS wl 167g USB wireless card. It has drivers. I read readme file and come to "build instructinons". Could anyone tell me what does this commands do, ...
  1. #1
    Just Joined!
    Join Date
    Jan 2007
    Posts
    4

    ASUS wl 167g friver instalation

    Hi. I have ASUS wl 167g USB wireless card. It has drivers. I read readme file and come to "build instructinons".
    Could anyone tell me what does this commands do, cause i have no idea of what i'm doing:

    Build Instructions:
    ====================
    1> $tar -xvzf RT73_Linux_STA_Drv_x.x.x.x.tar.gz
    go to "./RT73_Linux_STA_Drv_x.x.x.x/Module" directory.

    2> $cp Makefile.4 ./Makefile # [kernel 2.4]
    or
    $cp Makefile.6 ./Makefile # [kernel 2.6]

    3> [kernel 2.4]
    $chmod 755 Configure
    $make config # config build linux os version

    4> $make all # compile driver source code

    5> $cp rt73.bin /etc/Wireless/RT73STA/ # copy firmware

    6> $dos2unix rt73sta.dat
    $cp rt73sta.dat /etc/Wireless/RT73STA/rt73sta.dat
    # !!!check if it is a binary file before loading !!!

    7> $load
    #[kernel 2.4]
    # $/sbin/insmod rt73.o
    # $/sbin/ifconfig rausb0 inet YOUR_IP up

    #[kernel 2.6]
    # $/sbin/insmod rt73.ko
    # $/sbin/ifconfig rausb0 inet YOUR_IP up
    ==========================

  2. #2
    Linux Engineer rong's Avatar
    Join Date
    Feb 2005
    Location
    California
    Posts
    803
    Log in as root (some of this operation requires being root).

    1> $tar -xvzf RT73_Linux_STA_Drv_x.x.x.x.tar.gz
    go to "./RT73_Linux_STA_Drv_x.x.x.x/Module" directory.
    This uncompresses the file and puts the resulting files in the ./RT73... directory. Go to this directory to carry out the rest of the instructions.

    2> $cp Makefile.4 ./Makefile # [kernel 2.4]
    or
    $cp Makefile.6 ./Makefile # [kernel 2.6]
    Find out what kernel you have. Probably kernel 2.6, but you can run the command uname -r to find your kernel version. The command cp is file copy so you enter the cp Makefile.x ./Makefile with x the relevant kernel.

    3> [kernel 2.4]
    $chmod 755 Configure
    $make config # config build linux os version
    chmod 755 sets the permissions needed for Configure. Then run make config.

    Basically you compile a program in three steps: configure, make and make file.

    4> $make all # compile driver source code
    Just type in make all. The pound signs at the end of the lines are just comments describing basically what the command will do.

    The following lines now, hopefully, will be self explanatory.

    5> $cp rt73.bin /etc/Wireless/RT73STA/ # copy firmware

    6> $dos2unix rt73sta.dat
    $cp rt73sta.dat /etc/Wireless/RT73STA/rt73sta.dat
    # !!!check if it is a binary file before loading !!!

    7> $load
    #[kernel 2.4]
    # $/sbin/insmod rt73.o
    # $/sbin/ifconfig rausb0 inet YOUR_IP up

    #[kernel 2.6]
    # $/sbin/insmod rt73.ko
    # $/sbin/ifconfig rausb0 inet YOUR_IP up
    ==========================
    registered Linux user #388382

    Have you checked here first?

  3. #3
    Just Joined!
    Join Date
    Jan 2007
    Posts
    4
    Thanks, but not you nor me are that lucky. Here are some problems:

    I copied file (cp Makefile.6 ./Makefile) and it worked fine.

    Now do I execute this since it has "[kernel 2.4]" written ?
    3> [kernel 2.4]
    $chmod 755 Configure
    $make config # config build linux os version

    If not, what command must i execute next? I tried some variations(make config, make all) an some led to *** No rule to make target `modules'. Stop..

    Can somebody also tell me why there is "$" infront of command. I supose this must not be written in terminal.

  4. #4
    Linux Engineer rong's Avatar
    Join Date
    Feb 2005
    Location
    California
    Posts
    803
    $make config # config build linux os version
    Just type make config. The # is a comment re: the command and should not be entered with the command.

    The $ is just a prompt symbol that is part of bash. You do not enter it.
    registered Linux user #388382

    Have you checked here first?

  5. #5
    Just Joined!
    Join Date
    Jan 2007
    Posts
    4
    Same story:

    MasterMind:/home/sand/Desktop/rt73/RT73_Linux_STA_Drv1.0.3.6/Module # make config
    make: *** No rule to make target `config'. Stop.

  6. #6
    Just Joined!
    Join Date
    Jan 2007
    Posts
    4
    Anibody???

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...