What is masquerade?
Archiv der Kategorie: Software
Copy image to sd card – loxberry
sudo dd if=/media/blabla/Daten/loxberry-ddz-backup-20220208-140111/loxberry-ddz-backup-20220208-140111.img of=/dev/sdd bs=1M status=progress
Loxberry Backup only used partitions
add DEFAULT_DD_BACKUP_SAVE_USED_PARTITIONS_ONLY=1 in /usr/local/etc/raspiBackup.conf
InfluxDB uselful queries
Show all available databasesshow databases
Use a database e.g mydbuse mydb
Show available fields and their type of a a databaseshow field keys
Show series where xyzshow series where "powermeter" = 'xyzzz'
Calculate difference between the two latest values of two daysSELECT difference(last(total_kWh)) FROM power_total WHERE time >0 AND "powerMeter" = 'xyz' GROUP BY time(1d)
Select the latest entries from a field within a timespan of 2 daysselect * from inputs WHERE time >= now() -2d
select * from inputs WHERE time >= now - 10m
Write measurement / series in database. Select database first. Tag Keys are not requiredINSERT TheMeasurement value=10
Select last 10 entriesSELECT * FROM measurement ORDER BY desc LIMIT 10
Rename measurement. Not supported by influx. Copy into a new one is they way. To preserve tags, use group by *SELECT * INTO DestMeasurementCopy from SrcMeasurement GROUP BY *
DROP MEASUREMENT SrcMeasurement
Drop a measurementDROP MEASUREMENT measurement_name
Grant user all rights on databaseGRANT ALL ON "powermeter" to "myUser"
Grant user read rights on databaseGRANT READ ON "powermeter" to "myGrafanaUser"
Show rights of a userSHOW GRANTS for myUser
Create user with passwordCREATE USER "myUser" WITH PASSWORD thepassword
Create user with all privilegesCREATE USER admin WITH PASSWORD mypw WITH ALL PRIVILEGES
Show all usersSHOW USERS
Create a databaseCREATE DATABASE powermeter
Delete databaseDROP DATABASE myDatabase
Create guest Wi-fi with a VLAN & useful Ubiquiti links
KODI / OSMC view logs
View logs in :
tail -F /home/osmc/.kodi/temp/kodi.log
Previous log:
cat /home/osmc/.kodi/temp/kodi.old.log
OR:
sudo journalctl
logs since boot:
sudo journalctl -b
filtering for a specific service:
journalctl -u nginx.service
Restart kodi:
systemctl restart kodi
[Ubuntu] Switch WiFi AP within same SSID
Kurzmitteilung
$ nmcli -f BSSID,ACTIVE,SSID dev wifi list
Choose from the list of displayed WiFis
$ nmcli d wifi connect 02:40:FC:13:55:B1
Maybe you have to enter your WiFi password now.
Windows 8.1 – Hardware wird nicht unterstützt
Kurzmitteilung
Wer das Problem unter Windows 7 / Windows 8.1 hat, dass Windows Update meldet „Hardware wird nicht unterstützt“ kann sich mit diesem Tool hier Abhilfe schaffen:
https://github.com/zeffy/wufuc
Der Grund für diese Meldung ist, dass Kaby Lake bzw. Ryzen Prozessoren nur noch von Windows 10 komplett unterstützt werden. Windows 7 und Windows 8.1 funktionieren mit dieser neuesten Prozessorgeneration zwar auch ganz normal weiter, sie können aber nicht den vollen Befehlssatz der Prozessoren ansprechen.
Ubuntu 16.04 – auto mount smb share
Create a file where your smb credentials are stored. e.g.
touch /etc/samba/user sudo gedit /etc/samba/user
Enter your credentials like this:
username=samba_user password=samba_user_password
create the directory where you want your smb share should be mounted
sudo mkdir /media/smb_share
edit your fstab to auto-mount your smb share
sudo gedit /etc/fstab
add a line like this:
//myserver_ip_address/folderToShare/ /media/smb_share/ cifs credentials=/etc/samba/user,noexec 0 0
Unfortunately the mount will fail, you have to install cifs-utils
sudo apt-get install cifs-utils
After that you can try the following command which should mount your smb share. If you don’t install cifs-utils, this command should fail.
sudo mount /media/smb_share
Outlook 2016 – Posteingang IMAP keine Mails
Lösung – der Stammordnerpfad mus bei den Kontoeinstellungen angegeben werden:
Datei -> Kontoeinstellungen -> Kontoeinstellungen -> Reiter „E-Mail“ wählen -> Konto auswählen -> auf „Ändern“ klicken -> auf „Weitere Einstellungen“ klicken -> Reiter „Erweitert“ wählen -> Im Feld „Stammordnerpfad“ wird INBOX eingetragen -> „OK“ klicken -> „Weiter“ klicken -> „Schließen“ klicken -> „Fertig stellen“ klicken -> „Schließen“ klicken
Danach sollte es funktionieren ……….
Quelle:
https://answers.microsoft.com/de-de/office/forum/office_365hp-outlook/posteingang-von-outlook-2016-zeigt-keine-emails-an/b93de65e-ea9e-4c6d-8b11-d87905435e74?auth=1