Archive for the Category » Serendipity «

Solved : PXE Boot Failed, PXE-T01: file not found

Last night I decided to remove old-non openSUSE-operating system on my wife’s PC. I want to re-install with openSUSE 11.1.

The PC is quite compact. No CD/DVD ROM, No Floppy Disk and it has USB problem (can’t boot from USB). The one-and-only solution is by installing new OS over a network.

I set up a TFTP Server and try to boot from PXE Boot. DHCP client running successfully but it can’t reached TFTP Server :

PXE-T01: file not found
PXE-E3B-TFTP Error file not found
PXE-M0F exiting Intel boot agent

After investigating DHCP configuration, I found that this error occurred regarding the location of pxelinux.0 file. I’m using /srv/tftp as TFTP base source and the file pxelinux.0 resides on /srv/tftp/tftpboot. On previous configuration, I used complete path :

subnet 192.168.0.0 netmask 255.255.255.0 {
option broadcast-address 192.168.0.255;
pool {
range 192.168.0.201 192.168.0.211; # only need a few addresses
default-lease-time 180; # no long lease time required for booting
max-lease-time 360;     # booted system does its own dhcp request
server-name "192.168.0.1"; # This happens to be the IP of this server too
next-server 192.168.0.1; # Address of the TFTP server
filename "/srv/tftp/tftpboot/pxelinux.0";
allow members of "pxe"; # only respond to PXE requests
allow members of "etherboot"; # allow etherboot, too
}
}

I solved the the problem by change TFTP base source into /srv/tftp/tftpboot and then change the line

filename "/srv/tftp/tftpboot/pxelinux.0";

into

filename "pxelinux.0";

The location of pxelinux.0 must be relative to TFTP base source. You may also used “/srv” as TFTP base source and then use relative location filename “tftp/tftpboot/pxelinux.0″;

Serendipity to WordPress Migration Toolkit

I’m a big fans of Serendipity Weblog System. I used Serendipity for almost all of my website. I have no problem with serendipity and it looks like more secure than another blog system, WordPress as an example. I know, WordPress seems to be less secure because WordPress have more user and more popular than Serendipity.

One main feature that Serendipity could not fit with all of my requirement is about themes or template. WordPress have a great themes than Serendipity has and it’s an advantage for WordPress user. After reviewing some Serendipity nice themes (that almost all of them have been applied on my blog), I decided to migrate my personal website on http://www.vavai.net into WordPress and let another primary website (in Indonesian) without change.

The main reason is about Themes. I want to rebuild my website with Magazine Style and I found a nice magazine style, Arthemia2 that was created by Michael Jubel Hutagalung. He is a great web designer and I think Arthemia is one of a coolest WordPress magazine style themes.

Another problem came up : How to import and migrate Serendipity post and article, and category, and comment into WordPress ? Serendipity is not supported blog engine which can be imported into WordPress by default. I must take another option to migrate the existing blog content or let it loss and build from scratch. Although vavai.net have only about 40 post and some comment, I most likely to take another choice to migrate and keep them on new blog with WordPress.

Luckily, after various search on Google, I found a better choice. Mike Tyson (Sorry, just kidding. His name is Michael Tyson) has build a useful plugin named “Serendipity (s9y) importer for WordPress”. I found another plugin but I choose his plugin because he said,

“In the process of merging this site from Serendipity over to WordPress, I came across an importer which lets me migrate the data across. Unfortunately it was a bit buggy, not properly assigning categories and timing out when processing the post data.I made some improvements, and here’s the new version”

I got successfully exporting my old post, comment, categories and user from Serendipity into WordPress with the following step :

  1. Create wordpress blog within same server (or sub domain) where your current Serendipity weblog hosted
  2. Download the plugin (I save a copy as backup here and here) from Michael blog.
  3. Extract the plugin
  4. Copy serendipity.php into your WordPress folder, in wp-admin/import folder
  5. Login to your new WordPress administration panel
  6. Go to Manage | Import
  7. Choose Serendipity and follow the wizard
  8. Serendipity will be exported to WordPress, started with Categories, user, post and then comment
  9. Export WordPress entry (post, comment, categories, page, etc) for another purpose, e.g. : for exporting into another WordPress blog.

Happy migrate !

Comment Problem in Serendipity Blog

A friend of mine contacted me last night about how difficult to write a comment in my bridge-blog (my education tools to learning English :-) ). He said that the problem occurred while trying to submit the comment :

"Your comment did not contain a Session-Hash. Comments can only be made on this blog when having cookies enabled!"

After searching a resolution for a while, I found the answer from Garvin Hicking in Serendipity Board. The problem itself came from Spam Protector plugin.

To increase spam protection, I’ve activates CSRF protection for comments option. If enabled, a special hash value will check that only users can submit a comment with a valid session ID. This will decrease spam and prevent users from tricking us into submitting comments via CSRF, but it will also prevent users commenting on our blog without cookies.

There is 2 solution for this problem :

  1. Make sure your browser accepts PHP session cookies
  2. Go to your anti-spam plugin (Spam Protector) configuration and disable the option for "Use XSRF/CSRF checks".

Related Entry :

  1. Not Possible to Add Comments Anymore…

Switch to our mobile site