freebsd

setting up new install

  • update
    freebsd-update fetch install
  • install package manager
    pkg update

check memory

dmesg | grep -i memory
  • colemak ergonomic alt (colemak.acc.kbd) keymap
  • add user to wheel group to be able to su

post install

su
pkg update
pkg install sudo xorg herbstluftwm rxvt-unicode vim git zsh tmux stow unclutter xcape xbindkeys keychain dmenu bash
# edit sudoers to allow wheel group
# g clone tamzen font - follow readme for install
unlink ~/.xserverrc
sudo ln -s /usr/local/bin/zsh /usr/bin/zsh
sudo chsh pyratebeard
	shell > /usr/local/bin/zsh

wifi config

sudo su -
sysctl net.wlan.devices  # check device id
vi /etc/wpa_supplicant.conf
	network={
		ssid="ssid"
		psk="passwd"
	}
vi /etc/rc.conf
	wlans_ath0="wlan0"
	ifconfig_wlan0="WPA SYNCDHCP"
vi /boot/loader.conf
	if_ath_load="YES"
	wlan_ccmp_load="YES"
	wlan_tkip_load="YES"
reboot
ifconfig wlan0 create wlandev <device_id>
ifconfig wlan0 up scan
service netif restart

in vm

  • set virt-manager video to VGA for full res
  • remove 'tablet' device so mouse capture works

devices

  • list devices
    geom disk list
    geom part list
    camcontrol devlist