Page 1 of 3 123 LastLast
Results 1 to 10 of 55

Thread: Howto: Ralink RT2860 (m)PCI(e) (RT2760/RT2790/RT2860/RT2890) on Intrepid

Hybrid View

  1. #1
    Join Date
    May 2005
    Location
    Sweden
    Beans
    223
    Distro
    Ubuntu Jaunty Jackalope (testing)

    Howto: Ralink RT2860 (m)PCI(e) (RT2760/RT2790/RT2860/RT2890) on Intrepid

    This is a tutorial for getting Ralink's RT2760/RT2790/RT2860/RT2890-based (m)PCI(e) cards running on Intrepid with the latest Linux drivers provided on Ralink's website. You will need a wired connection to download the pertinent files.

    First you are going to need the driver package, which can be downloaded from: http://www.ralinktech.com/ralink/Hom...ort/Linux.html

    You are looking for the "RT2860PCI/mPCI/PCIe/CB(RT2760/RT2790/RT2860/RT2890)" package. Download it and save it to your home directory.

    Start a terminal and install the build-essential and linux-headers packages (if you don't have them already):

    Code:
    sudo aptitude install linux-headers-`uname -r` build-essential
    Now, in your home folder untar the Ralink package:

    Code:
    tar -xvjf 2008_0918_RT2860_Linux_STA_v1.8.0.0.tar.bz2
    Edit the 2008_0918_RT2860_Linux_STA_v1.8.0.0/os/linux/config.mk file to allow network-manager to manage the card:

    Code:
    gedit 2008_0918_RT2860_Linux_STA_v1.8.0.0/os/linux/config.mk
    Where it says:

    # Support Wpa_Supplicant
    HAS_WPA_SUPPLICANT=y

    # Support Native WpaSupplicant for Network Manager
    HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=y
    Make sure that both lines have a "y" after them (by default they have an "n"), then save the file.

    Now enter the 2008_0918_RT2860_Linux_STA_v1.8.0.0 directory, compile and install the driver as root:

    Code:
    cd 2008_0918_RT2860_Linux_STA_v1.8.0.0/
    sudo su
    make && make install
    It is important here not to use "sudo" alone, but "sudo su" because with sudo for some reason the installation script fails to create the necessary files and folders in among others /etc. This is what caused me some trouble before I figured it out.

    Now, while still root modprobe the driver module:

    Code:
    modprobe rt2860sta
    Give it a minute to create the ra0 device node, and network manager should now be able to display all visible wireless networks in your area, meanwhile you can stop being root and make sure that the module was probed correctly by checking the output of lsmod looking for the rt2860sta module.

    Code:
    exit
    lsmod | grep rt2860sta
    It should output something like "rt2860sta 525400 1". To make sure that ra0 is up and running as it's supposed to you can run "iwconfig" which should output something like this:

    Code:
    iwconfig 
    lo        no wireless extensions.
    
    eth1      no wireless extensions.
    
    ra0       RT2860 Wireless  ESSID:""  Nickname:"RT2860STA"
              Mode:Managed  Frequency=2.412 GHz  Access Point:   
              Bit Rate=54 Mb/s   
              RTS thr:off   Fragment thr:off
              Link Quality=100/100  Signal level:-29 dBm  Noise level:-71 dBm
              Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
              Tx excessive retries:0  Invalid misc:0   Missed beacon:0
    Hopefully all of this worked and your wireless card is now functional. Use network manager to set your WEP/WPA(2) or what have you and connect to your network.

    To make sure the module is loaded when you reboot, add it to the /etc/modules file:

    Code:
    sudo echo rt2860sta >> /etc/modules
    Hopefully this will be of service to someone. :)

  2. #2
    Join Date
    Jan 2009
    Beans
    1

    Thumbs up Re: Howto: Ralink RT2860 (m)PCI(e) (RT2760/RT2790/RT2860/RT2890) on Intrepid

    Thanks a ton! Works perfectly. I just installed Intrepid today and the wireless chip didn't show up in ifconfig or iwconfig. If the box didn't come with windows I wouldn't even know what chipset it was.

  3. #3
    Join Date
    Apr 2006
    Beans
    7

    Re: Howto: Ralink RT2860 (m)PCI(e) (RT2760/RT2790/RT2860/RT2890) on Intrepid

    Every time that I try to install these drivers I get

    Code:
    make -C tools
    make[1]: Entering directory `/home/patrick/Desktop/2008_1225_RT3070_Linux_STA_v2.0.1.0/tools'
    gcc -g bin2h.c -o bin2h
    make[1]: Leaving directory `/home/patrick/Desktop/2008_1225_RT3070_Linux_STA_v2.0.1.0/tools'
    /home/patrick/Desktop/2008_1225_RT3070_Linux_STA_v2.0.1.0/tools/bin2h
    cp -f os/linux/Makefile.6 /home/patrick/Desktop/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux/Makefile
    make  -C  /lib/modules/2.6.27-9-generic/build SUBDIRS=/home/patrick/Desktop/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux modules
    make[1]: Entering directory `/usr/src/linux-headers-2.6.27-9-generic'
      CC [M]  /home/patrick/Desktop/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux/../../common/rtmp_init.o
      CC [M]  /home/patrick/Desktop/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux/../../os/linux/sta_ioctl.o
    /home/patrick/Desktop/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux/../../os/linux/sta_ioctl.c: In function ‘rt_ioctl_giwscan’:
    /home/patrick/Desktop/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux/../../os/linux/sta_ioctl.c:1116: warning: passing argument 1 of ‘iwe_stream_add_event’ from incompatible pointer type
    /home/patrick/Desktop/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux/../../os/linux/sta_ioctl.c:1116: warning: passing argument 3 of ‘iwe_stream_add_event’ from incompatible pointer type
    /home/patrick/Desktop/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux/../../os/linux/sta_ioctl.c:1116: warning: passing argument 4 of ‘iwe_stream_add_event’ makes pointer from integer without a cast
    /home/patrick/Desktop/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux/../../os/linux/sta_ioctl.c:1116: error: too few arguments to function ‘iwe_stream_add_event’
    /home/patrick/Desktop/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux/../../os/linux/sta_ioctl.c:1195: warning: passing argument 1 of ‘iwe_stream_add_event’ from incompatible pointer type
    /home/patrick/Desktop/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux/../../os/linux/sta_ioctl.c:1195: warning: passing argument 3 of ‘iwe_stream_add_event’ from incompatible pointer type
    /home/patrick/Desktop/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux/../../os/linux/sta_ioctl.c:1195: warning: passing argument 4 of ‘iwe_stream_add_event’ makes pointer from integer without a cast
    /home/patrick/Desktop/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux/../../os/linux/sta_ioctl.c:1195: error: too few arguments to function ‘iwe_stream_add_event’
    /home/patrick/Desktop/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux/../../os/linux/sta_ioctl.c:1211: warning: passing argument 1 of ‘iwe_stream_add_point’ from incompatible pointer type
    /home/patrick/Desktop/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux/../../os/linux/sta_ioctl.c:1211: warning: passing argument 3 of ‘iwe_stream_add_point’ from incompatible pointer type
    /home/patrick/Desktop/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux/../../os/linux/sta_ioctl.c:1211: warning: passing argument 4 of ‘iwe_stream_add_point’ from incompatible pointer type
    /home/patrick/Desktop/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux/../../os/linux/sta_ioctl.c:1211: error: too few arguments to function ‘iwe_stream_add_point’
    /home/patrick/Desktop/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux/../../os/linux/sta_ioctl.c:1238: warning: passing argument 1 of ‘iwe_stream_add_event’ from incompatible pointer type
    /home/patrick/Desktop/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux/../../os/linux/sta_ioctl.c:1238: warning: passing argument 3 of ‘iwe_stream_add_event’ from incompatible pointer type
    /home/patrick/Desktop/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux/../../os/linux/sta_ioctl.c:1238: warning: passing argument 4 of ‘iwe_stream_add_event’ makes pointer from integer without a cast
    /home/patrick/Desktop/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux/../../os/linux/sta_ioctl.c:1238: error: too few arguments to function ‘iwe_stream_add_event’
    /home/patrick/Desktop/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux/../../os/linux/sta_ioctl.c:1258: warning: passing argument 1 of ‘iwe_stream_add_event’ from incompatible pointer type
    /home/patrick/Desktop/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux/../../os/linux/sta_ioctl.c:1258: warning: passing argument 3 of ‘iwe_stream_add_event’ from incompatible pointer type
    /home/patrick/Desktop/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux/../../os/linux/sta_ioctl.c:1258: warning: passing argument 4 of ‘iwe_stream_add_event’ makes pointer from integer without a cast
    /home/patrick/Desktop/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux/../../os/linux/sta_ioctl.c:1258: error: too few arguments to function ‘iwe_stream_add_event’
    /home/patrick/Desktop/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux/../../os/linux/sta_ioctl.c:1273: warning: passing argument 1 of ‘iwe_stream_add_event’ from incompatible pointer type
    /home/patrick/Desktop/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux/../../os/linux/sta_ioctl.c:1273: warning: passing argument 3 of ‘iwe_stream_add_event’ from incompatible pointer type
    /home/patrick/Desktop/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux/../../os/linux/sta_ioctl.c:1273: warning: passing argument 4 of ‘iwe_stream_add_event’ makes pointer from integer without a cast
    /home/patrick/Desktop/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux/../../os/linux/sta_ioctl.c:1273: error: too few arguments to function ‘iwe_stream_add_event’
    /home/patrick/Desktop/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux/../../os/linux/sta_ioctl.c:1291: warning: passing argument 1 of ‘iwe_stream_add_point’ from incompatible pointer type
    /home/patrick/Desktop/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux/../../os/linux/sta_ioctl.c:1291: warning: passing argument 3 of ‘iwe_stream_add_point’ from incompatible pointer type
    /home/patrick/Desktop/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux/../../os/linux/sta_ioctl.c:1291: warning: passing argument 4 of ‘iwe_stream_add_point’ from incompatible pointer type
    /home/patrick/Desktop/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux/../../os/linux/sta_ioctl.c:1291: error: too few arguments to function ‘iwe_stream_add_point’
    /home/patrick/Desktop/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux/../../os/linux/sta_ioctl.c:1321: warning: passing argument 1 of ‘iwe_stream_add_value’ from incompatible pointer type
    /home/patrick/Desktop/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux/../../os/linux/sta_ioctl.c:1321: warning: passing argument 4 of ‘iwe_stream_add_value’ from incompatible pointer type
    /home/patrick/Desktop/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux/../../os/linux/sta_ioctl.c:1321: warning: passing argument 5 of ‘iwe_stream_add_value’ makes pointer from integer without a cast
    /home/patrick/Desktop/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux/../../os/linux/sta_ioctl.c:1321: error: too few arguments to function ‘iwe_stream_add_value’
    /home/patrick/Desktop/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux/../../os/linux/sta_ioctl.c:1343: warning: passing argument 1 of ‘iwe_stream_add_point’ from incompatible pointer type
    /home/patrick/Desktop/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux/../../os/linux/sta_ioctl.c:1343: warning: passing argument 3 of ‘iwe_stream_add_point’ from incompatible pointer type
    /home/patrick/Desktop/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux/../../os/linux/sta_ioctl.c:1343: warning: passing argument 4 of ‘iwe_stream_add_point’ from incompatible pointer type
    /home/patrick/Desktop/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux/../../os/linux/sta_ioctl.c:1343: error: too few arguments to function ‘iwe_stream_add_point’
    /home/patrick/Desktop/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux/../../os/linux/sta_ioctl.c:1361: warning: passing argument 1 of ‘iwe_stream_add_point’ from incompatible pointer type
    /home/patrick/Desktop/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux/../../os/linux/sta_ioctl.c:1361: warning: passing argument 3 of ‘iwe_stream_add_point’ from incompatible pointer type
    /home/patrick/Desktop/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux/../../os/linux/sta_ioctl.c:1361: warning: passing argument 4 of ‘iwe_stream_add_point’ from incompatible pointer type
    /home/patrick/Desktop/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux/../../os/linux/sta_ioctl.c:1361: error: too few arguments to function ‘iwe_stream_add_point’
    make[2]: *** [/home/patrick/Desktop/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux/../../os/linux/sta_ioctl.o] Error 1
    make[1]: *** [_module_/home/patrick/Desktop/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux] Error 2
    make[1]: Leaving directory `/usr/src/linux-headers-2.6.27-9-generic'
    make: *** [LINUX] Error 2
    root@Sweetums:/home/patrick/Desktop/2008_1225_RT3070_Linux_STA_v2.0.1.0#
    I'm running Xubuntu 8.10 fully updated.

    Code:
    patrick@Sweetums:~$ lspci | grep  -i network
    02:00.0 Network controller: RaLink RT2800 802.11n PCI
    patrick@Sweetums:~$
    Any help would be appreciated!

  4. #4
    Join Date
    Jan 2009
    Beans
    3

    Talking Re: Howto: Ralink RT2860 (m)PCI(e) (RT2760/RT2790/RT2860/RT2890) on Intrepid

    I Created an account to thank you

    I didn't see this particular line of code in all the other forum i've read: modprobe rt2860sta

    Wireless Worked perfectly after running that command at the full N Speeds too! VERY Happy

    My Wireless card is a ASUS WL-130N With a rt2860 chipset (Written in other places with a rt2800 but it's incorrect confirmed by it working and by RA-Link)

    Finally Thank you Tass! It's saved me hours of messing about with it.

  5. #5
    Join Date
    Jan 2009
    Beans
    3

    Re: Howto: Ralink RT2860 (m)PCI(e) (RT2760/RT2790/RT2860/RT2890) on Intrepid

    Quote Originally Posted by metlhead05 View Post
    Every time that I try to install these drivers I get

    Code:
    make -C tools
    make[1]: Entering directory `/home/patrick/Desktop/2008_1225_RT3070_Linux_STA_v2.0.1.0/tools'
    gcc -g bin2h.c -o bin2h
    make[1]: Leaving directory `/home/patrick/Desktop/2008_1225_RT3070_Linux_STA_v2.0.1.0/tools'
    /home/patrick/Desktop/2008_1225_RT3070_Linux_STA_v2.0.1.0/tools/bin2h
    cp -f os/linux/Makefile.6 /home/patrick/Desktop/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux/Makefile
    make  -C  /lib/modules/2.6.27-9-generic/build SUBDIRS=/home/patrick/Desktop/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux modules
    make[1]: Entering directory `/usr/src/linux-headers-2.6.27-9-generic'
      CC [M]  /home/patrick/Desktop/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux/../../common/rtmp_init.o
      CC [M]  /home/patrick/Desktop/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux/../../os/linux/sta_ioctl.o
    /home/patrick/Desktop/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux/../../os/linux/sta_ioctl.c: In function ‘rt_ioctl_giwscan’:
    /home/patrick/Desktop/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux/../../os/linux/sta_ioctl.c:1116: warning: passing argument 1 of ‘iwe_stream_add_event’ from incompatible pointer type
    /home/patrick/Desktop/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux/../../os/linux/sta_ioctl.c:1116: warning: passing argument 3 of ‘iwe_stream_add_event’ from incompatible pointer type
    /home/patrick/Desktop/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux/../../os/linux/sta_ioctl.c:1116: warning: passing argument 4 of ‘iwe_stream_add_event’ makes pointer from integer without a cast
    /home/patrick/Desktop/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux/../../os/linux/sta_ioctl.c:1116: error: too few arguments to function ‘iwe_stream_add_event’
    /home/patrick/Desktop/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux/../../os/linux/sta_ioctl.c:1195: warning: passing argument 1 of ‘iwe_stream_add_event’ from incompatible pointer type
    /home/patrick/Desktop/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux/../../os/linux/sta_ioctl.c:1195: warning: passing argument 3 of ‘iwe_stream_add_event’ from incompatible pointer type
    /home/patrick/Desktop/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux/../../os/linux/sta_ioctl.c:1195: warning: passing argument 4 of ‘iwe_stream_add_event’ makes pointer from integer without a cast
    /home/patrick/Desktop/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux/../../os/linux/sta_ioctl.c:1195: error: too few arguments to function ‘iwe_stream_add_event’
    /home/patrick/Desktop/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux/../../os/linux/sta_ioctl.c:1211: warning: passing argument 1 of ‘iwe_stream_add_point’ from incompatible pointer type
    /home/patrick/Desktop/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux/../../os/linux/sta_ioctl.c:1211: warning: passing argument 3 of ‘iwe_stream_add_point’ from incompatible pointer type
    /home/patrick/Desktop/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux/../../os/linux/sta_ioctl.c:1211: warning: passing argument 4 of ‘iwe_stream_add_point’ from incompatible pointer type
    /home/patrick/Desktop/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux/../../os/linux/sta_ioctl.c:1211: error: too few arguments to function ‘iwe_stream_add_point’
    /home/patrick/Desktop/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux/../../os/linux/sta_ioctl.c:1238: warning: passing argument 1 of ‘iwe_stream_add_event’ from incompatible pointer type
    /home/patrick/Desktop/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux/../../os/linux/sta_ioctl.c:1238: warning: passing argument 3 of ‘iwe_stream_add_event’ from incompatible pointer type
    /home/patrick/Desktop/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux/../../os/linux/sta_ioctl.c:1238: warning: passing argument 4 of ‘iwe_stream_add_event’ makes pointer from integer without a cast
    /home/patrick/Desktop/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux/../../os/linux/sta_ioctl.c:1238: error: too few arguments to function ‘iwe_stream_add_event’
    /home/patrick/Desktop/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux/../../os/linux/sta_ioctl.c:1258: warning: passing argument 1 of ‘iwe_stream_add_event’ from incompatible pointer type
    /home/patrick/Desktop/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux/../../os/linux/sta_ioctl.c:1258: warning: passing argument 3 of ‘iwe_stream_add_event’ from incompatible pointer type
    /home/patrick/Desktop/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux/../../os/linux/sta_ioctl.c:1258: warning: passing argument 4 of ‘iwe_stream_add_event’ makes pointer from integer without a cast
    /home/patrick/Desktop/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux/../../os/linux/sta_ioctl.c:1258: error: too few arguments to function ‘iwe_stream_add_event’
    /home/patrick/Desktop/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux/../../os/linux/sta_ioctl.c:1273: warning: passing argument 1 of ‘iwe_stream_add_event’ from incompatible pointer type
    /home/patrick/Desktop/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux/../../os/linux/sta_ioctl.c:1273: warning: passing argument 3 of ‘iwe_stream_add_event’ from incompatible pointer type
    /home/patrick/Desktop/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux/../../os/linux/sta_ioctl.c:1273: warning: passing argument 4 of ‘iwe_stream_add_event’ makes pointer from integer without a cast
    /home/patrick/Desktop/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux/../../os/linux/sta_ioctl.c:1273: error: too few arguments to function ‘iwe_stream_add_event’
    /home/patrick/Desktop/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux/../../os/linux/sta_ioctl.c:1291: warning: passing argument 1 of ‘iwe_stream_add_point’ from incompatible pointer type
    /home/patrick/Desktop/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux/../../os/linux/sta_ioctl.c:1291: warning: passing argument 3 of ‘iwe_stream_add_point’ from incompatible pointer type
    /home/patrick/Desktop/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux/../../os/linux/sta_ioctl.c:1291: warning: passing argument 4 of ‘iwe_stream_add_point’ from incompatible pointer type
    /home/patrick/Desktop/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux/../../os/linux/sta_ioctl.c:1291: error: too few arguments to function ‘iwe_stream_add_point’
    /home/patrick/Desktop/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux/../../os/linux/sta_ioctl.c:1321: warning: passing argument 1 of ‘iwe_stream_add_value’ from incompatible pointer type
    /home/patrick/Desktop/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux/../../os/linux/sta_ioctl.c:1321: warning: passing argument 4 of ‘iwe_stream_add_value’ from incompatible pointer type
    /home/patrick/Desktop/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux/../../os/linux/sta_ioctl.c:1321: warning: passing argument 5 of ‘iwe_stream_add_value’ makes pointer from integer without a cast
    /home/patrick/Desktop/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux/../../os/linux/sta_ioctl.c:1321: error: too few arguments to function ‘iwe_stream_add_value’
    /home/patrick/Desktop/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux/../../os/linux/sta_ioctl.c:1343: warning: passing argument 1 of ‘iwe_stream_add_point’ from incompatible pointer type
    /home/patrick/Desktop/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux/../../os/linux/sta_ioctl.c:1343: warning: passing argument 3 of ‘iwe_stream_add_point’ from incompatible pointer type
    /home/patrick/Desktop/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux/../../os/linux/sta_ioctl.c:1343: warning: passing argument 4 of ‘iwe_stream_add_point’ from incompatible pointer type
    /home/patrick/Desktop/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux/../../os/linux/sta_ioctl.c:1343: error: too few arguments to function ‘iwe_stream_add_point’
    /home/patrick/Desktop/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux/../../os/linux/sta_ioctl.c:1361: warning: passing argument 1 of ‘iwe_stream_add_point’ from incompatible pointer type
    /home/patrick/Desktop/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux/../../os/linux/sta_ioctl.c:1361: warning: passing argument 3 of ‘iwe_stream_add_point’ from incompatible pointer type
    /home/patrick/Desktop/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux/../../os/linux/sta_ioctl.c:1361: warning: passing argument 4 of ‘iwe_stream_add_point’ from incompatible pointer type
    /home/patrick/Desktop/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux/../../os/linux/sta_ioctl.c:1361: error: too few arguments to function ‘iwe_stream_add_point’
    make[2]: *** [/home/patrick/Desktop/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux/../../os/linux/sta_ioctl.o] Error 1
    make[1]: *** [_module_/home/patrick/Desktop/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux] Error 2
    make[1]: Leaving directory `/usr/src/linux-headers-2.6.27-9-generic'
    make: *** [LINUX] Error 2
    root@Sweetums:/home/patrick/Desktop/2008_1225_RT3070_Linux_STA_v2.0.1.0#
    I'm running Xubuntu 8.10 fully updated.

    Code:
    patrick@Sweetums:~$ lspci | grep  -i network
    02:00.0 Network controller: RaLink RT2800 802.11n PCI
    patrick@Sweetums:~$
    Any help would be appreciated!
    Just a guess. But the driver package you are trying to install is actually the wrong one for the card. Your trying to install a RT3070 driver when you should be trying to install a RT2860 Driver...?

  6. #6
    Join Date
    Apr 2006
    Beans
    7

    Re: Howto: Ralink RT2860 (m)PCI(e) (RT2760/RT2790/RT2860/RT2890) on Intrepid

    Quote Originally Posted by benedictducky View Post
    Just a guess. But the driver package you are trying to install is actually the wrong one for the card. Your trying to install a RT3070 driver when you should be trying to install a RT2860 Driver...?
    you are 100% right, I must have clicked the wrong link. Thanks!

  7. #7
    Join Date
    May 2007
    Location
    California, USA
    Beans
    245

    Re: Howto: Ralink RT2860 (m)PCI(e) (RT2760/RT2790/RT2860/RT2890) on Intrepid

    Am I missing something? Does the upstream Debian source not work?

    Code:
    aptitude install module-assistant
    wget -c ftp://ftp.debian.org/debian/pool/non-free/r/rt2860-source/rt2860-source_1.8.0.0-3_all.deb
    dpkg -i rt2860-source_1.8.0.0-3_all.deb
    m-a a-i rt2860

  8. #8
    Join Date
    Apr 2009
    Location
    sarasota, fl
    Beans
    21
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Howto: Ralink RT2860 (m)PCI(e) (RT2760/RT2790/RT2860/RT2890) on Intrepid

    Quote Originally Posted by Fass View Post
    This is a tutorial for getting Ralink's RT2760/RT2790/RT2860/RT2890-based (m)PCI(e) cards running on Intrepid with the latest Linux drivers provided on Ralink's website. You will need a wired connection to download the pertinent files.

    First you are going to need the driver package, which can be downloaded from: http://www.ralinktech.com/ralink/Hom...ort/Linux.html

    You are looking for the "RT2860PCI/mPCI/PCIe/CB(RT2760/RT2790/RT2860/RT2890)" package. Download it and save it to your home directory.

    Start a terminal and install the build-essential and linux-headers packages (if you don't have them already):

    Code:
    sudo aptitude install linux-headers-`uname -r` build-essential
    Now, in your home folder untar the Ralink package:

    Code:
    tar -xvjf 2008_0918_RT2860_Linux_STA_v1.8.0.0.tar.bz2
    Edit the 2008_0918_RT2860_Linux_STA_v1.8.0.0/os/linux/config.mk file to allow network-manager to manage the card:
    ok i have a few questions, as i am new to ubuntu, and already feel over my head, i have gotten this far but it opened a new window that is blank, called [*config.mk , what should i do to this window? i have tried to put the codes down with edits to the newest driver name, but nothing seems to work right.

    i am using jaunty, if that means anything

  9. #9
    Join Date
    Apr 2010
    Beans
    22

    Re: Howto: Ralink RT2860 (m)PCI(e) (RT2760/RT2790/RT2860/RT2890) on Intrepid

    Quote Originally Posted by Fass View Post
    Now, while still root modprobe the driver module:

    Code:
    modprobe rt2860sta
    Give it a minute to create the ra0 device node, and network manager should now be able to display all visible wireless networks in your area, meanwhile you can stop being root and make sure that the module was probed correctly by checking the output of lsmod looking for the rt2860sta module.
    I'm installing this on my eeepc 1008ha and I get stuck here. when i type the modprobe, I only get "WARNING: all config files need to be conf." etc ****, no creation of ra0device. And iwconfig shows no sign of a ra0.

    Any advice for a linux newbie like me?

  10. #10
    Join Date
    Apr 2010
    Beans
    22

    Re: Howto: Ralink RT2860 (m)PCI(e) (RT2760/RT2790/RT2860/RT2890) on Intrepid

    I'm workinging 9.10 btw, still trying to figyure it out.

Page 1 of 3 123 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
  •