Surveillance Cameras

A problem is that nearly all new IP Cameras try to sell a cloud service to get the bought functionality.

My old foscam outdoor is nearly inaccessible from a web browser after the latest update.

I now use motioneyeos on a raspi and/or the synology surv.station to manage the cameras instead of the expensive cloud or instead of multiple apps on my phone.

I had some trouble to send e-mails via smtp.

smtp.gmail.com

SSL Port 465 TLS Port 25 or 587

The solution is to go to your google account, security and allow not so secure apps. Done.

3D Printing

After printing my lensboards, lenscaps and other needed items my craftbot printer sadly died on me.

The new one is a Anycubic Vyper which is printing really nice.

For my rather simple needs I construct with Openascad and slice with Cura.

Updating the vyper was fairly easy, you first update the mainboard with inserting the sd card.

But than (!) you update the display with a micro sd card. This card only works if it is fat32 4096 bit formatted, I used an old 8Gb card.

Pico_ducky „bad usb“

A fast and convenient way to automate some tasks is to create an „bad usb“ working as a HID (human interface device), typing in commands for you. eg. doing a backup or starting apps you need.

I did this on an rapberry pico.

Step 1:

  • Download CircuitPython
  • Plug your raspberry pi pico in
  • Copy & paste the downloaded .uf2 in the raspberry pi pico.
  • Unplug and plug your raspberry pi pico

Now your Raspberry pi pico will be the CircuitPython.

Step 2:

Step 3:

  • Delete the code.py file from raspberry pi pico.
  • Download the python file which will convert our payload. File Download Link ⇒ pico-ducky
  • Open the folder and copy & paste the duckyinpython.py file to the raspi pico.
  • Rename the duckyinpython.py file to the code.py.

OK, now load a payload on the raspi and watch.

But: it works as an englisah (US) HID, on a german language PC it will not work.

So I did this:

Go to the latest release page, look if your language is in the list.

Download the py zip, named circuitpython-keyboard-layouts-py-XXXXXXXX.zip

Find your language/layout in the lib directory

For a language de, copy the following files from the zip’s lib folder to the lib directory of the board.
DO NOT modify the adafruit_hid directory. Your files go directly in lib.
DO NOT change the names or extensions of the files. Just pick the right ones.
Replace LANG with the letters for your language of choice.

  • keyboard_layout.py
  • keyboard_layout_win_de.py
  • keycode_win_de.py

Modify the pico-ducky.py (later) code.py on the pi to use your language file:

At the start of the code.py replace these lines:

from adafruit_hid.keyboard_layout_us import KeyboardLayoutUS
from adafruit_hid.keycode import Keycode

With this lines:

from keyboard_layout_win_de import KeyboardLayout
from keycode_win_de import Keycode

And also replace this line:

layout = KeyboardLayoutUS(kbd)

With this line:

layout = KeyboardLayout(kbd)

Now — you have a ducky for a german pc…

Macbook air 2016 with Linux

I read a lot about wifi problems or mousepad problems installing linux on mac hardware and thze possible workarounds.

Now I tried a life distro of Kali, it worked out of the box.

Than I burnt the kali regular distro on a usb stick and ran the installer.

Absolutely no problems, mousepad, wifi, display resolution working flawless.

Ubuntu is also running without any problems and without workarounds.

I use it primarily for network analysis,

but also to work on photos with Darktable or Gimp.