Results 1 to 9 of 9

Thread: Install Ausus USB-N13 on Ubuntu with custom kernel

  1. #1
    Join Date
    Jan 2013
    Beans
    10

    Install Ausus USB-N13 on Ubuntu with custom kernel

    Hi all,

    I would like to install the Asus USB-N13 wi-fi adapter on an industrial PC with a custom kernel.

    The adapter usually works without problems and configurations on standard Ubuntu distro.

    Can you help me in configuring the adapter on this pc?

    Please find some useful info below.

    Thanks in advance,
    Luca

    Code:
    root@rh2c:~# uname -a
    Linux rh2c 2.6.34.5-pal-m3d-rt #3 SMP Thu Aug 2 14:36:05 CEST 2012 i686 GNU/Linux
    Code:
    root@rh2c:~# lsb_release -a
    No LSB modules are available.
    Distributor ID:    Ubuntu
    Description:    Ubuntu 10.04.4 LTS
    Release:    10.04
    Codename:    lucid
    Code:
    root@rh2c:~# lsusb 
    Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 001 Device 003: ID 0b05:1784 ASUSTek Computer, Inc. 
    Bus 001 Device 002: ID 058f:6254 Alcor Micro Corp. USB Hub
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

  2. #2
    Join Date
    Aug 2011
    Location
    Berlin, Germany
    Beans
    6,432
    Distro
    Ubuntu Gnome 14.04 Trusty Tahr

    Re: Install Ausus USB-N13 on Ubuntu with custom kernel

    Install the driver with dkms according to this:

    http://forum.ubuntuusers.de/topic/d-...ion-ueber-DKMS

    P.S.: 10.04 is only supported until April!

  3. #3
    Join Date
    Jan 2013
    Beans
    10

    Re: Install Ausus USB-N13 on Ubuntu with custom kernel

    Thanks,

    however

    Code:
    sudo apt-get install --reinstall linux-headers-$(uname -r)
    fails due to the custom kernel with the following error:

    Code:
    E: Couldn't find package linux-headers-2.6.34.5-pal-m3d-rt
    Consequently also

    Code:
    sudo dkms build -m Ralink_5370sta -v 2.5.0.3
    fails:

    Code:
    sudo dkms build -m Ralink_5370sta -v 2.5.0.3
    
    Error! Your kernel headers for kernel 2.6.34.5-pal-m3d-rt cannot be found at
    /lib/modules/2.6.34.5-pal-m3d-rt/build or /lib/modules/2.6.34.5-pal-m3d-rt/source.
    You can use the --kernelsourcedir option to tell DKMS where it's located, or you could install the linux-headers-2.6.34.5-pal-m3d-rt package.
    Last edited by lucaghera; March 13th, 2013 at 07:17 PM.

  4. #4
    Join Date
    Aug 2011
    Location
    Berlin, Germany
    Beans
    6,432
    Distro
    Ubuntu Gnome 14.04 Trusty Tahr

    Re: Install Ausus USB-N13 on Ubuntu with custom kernel

    Obviously, you are using a mainline kernel (realtime?!). Where did you get it from? The kernel headers should be there, too.

  5. #5
    Join Date
    Jan 2013
    Beans
    10

    Re: Install Ausus USB-N13 on Ubuntu with custom kernel

    Yes,
    it is a xenomai patched kernel. It was installed on the PC, however the headers are not there

  6. #6
    Join Date
    Aug 2011
    Location
    Berlin, Germany
    Beans
    6,432
    Distro
    Ubuntu Gnome 14.04 Trusty Tahr

    Re: Install Ausus USB-N13 on Ubuntu with custom kernel

    What about:

    Code:
    sudo apt-get install linux-headers-$(uname -r) build-essential dkms

  7. #7
    Join Date
    Jan 2013
    Beans
    10

    Re: Install Ausus USB-N13 on Ubuntu with custom kernel

    I edited the previous post. Btw the command
    Code:
    sudo apt-get install linux-headers-$(uname -r) build-essential dkms
    fails with

    Code:
    E: Couldn't find package linux-headers-2.6.34.5-pal-m3d-rt

  8. #8
    Join Date
    Aug 2011
    Location
    Berlin, Germany
    Beans
    6,432
    Distro
    Ubuntu Gnome 14.04 Trusty Tahr

    Re: Install Ausus USB-N13 on Ubuntu with custom kernel

    Do you need this kernel urgently? If not, install the regular one:
    Code:
    sudo apt-get install linux-generic linux-headers-generic
    Boot into this one and install the driver.

  9. #9
    Join Date
    Jan 2013
    Beans
    10

    Re: Install Ausus USB-N13 on Ubuntu with custom kernel

    Yes, I need a real time kernel because the pc is controlling a machine.

Bookmarks

Posting Permissions

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