2e913
![]() |
|
|
|
|
|||||||
| Peripheral Hardware Stuff that plugs in via USB, FireWire, eSATA, PS/2, etc. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Original question:
Does FreeBSD support RaLink rt2870. My exact wifi is this if that makes any difference? Update: Summary of this thread: egorenar has been developing an rt2860 and a rt2870 driver for both FreeBSD 7.2 and 8.0. He is hosting them here. Download the latest tarball that is correct for both your chipset and your FreeBSD version. Then: Code:
tar xvzf driver.tar.gz cd driver make Code:
cp rt2870.ko /boot/modules/ chmod 555 /boot/modules/rt2870.ko Code:
rt2870_load="YES" Code:
ifconfig wlan0 create wlandev rt28700 Code:
wlans_rt28700="wlan0" ifconfig_wlan0="WPA inet 192.168.2.110 netmask 255.255.255.0 country NZ" defaultrouter="192.168.2.1" If you use FreeBSD 7.2 with 802.11N then you may also want this patch. This patch is not required for FreeBSD 8.0 though unlike the above patch. I have been successfully using this rt2870 driver for a 802.11n connection with WPA2-AES security for a while now and others have reported great success with both rt2860 and rt2870 in 802.11N mode. If you can correctly use FreeBSD's wifi then any feedback specific to this driver is a great help for it's ongoing development. Posts to this thread may become very helpful to other users (if they are experiencing the same problems for example). A big thank you to egorenar for all his efforts. .Update: If anyone is interested in why he dropped development of this. He has been very busy. It turn's out that he is also the legendary graf_chokolo. He has made some important developments in getting ps3's to run homebrew. Homebrew doesn't necessarily mean piracy but sony have their lawyers all over his ass anyway. He has been struggling with legal bills and could really do with some help. Meanwhile development for the run driver will likely be supported long term. It is from another developer but supports as similar set of hardware and is include within the latest freebsd source tree. Last edited by tim-m89; March 29th, 2011 at 13:33. |
|
#2
|
|||
|
|||
|
I'm currently developing a driver for this chip for FreeBSD 7.2.
Monitor mode is already working with wireshark ![]() I will implement transmitting later. |
|
#3
|
|||
|
|||
|
It seems more than one person is working on getting this into FreeBSD.
|
|
#4
|
|||
|
|||
|
I am looking for it as well. I can't wait to get it worked.
|
|
#5
|
|||
|
|||
|
i also plan to implement rt2860 driver later.
|
|
#6
|
|||
|
|||
|
Any idea when this might happen? My Asus Eee PC 1000 is effectively a paperweight until the wireless works, as the places I need to use it don't have wired ethernet. :-(
|
|
#7
|
|||
|
|||
|
Quote:
here are the drivers for rt2860 and rt2870 with HOSTAP mode !!! 30.12.2009 Improved interrupt handling. Added more statistic counters (use "sysctl -a | grep dev.rt2860 "). 06.01.2010 Fixed a bug in rt2860_io_mac_write_multi (rt2860_fbsd72) 09.01.2010 Fixed bug, LOCKING problem in HOSTAP mode (the problem appears after several "/etc/rc.d/hostapd restart") 09.01.2010 Added support for RT2760 chip. 17.01.2010 AMRR improvements. Several bug fixes for HOSTAP mode in rt2870 (thanks a lot to Dein for his help )20.01.2010 Tx power configurable now 24.01.2010 Added support for Trendnet TEW-644UB to rt2870 (FreeBSD 8 only) 802.11n support (HT20, HT40, Short GI Rx, A-MSDU Rx) for rt2870 and rt2860 (only FreeBSD 8 for now) 802.11n support is highly experimental 25.01.2010 802.11n - Short GI Tx support (FreeBSD 8 only for now) 26.01.2010 802.11n (FreeBSD 8) - A-MPDU Rx and Block ACKs But i could not test it, don't know how to make my AP send A-MPDUs 27.01.2010 802.11n support and AMRR bug fix in rt2860 and rt2870 for FreeBSD 7.2 28.01.2010 AMRR bug fix in rt2870 for FreeBSD 8 (caused low Tx rates in 802.11n mode) Improved debugging in rt2870 and rt2860 30.01.2010 rt2870 and rt2860 for FreeBSD 8 - Fixed bug with extended channel below central channel in HT40 mode rt2860 for FreeBSD 8 - Fixed problem with DMA on amd64 architecture (Thanks a lot to sng84 for his help) 31.01.2010 Created GIT repository for all drivers. Link: http://repo.or.cz/w/ralink_drivers.git I will not post new driver versions here anymore !!! Use my GIT repository please. 11.02.2010 Deleted old drivers from forum, use my GIT repository please Please report back bugs and problems, that's all i ask from you ![]() Wireshark captures, log messages and problem descriptions would be nice to have ![]()
Last edited by egorenar; February 11th, 2010 at 09:28. |
|
#8
|
||||
|
||||
|
Just found this thread, This is EPIC news!!
At last I can continue my quest to run FreeBSD 8 on my EeePC 901 (RT2860).Many thanks for your hard work, I (and many others I'm sure) appreciate it. As soon as I get a chance I'll give it a go and report back. ![]() sim
__________________
There's no place like ~ |
|
#9
|
|||
|
|||
|
Howto install rt2860 on freeBSD 7.2?
|
|
#10
|
|||
|
|||
WEP is working now !!!
|
|
#11
|
|||
|
|||
|
This one wireless networking device is the reason freebsd is not a suitable option for my desktop so I am very interested in this. What is he status of 802.11N and WPA2-AES?
|
|
#12
|
|||
|
|||
|
802.11n does not work yet, but i'm working on it, stay tuned.
Currently i'm working on WPA and WPA2-AES. |
| The Following User Says Thank You to egorenar For This Useful Post: | ||
chalbersma (October 25th, 2009) | ||
|
#13
|
|||
|
|||
|
WPA2 is working !!!
TKIP is still not working. :-( Stay tuned, guys. |
|
#14
|
|||
|
|||
|
TKIP is working now also !!!
|
|
#15
|
|||
|
|||
|
Could you please provide instructions on how I can go about testing this out? Thanks a lot for all you time + effort developing this.
|
|
#16
|
|||
|
|||
|
I developed and tested my driver only on FreeBSD 7.2 and only with Linksys WUSB600N. What NIC do you have ?
|
|
#18
|
|||
|
|||
|
OK, i extended my driver so it supports now also D-Link DWA-140 which also has rt2870 chip.
I attached my driver for rt2870. The driver is a kernel loadable module (KLM). Extract it and you will see the directory rt2870_fbsd72. Change into it and enter the command "make" (Have you installed FreeBSD kernel source ? If not then you should do it). Now you should see the KLD rt2870.ko if everything went right. Load it with "kldload ./rt2870.ko" (run it as root !!!). Now insert your USB NIC into your system. If you enter "ifconfig" now then you should see the interface "rt28700". To associate with your wireless network: Code:
1. ifconfig rt28700 channel <your channel> ssid <your ssid> up 2. wpa_supplicant -dd -i rt28700 -c <path to your wpa_supplicant.conf> After you was associated with your WLAN you have to run dhclient in order to obtain an IP from DHCP server or assign a static IP. The routing table must be adjusted also. Or you can edit /etc/rc.conf and restart your network script with "/etc/rc.d/netif restart". I think you know what wpa_supplicant is or should I provide an example also ? WEP, TKIP and AES worked with Linksys WUSB600N and this driver. And i could surf and download. 802.11n is not implemented yet. Please post your feedback here because i tested my driver only with Linksys WUSB600N and i have no possibility to test it with other NICs. Last edited by DutchDaemon; November 3rd, 2009 at 18:51. |
| The Following User Says Thank You to egorenar For This Useful Post: | ||
NAC (November 4th, 2009) | ||
|
#19
|
|||
|
|||
|
OK thanks. I will try this from a live freebsd disc when I get the time.
|
|
#20
|
|||
|
|||
|
Quote:
![]() thanks a lot for your efficient! i have just tried ,it worked once..i am using wpa. the problem is that after it was associated, once i run /etc/rc.d/netif restart. the driver stops! |
|
#21
|
|||
|
|||
|
Quote:
Code:
rt28700: <Ralink 802.11 n WLAN, class 0/0, rev 2.00/1.01, addr 2> on uhub4 rt28700: EEPROM rev=0x0101 rt28700: EEPROM mac address=00:a1:b0:c0:25:e8 rt28700: EEPROM RF rev=0x0005, paths=1T1R rt28700: EEPROM NIC config: Tx AGC control=0, ext LNA gains=0/0 rt28700: EEPROM country code=255/255 rt28700: EEPROM freq offset=0x2f rt28700: EEPROM led cntl=0x01, LEDs=0x1111/0xffff/0xffff rt28700: EEPROM LNA gains=0x00/0x00 rt28700: invalid EEPROM LNA gain 0: 2 rt28700: invalid EEPROM LNA gain 0: 3 rt28700: invalid EEPROM Tx power2 -1: 0 (2GHz) rt28700: invalid EEPROM Tx power2 -1: 1 (2GHz) rt28700: invalid EEPROM Tx power2 -1: 2 (2GHz) rt28700: invalid EEPROM Tx power2 -1: 3 (2GHz) rt28700: invalid EEPROM Tx power2 -1: 4 (2GHz) rt28700: invalid EEPROM Tx power2 -1: 5 (2GHz) rt28700: invalid EEPROM Tx power2 -1: 6 (2GHz) rt28700: invalid EEPROM Tx power2 -1: 7 (2GHz) rt28700: invalid EEPROM Tx power2 -1: 8 (2GHz) rt28700: invalid EEPROM Tx power2 -1: 9 (2GHz) rt28700: invalid EEPROM Tx power2 -1: 10 (2GHz) rt28700: invalid EEPROM Tx power2 -1: 11 (2GHz) rt28700: invalid EEPROM Tx power2 -1: 12 (2GHz) rt28700: invalid EEPROM Tx power2 -1: 13 (2GHz) rt28700: EEPROM Tx power compensation deltas=0(2MHz), 0(5MHz) rt28700: EEPROM Tx power compensation #0=0xaaaa6666(20MHz), 0xaaaa6666(40MHz/2GHz), 0xaaaa6666(40MHz/5GHz) rt28700: EEPROM Tx power compensation #1=0xaaaa6688(20MHz), 0xaaaa6688(40MHz/2GHz), 0xaaaa6688(40MHz/5GHz) rt28700: EEPROM Tx power compensation #2=0xaaaa6688(20MHz), 0xaaaa6688(40MHz/2GHz), 0xaaaa6688(40MHz/5GHz) rt28700: EEPROM Tx power compensation #3=0xaaaa6688(20MHz), 0xaaaa6688(40MHz/2GHz), 0xaaaa6688(40MHz/5GHz) rt28700: EEPROM Tx power compensation #4=0xffff6688(20MHz), 0xffff6688(40MHz/2GHz), 0xffff6688(40MHz/5GHz) rt28700: EEPROM TSSI 2GHz: 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, step=255 rt28700: EEPROM TSSI 5GHz: 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, step=0 rt28700: MAC/BBP RT2870 (rev 0x30700201), RF RT3020 rt28700: WARNING: using obsoleted IFF_NEEDSGIANT flag rt28700: Ethernet address: 00:a1:b0:c0:25:e8 Last edited by DutchDaemon; November 28th, 2009 at 18:00. |
|
#22
|
|||
|
|||
|
DWA-140 http://www.dlink.com/products/?pid=652
cheers. |
|
#23
|
|||
|
|||
|
Quote:
Or do you still have problems with netif ? |
|
#24
|
|||
|
|||
|
NO, once i try to give it an IP, the driver alway stops, and somehow i can ping to my router, but cannot get internet.
|
|
#25
|
|||
|
|||
|
Quote:
Code:
ifconfig_rt28700="DHCP WPA" |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| pci usb 2.0 card serves as only usb 1.1 on Asus P4S333/c | zeiz | System Hardware | 6 | August 26th, 2009 02:21 |
| copy usb OS | mtnlyon001 | Peripheral Hardware | 5 | August 21st, 2009 12:26 |
| installing on USB | kachukumma | Installing & Upgrading | 9 | May 7th, 2009 01:36 |
| How to install from USB-HD? | jronald | Installing & Upgrading | 6 | February 5th, 2009 10:49 |
| D-Link DWA-520 | Thunderbolt | Peripheral Hardware | 2 | November 22nd, 2008 14:10 |