Centroid.EU Blog

(this blog is mostly encrypted - adults only)

Previous Page

Netbooting OpenBSD/macppc

November 21st, 2011

I activated mars.centroid.eu (not on IPv6 yet). It took me a while to boot the kernel on it because it has a broken cdrom, and my external CDROM was not detected on it. So I had to netboot it. The experience I'd like to document.

In /etc/dhcpd.conf-em5:

subnet netmask {
        option routers;


        host mars {
                hardware ethernet 00:30:65:a1:ec:a6;

                filename "ofwboot";
                option root-path "/tftpboot";


In /etc/inetd.conf:         dgram   udp     wait    root    /usr/libexec/tftpd      
tftpd -s /tftpboot

In /etc/exports:


And then of course turn on portmap, nfsd, and mountd. kill -HUP inetd and start dhcpd on em5. That did not boot it automatically but when you do a set image bsd.rd in ofwboot on the macppc machine and then boot it should boot into the kernel.

The boot command is: boot enet:,ofwboot /bsd.rd ... It will first look up DHCP get the IP and then download ofwboot from the TFTP server, it will then NFS mount /tftpboot and download the kernel bsd.rd from there, from then on it'll boot normally into the install disk.


Profiling DNS answers

November 19th, 2011

Out of boredom I dumped the answers of A RR's for centroid.eu from my 3 different nameservers in production for that zone. I made pictures too.

In conclusion:

  • BIND answers with the most data, it compresses the first answer with C00C (compressed from the question).
  • NSD3 answers with intermediate data, it doesn't compress the first name in the answer section and is thus identifiable
  • Wildcarddnsd serves as little answers as possible (this could change), and it compresses the first name in the answer section (compressed from the question)
Have a nice day!


chroot script for Bind 9.8.1-P1 and FreeBSD 7.4-STABLE

November 17th, 2011

I noticed that the install process on FreeBSD is different than the Makefile provided with BIND 9.8.1-P1. So I made a script that you execute inside the build directory of bind 9.8.1-P1. Make sure you only run this there, never run this on / it will delete stuff out of the system!


rm -rf usr/include/isccc
rm -rf usr/include/dns
rm -rf usr/include/dst
rm -rf usr/include/isccfg
rm -rf usr/include/bind9
rm -rf usr/include/lwres
rm -rf usr/share/man/man5
rm -rf usr/share/man/man8
rm -rf usr/share/man/man1

mkdir -p usr/local/sbin
mkdir -p usr/bin
mkdir -p usr/sbin
mkdir -p usr/lib
mkdir -p usr/libexec
mkdir -p usr/share/mk
mkdir -p libexec
mkdir -p lib
mkdir -p usr/include/isc
mkdir -p usr/local/share/man/man3
mkdir -p usr/share/man/man3
mkdir -p usr/share/man/man8

cp /usr/bin/make usr/bin/make
cp /usr/share/mk/* usr/share/mk/
cp /bin/sh bin/
cp /libexec/ld-elf.so.1 libexec
cp /libexec/ld-elf.so.1.old libexec
cp /libexec/ld-elf32.so.1 libexec
cp /libexec/ld-elf32.so.1.old libexec

cp /lib/libedit.so.6 lib
cp /lib/libncurses.so.7 lib
cp /lib/libncursesw.so.7 lib
cp /lib/libc.so.7 lib

cp /usr/bin/install usr/bin/
cp /bin/rm bin/
cp /bin/ln bin/
cp /usr/bin/sed usr/bin/
cp /bin/mkdir bin/

chroot `pwd` make install

Be sure to look this script over before you run it. It will install most bind9 stuff under the "usr" directory which isn't existing in the bind9 directory. Cheers!


Donated 25 euros to Wikipedia

November 15th, 2011

Donation time is coming around again and I'm making more money as I have a job this year so I thought I'd spend a little more. Here is a comment I was able to put up for my money.

Thinking of donating to a few other projects now that I'm at it.


Rant on oil

November 12th, 2011

I'm worried about the human race. Ever since the great wars in the 1940's we've been using gasoline and oil based fuels to power our economies. Our economies pride themselves by having multiple trading partner, so as to not be relied on one partner too much, yet we don't do this with transportation means such as cars. People are lazy too. They will boycott buying gasoline _for a day_ to make statements but it doesn't get any results. What we have to do as a human race is to strip ourselves free of this dependency and create a _mix_ of transportation means so that we don't fall into poverty when there is no more oil. Guys ride your bikes more often! Mayors! Ban cars in cities unless they are electric! We can't sleep on this or else we'll be poor as we were in the beginning of the industrial revolution when the oil runs out. Let's try to have 50% electric cars and 50% gasoline cars by 2020! I wager that in 2022 the oil will run out if not sooner.


Upgraded Anti-Virus

November 11th, 2011

Today I bought Anti-virus for my Windows 7 vm. I was 1 day away from losing my support and subscription so I bought it for this and 2 other PC's for a years subscription. I believe all windows computers need anti-virus and I even bought anti-virus for my dad's Mac. It's very important to keep malware out.


Got a new VPS

November 7th, 2011

I got a new VPS. It's called io.solarscale.de. I got this because goldflipper.net was down for 1.5 days and my DNS was hanging on a string. The new host io doesn't do DNS just yet but it will in the next few days. One bonus is that it does IPv6, and one drawback is that it's not BSD. Oh well. I'll be comparing goldflipper.net and io for the next year and a half and decide which one I will keep running. It's a matter of quality of service.

$ host www.centroid.eu
www.centroid.eu has address
www.centroid.eu has address
www.centroid.eu has IPv6 address 2001:a60:f074:4::1
www.centroid.eu has IPv6 address 2a01:4f8:d13:1980::22

As you can see www.centroid.eu is DNS load shared between three hosts. io and goldflipper for IPv4 and uranus and io for IPv6.


uranus upgraded

November 4th, 2011

I've upgraded my dear box uranus to OpenBSD 5.0. Downtime was about one hour as I was upgrading packages as well in single user mode. Some packages didn't want to be upgraded, and I'll have to sort that out. Otherwise it worked like a charm.

kern.version=OpenBSD 5.0 (GENERIC.MP) #59: Wed Aug 17 10:19:44 MDT 2011
That's the version of the kernel running on it now.


OpenBSD 5.0 Released

November 1st, 2011

Well I was hoping to give you news of my CD's having arrived but they aren't here yet. So I did an FTP of the install50.iso file for the amd64 architecture and upgraded 2 vm's so far. I've made a screen shot:


Well as you can tell by the screenshot Libreoffice is in 5.0 instead of OpenOffice. This is amazing! Also facebook stopped working for the 4.9 browser a few days ago. The browser bundled with OpenBSD 5.0 makes facebook work again. Yay! Let's hope this will be as consistent and stable as the 4.9 release. I'll be upgrading uranus.centroid.eu soonish.


7 Billion Humans

October 26th, 2011

Here is a United Nations report that says we'll hit 7 Billion (estimate) Humans in five days. I gotta say congratulations to the human race, but at the same time I'm worried because in the 1970's we had just 4 Billion people on earth.

Here is the Universal Declaration of Human Rights that SHOULD give every human, every one of our 7 Billion, the rights that are the foundation of freedom, justice and peace.

I have some issues with the large number of people like mentioned above, but let me ask some questions. How are we going to feed everyone? Oil is running out, how can we keep relative comforts for everyone? More fresh water is polluted every day, how can we ensure drinking water for everyone? Machinery is taking away humans work, how can we accept being unemployed because of it? We realise we live on a planet in space, how can we ever accept that there is other species elsewhere?


Next Page


RSS Feed

Click here for RSS

On this day in

Other links

Have feedback?

By clicking on the header of an article you will be served a cookie. If you do not agree to this do not click on the header. Thanks!

Using a text-based webbrowser?

... such as lynx? Welcome back it's working again for the time being.

Older Blog Entries

Powered by BCHS