<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Freebsd on disfinder.com 🇺🇸</title><link>https://www.disfinder.com/en/tags/freebsd/</link><description>Recent content in Freebsd on disfinder.com 🇺🇸</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Thu, 14 Aug 2008 19:06:00 +0000</lastBuildDate><atom:link href="https://www.disfinder.com/en/tags/freebsd/index.xml" rel="self" type="application/rss+xml"/><item><title>Increasing swap</title><link>https://www.disfinder.com/en/posts/2008/08/14/</link><pubDate>Thu, 14 Aug 2008 19:06:00 +0000</pubDate><guid>https://www.disfinder.com/en/posts/2008/08/14/</guid><description>&lt;p&gt;Creating a swap file in FreeBSD&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Make sure the virtual disk driver (md(4)) is present in the kernel configuration file. It is included in the GENERIC kernel.&lt;/li&gt;
&lt;/ol&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;device md # Memory &amp;#34;disks&amp;#34;&lt;/code&gt;&lt;/pre&gt;&lt;ol start="2"&gt;
&lt;li&gt;Create a swap file (/usr/swap0):&lt;/li&gt;
&lt;/ol&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-shell" data-lang="shell"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#75715e"&gt;# dd if=/dev/zero of=/usr/swap0 bs=1024k count=64&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;ol start="3"&gt;
&lt;li&gt;Set appropriate permissions on (/usr/swap0):&lt;/li&gt;
&lt;/ol&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-shell" data-lang="shell"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#75715e"&gt;# chmod 0600 /usr/swap0&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;ol start="4"&gt;
&lt;li&gt;Enable the swap file in /etc/rc.conf:&lt;/li&gt;
&lt;/ol&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-txt" data-lang="txt"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;swapfile=&amp;#34;/usr/swap0&amp;#34; # Set to name of swapfile if aux swapfile desired.&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;ol start="5"&gt;
&lt;li&gt;Reboot the computer, or to enable swap right now enter:&lt;/li&gt;
&lt;/ol&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-txt" data-lang="txt"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;# mdconfig -a -t vnode -f /usr/swap0 -u 0 &amp;amp;&amp;amp; swapon /dev/md0&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</description></item><item><title>Violins on the right, drums on the left.</title><link>https://www.disfinder.com/en/posts/2008/05/25/</link><pubDate>Sun, 25 May 2008 06:20:00 +0000</pubDate><guid>https://www.disfinder.com/en/posts/2008/05/25/</guid><description>&lt;p&gt;to boot FreeBSD via ntloader you need&lt;/p&gt;
&lt;blockquote class='book-hint '&gt;
&lt;p&gt;c:\boot0=&amp;ldquo;FreeBSD&amp;rdquo;&lt;/p&gt;
&lt;/blockquote&gt;</description></item><item><title>Flash</title><link>https://www.disfinder.com/en/posts/2008/04/07/</link><pubDate>Mon, 07 Apr 2008 19:02:00 +0000</pubDate><guid>https://www.disfinder.com/en/posts/2008/04/07/</guid><description>&lt;p&gt;Turned out that watching Flash on FreeBSD is a non-trivial task.
There is nothing to download from the Adobe site, and after installing from ports, Flash is still not visible in either Opera or Firefox. Found another workaround — will give it a try.&lt;/p&gt;
&lt;blockquote class='book-hint '&gt;
&lt;p&gt;Open the package manager as mentioned above and look for www/linux-flashplugin7, install it. It will install nspluginwrapper too and activate the browser plugin and any other browser plugins (like adobe acroread8) too. Restart the browser and use Flash. www/linuxpluginwrapper is obsolete.&lt;/p&gt;</description></item><item><title>Console in X</title><link>https://www.disfinder.com/en/posts/2008/04/05/</link><pubDate>Sat, 05 Apr 2008 00:03:00 +0000</pubDate><guid>https://www.disfinder.com/en/posts/2008/04/05/</guid><description>&lt;p&gt;When Konsole is running with multiple tabs (logins), users are not shown by &lt;code&gt;w&lt;/code&gt;. Interesting questions: a) why? b) what happens to the session if X or Konsole crashes?&lt;/p&gt;</description></item><item><title>KDE</title><link>https://www.disfinder.com/en/posts/2008/02/17/</link><pubDate>Sun, 17 Feb 2008 19:10:00 +0000</pubDate><guid>https://www.disfinder.com/en/posts/2008/02/17/</guid><description>&lt;p&gt;Building the subject from ports was not the most optimal decision&amp;hellip;
At this point the KDE-3.5.8 build on a Duron-750 with ADSL-512k has been running for 21 hours already.
What would have been the right way to do it?&lt;/p&gt;</description></item><item><title>NAT</title><link>https://www.disfinder.com/en/posts/2008/02/15/</link><pubDate>Fri, 15 Feb 2008 14:58:00 +0000</pubDate><guid>https://www.disfinder.com/en/posts/2008/02/15/</guid><description>&lt;p&gt;Question — do I need to install anything else to set up NAT, or can ppp handle it on its own?
Found this:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.opennet.ru/openforum/vsluhforumID3/3173"&gt;http://www.opennet.ru/openforum/vsluhforumID3/3173&lt;/a&gt;.html#1&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;/etc/ppp/ppp.conf:

