Skip to content
  • FreeBSD pkgbase Minor Upgrades

    FreeBSD freebsd pkgbase
    6
    0 Votes
    6 Posts
    38 Views
    CiotBSDC
    @grahamperrin said: I guess, you're quoting vermaden. "Y, sir, Y!" I changed on my first post!
  • FreeBSD - a lesson in poor defaults

    FreeBSD freebsd security hardening
    6
    -1 Votes
    6 Posts
    200 Views
    CiotBSDC
    No problem with the vote @grahamperrin said: For what it's worth, I think: don't delete it from BSD Cafe Billboard. It's good to raise awareness of the reputation. I hadn't thought of it that way. Interesting!
  • Seems appropiate.

    World freebsd xfce koss thinkpad
    1
    1
    0 Votes
    1 Posts
    0 Views
    mjack@mastodon.bsd.cafeM
    Seems appropiate.#freebsd #xfce #koss #thinkpad
  • 0 Votes
    11 Posts
    0 Views
    stefano@mastodon.bsd.cafeS
    @pertho it usually does and yes, double writes are bad there.
  • wrote a quick thing to answer an IRC question:

    World freebsd
    2
    0 Votes
    2 Posts
    0 Views
    omar@mastodon.bsd.cafeO
    @lw that's a great trick. Thanks Mary.
  • 0 Votes
    1 Posts
    0 Views
    bsd_nl@mastodon.bsd.cafeB
    BSD-NL Conference - Early 2026 is over, already... We would like to thank all the attendees who made time to visit us in Utrecht.And of course our wonderful speakers: https://exquisite.tube/w/38gDYhMNTNZimk3GcFnHNa https://events.bsdnl.nl/early2026/talk/W9P9RT/ Let's find out how to get predictable IPv6 addresses assigned to OpenBSD VMsby Florian Obser https://exquisite.tube/w/dkV6kWiT9sp2y6xVwkH1iF https://events.bsdnl.nl/early2026/talk/BGGPZQ/ On DOS, floppies, NetBSD and nostalgiaby Eirik ØverbyYou can see older videos at: https://exquisite.tube/c/bsdnlconference/videosSee you next time!#BSDNL #RUNBSD #BSD #OpenBSD #FreeBSD #NetBSD #HardenedBSD #SecBSD #DragonflyBSD
  • 0 Votes
    3 Posts
    0 Views
    patpro@social.patpro.netP
    @mjack did you give Plasma + X11 a try?
  • 0 Votes
    5 Posts
    0 Views
    kdedude@kde.socialK
    @bsd_nl Three things I'd like to give a talking-and-walking group for: Coordinating GnuPG, How mt76 WiFi, Desktop Bits
  • 0 Votes
    2 Posts
    0 Views
    patpro@social.patpro.netP
    @BastilleBSD seems good, from here: https://dnsviz.net/d/vuxml.freebsd.org/dnssec/ (just a protocol error)But the final destination web.geo.freebsd.org is not secure.
  • 0 Votes
    1 Posts
    0 Views
    bastillebsd@fosstodon.orgB
    I got an email yesterday from my VPS hosting provider recommending I patch the #copyfail vulnerability in my "Linux" distribution.I use #FreeBSD everywhere, but thanks.Good luck to everyone still patching.
  • 0 Votes
    4 Posts
    0 Views
    stefano@mastodon.bsd.cafeS
    @meena uhm it seems that increasing the VM ram from 1G to 2G solves the problem.
  • Happy Friday #FreeBSD

    World freebsd
    1
    0 Votes
    1 Posts
    0 Views
    bastillebsd@fosstodon.orgB
    Happy Friday #FreeBSD
  • 0 Votes
    22 Posts
    0 Views
    alfonsosiciliano@mastodon.bsd.cafeA
    @goaserer I think the file is: https://github.com/eggert/tz/blob/main/backwardIt can be an interesting solution, I did not know the double timezone for Kyiv. Surely to evaluate in the future. @kirjoittaessani pointed out an interesting case for keeping Busingen:"It can -- at least theoretically -- still be relevant: if you calculate time differences involving a date that falls inside the period where time differed from the rest of Germany, the result wouldn't be correct." Cit.
  • 0 Votes
    3 Posts
    0 Views
    justine@snac.smithies.me.ukJ
    I like FreeBSD and it was my first venture into the world of BSD. But currently I am planning a possible move to total OpenBSD.
  • 1 Votes
    1 Posts
    22 Views
    CiotBSDC
    See: https://www.rubenerd.au/bsd-bottles-of-water-and-positive-habits/
  • 0 Votes
    1 Posts
    0 Views
    freebsdfoundation@mastodon.socialF
    Thank you to Paweł Dawidek and the Fudo Security team for highlighting how they use FreeBSD’s isolation primitives in their security architecture. It’s encouraging to see organizations building enterprise security solutions on top of these primitives and applying them in real-world deployments.#FreeBSD #OpenSource #CyberSecurity #EnterpriseSecurity
  • FreeBSD: After the First Boot

    FreeBSD freebsd install after
    2
    2 Votes
    2 Posts
    35 Views
    CiotBSDC
    See: https://www.dwarmstrong.org/freebsd-after-install/ ping: https://framapiaf.org/@dwarmstrong@fosstodon.org/116530466697991937
  • 0 Votes
    3 Posts
    0 Views
    stefano@mastodon.bsd.cafeS
    @dvl great. Thanks, Dan!
  • 0 Votes
    1 Posts
    0 Views
    itnotes@snac.it-notes.dragas.netI
    Monitor your devices with LibreNMS on FreeBSDLibreNMS (https://www.librenms.org) has been a faithful companion for years now. It quietly handles the monitoring of my servers, devices, and services without demanding much in return - exactly what you want from a tool whose job is to watch over everything else. It's a solid alternative to heavier solutions like Zabbix, and it gives you alerts, data, and graphs on virtually anything reachable over SNMP.I usually install it on a host that is not reachable from the outside, then let it poll all the devices through a VPN: a single observation point, clean perimeter. The ability to create multiple dashboards - and to filter them by user - has also let me give clients a transparent window onto their own servers. Transparency, in my experience, is always the better long-term bet.Together with Uptime-Kuma (https://it-notes.dragas.net/2024/07/22/install-uptime-kuma-freebsd-jail/) (and the good old Nagios/Munin pair), LibreNMS lives in a FreeBSD jail on my monitoring servers and just does its job.This post walks through a plain installation of LibreNMS on FreeBSD: package-based, no reverse proxy, no HTTPS, no fancy hardening. The goal is to get to a working setup you can build on top of.AssumptionsFreeBSD 15.0-RELEASE, in a jail or on a dedicated VM/hostnginx + php-fpm + MySQL 8.4LibreNMS installed from the official package — not via git cloneOne note before we start: in this guide I use plain HTTP just to reach the first-time setup. If your LibreNMS instance won't stay confined to a private network or behind a VPN, configuring HTTPS is mandatory, not optional.Installationpkg install librenms mysql84-server python3 nginxLibreNMS currently depends on PHP 8.4. If you want to speed PHP up, install OPcache too:pkg install php84-opcacheMySQLTwo settings need to be in place before MySQL starts for the first time. After the first start they cannot be changed without reinitializing the data directory, so it's worth getting them right now.cd /usr/local/etc/mysqlcp my.cnf.sample my.cnfIn the [mysqld] section, add:innodb_file_per_table=1lower_case_table_names=0Now start MySQL:service mysql-server enableservice mysql-server startOn a fresh FreeBSD install, the local root user can connect to MySQL without a password from the command line. Connect and create the database and user. I'm using password here as a placeholder - don't.mysqlCREATE DATABASE librenms CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;CREATE USER 'librenms'@'localhost' IDENTIFIED BY 'password';GRANT ALL PRIVILEGES ON librenms.* TO 'librenms'@'localhost';exitphp-fpmEdit /usr/local/etc/php-fpm.d/www.conf and adjust the listen directives:listen = /var/run/php-fpm-librenms.socklisten.owner = wwwlisten.group = wwwlisten.mode = 0660Then create php.ini from the production sample:cd /usr/local/etccp php.ini-production php.iniAnd set the timezone in php.ini:date.timezone = Europe/RomenginxSince this jail (or host) is dedicated to LibreNMS, we can rewrite the server block in /usr/local/etc/nginx/nginx.conf directly:server { listen 80; #server_name yourServerName root /usr/local/www/librenms/html; index index.php; charset utf-8; gzip on; gzip_types text/css application/javascript text/javascript application/x-javascript image/svg+xml text/plain text/xsd text/xsl text/xml image/x-icon; location / { try_files $uri $uri/ /index.php?$query_string; } location /api/v0 { try_files $uri $uri/ /api_v0.php?$query_string; } location ~ \.php$ { fastcgi_split_path_info ^(.+\.php)(/.*)$; set $path_info $fastcgi_path_info; try_files $fastcgi_script_name =404; include fastcgi_params; fastcgi_param SERVER_SOFTWARE ""; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; fastcgi_param PATH_INFO $path_info; fastcgi_index index.php; fastcgi_pass unix:/var/run/php-fpm-librenms.sock; fastcgi_buffers 256 4k; fastcgi_intercept_errors on; fastcgi_read_timeout 14400; } location ~ /\.(?!well-known).* { deny all; }}Now start nginx and php-fpm:service nginx enableservice nginx startservice php_fpm enableservice php_fpm startLibreNMS configurationCopy the default config:cp /usr/local/www/librenms/config.php.default /usr/local/www/librenms/config.phpBecause we installed from the package, this file already has the right commands and paths for FreeBSD - no need to hunt down mtr, fping, snmpwalk and friends one by one.Create the directory for RRD graphs and set ownership:mkdir -p /var/db/librenms/rrdchown -R www:www /var/db/librenmschmod 775 /var/db/librenms/rrdThen the .env file:cd /usr/local/www/librenmscp .env.example .envchown www .envEdit .env and set at least:DB_DATABASE - librenmsDB_USERNAME - librenmsDB_PASSWORD - the one you actually used (not password, please)Then add this line, which tells LibreNMS we still need to run the web installer:INSTALL=trueA note on permissions. The official LibreNMS documentation suggests chown -R www:www over the entire application tree, but on FreeBSD the package already lays down sane ownership, with storage/ and bootstrap/cache/ writable by www. There's no reason to widen the rest of the codebase. If validate.php complains later about something write-related, the first place to check is:ls -la /usr/local/www/librenms/storage /usr/local/www/librenms/bootstrap/cacheNow generate the app key as www, since the file is owned by www:su -m www -c "php artisan key:generate"And tighten .env:chmod 600 .envRefresh the configuration cache:su -m www -c "lnms config:clear"su -m www -c "lnms config:cache"Web installerOpen http://host/install and follow the steps. The validation process may fail. Refreshing the cache picks up the values written to config.php during the install:su -m www -c "lnms config:clear"su -m www -c "lnms config:cache"When the web installer is done, edit .env again and remove the INSTALL=true line if it's still there. Leaving it in place re-exposes the installer to anyone who can reach the URL.Polling serviceLibreNMS needs something to actually run the polls. On FreeBSD, the package ships an rc service that runs the LibreNMS dispatcher, so there's no need to manage cron entries by hand the way most Linux guides assume.service librenms enableservice librenms startValidatecd /usr/local/www/librenmssu -m www -c './validate.php'You may see a couple of complaints right after starting the service - usually scheduler-related and self-resolving within a few minutes. Re-run validate.php once the dispatcher has had time to settle. Anything still red after that is worth investigating.Next stepsAt this point you can log into the web interface and start adding devices, configuring SNMP, and building dashboards. For that, the official LibreNMS documentation (https://docs.librenms.org/) is excellent, and there's no point in me paraphrasing it here.https://it-notes.dragas.net/2026/05/07/monitor-your-services-with-librenms-on-freebsd/#ITNotes #NoteHUB #freebsd #hosting #jail #monitoring #networking #ownyourdata #security #server #tutorial
  • Updated post!

    World freebsd runbsd fishshell
    1
    0 Votes
    1 Posts
    0 Views
    dwarmstrong@fosstodon.orgD
    Updated post!I added a note about switching the user shell from 'sh' to 'fish'.https://www.dwarmstrong.org/freebsd-after-install/#FreeBSD #RunBSD #FishShell