Page 7 of 8 FirstFirst ... 5678 LastLast
Results 61 to 70 of 78

Thread: Setting Asus USB N13 in ubuntu 9.10

  1. #61
    Join Date
    Apr 2009
    Beans
    2
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Setting Asus USB N13 in ubuntu 9.10

    For anyone with a setup similar to mine (Ubuntu 10.04, fresh install) these are the exact steps I followed to get mine up and running. Works great now with no problems. All of these steps were compiled from this thread, and perhaps some insight from a few others.

    Code:
    sudo su
    Create the file '/etc/udev/rules.d/network_drivers.rules' with this code all on one line with matching case and everything

    Code:
    ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="0b05", ATTR{idProduct}=="1784", RUN+="/sbin/modprobe -qba rt3070sta"
    Create the file '/etc/modprobe.d/network_drivers.conf' with this code all on one line with matching case and everything

    Code:
    install rt3070sta /sbin/modprobe --ignore-install rt3070sta $CMDLINE_OPTS; /bin/echo "0b05 1784" > /sys/bus/usb/drivers/rt2870/new_id
    Download newest drivers from ralinktech.com (DPO_RT3070_LinuxSTA_V2.3.0.4_20100604) and extract them.
    Go into the new folder and
    Code:
    make
    Edit the following file
    Code:
    gedit os/linux/Makefile.6
    Rename the line that says
    Code:
    DAT_FILE_NAME = RT$(CHIPSET)STA.dat
    to
    Code:
    DAT_FILE_NAME = RT2870STA.dat
    Then in the same directory you ran 'make' in

    Code:
    make install
    Then finish up with

    Code:
    mkdir /etc/Wireless/RT2870STA
    cp ~folder_where_you_ran_make_install~/RT2870STA.dat /etc/Wireless/RT2870STA/
    chmod 755 /etc/Wireless/RT2870STA/*
    finally restart your networking service

    Code:
    /etc/init.d/networking restart
    Should be up and running. Thanks to everyone in this thread and these forums!

  2. #62
    Join Date
    Nov 2006
    Beans
    372
    Distro
    Ubuntu Development Release

    Re: Setting Asus USB N13 in ubuntu 9.10

    Quote Originally Posted by Kainage View Post
    For anyone with a setup similar to mine (Ubuntu 10.04, fresh install) these are the exact steps I followed to get mine up and running. Works great now with no problems. All of these steps were compiled from this thread, and perhaps some insight from a few others.

    Code:
    sudo su
    Create the file '/etc/udev/rules.d/network_drivers.rules' with this code all on one line with matching case and everything

    Code:
    ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="0b05", ATTR{idProduct}=="1784", RUN+="/sbin/modprobe -qba rt3070sta"
    Create the file '/etc/modprobe.d/network_drivers.conf' with this code all on one line with matching case and everything

    Code:
    install rt3070sta /sbin/modprobe --ignore-install rt3070sta $CMDLINE_OPTS; /bin/echo "0b05 1784" > /sys/bus/usb/drivers/rt2870/new_id
    Download newest drivers from ralinktech.com (DPO_RT3070_LinuxSTA_V2.3.0.4_20100604) and extract them.
    Go into the new folder and
    Code:
    make
    Edit the following file
    Code:
    gedit os/linux/Makefile.6
    Rename the line that says
    Code:
    DAT_FILE_NAME = RT$(CHIPSET)STA.dat
    to
    Code:
    DAT_FILE_NAME = RT2870STA.dat
    Then in the same directory you ran 'make' in

    Code:
    make install
    Then finish up with

    Code:
    mkdir /etc/Wireless/RT2870STA
    cp ~folder_where_you_ran_make_install~/RT2870STA.dat /etc/Wireless/RT2870STA/
    chmod 755 /etc/Wireless/RT2870STA/*
    finally restart your networking service

    Code:
    /etc/init.d/networking restart
    Should be up and running. Thanks to everyone in this thread and these forums!
    Hi,

    Create the file '/etc/udev/rules.d/network_drivers.rules' with this code all on one line with matching case and everything

    Code:

    ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="0b05", ATTR{idProduct}=="1784", RUN+="/sbin/modprobe -qba rt3070sta"

    Create the file '/etc/modprobe.d/network_drivers.conf' with this code all on one line with matching case and everything

    Code:

    install rt3070sta /sbin/modprobe --ignore-install rt3070sta $CMDLINE_OPTS; /bin/echo "0b05 1784" > /sys/bus/usb/drivers/rt2870/new_id
    How do you create a file? Which command to use in the terminal?

    Thanks!

  3. #63
    Join Date
    Apr 2009
    Beans
    2
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Setting Asus USB N13 in ubuntu 9.10

    Quote Originally Posted by iClouseau88 View Post
    Hi,


    How do you create a file? Which command to use in the terminal?

    Thanks!
    Code:
    gedit /etc/udev/rules.d/network_drivers.rules
    Code:
    gedit /etc/modprobe.d/network_drivers.conf

  4. #64
    Join Date
    Jun 2008
    Beans
    6
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Setting Asus USB N13 in ubuntu 9.10

    Worked Flawlessly! My HTPC and I thank you!

  5. #65
    Join Date
    Sep 2010
    Location
    Louisiana
    Beans
    2
    Distro
    Ubuntu Development Release

    Re: Setting Asus USB N13 in ubuntu 9.10

    I have been trying the solutions outlined in this thread and others, but cannot seem to make the most simple steps work. I get an error every time I try the make command. I already have the build-essential package installed, as well as the gcc compiler. I just bought this adapter because I thought it would be compatible with Linux. Im really stuck here guys, any help would be appreciated.
    Code:
    robert@robert-desktop:~/Desktop/2009_0811_RT3070_Linux_STA_v2.1.1.0_USB-N13$ make
    make -C tools
    make[1]: Entering directory `/home/robert/Desktop/2009_0811_RT3070_Linux_STA_v2.1.1.0_USB-N13/tools'
    gcc -g bin2h.c -o bin2h
    make[1]: Leaving directory `/home/robert/Desktop/2009_0811_RT3070_Linux_STA_v2.1.1.0_USB-N13/tools'
    /home/robert/Desktop/2009_0811_RT3070_Linux_STA_v2.1.1.0_USB-N13/tools/bin2h
    cp -f os/linux/Makefile.6 /home/robert/Desktop/2009_0811_RT3070_Linux_STA_v2.1.1.0_USB-N13/os/linux/Makefile
    make  -C  /lib/modules/2.6.35-22-generic/build SUBDIRS=/home/robert/Desktop/2009_0811_RT3070_Linux_STA_v2.1.1.0_USB-N13/os/linux modules
    make[1]: Entering directory `/usr/src/linux-headers-2.6.35-22-generic'
      CC [M]  /home/robert/Desktop/2009_0811_RT3070_Linux_STA_v2.1.1.0_USB-N13/os/linux/../../os/linux/rt_linux.o
    /home/robert/Desktop/2009_0811_RT3070_Linux_STA_v2.1.1.0_USB-N13/os/linux/../../os/linux/rt_linux.c: In function ‘RtmpOSNetDevAttach’:
    /home/robert/Desktop/2009_0811_RT3070_Linux_STA_v2.1.1.0_USB-N13/os/linux/../../os/linux/rt_linux.c:1510: error: ‘struct net_device’ has no member named ‘open’
    /home/robert/Desktop/2009_0811_RT3070_Linux_STA_v2.1.1.0_USB-N13/os/linux/../../os/linux/rt_linux.c:1511: error: ‘struct net_device’ has no member named ‘stop’
    /home/robert/Desktop/2009_0811_RT3070_Linux_STA_v2.1.1.0_USB-N13/os/linux/../../os/linux/rt_linux.c:1512: error: ‘struct net_device’ has no member named ‘hard_start_xmit’
    /home/robert/Desktop/2009_0811_RT3070_Linux_STA_v2.1.1.0_USB-N13/os/linux/../../os/linux/rt_linux.c:1513: error: ‘struct net_device’ has no member named ‘do_ioctl’
    /home/robert/Desktop/2009_0811_RT3070_Linux_STA_v2.1.1.0_USB-N13/os/linux/../../os/linux/rt_linux.c:1519: error: ‘struct net_device’ has no member named ‘get_stats’
    /home/robert/Desktop/2009_0811_RT3070_Linux_STA_v2.1.1.0_USB-N13/os/linux/../../os/linux/rt_linux.c:1553: error: ‘struct net_device’ has no member named ‘validate_addr’
    make[2]: *** [/home/robert/Desktop/2009_0811_RT3070_Linux_STA_v2.1.1.0_USB-N13/os/linux/../../os/linux/rt_linux.o] Error 1
    make[1]: *** [_module_/home/robert/Desktop/2009_0811_RT3070_Linux_STA_v2.1.1.0_USB-N13/os/linux] Error 2
    make[1]: Leaving directory `/usr/src/linux-headers-2.6.35-22-generic'
    make: *** [LINUX] Error 2
    robert@robert-desktop:~/Desktop/2009_0811_RT3070_Linux_STA_v2.1.1.0_USB-N13$ sudo make
    [sudo] password for robert: 
    make -C tools
    make[1]: Entering directory `/home/robert/Desktop/2009_0811_RT3070_Linux_STA_v2.1.1.0_USB-N13/tools'
    gcc -g bin2h.c -o bin2h
    make[1]: Leaving directory `/home/robert/Desktop/2009_0811_RT3070_Linux_STA_v2.1.1.0_USB-N13/tools'
    /home/robert/Desktop/2009_0811_RT3070_Linux_STA_v2.1.1.0_USB-N13/tools/bin2h
    cp -f os/linux/Makefile.6 /home/robert/Desktop/2009_0811_RT3070_Linux_STA_v2.1.1.0_USB-N13/os/linux/Makefile
    make  -C  /lib/modules/2.6.35-22-generic/build SUBDIRS=/home/robert/Desktop/2009_0811_RT3070_Linux_STA_v2.1.1.0_USB-N13/os/linux modules
    make[1]: Entering directory `/usr/src/linux-headers-2.6.35-22-generic'
      CC [M]  /home/robert/Desktop/2009_0811_RT3070_Linux_STA_v2.1.1.0_USB-N13/os/linux/../../os/linux/rt_linux.o
    /home/robert/Desktop/2009_0811_RT3070_Linux_STA_v2.1.1.0_USB-N13/os/linux/../../os/linux/rt_linux.c: In function ‘RtmpOSNetDevAttach’:
    /home/robert/Desktop/2009_0811_RT3070_Linux_STA_v2.1.1.0_USB-N13/os/linux/../../os/linux/rt_linux.c:1510: error: ‘struct net_device’ has no member named ‘open’
    /home/robert/Desktop/2009_0811_RT3070_Linux_STA_v2.1.1.0_USB-N13/os/linux/../../os/linux/rt_linux.c:1511: error: ‘struct net_device’ has no member named ‘stop’
    /home/robert/Desktop/2009_0811_RT3070_Linux_STA_v2.1.1.0_USB-N13/os/linux/../../os/linux/rt_linux.c:1512: error: ‘struct net_device’ has no member named ‘hard_start_xmit’
    /home/robert/Desktop/2009_0811_RT3070_Linux_STA_v2.1.1.0_USB-N13/os/linux/../../os/linux/rt_linux.c:1513: error: ‘struct net_device’ has no member named ‘do_ioctl’
    /home/robert/Desktop/2009_0811_RT3070_Linux_STA_v2.1.1.0_USB-N13/os/linux/../../os/linux/rt_linux.c:1519: error: ‘struct net_device’ has no member named ‘get_stats’
    /home/robert/Desktop/2009_0811_RT3070_Linux_STA_v2.1.1.0_USB-N13/os/linux/../../os/linux/rt_linux.c:1553: error: ‘struct net_device’ has no member named ‘validate_addr’
    make[2]: *** [/home/robert/Desktop/2009_0811_RT3070_Linux_STA_v2.1.1.0_USB-N13/os/linux/../../os/linux/rt_linux.o] Error 1
    make[1]: *** [_module_/home/robert/Desktop/2009_0811_RT3070_Linux_STA_v2.1.1.0_USB-N13/os/linux] Error 2
    make[1]: Leaving directory `/usr/src/linux-headers-2.6.35-22-generic'
    make: *** [LINUX] Error 2

  6. #66
    Join Date
    Oct 2010
    Beans
    2

    Re: Setting Asus USB N13 in ubuntu 9.10

    Quote Originally Posted by Kainage View Post
    For anyone with a setup similar to mine (Ubuntu 10.04, fresh install) these are the exact steps I followed to get mine up and running. Works great now with no problems. All of these steps were compiled from this thread, and perhaps some insight from a few others....
    Kainage, this worked perfectly for me and I am a total Ubuntu/Linux newbie. Thanks for posting it!

    Now ... this Asus USB N13 is advertised as able to act as a wireless router ... does anyone know how to activate that function?

  7. #67
    Join Date
    May 2008
    Beans
    6

    Re: Setting Asus USB N13 in ubuntu 9.10

    I get the same problem as dc2045. On Maverick, the solution no longer works, as you are unable to successfully make from source.

  8. #68
    Join Date
    Nov 2010
    Beans
    1

    Re: Setting Asus USB N13 in ubuntu 9.10

    Quote Originally Posted by chili555 View Post
    I think it is working! Please try to click the Network Manager icon and see if you see networks. If not, please do:
    Code:
    sudo ifconfig ra0 up
    sudo iwconfig ra0 mode managed
    sudo iwlist ra0 scan
    Have you rebooted? Would you please? Thanks.
    Hello, I was actually digging through all of these posts and now Im actually running into a problem with getting this wireless card running myself. I am running a little netbook that already has a built in wireless card however I am trying to use the same network adapter as yourself for other purposes. Everything up until this point I have done and gotten at least some sign that its going through ok, however when I issue "ifconfig ra0 up" I get an error saying there is no such device. Can anyone give me a hand here?

  9. #69
    Join Date
    Aug 2010
    Beans
    17

    Re: Setting Asus USB N13 in ubuntu 9.10

    Quote Originally Posted by chili555 View Post
    Here we go! Remove the device from the USB slot. Open a terminal and do these commands; it is perfectly alright to copy and paste and proofread carefully. Spacing, case and spelling must be exact!
    Code:
    sudo gedit /etc/udev/rules.d/network_drivers.rules
    The text editor gedit will pop open as a new file. Type in one long line:
    Code:
    ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="0b05", ATTR{idProduct}=="1784", RUN+="/sbin/modprobe -qba rt3070sta"
    Proofread carefully, save and close gedit.
    Code:
    sudo gedit /etc/modprobe.d/network_drivers.conf
    Type in one long line:
    Code:
    install rt3070sta /sbin/modprobe --ignore-install rt3070sta $CMDLINE_OPTS; /bin/echo "0b05 1784" > /sys/bus/usb/drivers/rt2870/new_id
    Proofread carefully, save and close gedit. Detach the ethernet cable. Insert the USB device. Click the Network Manager icon and connect.


    My thanks to poohstickz.

    hi. Sorry to barge in on a response. But, I actually got mine to work here! my only problem is that i recently updated my system with the updater, and when my system restarted, the usb adapter is no longer working in the system. I have tried to re-run the commands given above, where the first time it was successful, and now i cant get it to work. what should i do? should there be an entry in /etc/init.d to make the driver start with the system? PLEASE HELP!!!

  10. #70
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    26,047
    Distro
    Ubuntu Development Release

    Re: Setting Asus USB N13 in ubuntu 9.10

    Quote Originally Posted by leppel View Post
    hi. Sorry to barge in on a response. But, I actually got mine to work here! my only problem is that i recently updated my system with the updater, and when my system restarted, the usb adapter is no longer working in the system. I have tried to re-run the commands given above, where the first time it was successful, and now i cant get it to work. what should i do? should there be an entry in /etc/init.d to make the driver start with the system? PLEASE HELP!!!
    rt3070sta is now merged with rt2870sta. Amend the files you mentioned to change every reference to rt3070sta to rt2870sta. Reboot.
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, B.Sc., M.Sc., M.A., Ph.D., Sc.D.

Page 7 of 8 FirstFirst ... 5678 LastLast

Tags for this Thread

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
  •