Tag: freebsd

  • Using efibootmgr on FreeBSD

    It seems to work, with the exception that -l switch expects path prefixed with device (for example -l nvd0p1:/efi/boot/bootx64.efi)

  • How to perform freebsd-update from STABLE

    Sometimes freebsd-update doesn’t want to update from -STABLE system. Error received would be Looking up update.FreeBSD.org mirrors… 3 mirrors found.Fetching public key from update1.freebsd.org… failed.Fetching public key from update2.freebsd.org… failed.Fetching public key from dualstack.aws.update.freebsd.org… failed.No mirrors remaining, giving up. Way to fix this error is to force freebsd-update to treat -STABLE the same way as…

  • Record screen capture with audio in FreeBSD with ffmpeg

    This command can be used: ffmpeg -video_size 1920×1080 -framerate 25 -f x11grab -i :0.0+0,0 -f oss -i /dev/dsp5.0 -filter:a “asetpts=N/SR/TB” output.mp4 Command above assumes that microphone is at /dev/dsp5.0 (you can check that with cat /dev/sndstat), and you can adjust microphone volume with mixer -f /dev/mixer5 mic 100.

  • How to show hardware information in FreeBSD

    Use dmidecode (It is in /usr/ports/sysutils/dmidecode).

  • Using Android phone for network access on FreeBSD

    Simply load urndis module# kldload urndisConnect mobile phone using USB cable with FreeBSD machine. On phone choose “USB tethering” for USB. On FreeBSD machine there should appear new network device ue0 or something similarly named. You can use for example dhclient ue0 to pull IP address for that device and then you can configure routing…

  • Compiling mono 6 on FreeBSD 12

    Steps: There might be complaint about missing python or python3 but that should be resolved by proper symlinking in /usr/local/bin. gmake check can be used to run tests, gmake install to install mono. Might make sense to install gnome-sharp and gtk-sharp after installing mono. This works for my FreeBSD 11 This works for my FreeBSD…