Finished: CALL FOR TESTERS Ralink wireless run(4) usb driver for FreeBSD

TheBiggestGnome said:
WOOOOOOOOO!

YAY! IT WORKS!

Thank you so much!


Now, this will connect every time the system boots, correct?

You are welcome. Please send me back bug and problem reports.
Thanks.

It should connect at the system boot if you add the following
line to rc.conf:

Code:
rt2860_wlans="wlan0"
ifconfig_wlan0="WPA DHCP"

And you should also copy rt2860.ko module to /boot/kernel/
and add the following line to /boot/loader.conf:

Code:
rt2860_load="YES"
 
Hello, egorenar. Does the 7.2 version of your driver work for 7.2 stable under PC-BSD 7.1.1?

Following the thread [thread=7562]7562[/thread]
 
egorenar
I've just installed rt2860 on freebsd7.2.
It worked good and I did that in /boot/loader.conf
Code:
rt2860_load="YES"
and in /etc/rc.conf
Code:
ifconfig_rt28600="inet 192.168.1.2 netmask 255.255.255.0 ssid example mode 11g mediaopt hostap"
and I copy the rt2860.ko file in /boot/kernel/
and when I reboot...
Code:
login: rt28600: Tx watchdog timeout: resetting
rt28600: stopping
and it stands on pause, no keyboard respons. I can't ivent login.
I reboot 2-3 times and then I removed the card from the PCI slot so I can run the machine. I don't know if I wrong something becos I also have a LAN card on 192.168.1.1(natd enable) could it be a problem?
Thancks and have verry happy and successful 2010 year and keep up the good work :)
 
gnoma said:
egorenar
I've just installed rt2860 on freebsd7.2.
It worked good and I did that in /boot/loader.conf
Code:
rt2860_load="YES"
and in /etc/rc.conf
Code:
ifconfig_rt28600="inet 192.168.1.2 netmask 255.255.255.0 ssid example mode 11g mediaopt hostap"
and I copy the rt2860.ko file in /boot/kernel/
and when I reboot...
Code:
login: rt28600: Tx watchdog timeout: resetting
rt28600: stopping
and it stands on pause, no keyboard respons. I can't ivent login.
I reboot 2-3 times and then I removed the card from the PCI slot so I can run the machine. I don't know if I wrong something becos I also have a LAN card on 192.168.1.1(natd enable) could it be a problem?
Thancks and have verry happy and successful 2010 year and keep up the good work :)

Thanks for feedback.
I didn't test loading the driver at boot time.
I will see what i can do.

:e :e :e
 
gnoma said:
egorenar
I've just installed rt2860 on freebsd7.2.
It worked good and I did that in /boot/loader.conf
Code:
rt2860_load="YES"
and in /etc/rc.conf
Code:
ifconfig_rt28600="inet 192.168.1.2 netmask 255.255.255.0 ssid example mode 11g mediaopt hostap"
and I copy the rt2860.ko file in /boot/kernel/
and when I reboot...
Code:
login: rt28600: Tx watchdog timeout: resetting
rt28600: stopping
and it stands on pause, no keyboard respons. I can't ivent login.
I reboot 2-3 times and then I removed the card from the PCI slot so I can run the machine. I don't know if I wrong something becos I also have a LAN card on 192.168.1.1(natd enable) could it be a problem?
Thancks and have verry happy and successful 2010 year and keep up the good work :)

I fixed the bug :e
Please test again.

Here is the new version:
http://forums.freebsd.org/showthread.php?p=55365#post55365
 
PseudoCylon said:
You need to create wlan0, first.

After kldload if_run, do
# ifconfig wlan create wlandev run0
# ifconfig [b]wlan0[/b] country US
# ifconfig [b]wlan0[/b] up

Once you create wlan0, use wlan0 instead of run0. This is new for 8.0.

I definitely need to update README, after holidays.

Merry Christmas.

