Bipolar disorder and psychotic disorder

My post of last night got me thinking. My first intention of this blog was posting some technical stuff. As I am not the greatest programmer / system administrator / IT guru this world has to offer, this would be more of a notes-to-self endeavor than anything else.
On the other hand I have been struggling with “mental illness” most of my adult life. This subject is shunned and frowned upon a lot. But this is something I’m learning to deal with more and more. My personal journey and daily struggles could be a lot more interesting to a reader.
So I decided to focus my posts on this topic. I will be talking about medication, mental health care, ways I try to cope. Success and failure. That kind of stuff. Hope some one could one day benefit from my story. To be continued!

Outlook app on android – Why does microsoft need my imap credentials?

I had added a new imap account to my mailserver and I had bought a new phone. This phone (motorola g5s) comes pre-installed with the Outlook app made by microsoft as an email client.
As I am lazy by nature I did not want to install an extra email client, so I decided to add my imap account to the Outlook app. Checking the logs of my mailserver, I saw an incoming connection that was authenticating succesfully using my credentials. But the connection did not originate from my IP! I was using the ip address and the client connected from!

Microsoft is playing man in the middle and thus has acccess to all my mail in the imap account!

Nice one Microsoft. From now on I am only using Outlook for Microsoft mail accounts, as they have my authentication data for these already…..

Using virt-install / virsh without vnc

This is my first post. I’ve started tinkering with computers again and I will drop a line here every now and then about something I find useful (even if you may think it is not 🙂 ).

I have been using KVM for a while now and mostly install virtual machines using virt-install, activating VNC, completing the installation that way.
Getting bored with always using a vnc client / virt-manager I decided to try it another way.
The tricky part was passing the console=ttyS0 to the kernel. When you use a networkinstall (using the -l switch in virt-install) you can specify extra arguments (using -x). As I am using netinstalls mostly, this is no problem for me.
For Ubuntu/Debian this results in:

virt-install -n <domain name> -r <ram in megabytes> -l < network mirror, e.g.:> –disk <disk,options> -w <network, options> –nographics -x “console=ttyS0”

This will let you install on a serial console.

During installation I enable ssh.

Post installation, log in with ssh, edit /etc/default/grub to include GRUB_CMDLINE_LINUX=”console=ttyS0″ and run update-grub.

Further more run:

systemctl enable serial-getty@ttyS0.service
systemctl start serial-getty@ttyS0.service

To enable the serial console getty service in systemd and start it right away.

Voila! virsh console works. No more VNC.

Now you can virsh console <domain>.