<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>

<channel>
	<title>FreeBSD Azerbaijan by Tofig Suleymanov</title>
	<atom:link href="http://www.freebsd.az/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.freebsd.az/blog</link>
	<description>FreeBSD research</description>
	<pubDate>Thu, 24 Dec 2009 18:44:38 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
	<language>en</language>
			<item>
		<title>Gnome startup errors.</title>
		<link>http://www.freebsd.az/blog/gnome-startup-errors/</link>
		<comments>http://www.freebsd.az/blog/gnome-startup-errors/#comments</comments>
		<pubDate>Thu, 24 Dec 2009 18:44:16 +0000</pubDate>
		<dc:creator>Tofig Suleymanov</dc:creator>
		
		<category><![CDATA[quick tips and tricks]]></category>

		<category><![CDATA[gdm gnome /etc/ttys critical errors]]></category>

		<guid isPermaLink="false">http://www.freebsd.az/blog/?p=79</guid>
		<description><![CDATA[Latest GDM has troubles with starting off the /etc/ttys. Oldschool tricks are not working anymore. GDM started flawlessly, but as soon as I entered my username/password combination it just pushed me out back to the GDM login screen.
Solution was easy: do not run GDM from /etc/ttys. Use the following rc.conf knob instead:  gnome_enable=&#8221;YES&#8221; and restart [...]]]></description>
			<content:encoded><![CDATA[<p>Latest GDM has troubles with starting off the /etc/ttys. Oldschool tricks are not working anymore. GDM started flawlessly, but as soon as I entered my username/password combination it just pushed me out back to the GDM login screen.</p>
<p>Solution was easy: do not run GDM from /etc/ttys. Use the following rc.conf knob instead:  gnome_enable=&#8221;YES&#8221; and restart the box (or cycle to the single user mode and back)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.freebsd.az/blog/gnome-startup-errors/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Back after a long break</title>
		<link>http://www.freebsd.az/blog/back-after-a-long-break/</link>
		<comments>http://www.freebsd.az/blog/back-after-a-long-break/#comments</comments>
		<pubDate>Thu, 24 Dec 2009 18:35:22 +0000</pubDate>
		<dc:creator>Tofig Suleymanov</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[freebsd s10e lenovo netbook]]></category>

		<guid isPermaLink="false">http://www.freebsd.az/blog/?p=78</guid>
		<description><![CDATA[Plenty of time has passed since I made my last post. I am feeling guilty for not being able to update in time. Anyway, now I am back and planning to continue my blog at the same pace as it was before.
First of all I have installed FreeBSD 7.2 onto my Lenovo s10E netbook recently. [...]]]></description>
			<content:encoded><![CDATA[<p>Plenty of time has passed since I made my last post. I am feeling guilty for not being able to update in time. Anyway, now I am back and planning to continue my blog at the same pace as it was before.</p>
<p>First of all I have installed FreeBSD 7.2 onto my Lenovo s10E netbook recently. All works fine except ACPI and WIFI. Did a 8.0 upgrade from sources and still no luck.</p>
<p>Some people on official freebsd forums were mentioning experimental bwi driver which is worth to try during spare time I believe.</p>
<p>And yes, ACPI is not that important as WIFI is.  For now, I am using the ethernet cable without being able to walk around the flat and do things on the go.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.freebsd.az/blog/back-after-a-long-break/feed/</wfw:commentRss>
		</item>
		<item>
		<title>bakinternet ISP and MTU on a FreeBSD gateway</title>
		<link>http://www.freebsd.az/blog/bakinternet-isp-and-mtu-on-a-freebsd-gateway/</link>
		<comments>http://www.freebsd.az/blog/bakinternet-isp-and-mtu-on-a-freebsd-gateway/#comments</comments>
		<pubDate>Mon, 02 Mar 2009 15:04:21 +0000</pubDate>
		<dc:creator>Tofig Suleymanov</dc:creator>
		
		<category><![CDATA[quick tips and tricks]]></category>

		<category><![CDATA[bakinternet]]></category>

		<category><![CDATA[freebsd]]></category>

		<category><![CDATA[mtu]]></category>

		<category><![CDATA[nat]]></category>

		<category><![CDATA[pppoe]]></category>

		<guid isPermaLink="false">http://www.freebsd.az/blog/?p=77</guid>
		<description><![CDATA[Recently Bakinternet has changed their system to use PPPoE for ADSL subcsribers without any written or oral communication.
If you are unlucky guy using Bakinternet ADSL subcsription behind a FreeBSD NAT, then make sure that the MTU value on the external network interface of the FreeBSD gateway is set to 1492 otherwise you may get half-loaded [...]]]></description>
			<content:encoded><![CDATA[<p>Recently Bakinternet has changed their system to use PPPoE for ADSL subcsribers without any written or oral communication.</p>
<p>If you are unlucky guy using Bakinternet ADSL subcsription behind a FreeBSD NAT, then make sure that the MTU value on the external network interface of the FreeBSD gateway is set to 1492 otherwise you may get half-loaded web pages and other quite annoying symptoms. MTU value of 1492 can be set using the following command under root:</p>
<p><em>ifconfig em0 mtu 1492</em></p>
<p>where em0 is the interface connected to the ADSL modem.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.freebsd.az/blog/bakinternet-isp-and-mtu-on-a-freebsd-gateway/feed/</wfw:commentRss>
		</item>
		<item>
		<title>ibm t61 &#038; FreeBSD 7.1 RELEASE</title>
		<link>http://www.freebsd.az/blog/ibm-t61-freebsd-71-release/</link>
		<comments>http://www.freebsd.az/blog/ibm-t61-freebsd-71-release/#comments</comments>
		<pubDate>Thu, 26 Feb 2009 20:31:24 +0000</pubDate>
		<dc:creator>Tofig Suleymanov</dc:creator>
		
		<category><![CDATA[quick tips and tricks]]></category>

		<category><![CDATA[intel gma965]]></category>

		<category><![CDATA[t61]]></category>

		<category><![CDATA[wpi]]></category>

		<guid isPermaLink="false">http://www.freebsd.az/blog/?p=75</guid>
		<description><![CDATA[Today I was playing around with the IBM t61 laptop. I have successfully installed FreeBSD on it with everything working fine except wireless adapter which just randomly hangs.

Intel Mobile 965 Integrated Graphics Controller support is available from /usr/ports/x11-drivers/xf86-video-intel .Do not install it as a package. This is what I did first and got unrecognized symbols [...]]]></description>
			<content:encoded><![CDATA[<p>Today I was playing around with the IBM t61 laptop. I have successfully installed FreeBSD on it with everything working fine except wireless adapter which just randomly hangs.</p>
<ul>
<li>Intel Mobile 965 Integrated Graphics Controller support is available from /usr/ports/x11-drivers/xf86-video-intel .Do not install it as a package. This is what I did first and got unrecognized symbols while loading the driver. Recompiled it from the source and everything started fine.</li>
<li>Added Option &#8220;AutoAddDevices&#8221; &#8220;false&#8221; to ServerFlags in xorg.conf to make my mouse and keyboard work in the newest xorg-server</li>
<li>Wireless adapter support is available via wpi(4) driver from the base system. I am not satisfied with the performance, though. <em>man wpi</em> for additional information.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.freebsd.az/blog/ibm-t61-freebsd-71-release/feed/</wfw:commentRss>
		</item>
		<item>
		<title>www/c-icap port fix</title>
		<link>http://www.freebsd.az/blog/wwwc-icap-port-fix/</link>
		<comments>http://www.freebsd.az/blog/wwwc-icap-port-fix/#comments</comments>
		<pubDate>Sat, 14 Feb 2009 11:38:48 +0000</pubDate>
		<dc:creator>Tofig Suleymanov</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[c-icap]]></category>

		<category><![CDATA[freebsd]]></category>

		<category><![CDATA[icap]]></category>

		<category><![CDATA[port]]></category>

		<category><![CDATA[www/c-icap]]></category>

		<guid isPermaLink="false">http://www.freebsd.az/blog/?p=69</guid>
		<description><![CDATA[It turns out that www/c-icap port is marked broken for more that 6 months due to the  clamav related compilation problems:
srv_clamav.c: In function &#8217;srvclamav_init_service&#8217;:
srv_clamav.c:150: warning: implicit declaration of function &#8216;cl_loaddbdir&#8217;
srv_clamav.c:164: error: &#8217;struct cl_limits&#8217; has no member named &#8216;maxratio&#8217;
srv_clamav.c: In function &#8216;must_scanned&#8217;:
srv_clamav.c:445: warning: pointer targets in assignment differ in signedness
*** Error code 1
After reading through [...]]]></description>
			<content:encoded><![CDATA[<p>It turns out that www/c-icap port is marked broken for more that 6 months due to the  clamav related compilation problems:</p>
<p>srv_clamav.c: In function &#8217;srvclamav_init_service&#8217;:<br />
srv_clamav.c:150: warning: implicit declaration of function &#8216;cl_loaddbdir&#8217;<br />
srv_clamav.c:164: error: &#8217;struct cl_limits&#8217; has no member named &#8216;maxratio&#8217;<br />
srv_clamav.c: In function &#8216;must_scanned&#8217;:<br />
srv_clamav.c:445: warning: pointer targets in assignment differ in signedness<br />
*** Error code 1</p>
<p>After reading through the clamav sources I have recognized that usage of the cl_loaddbdir() function has been abandoned in favor of cl_load(). Furthermore, cl_limits does not contain maxratio member anymore. After fixing both of this issues the port compiled and started just fine.</p>
<p>The patch has been submitted to the maintainer. Meanwhile you can take it from here: <a href="http://www.freebsd.az/blog/wp-content/uploads/2009/02/c-icap1.patch">c-icap + clamav &gt;= 0.93 patch</a></p>
<p><span style="color: #ff0000;">UPDATE:</span></p>
<p>My patch has been incorporated into the FreeBSD ports tree. Additionally, I have been appointed to be a maintainer of this port.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.freebsd.az/blog/wwwc-icap-port-fix/feed/</wfw:commentRss>
		</item>
		<item>
		<title>portmaster vs portupgrade</title>
		<link>http://www.freebsd.az/blog/portmaster-vs-portupgrade/</link>
		<comments>http://www.freebsd.az/blog/portmaster-vs-portupgrade/#comments</comments>
		<pubDate>Wed, 21 Jan 2009 14:31:07 +0000</pubDate>
		<dc:creator>Tofig Suleymanov</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[quick tips and tricks]]></category>

		<category><![CDATA[portmaster]]></category>

		<category><![CDATA[portupgrade]]></category>

		<guid isPermaLink="false">http://www.freebsd.az/blog/?p=68</guid>
		<description><![CDATA[If you have portupgrade installed - then it is time to replace it with portmaster. 
Portmaster is a handy script written for /bin/sh and needs no additional dependencies to be installed as portupgrade does.
Portmaster is located in /usr/ports/ports-mgmt/portmaster. 
]]></description>
			<content:encoded><![CDATA[<p>If you have portupgrade installed - then it is time to replace it with portmaster. </p>
<p>Portmaster is a handy script written for /bin/sh and needs no additional dependencies to be installed as portupgrade does.</p>
<p>Portmaster is located in /usr/ports/ports-mgmt/portmaster. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.freebsd.az/blog/portmaster-vs-portupgrade/feed/</wfw:commentRss>
		</item>
		<item>
		<title>icecast2 FreeBSD problem</title>
		<link>http://www.freebsd.az/blog/icecast2-freebsd-problem/</link>
		<comments>http://www.freebsd.az/blog/icecast2-freebsd-problem/#comments</comments>
		<pubDate>Sun, 11 Jan 2009 11:27:12 +0000</pubDate>
		<dc:creator>Tofig Suleymanov</dc:creator>
		
		<category><![CDATA[quick tips and tricks]]></category>

		<category><![CDATA[AI_NUMERICHOST]]></category>

		<category><![CDATA[freebsd]]></category>

		<category><![CDATA[getaddrinfo]]></category>

		<category><![CDATA[icecast2]]></category>

		<category><![CDATA[problem]]></category>

		<guid isPermaLink="false">http://www.freebsd.az/blog/?p=67</guid>
		<description><![CDATA[Recently, I have updated my icecast installation to the latest version (2.3.2) available from the FreeBSD ports colletion. Update went fine, but icecast did not start. The only message it spit was: 
Server startup failed. Exiting
 have recompiled icecast with gdb support and found out that the problem is on the following line of the [...]]]></description>
			<content:encoded><![CDATA[<p><span class="postbody">Recently, I have updated my icecast installation to the latest version (2.3.2) available from the FreeBSD ports colletion. Update went fine, but icecast did not start. The only message it spit was: </span></p>
<p><span class="postbody"><em>Server startup failed. Exiting</em></span></p>
<p><span class="postbody"> have recompiled icecast with gdb support and found out that the problem is on the following line of the net/sock.c:</p>
<p><em> if (getaddrinfo (sinterface, service, &amp;hints, &amp;res))<br />
return SOCK_ERROR; </em></p>
<p>After digging more into this I have discovered that <em>sinterface</em> holds the hostname of my server, not the numerical ip address which contradicts with the fact that <em>hints.flags</em> forces numeric address usage according to the AI_NUMERICHOST bit set:</p>
<p><em> hints.ai_flags = AI_PASSIVE | AI_ADDRCONFIG | AI_NUMERICSERV | AI_NUMERICHOST; </em></p>
<p>After disabling AI_NUMERICHOST and recompiling - icecast started fine. </span></p>
<p>Decided to post this information here so anyone who comes across this issue can solve it quickly.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.freebsd.az/blog/icecast2-freebsd-problem/feed/</wfw:commentRss>
		</item>
		<item>
		<title>ipod nano notes size limit hack</title>
		<link>http://www.freebsd.az/blog/ipod-nano-notes-size-limit-hack/</link>
		<comments>http://www.freebsd.az/blog/ipod-nano-notes-size-limit-hack/#comments</comments>
		<pubDate>Thu, 25 Dec 2008 22:53:21 +0000</pubDate>
		<dc:creator>Tofig Suleymanov</dc:creator>
		
		<category><![CDATA[quick tips and tricks]]></category>

		<category><![CDATA[4k]]></category>

		<category><![CDATA[ipod nano]]></category>

		<category><![CDATA[note size limit]]></category>

		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://www.freebsd.az/blog/?p=66</guid>
		<description><![CDATA[I have bought an ipod nano with 8gb storage space recently. After playing some time with this fancy device I have discovered that each note kept on the ipod can not exceed 4k limit. To circumvent this limit one should divide his big note into pieces of 4k each. Furthermore, it is possible to place [...]]]></description>
			<content:encoded><![CDATA[<p>I have bought an ipod nano with 8gb storage space recently. After playing some time with this fancy device I have discovered that each note kept on the ipod can not exceed 4k limit. To circumvent this limit one should divide his big note into pieces of 4k each. Furthermore, it is possible to place html links to point pages.</p>
<p>Below is a simple python script which reads stdin and creates ipod-compatible ebook which can be uploaded and read on your beloved device. Simply cat a big note to the script&#8217;s stdin and do not forget to define an ebook name. After successful completion of the script you will get a new directory in cwd containing all pages of your ipod ebook. Sample usage is like this:</p>
<p><em>cat /path/to/big/myebook | ./ipod_ebook.py myebook</em></p>
<pre><code>
#!/usr/local/bin/python2.5
import sys
import os

# 4k bytes in one page is allowed
ebook_page_bytes_count = 4000

if len(sys.argv) != 2:
  print "Usage: ", sys.argv[0], &#8220;ebook_name&#8221;
  sys.exit(-1)

try:
  os.mkdir(sys.argv[1])
except OSError:
  print sys.exc_value, &#8220;\nCould not create directory:&#8221;, sys.argv[1]
  sys.exit(-1)

j = 0
i = 0
ebook_page = open(sys.argv[1] + &#8220;/&#8221; + sys.argv[1] + str(j),&#8221;w&#8221;)
ebook_page.write(&#8221;&lt;?xml encoding=\&#8221;utf-8\&#8221;?&gt;\n&#8221;)

for line in sys.stdin:
  if i &gt;= ebook_page_bytes_count:
    # Link to the next page at the bottom of the current page
    ebook_page.write(
    &#8220;\n&lt;A HREF=\&#8221;" + sys.argv[1] + str(j + 1) + &#8220;\&#8221; NOPUSH&gt;to page #&#8221;\
    + str(j+1) + &#8220;&lt;/A&gt;&#8221;)
    ebook_page.close()
    j = j + 1
    i = 0
    ebook_page = open(sys.argv[1] + &#8220;/&#8221; + sys.argv[1] + str(j),&#8221;w&#8221;)
    # Ebook page header
    ebook_page.write(&#8221;&lt;?xml encoding=\&#8221;utf-8\&#8221;?&gt;\n&#8221;)
  ebook_page.write(line)
  i = i + len(line)
</code>
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.freebsd.az/blog/ipod-nano-notes-size-limit-hack/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Supermicro servers and tehnical support</title>
		<link>http://www.freebsd.az/blog/supermicro-servers-and-tehnical-support/</link>
		<comments>http://www.freebsd.az/blog/supermicro-servers-and-tehnical-support/#comments</comments>
		<pubDate>Wed, 10 Dec 2008 12:57:31 +0000</pubDate>
		<dc:creator>Tofig Suleymanov</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[supemicro server]]></category>

		<category><![CDATA[technical support]]></category>

		<category><![CDATA[usb kvm]]></category>

		<guid isPermaLink="false">http://www.freebsd.az/blog/?p=63</guid>
		<description><![CDATA[Before bying any of the Supermicro servers be sure to read this. Ridiculous.
I have also had a bad luck with Supermicro servers in past. USB KVM completely refused to work.
]]></description>
			<content:encoded><![CDATA[<p>Before bying any of the Supermicro servers be sure to <a href=http://koitsu.wordpress.com/2008/04/05/supermicro-pdsmi-bios-bugs/ target=_blank>read this</a>. Ridiculous.</p>
<p>I have also had a bad luck with Supermicro servers in past. USB KVM completely refused to work.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.freebsd.az/blog/supermicro-servers-and-tehnical-support/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Basin Modeling center at the Geology Institute of Azerbaijan</title>
		<link>http://www.freebsd.az/blog/basin-modeling-center-for-geology-institute-of-azerbaijan/</link>
		<comments>http://www.freebsd.az/blog/basin-modeling-center-for-geology-institute-of-azerbaijan/#comments</comments>
		<pubDate>Tue, 09 Dec 2008 15:18:03 +0000</pubDate>
		<dc:creator>Tofig Suleymanov</dc:creator>
		
		<category><![CDATA[News]]></category>

		<category><![CDATA[azerbaijan]]></category>

		<category><![CDATA[basin modeling]]></category>

		<category><![CDATA[centos]]></category>

		<category><![CDATA[geological software]]></category>

		<category><![CDATA[geology]]></category>

		<category><![CDATA[geophysics]]></category>

		<category><![CDATA[gia]]></category>

		<category><![CDATA[gocad]]></category>

		<guid isPermaLink="false">http://www.freebsd.az/blog/?p=62</guid>
		<description><![CDATA[One of the recent projects I was working on got a media coverage available here (russian version).
Newly established Basin Modeling department at the GIA will be involved in geological data analysis for BP.
As a part of this project 4 Centos based workstations were installed as well as the Gocad software suite with flexlm license manager.
]]></description>
			<content:encoded><![CDATA[<p>One of the recent projects I was working on got a media coverage available <a href="http://1news.az/society/20081207042140523.html" target=_blank>here</a> (russian version).</p>
<p>Newly established Basin Modeling department at the GIA will be involved in geological data analysis for BP.</p>
<p>As a part of this project 4 Centos based workstations were installed as well as the Gocad software suite with flexlm license manager.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.freebsd.az/blog/basin-modeling-center-for-geology-institute-of-azerbaijan/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
