This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This is a quick brain dump to hopefully help explain the other files here. | |
/etc/network/interfaces is from my working proxmox install with an overly complicated VLAN setup. All configuration is | |
based off a forum post by x307 which I have copied here for reference. | |
My server has 2 sets of NICs hooked up to 2 seperate switches, my main switch runs traffic for management, applications, | |
and general home devices. I have a seperate swtich for SAN and Corosync traffic. | |
eno1 & eno2 are onboard NICs that are teamed in a LAG to the main switch. Proxmox has an IP address on VLAN 10 for | |
management, VMs can then access VLANs 1, 10, 20 and 999 through the LAG as needed (home, management, applications and |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set powerOn to "/cgi-bin/power_on.cgi" | |
set powerOff to "/cgi-bin/power_off.cgi" | |
set shutterClose to "/cgi-bin/proj_ctl.cgi?key=shutter_on&lang=e&osd=on" | |
set shutterOpen to "/cgi-bin/proj_ctl.cgi?key=shutter_off&lang=e&osd=on" | |
set setSourceHDMI1 to "/cgi-bin/proj_ctl.cgi?key=hdmi&lang=e&osd=on" | |
set theServer to "192.168.0.100" -- set this to the ip address of the projector | |
set theCommand to powerOn --set the command required, option are, powerOn, powerOff, shutterClose, shutterOpen | |
set theUser to "dispadmin" | |
set thePass to "password" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/python3 | |
# | |
# spoke something on GoogleHome | |
# | |
# use: ./ghome_say [ghome_ip] [text_to_say] | |
# | |
# | |
import sys |