Comments (14)
If I start
owl
with-N
,opendrop find
seems to list the devices, but the device doesn't show up on my Mac or iPhone in AirDrop even though I haveopendrop receive
running (the device itself also shows up inopendrop find
).
I could not get the recieve function to ever work properly. IIRC, you'll want to run the following commands:
airmon-ng check kill
airmon-ng start wlan1
the name may be different, use lspci
or iw dev
. I don't remember which one.
owl -i wlan1mon -N
again, name may be different.
Then opendrop receive
in a new terminal.
from owl.
The AWUSO36NHA works well for this (Artheros AR9271)
from owl.
Doesn't do 5 GHz though.
from owl.
I just got the Alfa AWUS036NHA with AR9271 chipset (which supposedly supports packet injection).
# dmesg | grep ath
[ 3.756113] usb 1-11: ath9k_htc: Firmware ath9k_htc/htc_9271-1.4.0.fw requested
[ 3.756156] usbcore: registered new interface driver ath9k_htc
[ 4.038715] usb 1-11: ath9k_htc: Transferred FW: ath9k_htc/htc_9271-1.4.0.fw, size: 51008
[ 4.290554] ath9k_htc 1-11:1.0: ath9k_htc: HTC initialized with 33 credits
[ 4.556824] ath9k_htc 1-11:1.0: ath9k_htc: FW Version: 1.4
[ 4.556825] ath9k_htc 1-11:1.0: FW RMW support: On
[ 4.556826] ath: EEPROM regdomain: 0x833a
[ 4.556826] ath: EEPROM indicates we should expect a country code
[ 4.556826] ath: doing EEPROM country->regdmn map search
[ 4.556827] ath: country maps to regdmn code: 0x37
[ 4.556827] ath: Country alpha2 being used: GB
[ 4.556828] ath: Regpair used: 0x37
[ 4.563618] ath9k_htc 1-11:1.0 wlx00c0ca981942: renamed from wlan0
# iw dev wlx00c0ca981942 info
Interface wlx00c0ca981942
ifindex 5
wdev 0x100000001
addr 00:c0:ca:98:19:42
type managed
wiphy 1
txpower 20.00 dBm
# iw phy phy1 info | grep supports
Device supports RSN-IBSS.
Device supports T-DLS.
Device supports TX status socket option.
Device supports HT-IBSS.
Device supports SAE with AUTHENTICATE command
Device supports low priority scan.
Device supports scan flush.
Device supports AP scan.
Device supports per-vif TX power setting
Driver supports full state transitions for AP/GO clients
Driver supports a userspace MPM
Device supports configuring vdev MAC-addr on create.
# owl -i wlx00c0ca981942
.oOXWMMMMWXOx:
.oOOOx:'''''''''''':OOOx:
oXOo' ........ ':OXx.
.oOOO''''''''''OOOo.
oXOo' 'oOO:
:oOOOOXXXXOOOOo:.
oXO:' ':OXo
.:xOXXXXXXOx:.
.xXMMMMMMMMMMMMMMMMXx.
'XWWWWWWMMMMMMMMMMMMMMMMMMMMMMWWWWWWX'
oWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWo
OMMMMMMWWMMMMMMMMMMMMMMWWWMMMMMO
OMMWx' 'xWMMMMWx' 'oXMMO
:MW: oMMx 'WM:
XM' .xOOo. :o .xOOo. WX
WX :MMMMMX :MMMMMX xW
XW 'WMMMMX .xx. 'WMMMWX XX
'Wx 'xWMx' OMMO 'xWMx' xM'
'XX: 'XX' :XX'
'xXOx:..................:xXWx'
'xXMMMMMMMMMMMMMMMMMMWO'
Open Wireless Link
https://owlink.org
21:34:37 ERROR: Error while receiving via netlink: Operation not supported
21:34:37 ERROR: Could not put device in monitor mode: wlx00c0ca981942
21:34:37 ERROR: could not initialize core
# ifconfig wlx00c0ca981942 down
# iwconfig wlx00c0ca981942 mode monitor
# iw dev wlx00c0ca981942 info
Interface wlx00c0ca981942
ifindex 5
wdev 0x100000001
addr 00:c0:ca:98:19:42
type monitor
wiphy 1
txpower 20.00 dBm
# owl -i wlx00c0ca981942
.oOXWMMMMWXOx:
.oOOOx:'''''''''''':OOOx:
oXOo' ........ ':OXx.
.oOOO''''''''''OOOo.
oXOo' 'oOO:
:oOOOOXXXXOOOOo:.
oXO:' ':OXo
.:xOXXXXXXOx:.
.xXMMMMMMMMMMMMMMMMXx.
'XWWWWWWMMMMMMMMMMMMMMMMMMMMMMWWWWWWX'
oWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWo
OMMMMMMWWMMMMMMMMMMMMMMWWWMMMMMO
OMMWx' 'xWMMMMWx' 'oXMMO
:MW: oMMx 'WM:
XM' .xOOo. :o .xOOo. WX
WX :MMMMMX :MMMMMX xW
XW 'WMMMMX .xx. 'WMMMWX XX
'Wx 'xWMx' OMMO 'xWMx' xM'
'XX: 'XX' :XX'
'xXOx:..................:xXWx'
'xXMMMMMMMMMMMMMMMMMMWO'
Open Wireless Link
https://owlink.org
21:36:51 ERROR: Error while receiving via netlink: Operation not supported
21:36:51 ERROR: Could not put device in monitor mode: wlx00c0ca981942
21:36:51 ERROR: could not initialize core
@CaptainStabs Is it actually working for you?
@schmittner Does this mean the AR9271 is unsupported, or is there anything else I can try on this card?
from owl.
If I start owl
with -N
, opendrop find
seems to list the devices, but the device doesn't show up on my Mac or iPhone in AirDrop even though I have opendrop receive
running (the device itself also shows up in opendrop find
).
from owl.
Did you figure out how to start OWL or OpenDrop with this WiFi card?
I have the same one and was curious on trying this, but it didn't work for me either.
from owl.
Could you please share how you were able to get OWL running with the AWUSO36NHA?
from owl.
@jackforfaltu I believe AR9271 is by default ACKing incoming frames*, so running it with the -N
flag would be appropriate. However, I couldn't get it to appear on an Apple device when in receive mode. I'm assuming this is because 5 GHz is not supported by the AR9271 chipset, and it appears that AirDrop doesn't work well (at all?), see discussions in seemoo-lab/opendrop#4 and seemoo-lab/opendrop#21 (comment) regarding channels.
*According to https://github.com/rofl0r/wpakey (I bolded the relevant part):
the only fix for this issue is the so-called "active monitor" mode. currently, this feature can only be activated on ath9k and mt7601u drivers using iw dev wlan1 set monitor active. iw list or iw phyX show can tell you whether the feature is implemented, it will print Device supports active monitor (which will ACK incoming frames) if supported. note that even though this feature cannot be actively activated on ath9k_htc devices, some or all of them have this behaviour turned on by default, so it may well be that other devices behave the same.
I believe my next step in getting it running is to acquire a card that uses the AR9280 (officially supported by this project) or MT7610U (#10) chipset. I'd prefer a USB card but couldn't find any that has the AR9280.
from owl.
@jackforfaltu I actually got it to work on AWUS036NHA. You'll need to put it in regular monitor mode and start owl with -N
on channel 6, and also compile it using the patch from #39. Then, if you put opendrop
into receive mode, it should show up on an Apple device in Airdrop after waiting for around 10 seconds.
ifconfig yourwifi down
iw yourwifi set monitor control
sudo /path/to/owl/build/daemon/owl -N -i yourwifi -c 6
from owl.
Doesn't do 5 GHz though.
I'm assuming this is because 5 GHz is not supported
This should not matter, as I'm fairly certain only the "latest" iphone has 5g capability?
You may also want a BLE device as well, as I'm fairly certain one of the forks of this has BLE support implented
from owl.
I could not get the recieve function to ever work properly.
I only use it for receiving. It works alright on the AWUS036NHA if you apply the patch from #39 but there is still some packet loss.
This should not matter, as I'm fairly certain only the "latest" iphone has 5g capability?
Huh, I'm not talking about 5G. I'm talking about 5 GHz wi-fi (channels 44 and 149), which the AWUS036NHA doesn't support -- but it works on channel 6.
I'm fairly certain one of the forks of this has BLE support implented
This one? https://github.com/llamakko/opendrop2 claims it's compatible with https://github.com/hexway/apple_bleee
I haven't looked into this though. I think that's needed to discover devices so you can send, not for receiving.
from owl.
Huh, I'm not talking about 5G. I'm talking about 5 GHz
Yeah that's my mistake. Shouldn't respond to issues when sleep deprived
from owl.
Hey ! I searched for the active monitor mode a lot, and I tried to find an adapter that support it. I found a GitHub that is very well maintained and I discussed the issue with the owner. Here is a link for the discussion that can help you find an adapter that will work for you.
The owner told me which chipset works with active monitor mode, and if you grab this info you can search on the README of his GitHub an adapter with the mentioned chipset that will work for you: morrownr/USB-WiFi#73
thanks to him, we now have a very modern device list that will work with OWL.
from owl.
Hey ! I searched for the active monitor mode a lot, and I tried to find an adapter that support it. I found a GitHub that is very well maintained and I discussed the issue with the owner. Here is a link for the discussion that can help you find an adapter that will work for you. The owner told me which chipset works with active monitor mode, and if you grab this info you can search on the README of his GitHub an adapter with the mentioned chipset that will work for you: morrownr/USB-WiFi#73
thanks to him, we now have a very modern device list that will work with OWL.
@SoniaMalki
Hello, thanks for the tip.
Could you give us more information?
Did your test work and was it successful with the file transfer?
I didn't find your feedback on github.
Thanks!
from owl.
Related Issues (20)
- Device does not support radiotap headers HOT 3
- ipv6 address of our device in MDNS is not correct
- Failed to connect to generic netlink HOT 2
- Is Android mobile phone supported? HOT 4
- Receiver Repeated network packet from macOS(ping)
- Error compiling on Linux with GCC 11 HOT 1
- Error when make HOT 1
- Use monitor mode instead of active monitor mode HOT 2
- Has this worked for anyone recently? HOT 1
- compilation error
- documentation on active monitor mode HOT 2
- complation error when performing make or sudo make install HOT 4
- build error: redefinition of 'struct ethhdr' HOT 4
- The project was successfully launched, but Mac10.15 crashed
- AirPlay can't connect HOT 17
- Is there any way I could emulate (?) active monitor mode?
- make error HOT 2
- Net crashes while trying to run owl
- Could not put device in monitor mode HOT 2
- OWL works, but opendrop doesn't
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from owl.