Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
AP/Master mode? #4
Comments
|
Thanks for the report. Unfortunately AP/master is pretty low on my TODO list. In fact it should not be advertised as supported but the commit which disables it is buried in one of my WIP branches. I'm sure the support will be added one day together with mesh. I don't care that much for AP actually, the APs on Ralink/MediaTek USB devices are pretty terrible anyway. And I haven't decided whether to write ad-hoc or not. Seems like a waste of time these days. So to make it short: AP is simply not there yet. BTW did you get the AP to work with the vendor driver? |
archnous
commented
Feb 22, 2015
|
I've been using the code from https://github.com/housq/mt7601u (which is a patchlevel below the latest "official" driver). I've also created a PKGBUILD for Arch (https://aur.archlinux.org/packages/mt7601u-ap-dkms/) and used it for a month or so, out of necessity since I fried a RT5370 dongle. The aforementioned code is AP-only and has served me quite well, except for the TX rate which stays within 11g limits (i.e. <=54MBps). This is a 3-module case but I've also seen another AP project which integrates it in 1; haven't used it though as I had already created a satisfactory PKGBUILD. I took the liberty to create a PKGBUILD for your code too: https://aur.archlinux.org/packages/mt7601u-dkms and, while I agree about the ad-hoc functionality, I've seen from my earlier search that a lot of people (and a great many rPi users among them) would put good use of an up-to-date driver with AP support. Thanks again for your work, I'll be watching for updates. |
|
Thanks for information about AP stuff. I will definitely look into it at some point. My plan is to upstream the STA functionality first and then expand. My time resources are painfully limited though. I was even thinking about creating some sort of survey of which functions are most desired by users (AP, ad-hoc, power saving). There is also a MT7630E PCIe device which needs a proper Linux driver... My feelings on packaging this driver are a bit mixed though. Because I make a lot of changes every single day and there are no version numbers I'm worried that people will start reporting bugs in old versions and I won't be able to reproduce them. Also will it be possible to push updated code to users when I fix something important on GH? |
archnous
commented
Feb 22, 2015
|
The package is not binary; every time a user builds it they get the latest source from GH. However, since you mentioned it, if you version the code I will be able to "snapshot" the package with that version and users will see whether a newer version is available. For now, I've arbitrarily set the version number to 3.1 because it made some sense as your code is actually newer than the original 3.0.0.4. You don't need to implement any fancy stuff, any simple incrementing number will do - even a datestamp on every update. |
|
OK, we will see what happens and introduce versioning if need be. |
erwinkendo
commented
Jun 3, 2015
|
@archnous thank you for the tip about the AP driver and @kuba-moo , thank you for your great work and congratulations on making it to linux kernel |
archnous
commented
Jun 3, 2015
|
@erwinkendo I use this repo for my package and is very stable, but only works at 11g speeds (i.e. 54MBps TX and RX). The aforementioned source compiles only in AP mode and works as such without hostapd. Just load the modules, assign an IP and you're set. |
erwinkendo
commented
Jun 3, 2015
archnous
commented
Jun 4, 2015
|
No, I only use it as an AP. Have you tried unloading all modules (both AP and kuba-moo's) and then reloading the ones desired, instead of un/pluging the dongle? |
erwinkendo
commented
Jun 4, 2015
|
Yes, of course, I turn the interface off with ´´´ip link set ra0 down´´´ 2015-06-04 4:45 GMT-05:00 archnous notifications@github.com:
Gracias Erwin José López Pulgarín |
cryptage21
commented
Dec 1, 2015
|
@kuba-moo thanks for your work. Driver is working well in Kernel 4.3 in STA. Do you think you'll work soon on AP mode ? Thanks :) |
dimastt
commented
Apr 30, 2016
|
Hey Kuba in backtrack we can connect with airbase-ng any android devices with sucess. I, m using kali 2.0 and i think is a version of aircrack 1.2 r3 have a bug and hostapd dont work for most devices with dongle form.its complicated friend.hhave any good version of airbase ng for work with android devices? |
johnoday
commented
Oct 13, 2016
|
+1 for ad-hoc mode |
biberino
commented
May 17, 2017
|
Hey archnous, |
archnous commentedFeb 22, 2015
•
Edited 1 time
-
archnous
Sep 11, 2016
Thanks for this. I've tested on a i686/3.19 machine and it works like a charm in STA mode. However, while "iw phy0 info" shows AP in capabilities and hostapd configures it in master mode, the intended ESSID isn't visible (or invisible but existent, for that matter). Therefore, I can't connect to it.
Launching hostapd sends these additional messages:
I can provide any additional information you need.