Category: Embedded Systems

  • Steg 1: Uppgradering av högtalarelement i befintlig låda.

    Högtalarlåda: Dimensioner för lådan: Namn Mått (cm) Bashål 8” Lilla diskanten 7,5 ; 0,7 kant Stora diskanten 9,7 ; 1 kant Höjden 49,5 Bredden 24,5 Djupet 30 Volymen: H[dm]*B[dm]*D[dm] = dm^3 4,95*2,45*3,0 = 36.3825 liter. (yttermått räknat)

  • A new project idea: IoT sync

    I’ve created a program for handling data for IoT devices. It is php-based and uses mysql, ssh and rsync.

  • OpenBSD – easier management

  • EUMT – Easier Unix Management Tool

    I recently started a new project and published it as an BSD licence in github. The link is here

  • netgear router, no internet – reboot.

    Script to check if the netgear router is working: [root@srv01 ~]# crontab -l #starta om netgear router om det är problems */15 * * * * /opt/scripts/ >> /dev/null 2>&1 #!/bin/bash ping -c2 if [[ $? -gt 0 ]]; then URL=$(curl -u USERNAME:PASSWORD “” 2>&1 | grep ‘method=”POST”‘ | awk {‘print $4’} | grep…

  • Projectcourse first year.

    The Project that the group has been working on is finally over and here is the results:

  • Back to OpenBSD

    I reinstalled my harddrive and installed OpenBSD once again. After that I noticed that OpenBSD now supports tmpfs, so i mounted tmp and .cache directory in ram instead: $ cat /etc/fstab c62268885862ee35.b none swap sw c62268885862ee35.a / ffs rw 1 1 c62268885862ee35.g /home ffs rw,nodev,nosuid,noatime 1 2 #c62268885862ee35.d /tmp ffs rw,nodev,nosuid,noatime 1 2 c62268885862ee35.f /usr…

  • Wpa_supplicant + FreeBSD + Eduroam

    Download this: Edit wpa_supplicant.conf: network={ ssid=”eduroam” key_mgmt=WPA-EAP IEEE8021X eap=TTLS identity=”” anonymous_identity=”” password=”password” ca_cert=”/usr/local/share/certs/eduroam.pem” phase2=”auth=PAP” }

  • Code for the project presentation

    Code for the project presentation: #include <stdio.h> #include <stdlib.h> #include <string.h> #include <time.h> #include <unistd.h> #define TEXTER 4 char texten[TEXTER][255] = { “Wake up, Matrix…”, “They are coming…”, “Follow the room edges…”, “Knock knock Matrix…” }; int main(void){ int i,j = 0; for(i=0;i < TEXTER;i++) { j = 0; while(texten[i][j] != 0) { printf(“%c”, texten[i][j]);…

  • OpenBSD gone, FreeBSD is my new laptop OS

    I left the OpenBSD as a laptop project and installed FreeBSD instead. The main thing that made me install FreeBSD instead of keep using OpenBSD is that i couldn’t use Matlab (this is used in my education) and Mplabx (which I use for programming PIC ciruits). I installed virtualbox and installed ubuntu, and from there…