http://lifehacker.com/linux-security-distros-compared-tails-vs-kali-vs-qub-1658139404
Category Archives: Machine
Technology stream. IT and other technical aritcles.
Secure Messaging Scorecard | Electronic Frontier Foundation
Checklist for a functional Opo – OnePlus Forums
Just got my OPO… Some functional testing is in order:
https://forums.oneplus.net/threads/checklist-for-a-functional-opo.131994/
Tox: A New Kind of Instant Messaging
Digital Camera Resolution
Found myself resizing pictures recently, and guessing dimensions didn’t seem like fun. This article did help with that aspect:
http://www.bhphotovideo.com/FrameWork/charts/resolutionChartPopup.html
Now I’ve got photos downsized to 5mp:
$ convert foo.jpg -resize 2560×1920 foo_new.jpg
Cult of Android – What does your smartphone’s IP rating really mean? | Cult of Android
Boostraping FreeBSD pkgng non-interactively
Building ansible playbooks for freebsd setup I came to a roadblock – pkgng demands to be bootstrapped interactively. However looking at it’s source code I’ve found the backdoor:
ASSUME_ALWAYS_YES=yes pkg bootstrap -f
and I’ve got things rolling. Overall “ASSUME_ALWAYS_YES” seems to go further then some “-y” switches.
FreeBSD: Operation not permitted WTF
While setting up my FreeBSD box – I oopsed a bit and pointed make build world
to wrong directory. While trying to clean up I did:
# rm -rf /mnt/foo.oops
and all I got is a bunch of Operation not permitted
for certain files.
I did some digging and found that
# chflags -R noschg /mnt/foo
was the solution
Proper CWM flashing with fastboot
I got bitten more than once with device rooting recently with My Samsung Galaxy S4 and Nexus 7 (2013) and Nexus 10. The latter made me think that something is amiss and my recovery mode was botched. So I went looking just to stumble upon:
fastboot erase recovery fastboot erase system -w fastboot erase boot # Download latest twrp/cwm recovery # Check md5sum fastboot flash recovery nameofrecovery.img
UniFi AP setup
I have decided to try out UniFi AP for my home WiFi setup and either because of my “consumer-grade” switch etc. or some other reason I just couldn’t get it recognized on my “Controller” … so I had to look. Winning combination was:
- write down MAC of UniFi AP
- on my DHCP server track down UniFi AP’s acquired IP
- SSH into UniFi AP unit (factory defaults creds are ubnt/ubnt)
- start
mca-cli
- Issue command
set-inform http://controllerIP:8080/inform
- Adopt on controller (simple drop on the map is what worked for me)
- Reissue command –
set-inform http://controllerIP:8080/inform
- AP is adopted and workable now
As a side-note controller software that runs on Linux required some iptables mashing as well since I was using remote browser:
# firewall-cmd --zone=home --add-port 8080/tcp # firewall-cmd --zone=home --add-port 8443/tcp # firewall-cmd --zone=home --add-port 8880/tcp # firewall-cmd --zone=home --add-port 8843/tcp
This opens up ports only for the current session (runtime), after reboot those changes will be gone and if we need to retain them “–permanent” should be added and commands re-run.