Skip to content

Instantly share code, notes, and snippets.

@mably
Last active August 29, 2015 14:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mably/ae7b3937681eed05091f to your computer and use it in GitHub Desktop.
Save mably/ae7b3937681eed05091f to your computer and use it in GitHub Desktop.
running ppcd on peerbox kvm
peerbox default credentials: sunny/peerbox.me
keyboard config (if needed):
temporary: sudo loadkeys <keymap>
permanent: sudo localectl set-keymap --no-convert <keymap>
https://wiki.archlinux.org/index.php/Keyboard_configuration_in_console#Persistent_configuration
<keymap> is usually a 2-letter country code (ex: fr)
install ppcd: sudo pacman -Sy ppcd
start ppcd: sudo systemctl start ppcd
to run it automatically:
sudo systemctl disable ppcoind
sudo systemctl enable ppcd
to check the logs: sudo systemctl status -l ppcd
install ppcctl: sudo pacman -Sy ppcctl
use ppcctl: ppcctl --rpcserver localhost:9902 --rpcuser=ppcd --rpcpass=ppcd -c /etc/ppcd/rpc.cert getinfo
@mably
Copy link
Author

mably commented Dec 20, 2014

In case of network problem you can check that dhcp is activated:

dhcp config: sudo dhcpcd [your network interface]

getting network interface: sudo ip link

@mably
Copy link
Author

mably commented Dec 21, 2014

In case of network problem you can also try to deactivate temporarily iptables:

sudo systemctl stop iptables

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment