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/reboot.sh >> /dev/null 2>&1 #!/bin/bash ping 8.8.8.8 -c2 if [[ $? -gt 0 ]]; then URL=$(curl -u USERNAME:PASSWORD “http://192.168.1.1/LAN_lan.htm” 2>&1 | grep ‘method=”POST”‘ | awk {‘print $4’} | grep…
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: http://www.lan.kth.se/eduroam/AddTrust_External_CA_Root.pem Edit wpa_supplicant.conf: network={ ssid=”eduroam” key_mgmt=WPA-EAP IEEE8021X eap=TTLS identity=”username@kth.se” anonymous_identity=”username@kth.se” password=”password” ca_cert=”/usr/local/share/certs/eduroam.pem” phase2=”auth=PAP” }