default:
set device PPPoE:ed0:my_isp&amp;#39;s_name
set speed sync
set mru 1492
set mtu 1492
set ctsrts off
enable lqr
add default HISADDR
set timeout 0
set redial 0 0
#NAT
nat enable yes
nat log yes
nat same_ports yes
nat unregistered_only yes
enable dns

my_isp&amp;#39;s_name:
set authname username
set authkey password&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;In rc.conf:&lt;/p&gt;</description></item><item><title>ssh</title><link>https://www.disfinder.com/en/posts/2008/02/13/</link><pubDate>Wed, 13 Feb 2008 19:21:00 +0000</pubDate><guid>https://www.disfinder.com/en/posts/2008/02/13/</guid><description>&lt;p&gt;First rake. ShellGuard, my beloved ShellGuard - won&amp;rsquo;t connect. sshd is running and configured, I can log in locally on 127.0.0.1. Even PuTTY connected. Though sluggishly.
But ShellGuard says&lt;/p&gt;
&lt;blockquote class='book-hint '&gt;
&lt;p&gt;&lt;code&gt;no matching comp found. Client zlib Server: none,zlib@openssh.com&lt;/code&gt;&lt;/p&gt;
&lt;/blockquote&gt;&lt;p&gt;Thanks to opennet. Turns out the fix is&lt;/p&gt;
&lt;blockquote class='book-hint '&gt;
&lt;p&gt;&lt;code&gt;&amp;quot;Compression yes&amp;quot;&lt;/code&gt; in &lt;code&gt;/etc/ssh/sshd_config&lt;/code&gt;&lt;/p&gt;
&lt;/blockquote&gt;&lt;p&gt;and also&lt;/p&gt;
&lt;blockquote class='book-hint '&gt;
&lt;p&gt;&lt;code&gt;PasswordAuthentication yes&lt;/code&gt;&lt;/p&gt;
&lt;/blockquote&gt;&lt;p&gt;Though it connected sluggishly too. I&amp;rsquo;m blaming the huge number of interfaces and a running torrent. If it&amp;rsquo;s this slow on a real machine (up to 30 seconds to log in), the question will come up again.&lt;/p&gt;</description></item><item><title>Tasks and Questions</title><link>https://www.disfinder.com/en/posts/2008/02/10/</link><pubDate>Sun, 10 Feb 2008 19:47:00 +0000</pubDate><guid>https://www.disfinder.com/en/posts/2008/02/10/</guid><description>&lt;h2 id="tasks"&gt;Tasks&lt;a class="anchor" href="#tasks"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;install FreeBSD&lt;/li&gt;
&lt;li&gt;configure sshd&lt;/li&gt;
&lt;li&gt;configure NAT for ADSL&lt;/li&gt;
&lt;li&gt;locale russification, but for some reason only for root, even though I set it in /etc/profile&lt;/li&gt;
&lt;li&gt;configure X&lt;/li&gt;
&lt;li&gt;install KDE&lt;/li&gt;
&lt;li&gt;update ports&lt;/li&gt;
&lt;li&gt;MS Office under Wine&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="questions"&gt;Questions&lt;a class="anchor" href="#questions"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;Do I need a firewall? What for?&lt;/li&gt;
&lt;li&gt;how the heck do you russify it? I&amp;rsquo;ve worn the Handbook to shreds&amp;hellip;&lt;/li&gt;
&lt;li&gt;how do you disconnect a PPPoE connection? how to reconnect after a drop? How to detect a drop?&lt;/li&gt;
&lt;/ol&gt;</description></item></channel></rss>