Thanks again! I was delighted to discover that this even works in hostap and station mode, as long as I don't try to encrypt. Once I enable hostapd and wpa_supplicant, the station no longer associated with the hostap, and the hostap says, "run0: device timeout" about as often (I assume) as the station tries to scan for it. Any suggestions? (This is with two rt3070s.)
 
That's because support for hostap mode is still work-in-progress.

When chipset sends beacons it behave badly. Currently, I'm looking into Ralink's source code and trying to find some solutions.

Actually, rt2xxx and rt3xxx chips are very similar but not exactly the same. The driver might work fine with rt2xxx chipset, but hostap mode on rt3xxx looks grim so far. But, see what I can find out. (NB: A FreeBSD newbie is writing a driver without any datasheet. It will take a while.)
 
egorenar
I've just installed rt2860 on freebsd7.2.
It worked good and I did that in /boot/loader.conf

Code:
rt2860_load="YES"and in /etc/rc.conf

Code:
ifconfig_rt28600="inet 192.168.1.2 netmask 255.255.255.0 ssid example mode 11g mediaopt hostap"and I copy the rt2860.ko file in /boot/kernel/
and when I reboot...

Code:
login: rt28600: Tx watchdog timeout: resetting
rt28600: stoppingand it stands on pause, no keyboard respons. I can't ivent login.
I reboot 2-3 times and then I removed the card from the PCI slot so I can run the machine. I don't know if I wrong something becos I also have a LAN card on 192.168.1.1(natd enable) could it be a problem?
Thancks and have verry happy and successful 2010 year and keep up the good work
egorenar
The same thing keep showing with the new driver :(
I am using WMP600N if it matters to you and my MB is a little older so I it works with ACPI disabled. Any ideas?
 
gnoma said:
egorenar
The same thing keep showing with the new driver :(
I am using WMP600N if it matters to you and my MB is a little older so I it works with ACPI disabled. Any ideas?

I could reproduce this problem now. I'm trying to find a solution.
Thanks for feedback. It seems i found another bug yesterday :e
 
gnoma said:
egorenar
The same thing keep showing with the new driver :(
I am using WMP600N if it matters to you and my MB is a little older so I it works with ACPI disabled. Any ideas?

Please test the driver again. Thanks for feedback, it is important for me. :)
 
It still does the same thing on system start.
Delete the old archive end unarchived dir, delete the old rtl2860.ko file in /boot/kernel, extract the archive again, run "make" and copy the rt2860.ko in /boot/kernel, (I didn't load it becos the card is removed from the slot so I can start the machine normaly)then shutdown, place the card and start.

Code:
login: ro rt28600: Tx watchdog timeout: resetting
rt28600: stopping

I didn't touch the x.conf files.
May be I miss something, may be the problem is there???
/boot/loader.conf:
Code:
rt2860_load="YES"and in /etc/rc.conf
/etc/rc.conf:
Code:
ifconfig_rt28600="inet 192.168.1.2 netmask 255.255.255.0 ssid example mode 11g mediaopt hostap"
 
gnoma said:
It still does the same thing on system start.
Delete the old archive end unarchived dir, delete the old rel2860.ko file in /boot/kernel, extract the archive again, make and copy the rt2860.ko in /boot/kernel. I didn't touch the x.conf files.
May be I miss something, may be the problem is there???
/boot/loader.conf:
Code:
rt2860_load="YES"and in /etc/rc.conf
/etc/rc.conf:
Code:
ifconfig_rt28600="inet 192.168.1.2 netmask 255.255.255.0 ssid example mode 11g mediaopt hostap"

I only tested it manually. I loaded the driver, configured the interface and started hostapd. And it worked.
What system do you have ?
 
gnoma said:
It still does the same thing on system start.
Delete the old archive end unarchived dir, delete the old rtl2860.ko file in /boot/kernel, extract the archive again, run "make" and copy the rt2860.ko in /boot/kernel, (I didn't load it becos the card is removed from the slot so I can start the machine normaly)then shutdown, place the card and start.

Code:
login: ro rt28600: Tx watchdog timeout: resetting
rt28600: stopping

I didn't touch the x.conf files.
May be I miss something, may be the problem is there???
/boot/loader.conf:
Code:
rt2860_load="YES"and in /etc/rc.conf
/etc/rc.conf:
Code:
ifconfig_rt28600="inet 192.168.1.2 netmask 255.255.255.0 ssid example mode 11g mediaopt hostap"

Yes, you are right, the problem is still there. Strange.
If i load the driver manually and configure it then it works fine. But if the driver is autoloaded at boot time then the problem is there. I will try to find a solution for this problem.
Did you try to configure the NIC manually ?
 
I did only with the first driver becos after that I couldn't start the PC with the card in the slot, and it worked fine. If u want I can comment that line in /boot/loader.conf and then start and see if the problem is during setting the interface from /etc/rc.conf or the problem is during boot and driver loading and check if loaded driver on boot works with manual ifconfig-ing.
 
gnoma said:
I did only with the first driver becos after that I couldn't start the PC with the card in the slot, and it worked fine. If u want I can comment that line in /boot/loader.conf and then start and see if the problem is during setting the interface from /etc/rc.conf or the problem is during boot and driver loading and check if loaded driver on boot works with manual ifconfig-ing.

I tested the rt2860 driver in AP mode on FreeBSD 8 and it works fine,
it doesn't matter if you configure it manually or the driver
is loaded automatically at boot time. But on FreeBSD 7.2 it only works if you configure it manually. I will try to fix it but i don't know when.

:e :e :e
 
Thank you Egorenar for your greate WORK.

Which magic words should be used to setup Dlink DWA-140 (rt2870) in 802.11n hostap mode? Now it works perfectly in 11g/11b mode.

Code:
home/Dein/>uname -a
FreeBSD qbic.home 8.0-RELEASE-p1 FreeBSD 8.0-RELEASE-p1


The driver is great.
 
Dein said:
Thank you Egorenar for your greate WORK.

Which magic words should be used to setup Dlink DWA-140 (rt2870) in 802.11n hostap mode? Now it works perfectly in 11g/11b mode.

Code:
home/Dein/>uname -a
FreeBSD qbic.home 8.0-RELEASE-p1 FreeBSD 8.0-RELEASE-p1


The driver is great.

Sorry, but 802.11n mode is still work in progress :e
Are you using your NIC in HOSTAP mode ?
 
Dein said:
Only in the test zone :) In production zone still using h/w access point.

And please do not forget to send me feedback and bug reports.
It is importnat for me so i could improve the driver.

:e :e :e
 
It looks like I found some crash scenario.

1. Config:
HostAP mode 11g
hostap.conf
Code:
hw_mode=g
interface=wlan0
logger_syslog=-1
logger_syslog_level=0
logger_stdout=-1
logger_stdout_level=0
debug=3
dump_file=/tmp/hostapd.dump
ctrl_interface=/var/run/hostapd
ctrl_interface_group=wheel
#### IEEE 802.11 related config ####
ssid=freebsd
macaddr_acl=0
auth_algs=1
#### IEEE 802.1X related config ####
ieee8021x=0
#### WPA/IEEE 802.11i config #####
wpa=3
wpa_passphrase=11111111
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP
rsn_pairwise=CCMP
2. Notebook (asus eee) connected via wifi from Windows Home to freebsd. Signal level fine. Starting [CMD="ping -t -l 1024 qbic"][/CMD]
3. Go far from AP till signal lost.
4. Returning to coverage...
5. Freebsd crashed with:
Code:
wlan0: ieee80211_new_state_locked: pending INIT -> SCAN transition lost
Sleeping thread (tid 100053, pid 0) owns a non-sleepable lock
panic: sleeping thread
cpuid = 0

P.S. mmm do you have any bugtracking system like JIRA or bugzilla?
 
Back
Top