Wednesday, August 22, 2018

Transfer contacts from iPhone to Android locally, without a cloud

Note to self, next time I manage to convert someone from iOS to Android, this is how it’s done:

Sync iPhone to a Mac through iTunes
- On Info tab, select “sync contacts”
- (Optionally sync contacts to a specific addressbook folder)

Export contacts to a vCard file
- Open Address Book
- Select all contacts (in a folder)
- Drag them into desktop
- FooBar and 100 others.vcf file gets created

Import vCard into Android
- In Bluetooth preferences on Mac, pair with the Android device
- From Bluetooth menu on the Mac, select the Android phone, “Send file to device…”
- Select the vcf file created
- On the Android phone, accept the file transfer and import to contacts



Sunday, February 18, 2018

Enable Wake on lan on Ubuntu

Note to self, next time I'm wondering why WOL doesn't work with Ubuntu.

Enable it the convoluted ways of NetworkManager. What was wrong with /etc/network/interfaces?

  nmcli connection show 
  sudo nmcli connection modify 802-3-ethernet.wake-on-lan magic

Make sure some over-zealous daemon does not thwart your efforts and shut down your NIC on suspend.

  sudo sed -i.bak -e 's/^WOL_DISABLE=Y/WOL_DISABLE=N/'

Reboot and confirm the settings are good

  sudo ethtool | grep "Wake-on"
Supports Wake-on: pumbg
Wake-on: g

Suspend your Ubuntu

  sudo pm-suspend

Double check the link led is on.

Set up and run a client on your favorite OS


  sudo port install wakeonlan

  wakeonlan