How to install drivers for ASUS PCE-N53

Asked by Daniel Spooner

I've just installed the latest version on Ubuntu onto my desktop and I cannot get my WI-FI card working! I'm totally new to Linux so I need baby step help guides and I don't even understand the quick start insrtuctions on the drivers CD :(

Any help anyone can give me would be great!

here's a copy of the quickstartguide if you can understand it! Thanks so much!

:
RT5592 Linux Driver quick start

====================
Check tools:

====================
*Before install driver, please check already install compile tool and kernel source code

1>Install compile tool
    $yum install gcc-c++

2>check kernel source code exists /usr/src/kernels/ "kernel name"

    Download your kernel source code
    *http://www.kernel.org/pub/linux/kernel/
 or
    $yum install kernel-devel

====================
Build Instructions:

====================
1> $tar -jxvf DPO_GPL_RT5592STA_LinuxSTA_vx.x.x.x.tar.bz2
     go to "DPO_GPL_RT5592STA_LinuxSTA_vx.x.x.x" directory.

2> In Makefile

     set the "MODE = STA" in Makefile and chose the TARGET to Linux by set "TARGET = LINUX"

     define the linux kernel source include file path LINUX_SRC

     modify to meet your need.

3> In os/linux/config.mk

     define the GCC and LD of the target machine

     define the compiler flags CFLAGS

     modify to meet your need.
     ** Build for being controlled by NetworkManager or wpa_supplicant wext functions

         Please set 'HAS_WPA_SUPPLICANT=y' and 'HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=y'.

         => $wpa_supplicant -Dwext -ira0 -c wpa_supplicant.conf -d
     ** Build for being controlled by WpaSupplicant with Ralink Driver

         Please set 'HAS_WPA_SUPPLICANT=y' and 'HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=n'.

         => $wpa_supplicant -Dralink -ira0 -c wpa_supplicant.conf -d

4> $make

     # compile driver source code, need administrator.

     # To fix "error: too few arguments to function ¡¥iwe_stream_add_event"

        => $patch -i os/linux/sta_ioctl.c.patch os/linux/sta_ioctl.c

5> $make install
     #install driver
     #copy RT2860STA.dat to /etc/Wireless/RT2860STA/RT2860STA.dat

6>$vi /etc/rc.d/rc.local
     #input "ifconfig ra0 up"
    $reboot

7> unload driver

     $ifconfig ra0 down

     $rmmod rt5592sta

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

What is the output of:

sudo lshw -C network; lsb_release -a; uname -a; sudo rfkill list

Thanks

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#2

The instructions you have are very concise, I cannot see where you are falling short.....

If you can, use a wired connection and get fully updated.

Revision history for this message
Daniel Spooner (dgispooner) said :
#3

I belive I should be fully up to date.

here's the output of... whatever the hell that is.

  *-network UNCLAIMED
       description: Network controller
       product: RT5592 PCIe Wireless Network Adapter
       vendor: Ralink corp.
       physical id: 0
       bus info: pci@0000:03:00.0
       version: 00
       width: 32 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list
       configuration: latency=0
       resources: memory:fb900000-fb90ffff
  *-network
       description: Ethernet interface
       product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:07:00.0
       logical name: eth0
       version: 06
       serial: 54:04:a6:c4:91:ca
       size: 1Gbit/s
       capacity: 1Gbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=full firmware=rtl8168e-3_0.0.4 03/27/12 ip=192.168.0.2 latency=0 link=yes multicast=yes port=MII speed=1Gbit/s
       resources: irq:56 ioport:e000(size=256) memory:d0004000-d0004fff memory:d0000000-d0003fff
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.1 LTS
Release: 14.04
Codename: trusty
Linux daniel-System-Product-Name 3.13.0-36-generic #63-Ubuntu SMP Wed Sep 3 21:30:07 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#4

Ok, so in your very well worded instruction set, which part are you struggling with?

Revision history for this message
Daniel Spooner (dgispooner) said :
#5

No need to be sarcastic, If the instructions were perfect i wouldn't have a problem would I.

Basicaly my problem starts with the first line. I've no idea if I have the tools mentioned at the begining and the instructions given return errors.

$yum install gcc-c++
-- missing destination file operand after ‘gcc-c++’

$yum install kernel-devel
-- missing destination file operand after ‘kernel-devel’

Or if I just assume I have those and try 1 of the Build instructions I get another error

1. $tar -jxvf DPO_GPL_RT5592STA_LinuxSTA_vx.x.x.x.tar.bz2
  -jxvf: command not found

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#6

sudo apt-get install buold-essential kernel-devel

Should install the buold environment

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#7

Sorry, typo:

sudo apt-get install build-essential kernel-devel

Should install the build environment. Bad typo.

Revision history for this message
Daniel Spooner (dgispooner) said :
#8

Well it half works now.. Before I was getting the same error for 'bould-essential' too :D
E: Unable to locate package kernel-devel

Revision history for this message
Manfred Hampl (m-hampl) said :
#9

The packages that you need on an Ubuntu system might be called build-essential and linux-headers-generic

Can you help with this problem?

Provide an answer of your own, or ask Daniel Spooner for more information if necessary.

To post a message you must log in.