-
Notifications
You must be signed in to change notification settings - Fork 11
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
Questions: Recommended WiFi adapter(s) & iptables infinite loop #19
Comments
In case you are interested in the solution for supporting this old Ralink based USB WiFi adapter, read on: Support & Debug Info for: Hawking HWUG1 USB WiFi adapterThis WiFi adapter is a single antenna USB dongle that has an Ralink chipset inside. It is supported by the mainline kernel in
Initially, the issue was that Problem & path to solutionAfter following the setup instructions in this repo, I saw that
So, in this debug output I found the line: That led me to look at the pre-existing
Using the
After changing this, I was still unable to start
After a bit of searching, I found that the following commands on the host worked to avoid this issue:
I put these in a new script called
Finally, I created a
|
Hey @trinitronx, thanks so much for your interest in this project! It was great to meet you this weekend as well. I wish I had a chance to chat a bit more with you as it sounds like you are also up to some pretty cool projects + code stuffs. First off, I want to say kudos to you for venturing into the relatively undocumented territory that a lot of this project occupies. We've got breadcrumbs out there for avid *nix'ers to find, but ultimately there isn't a whole lot of hand holding with a lot of these docs, so I'm glad you've been able to get the project up and running! As you have likely realized by now, the docker container we are using is a special branch of my As for the iptables rule oddities, you are spot on that the 80->1337 redirects are quite strange. That oddity is coming from our reliance on Finally, in answer to your suggestion of favorite WiFi cards that support monitor mode, I can't recommend the TP-LINK TL-WN722N enough (except for it supports 2.4GHz only, not 5.0GHz). It is an amazing card, and up until a year or so ago, it was the defacto h4x0r WiFi dongle... But recently, the new generation of dongles has shipped with a chipset that DOES NOT support monitor mode. Best I can tell, when you order a TL-WN722N there is no way of determining whether you are going to receive the old (good) chipset or a model with the new (shit) chipset. I've never come across a model that doesn't support monitor mode, but I've read horror stories on the net from those who have. So with that said, I'm not sure I can recommend it unless you can confirm you are getting an older model. For a 2018 list of WiFi dongles that support monitor mode, check out this link: http://www.wirelesshack.org/best-kali-linux-compatible-usb-adapter-dongles-2016.html |
@brannondorsey: Thanks for the explanation of those networking pieces! Makes sense as far as what I was seeing with the I think the other issue was just due to that old USB hardware not supporting well the combination of 2 apps both needing access at once to the card. Probably a bit too much to ask of that cheap old USB dongle for both Thanks for the tips about that TP-LINK card & chipset! So much in *nix is about good hardware & driver support! I'll check out that list of USB dongles too, it looks like a lot are also much newer Ralink chipsets! Would be great to get a 5GHz one that supports the It was great to talk with you guys, and I'm happy to chat more about projects and such. If I have some free time I'd love to check out the |
Hello,
It was great to meet you guys yesterday (04/28/2018) at "The Collective" for the WiFi Data Safari workshop! I was browsing some of the other projects you guys were working on such as the MIDI neural net & Magenta (nSynth), and the BitCoin art display. Really cool stuff, that's right along the same areas of interest I've been thinking about getting into lately. Anyway, I just wanted first to mention those projects look really interesting too, especially the music related ones!
Today, I've had some time to test out setting up this
wifi-data-safari
project using the docker image. I was following the Art Installation Guide here. I got pretty close eventually and found a configuration issue and solution for gettinghostapd
working with my particular USB WiFi dongle. I'm using a very old Hawking HWUG1, which does not support MIMO or 802.11n, sohostapd
was not starting initially. In case you're interested in the solution & debug info, I'll post this in a comment below.UPDATE: I solved the issue with the electron
node.js
app. It just wasn't running 😄. I had assumed this app was included in the docker container, and that the first part of the instructions were for running it outside the container (e.g.: for development). Looks like it works great when accessing the/habitat
URL on the same host! The only issue now is that my iPhone won't reliably connect to theWiFi Data Safari
Access Point. Sometimes I see the same issue as I did at the art installation where it fails to connect. Other times, it just fails to show the AP in the list entirely. I suspect it's some combination of device + driver + iPhone behavior here. Maybe my WiFi card doesn't support runninghostapd
&airodump-ng
both accessing this old USB dongle at the same time? Either way, I'm happy to have the WebGL display working now!I had a couple questions after my experience:
ieee80211n
, and unfortunately the official site is no longer maintainediptables
(e.g.: themitmdump
port80 => 1337
redirect) rules behave in a way that results in infinite loop?http://wifi.safari
fails with connection refusedcurl
) trying to access port1337
causes infinite connect loop!docker exec -ti <container_d> /bin/bash
apt-get update -qq && apt-get -y install curl
curl -v http://127.0.0.1:80/
This results in:Failed to connect to 127.0.0.1 port 80: Connection refused
node server
app was not included in the container, so nothing was running yet. So, I ran it in another terminal and then port80
was accessible! The/habitat
URL worked great in Chrome on Ubuntu17.10
with an nVIDIAGeForce GT 240
!curl -v http://127.0.0.1:1337
Seems that this is the last hurdle towards getting this working, so if there's anything you might know off the top of your head to solve this that'd be awesome!SOLVEDiptables
+docker
may be routing packets in such a way that it results in an infinite loop. UPDATE: This may be just the behavior of the proxy re-routing requests back again?docker kill <container_id>
it can stop things before they get out of hand.The text was updated successfully, but these errors were encountered: