In this BSD Now episode, hosts Kris Moore and Allan Jude interview Jun Ebihara regarding lesser-known CPU architectures found in NetBSD. They discuss the interesting things about these older machines. Press play below to tune in:
This tutorial by user Rudraraj shows us how to get swap file added to FreeBSD 10.1.
In this post, we will see how to add swap file in FreeBSD 10.1. A swap area comes in handy if you are running a system with low memory. However, It is strongly recommended that you add up more physical memory (RAM) if possible. Because swapping degrades the system performance in the long run and also these days memory modules have become cheap so adding up memory should be the ideal choice.
1) Create the swap file:dd if=/dev/zero of=/usr/swap0 bs=1m count=1024
Here we have created a swap file of 1 GB size. we have defined block size (bs) as 1 MB, and count as 1024. So it is 1MBx1024 = 1024MB i.e; 1 GB
2) Set Correct Permission on the new swap file:
3) Make the swap file availability persistent across reboots by adding the following information in ‘/etc/fstab‘:md99 none swap sw,file=/usr/swap0,late 0 0
The md(4) device
md99is used, leaving lower device numbers available for interactive use. Please note the option ‘late‘ defined in the above ‘/etc/fstab‘ entry. This is done as a workaround to do away with a bug as reported here (https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195326).
4) Make the swap space available immediately:
5) Check the swap Information:# swapinfo -m Device 1M-blocks Used Avail Capacity /dev/md99 1024 0 1024 0%
Thats It…!!! We are done…!!!!
The developers of PC-BSD’s plans for version 10.2 and 11 are in effect. You can download the 10.2-PRE-RELEASE and 11.0-CURRENT images for testing below.
The PC-BSD project is pleased to announce the availability of two new testing images: 10.2-PRERELEASE and 11.0-CURRENTJULY2015.
WARNING: These images are considered “bleeding-edge” and should be treated as such.
The DVD/USB ISO files can now be downloaded from the following URLs:
This is a great way to test features and report bugs well before the release cycle begins for the next major releases.
To report bugs in PC-BSD, use https://bugs.pcbsd.org.
To report FreeBSD / Port / Kernel / World bugs, use https://bugs.freebsd.org/bugzilla/enter_bug.cgi.
To update from 10.1-RELEASE:
# pc-updatemanager chbranch 10.2-RELEASE
# pc-updatemanager chbranch 11.0-CURRENTJULY2015
This process will take a while, downloading new packages / world / kernel for the system. When done you can reboot, and the updater will finish up the update process.
The pkg-ng package manager has proven to be an effective and easy to use command-line package manager. It’s quick, it has simple syntax and it handles package dependencies well, so what’s not to like? Well, some people have suggested it would be nice if FreeBSD’s primary package manager had an optional graphical interface, something that made handling third-party software a point-n-click experience.
Developer Alexandre Albuquerque Arnt has taken on the challenge and ported the Octopi graphical package manager (popular amongst some Linux distributions) and made it work with pkg-ng. The result is OctoPkg, a simple, fast graphical package manager that can be used to install, upgrade and remove packages. OctoPkg will also fetch news from the operating system’s website to help keep the user abreast of security notifications and new releases. Arnt has screen shots of OctoPkg in action on his website.
People who want to test drive the new package manager can grab the latest source code from Arnt’s GitHub repository.
Intel has released the beta version of their C++ compiler for FreeBSD. Thanks to Kittur Ganesh (Intel) for informing us about this software.
Intel® System Studio (ISS) 2016 for FreeBSD* Beta provides a comprehensive embedded tool suite solution for developing, optimizing, tuning and deploying 64-bit system and application C, C++ code running natively on FreeBSD* host systems. This product release includes the following components:
- Intel® C++ Compiler 16.0 Beta for FreeBSD* systems
- Intel® VTune™ Amplifier 2016 Beta for Systems for FreeBSD* Targets
Refer to the link below for more details on the product and features thereof:
bsdtalk has uploaded a podcast, this one being an interview with Ken Worster. Thanks to Will Backman for providing us the audio file.
An interview with Ken Worster who is presenting on topics which include PFSense and FreeNAS in schools at the Technology Teacher ME conference in Bethel Maine.
File info: 14min, 6MB
FreeBSD has recently announced a “fix” for the recent leap second added to the Earth’s time. The following has been pulled from their official documentation.
A leap second is an ad-hoc one-second correction to synchronize atomic timescales with Earth rotation. This article describes how FreeBSD interacts with leap seconds.
As of this writing, the next leap second will occur at 2015-Jun-30 23:59:60 UTC. This leap second will occur during a business day for North and South America and the Asia/Pacific region.
The easiest way to handle leap seconds is with the POSIX time rules FreeBSD uses by default, combined with NTP. When ntpd(8) is running and the time is synchronized with upstream NTP servers that handle leap seconds correctly, the leap second will cause the system time to automatically repeat the last second of the day. No other adjustments are necessary.
If the upstream NTP servers do not handle leap seconds correctly, ntpd(8) will step the time by one second after the errant upstream server has noticed and stepped itself.
If NTP is not being used, manual adjustment of the system clock will be required after the leap second has passed.
- pfSense-SA-15_06.webgui: Multiple XSS Vulnerabilities in the pfSense WebGUI
- The complete list of affected pages and fields is large and all are listed in the linked SA.
- FreeBSD-SA-15:10.openssl: Multiple OpenSSL vulnerabilities (Including Logjam): CVE-2015-1788, CVE-2015-1789, CVE-2015-1790, CVE-2015-1791, CVE-2015-1792, CVE-2015-4000
Bug Fixes and Change List
As always, you can upgrade from any previous version straight to 2.2.3. For those already running any 2.2x version, this is a low risk upgrade. This is a high priority upgrade for those using IPsec on 2.2x versions. For those on 2.1.x or earlier versions, there are a number of significant changes which may impact you. Pay close attention to the 2.2 Upgrade Notes for the details.
Downloads are available on the mirrors as usual.
Downloads to Upgrade Existing Systems – note it’s usually easier to just use the auto-update functionality, in which case you don’t need to download anything from here. Check the Firmware Updates page for details.
FreeBSD is a relative newcomer to the tiny RaspBerry Pi computer, particularly the young Raspberry Pi 2 models. However, FreeBSD developers are working rapidly to bring FreeBSD 11 (-current) to the inexpensive Pi.
DistroWatch has a quick overview of what it is like to install and run FreeBSD on the Raspberry Pi 2 computer board.
Before diving into my experiment with FreeBSD on the Pi, I think it is important to note that FreeBSD is just now getting support for the Raspberry Pi 2. The wiki page for FreeBSD’s status on the Pi has been changing quickly. In fact, the week I purchased my Raspberry Pi 2, virtually no features were reported to work on the device. A week or so later, most of the feature matrix changed from red to green, indicating most of the Pi’s hardware would work with FreeBSD. I think it is also worth mentioning there are no images of FreeBSD’s stable (10.x) branch for the Raspberry Pi 2. There are stable releases for the earlier Raspberry Pi machines, but not the most recent hardware. People who want to use FreeBSD on a Raspberry Pi 2 need to download an image of FreeBSD 11, the development branch of FreeBSD. Running the development (aka Current) branch of FreeBSD may lead to some regressions or unstable behaviour. In short, FreeBSD on the Raspberry Pi 2 is highly experimental and likely to be unstable, use it at your own risk.
Sounds exciting! Read the rest of the article to learn about the benefits and drawbacks of running FreeBSD’s -current branch on the Raspberry Pi 2.
This tutorial by user Jose Velazquez shows us how to get FreeBSD 10 set up with Apache, MySQL, and PHP on a cloud or VPS server. Thanks to Atlantic.Net, a cloud hosting service that also offers the FreeBSD platform.
This how-to will help you with your FAMP installation in FreeBSD 10 so that you can successfully run a high available stable platform for your web environment. FAMP is simply a software bundle that consists of 4 components that work together to form a powerful web server. However, in this setup the acronym’s are as follows: FreeBSD (F) is the core of the platform which will sustain the other components. Apache (A) is used for the web service. MySQL (M) is used for database management, and PHP (P) is used as the programming language.
You need a FreeBSD server that is configured with a static IP address. If you do not have a server already, you can visit our Cloud Hosting page here and spin a new server up in under 30 seconds.
Install FAMP on FreeBSD 10