Archive for the ‘Uncategorized’ Category

Back after a long break

Thursday, December 24th, 2009

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. All works fine except ACPI and WIFI. Did a 8.0 upgrade from sources and still no luck.

Some people on official freebsd forums were mentioning experimental bwi driver which is worth to try during spare time I believe.

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.

www/c-icap port fix

Saturday, February 14th, 2009

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 ’srvclamav_init_service’:
srv_clamav.c:150: warning: implicit declaration of function ‘cl_loaddbdir’
srv_clamav.c:164: error: ’struct cl_limits’ has no member named ‘maxratio’
srv_clamav.c: In function ‘must_scanned’:
srv_clamav.c:445: warning: pointer targets in assignment differ in signedness
*** Error code 1

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.

The patch has been submitted to the maintainer. Meanwhile you can take it from here: c-icap + clamav >= 0.93 patch

UPDATE:

My patch has been incorporated into the FreeBSD ports tree. Additionally, I have been appointed to be a maintainer of this port.

portmaster vs portupgrade

Wednesday, January 21st, 2009

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.

Supermicro servers and tehnical support

Wednesday, December 10th, 2008

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.

sony dsc h2 camera with FreeBSD

Thursday, October 9th, 2008

Recently I was trying to make my Sony DSC H2 camera work under the FreeBSD operating system. My first try was unsuccessful: umass0 device successfully initialized, but no disk device appeared.

Here is what I got in the log file:
Oct 7 21:14:37 schizo kernel: umass0: Sony Sony DSC, rev 2.00/6.10, addr 2

Solution was quite simple. Add the following usb quirk to the umass.c:

{ USB_VENDOR_SONY, USB_PRODUCT_SONY_DSC, 0×0610, UMASS_PROTO_RBC | UMASS_PROTO_CBI, RBC_PAD_TO_12}

Do not forget to recompile, install and kldload umass afterwards:

  • cd /usr/src/sys/modules/umass
  • make clean && make && make install

As soon as you reattach the camera a disk device should appear which can be easily mounted like this:

  • mount_msdosfs /dev/YOUR_DISK_DEVICE_NAME /mnt

mini_snmpd FreeBSD port

Tuesday, September 30th, 2008

mini_snmpd written by Robert Ernst is a lightweight snmp daemon targeted mainly for the embedded platforms according to the description on the official page. As FreeBSD is making its way to the embedded platforms I have decided to port it to my favorite operating system.

It turned out to be an easy task. In fact, I have updated the header #include statements to make compilation happy under FreeBSD.

In order to get it all working do the following:

  1. Download original sources from the official page and unpack them
  2. Download the patch from the following location
  3. cd to the original sources directory and apply the patch: patch < /path/to/patch_file
  4. define the __FREEBSD__ knob in CFLAGS inside the Makefile
  5. make
  6. mount_linprocfs procfs /proc
  7. ./mini_snmpd to start the daemon

You should get 161 udp/tcp ports listening upon successful start. In order to test your shiny new snmpd you may need a net-mgmt/net-snmp port to be installed.

Dirtiest city in the world: Baku

Thursday, February 28th, 2008

I am living in the dirtiest city in the world according to the Forbes publication.

The sad thing is that Forbes does not exaggerate the situation with Baku. It is really getting worse and worse.

My congratulations to the city mayor Hajibala Abutalibov for his great achievement.

Back from vacation

Friday, February 1st, 2008

I am finally back from vacation. As it always happens there are tons of work waiting to be done. I am very sorry for not being able to update earlier.

I hope to continue posting after finishing pending stuff at work.

Thanks,

Tofig.

Vacation

Sunday, January 13th, 2008

I am out of the country until January 20.

Hope to update the blog as soon as I return from vacation.

Take care,

Tofig.

Getting close to one year long uptime

Saturday, December 29th, 2007

$ uptime
1:08AM  up 304 days, 26 mins, 1 user, load averages: 0.04, 0.06, 0.07
$

Proksi və proksi server axtaranlar

Sunday, November 11th, 2007

Bu gun google-daki statistikanı görüb təcübləndim: saytın istifadəçilərin 60 % buraya proksi axtarışla əlaqədar daxil olurlar.

Əziz istifadəçiləar, proksi serverlər adətən pullu servislərə aiddir. Proksi serverlərdən başqa anonimayzer-lərdən istifadə etmək olar. Anonimayzerlər pulsuzdur. Məsələn:

www.proxy.org

Hələlik,

Tofiq Suleymanov

ITIL Foundation certification

Thursday, November 1st, 2007

Finally I’ve got my ITIL Foundation certification !

My ITIL Foundation certificate

Hope to get the SCSA part 2 soon.

Quick note about my new project

Saturday, October 6th, 2007

Finally we have got the project up and running:

www.president.az

I would like to mention that this project is served by FreeBSD operating system.

FreeBSD 6.2 on IBM X3550

Friday, August 10th, 2007

Finally we’ve got our hardware: IBM X3550 rack-mountable server.

FreeBSD 6.1 release hang on keyboard detection while booting, but 6.2 release runs flawlessly. More information on server details and configuration will be available here soon.

Looking for a suitable server hardware

Wednesday, July 4th, 2007

I am going to build a new FreeBSD based server in near future hopefully. It is going to be a host machine for only one but quite busy and important website running mainly mail, http and a database.

For now, while there is still some spare time left, I am going to investigate all pros and cons for the products that are available in Azerbaijan.

Hope to update soon.