WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: rt2860 Wireless Support  (Read 13625 times)

Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
rt2860 Wireless Support
« on: October 08, 2009, 11:31:21 PM »
Thanks to Mike L. for creating the rt2860 wireless support. Many versions of eeePC require this.
I just helped package it up the extension.
Code: [Select]
Title:          rt2860.tczm
Description:    rt2860 module
Version:        2.2.0.0
Author:         Ralink Technology, Inc.
Original-site:  http://www.ralinktech.com/support.php?s=2
Copying-policy: GNU General Public License, Version 2
Size:           236KB
Extension by:   roberts
Comments:       Mike L. compiled the rt2860 module for use on an eeePC 1000
                ----------
                Requires the wireless-2.6.29.1-tinycore and wireless_tools extensions
                ----------
After booting, you should see a network interface "raN"
with N being 0 in most cases: ra0.  To associate with a
wireless access point, you can set up a simple script like
the following:

    #!/bin/sh
    # commands to associate with wireless access point
    sudo /sbin/ifconfig ra0 up
    sudo /usr/local/sbin/iwconfig ra0 essid "{{{YOUR ESSID HERE}}}" key restricted "{{{YOUR KEY HERE}}}"
    sleep 2
    sudo /sbin/udhcpc -i ra0

This could be called manually after booting, or automatically
from /opt/bootlocal.sh.  Note that if the preceding commands
are directly inserted in bootlocal.sh, you don't need the "sudo"
prefixes. 

Altenatively, you may use a series of iwpriv commands:
#!/bin/sh
#Config STA to link with AP which is OPEN/NONE(Authentication/Encryption))
iwpriv ra0 set NetworkType=Infra
iwpriv ra0 set AuthMode=OPEN
iwpriv ra0 set EncrypType=NONE
iwpriv ra0 set SSID="AP's SSID"

Another example of iwpriv:
#!/bin/sh
#Config STA to link with AP which is OPEN/NONE(Authentication/Encryption))
iwpriv ra0 set NetworkType=Infra
iwpriv ra0 set AuthMode=WPAPSK
iwpriv ra0 set EncrypType=AES
iwpriv ra0 set SSID="AP's SSID"
iwpriv ra0 set WPAPSK="AP's wpa-preshared key"
iwpriv ra0 set SSID="AP's SSID"

The file 'iwpriv_usage.txt' in the driver source code has
more examples and descriptions of all the control options.

A third method that might work is to edit the hardware
configuration file /etc/RT2860STA/RT2860STA.dat that is read
when the driver kernel module is loaded.  If you try this,
please make a backup in a persistant location, and also add
etc/RT2860STA
To your /opt/.filetool.lst.

Change-log:
Current:        2009/10/08 First version.
10+ Years Contributing to Linux Open Source Projects.

Offline ^thehatsrule^

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 1726
Re: rt2860 Wireless Support
« Reply #1 on: October 10, 2009, 08:04:59 PM »
Quote
Extension by:
missing _

Offline popolon

  • Newbie
  • *
  • Posts: 5
Re: rt2860 Wireless Support
« Reply #2 on: May 19, 2010, 12:29:48 PM »
Are there any plans to rebuild this extension for TC 3.0 / 2.6.33?

FYI I could build and use it doing the following:
- Download TC patched 2.6.33-3 kernel source and corresponding config file
- Use TC config file, make menuconfig, enable staging drivers, enable rt2860 staging driver
- make modules
- put the resulting rt2860sta.ko in a rt2860.tcz file, add it to onboot.lst, reboot, run wpa_supplicant and udhcpc.

This was tested on a eeepc 1000H. I used the wireless connection for a few hours with no issue.

The iwpriv WPA configuration example commands given in the info file of the 2.X version do not work anymore. But now wpa_supplicant works OK - it didn't seem to work at all with 2.6.29.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14849
Re: rt2860 Wireless Support
« Reply #3 on: May 19, 2010, 11:28:30 PM »
If you built the extension and it works, it would be great if you could submit it for others to use.
« Last Edit: May 19, 2010, 11:32:01 PM by Juanito »

Offline popolon

  • Newbie
  • *
  • Posts: 5
Re: rt2860 Wireless Support
« Reply #4 on: May 24, 2010, 06:10:45 AM »
Alright, I'm trying to package it for extension submission right now

Offline andrewb

  • Full Member
  • ***
  • Posts: 121
Re: rt2860 Wireless Support
« Reply #5 on: June 10, 2011, 07:52:08 PM »
Did this extension for TC3 get released?