Forwarding multicast on Ubiquiti

Posted October 30, 2017 By Landis V

May be relevant to some things I’d like to try.

https://community.ubnt.com/t5/EdgeMAX/mDNS-bonjour-forwarding/td-p/414093

Be the first to comment
   

DIY HDPE Blocks

Posted October 24, 2017 By Landis V

Had a post a while back with a link to a Garage Journal forum thread where a guy did some great tool organization by milling HDPE blocks. Some info on DIY HDPE blocks.
http://www.instructables.com/id/HDPE-Blocks-From-Plastic-Bottles/

And machines for working with plastic (shredding, extruding, casting, etc.).
https://preciousplastic.com/en/machines.html

Also read some things about using HDPE as a filament for 3D printing.  Not as easy as PLA or ABS, but sounds like it is do-able.

Be the first to comment
   

IR remote controls revisited

Posted July 22, 2017 By Landis V

I posted a while back about building a device to use as a universal remote control, where I could program commands that were relevant to devices in my living room, and have since been thinking about taking further actions towards integrating them with Alexa. I have a Harmony Hub, but the whole scene thing just doesn’t do what I really want – or does so in a kludgy fashion – most of the time. I’ve run across a few things in the past few days that might be useful in furthering the concept. The webmote link in my previous post may also be a viable option, since I’ve picked up some Arduinos and a tinker kit since I posted that – hoping it contains an IR receiver.

Right now, just need to get some tabs closed out, so posting a few of the relevant links I’ve run across so I can revisit them later.
Irdroid USB Infrared Transmitter, around $30
Irdroid-RPi Transceiver, around $20
irkit open source IR transceiver

Be the first to comment
   

TP-Link HS-100/HS110 Wifi Smart Plug Stuff

Posted December 3, 2016 By Landis V
Be the first to comment
   

hostapd in a VM for device testing

Posted November 27, 2016 By Landis V

While working with my Chamberlain MyQ Garage Door Opener the other day, I ran into issues getting hostapd to work on Kali with the chap ass Netis WP2120 nano USB adapter I had (based on the RTL8192cu chipset/driver).  I need to clear off a few browser tabs and eventually see if I can get hostapd working with this adapter on a different box (VM) for testing.  A few of the links I worked with unsuccessfully, but provide some useful information.

 

More notes

Installed usbutils for lsusb
Installed hostapd
Installed iw
Installed lshw
Ran through steps at https://adamscheller.com/systems-administration/rtl8192cu-fix-wifi/, minor issue with “linux-headers-generic”, skipped it for now.

Did receive a modprobe error, “could not insert ‘8192cu’: Device or resource busy”. lsmod shows the old rtl8192cu drivers active. Did a reboot. Correct driver modules now listed, though no device listing in ‘iw list’. Does appear in ‘lshw -c network’, and appears as wlan0 in ‘ip link list’.

Started in with hostapd steps from http://sarumait.blogspot.com/2013/11/ubuntu-wireless-hotspot-using-edimax-ew.html and from my previous testing on the Chamberlain page.

Attempted to start hostapd service which seemed to work, but didn’t see my SSID. Ran it interactive debug and got an “invalid/unknown driver ‘8192cu'”.

Instructions at https://github.com/pritambaral/hostapd-rtl871xdrv
Git cloned the above repository and the w1.fi repository listed. Got hostapd to build after installing dependencies (below).

apt-get install apt-file libnl-3-dev libnl-genl-3-dev pkg-config libssl-dev
apt-file not needed, but handy for looking up files that resulted in failures during make.

Ran the patch process noted at https://github.com/pritambaral/hostapd-rtl871xdrv

Ended up having some success after doing a ‘make dkms’ in the rt8192cu directory cloned from https://github.com/dz0ny/rt8192cu and setting the driver in my hostapd.conf to the rtl871xdrv

Pages helpful in getting it to work

2 Comments so far. Join the Conversation
   

Chamberlain MyQ Garage Door Opener Testing

Posted November 27, 2016 By Landis V

Got a great deal on some Chamberlain MyQ wifi garage door openers recently.  As I’m setting them up, I really want to see what kind of conversations they have, so I’ll be making a few notes.  As usual, I’ll be working with my VM setup, using Kali in this case.

I have a Netis WF2120 USB wireless adapter that I’ll be using under Kali.  The vendor/product code is 0bda:8176.  Planning to use Kali as an AP.  I installed hostapd on Kali with ‘apt-get install hostapd’.  Added a USB filter to pass the Netis through to the guest with ‘vboxmanage usbfilter add 2 –target kali –name NetisWIFI –vendorid 0x0bda –productid 0x8176’.  After shutting down and restarting the VM, my wireless adapter was available as wlan0.

Enabled root login for SSH on my Kali box as VRDE… sucked.  Slow and very unresponsive.

Created /etc/hostapd/hostapd.conf with approximately the following contents:
ssid=TheSSIDOfYourChoiceWillEndYourLifeTonight
wpa_passphrase=YeahPostThat
ctrl_interface=/var/run/hostapd
interface=wlan0
driver=rtl8192cu
channel=1
wpa=2
wpa_key_mgmt=WPA-PSK

Edited /etc/default/hostapd and configured ‘DAEMON_CONF=”/etc/hostapd/hostapd.conf”‘.

Attempted to start the hostapd service, got “Line 5: invalid/unknown driver ‘rtl8192cu'”.

Tried editing NetworkManager.conf and adding a keyfile configuration to exclude the MAC of the device, followed by restarting /etc/init.d/network-manager, without much success.  Yielded same error.

Ran a ‘modprobe -r rtl8192cu’ and attempted to restart the hostapd service with the same error.  Tried changing the “driver=” line to ‘driver=rtl871xdrv’ with the same results as well.

Remarked the “driver=” line in hostapd.conf and attempted to restart the service; got a little further, but still did not seem to start.

Went back to the instructions at https://bogeskov.dk/UsbAccessPoint.html.  The ‘apt-get install linux-headers’ was not successful on my platform, so ran ‘apt-get install linux-headers-4.6.0-kali1-amd64’ instead, which was already installed in my case.  Created and cd’ed to an rtl directory, then ran ‘git clone https://github.com/dz0ny/rt8192cu.git’.  Attempt to make drivers failed.

Ran an ‘apt-get update’ and ‘apt-get upgrade’ to see if I could get around the issue.  Seem to be issues with the 4.8.x kernel on Kali as well; system fails to boot using that kernel.  Have to come back to this one later, will create another post for hostapd with the rtl8192cu and see if I can come up with a better way to work around that problem.

Might be useful to take a look for the referenced article on burp from http://cybergibbons.com/security-2/quick-and-easy-fake-wifi-access-point-in-kali/ once I get hostapd on solid footing on its own (which is getting closer).

Additional Links

Be the first to comment
   

Folding rolling work table

Posted November 22, 2016 By Landis V

Definitely need to build something like this.

AW Extra 4/5/12 – Folding Table Base

 

Be the first to comment