If running on nixos setup, use Network Manager to set this up.
- Configure raspberry pi boot and config parameters to enable network over USB.
- On network detection (with
nmcli
), edit the connection and change the configuration for IPv4 and IPv6 toLink-Local
. This should properly setup and connect the Pi. If it doesn't try plug-out and in again or google it. - If not already, edit configuration.nix and add the avahi service (check the client section here for instructions: https://nixos.wiki/wiki/Printing)
pdftk input.pdf cat 10-12 output output.pdf
creates a new pdf output.pdf
with pages 10, 11 & 12 from input.pdf
.