-
Notifications
You must be signed in to change notification settings - Fork 134
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for AP+STA mode #3
base: master
Are you sure you want to change the base?
Conversation
I'm using this code to operate a mt7601 usb dongle as an access point with great stability. However, I can only get speeds up to 54MBps. I have tried all kinds of options in /etc/Wireless/RT2870AP/RT2870AP.dat but I can't make it go faster. Am I missing something? |
I heart that before from the QQ Group I create. Means Somebody also met that. |
@archnous there are many setting in RT2870AP.dat affecting the speed. 54mbits suggests that you are running in 802.11G mode. Mandatory setting required to enable 802.11N mode are:
Packaged example config doesnt enable WmmCapable which si mandatory for 802.11N to work correctly. |
@eywalink Ok, thanks, I can also provide any test feedback you might need. |
Hi archnous, all, how do you do to use it as access point? Do you use hostapd? If so, could you share the config file? Thanks, |
facing kernel oops when used on ubuntu 12.04 x86-064, anybody facing this issue? |
@archnous @dafyk yup my AP mode run in 54Mbps too |
@Kirsath No hostapd. The driver code takes care of the AP functions and I only have dnsmasq dispersing IPs. The setup is very stable, only problem is it operates at 54MBps... |
Regarding "No hostapd. The driver code takes care of the AP functions and I only have dnsmasq dispersing IPs. The setup is very stable, only problem is it operates at 54MBps..." - please excuse the ignorance but how do you accomplish this without hostapd, do you set settings in RTxxxAP.dat file? and run iwconfig mode master, or something similar? |
The module puts automagically the card in master mode, no "iwconfig mode master" is necessary. It reads some settings (like ESSID and WPA passphrase) from the .dat file. What's left is to ifconfig an IP to the interface and use a dhcp daemon (like dnsmasq) for the clients. And some iptables for masquerading/forwarding. |
So what is recommend way to switch between managed and master modes - these need to be dynamically switchable. |
There isn't, AFAIK. One has to edit the makefile before compiling and recompile for STA. The modules are named differently in each case, rmmod mt7601ap and modprobe mt7601sta or whatstheirnames. Haven't tried STA though, only AP. There's a better, modern driver for STA though, see https://github.com/kuba-moo/mt7601u. |
Thanks, that clears that up for me. I had also looked at the link you provided but unfortunately it requires a later linux version than 3.8.13 on the beaglebone black. |
I'm using this code on Ubuntu 15.04 and it's working really well in 802.11n mode. But what I really need is to compile it for OpenWRT. |
Hi there. I Have Kalli 2.0 instaled when i pluged my usb dongle Ralink MT7601 Wireless card i got a wlan1 in iwconfig and only have support to monitor and managed type. Then i download driver from https://github.com/eywalink after i make make install driver appear in lsmod but don't activate and no changes in iw list command show only monitor and managed type. |
Hi there. I Have Kalli 2.0 instaled when i pluged my usb dongle Ralink MT7601 Wireless card i got a wlan1 in iwconfig and only have support to monitor and managed type. Then i download driver from https://github.com/eywalink after i make make install driver appear in lsmod but don't activate and no changes in iw list command show only monitor and managed type. dmesg show me mt7601Uap: module license unspecifueld taints kernel please help me. |
Can some one please help me out with AP mode. I have compiled the driver with no issues , its loaded up as shown by lsmod but my tab cant find the SSID that i have set in RT2870AP.dat . can someone briefly give an instruction on how to set it up? |
Have a look there |
@archnous sorry for digging this up ... have you finally found out how to speed up your connexion ? I am running the same limitation so far ! THX for sharing |
@sanzatou I haven't, sorry. |
For those who are getting here, you are close ! Check your system log with dmesg. If you are given an error message of this type: |
@sanzatou Hah! For a moment I thought this patch was to pump the dongle up to 150M. :-) |
I have Ubuntu mate 16.04 so eth0 is renamed enp0s2 and ra0 as wlnxXXXXXX so the scripts (miwifi_work.sh) don't work for me even after I rename ra0 in the script to wlnxXXXXXX It throws some error with DHCP. (And yes I'm a noob and don't know what I'm doing or what i should do)
|
@kerpz : I got this patch to work on my arm box, and the AP works fine. Does this patch enabled simultaneous use of AP and STA modes? If so, how do I configure the STA part? |
Any news about that? I am also interested to let the MT7601 work with two interface like wlan0 and wlan1 one for the AP and the other for STA. |
Added support for AP+STA