Tag: freebsd

  • Managing user groups on FreeBSD

    Group creationpw groupadd name-of-group To add users to grouppw groupmod name-of-group -m username1,username2,…,usernameNNOTE: usernames in list are separated only by comma, you can’t add space too.

  • How to prevent driver from attaching to hardware in FreeBSD

    Add something along the lines hint.hdac.0.disabled=1 to the /boot/loader.conf hdac being hardware you want to prevent driver from attaching to, 0 being its unit.

  • How to make Compiz play nice with Nvidia

    After you update your OS and you forgot about this little quirk edit /usr/local/bin/compiz-manager and change line sayingINDIRECT=”no”toINDIRECT=”yes” UPDATE (2014-11-15):Apparently this also depends on nvidia driver, so I am trying to keep the list of those I know work correctly, and those I know don’t work correctly. Working: 331.67, 331.113Not working: 340.46, 343.22 (works most…

  • Keeping FreeBSD ports secure and up to date

  • IPsec based VPN using FreeBSD

    Since I wasn’t really able to find information how to set this up on one place here is short recipe. Prerequisites: After this some introduction to entire problem comes handy. Most important thing to understand here is how IPsec actually works within operating system – you can get some help here from setkey (8) with…

  • How to create pdfs from man pages

    man -t page_name | ps2pdf – page_name.pdf Sometimes this pdf actually looses some formatting (I don’t have any idea why), so it might make more sense to create plain ps fileman -t page_name > page_name.ps Note: You might want to change page size in /usr/share/groff_font/devps/DESC (by default it is set to letter there)