

Open the Command Prompt (finnish: "Komentorivi") and type " ipconfig", then press Enter.Ġ.2) the MAC address of the Windows machine Select the "Support" tab (finnish: "Tuki") Right-click on the LAN connection icon on system tray and choose "Status" (finnish: "Tila") I don't want to use two keyboards and two mice, or even crouch to reach a power switch to get my poker fix.Ġ) Assume that the PC and the Mac are already connected to each other and everything is working dandily, and gather some information:Ġ.1) the IP address on the Windows machine To a place where it will serve the humanity better months ago and now have ZERO [Update Mon Oct 1 02:46:26 EEST 2012 - sold my Pentium 4 There is a browser-based flash poker, but it is excruciatingly slow and awkward to use. I use it only to play online poker, since Ray has a poker client only for Windows, and it does not work well with Wine. Internet Sharing is used to share the connection to the LAN.Ģ) a Windows XP pc, usually in sleep mode. It is connected to the Internet using a usb 3g modem. I have two computers on my local area network:ġ) a Mac mini with Mac OS 10.4 (Tiger). Add this line last in the file: hass ALL=NOPASSWD:/usr/sbin/pm-suspend, where you replace hass with the name of your user on the target, if different, and /usr/sbin/pm-suspend with the command of your choice, if different.The Quick and Dirty Wake-On-Lan+VNC Setup On the target, using an account with sudo access (typically your main account), sudo visudo.On my system, this is /usr/sbin/pm-suspend. First, get the full path: which pm-suspend. Here is it pm-suspend, use poweroff to turn off the computer. On the target, we need to let the hass user execute the program needed to suspend/shut down the target computer.On the server, verify that you can reach your target machine without password by ssh TARGET.Enter the password you created in step 3. On the server, transfer your public SSH key by ssh-copy-id where TARGET is your target machine’s name or IP address.If you do, you can leave out in the SSH commands below. It’s recommended using the same user name as on the server. Just press enter on all questions except password. On the target, create a new account that Home Assistant can ssh into: sudo adduser hass.On the server, create SSH keys by running ssh-keygen.On the server, log in as the user account Home Assistant is running under.Suggested recipe for letting the turn_off script suspend a Linux computer (the target)įrom Home Assistant running on another Linux computer (the server). Here are some real-life examples of how to use the turn_off variable.
