Thursday, November 27, 2008

Ei Pecom 64 - Early Yugoslavian 8-bit Micro (Home Computer)

This is something peculiar. A good friend of mine obtained an original early Yugoslavian (Serbian) 8-bit micro computer. I received it the other day.

I disconnected DVD player and connected AV cable to MON and TON outputs. Switched it one and to my surprise got familiar READY prompt.

Tried the simplest ("first") BASIC program. Few keys were not working from the beginning, but after just little bit typing all keys seemed operational. The thing was just forgotten for a long time.


As much as unimpressive my programming skills are here I am extremely happy to see this thing working. This is one of these early micros I only saw on some local computer fairs. Not sure how many were built, but definitively nothing like ZX Spectrum or Commodore 64.

If I get some time, will make some more pictures and peek inside.

Saturday, November 15, 2008

Mama I am coming home...

Thank you Ozzy for the background music... yep that's the plane I am boarding. Actually I boarded yesterday. Coz mama, ...


...actually, I am already in Novi Sad, Serbia. Got here around 6pm. Met with my sister and brother-in-law whom I have not seen for 10 years. Met their two beautiful daughters.... one I never saw in person before. Ate some "sarma" and roast pig. Took a walk around the neighborhood. Met with my in-laws briefly. Installed Linux on my mom's and dad's PC (Coz mama, I am not coming home if you run Windows on your PC :). Replied to few emails back to US... Pretty hyper all in all.

Thursday, November 13, 2008

Crazy dough - tasty bread

I made pretty much the same dough as usual. I used "regular" yeast this time and let my bread machine to mix and knead. I left the dough in a pan, but it rose much more than I expected (which is great).

Baked it as it is. It turned out great. Light and extremely nice taste.
Kids also had fun with "mushroom like" shape. Good times!

IPCop - Linux Based Firewall

Intro
I have been using Linksys BEFSR41 router for quite some time with my ADSL. It was OK for the most time. Being a Linux and Open Source fan I have been checking new distros for last few years. There are several specialized distros aimed at partitioning, system tools, firewalls, etc. I came across an interesting Howto article taling about making your own firewall and I decided to give it a try. IPCop seemed natural choice for me since I have Linux experience and it seemed lots of people like it.

Status Display

What hardware is needed
Basically you need a PC (even Pentium with 32MB would do) with two, three or four NICs (network cards). IPCop uses color coded designations for separate networks:
  • RED connection to Internet (outer world)
  • GREEN subnetwork behind firewall to be used as your secured LAN
  • ORANGE subnetwork behind firewall, but for demilitarized LAN to be used with servers that should be accessible from Internet
  • BLUE subnetwork behind firewall to be used with wireles LAN stations
ORANGE and BLUE are generally not connected to computers on GREEN subnetwork, which provides additional security. Please check IPCop website for more info.
I happened to have a PC that was waiting to be thrown in trash. This was really an old eMachines tower one with 32 MB RAM, intel Celeron and 8GB hard drive. It has only two PCI slots and two ISA slots. I put two NICs into it and I was ready to try.

Installing IPCop
With two NICs I was aiming for RED and GREEN configuration. For the purpose of installation you need keyboard and monitor as well as a CD-ROM or CD-RW drive. I burned a IPCop image on a CD and booted that old PC with it. Text menu for installation was pretty steightforward. After maybe 10 minutes I was ready to try. Please note that after you install IPCop, you can access its graphical user interface via web access remotely. Throughout installation there are some questions you need to answer such as administrator and backup user passwords, DHCP enable, local GREEN lan IP range. Also, you will need to configure yor RED network conenction (one toward Internet), which I left at DHCP and it worked flawlessly.

Connection
I removed my old router Linksys BEFSR41, connected ADSL modem to network card designated as RED, and conneced GREEN network card to my HUBs and local LAN. Once you start everything your IPCop (firewall) establishes connection with Internet and behaves as Firewall and DHCP server for other computers on your GREEN subnet. To my suprise everything worked great. I set my GREEN network to be in 192.168.0.xxx range. So, in order to configure IPCop further you need to access IPCop computer via http://192.168.0.1:81 in my case.

Connection status display

System graphs (CPU and memory)

Tuning
After accessing web based GUI, in the Status tab IPCop suggested installation of an update, which I did. Then, I also turned on Proxy service, which works as Internet access cache and speeds up browsing. The user interface is great and I was able to easily activate this function. I also turned off ping on RED interface. Further tuning can be done by adjusting and adding new Firewall rules.

Traffic graphs

Proxy graphs (needs to be enabled)

First impressions
I am happy. First, my connection to Internet appears to be faster. Second, with Linksys router the outer world could access my router and tried to hack into the settings. IPCop appears as it is not there. I tested it with some online port and security scanners and everything passed. I am also glad I found some great use to my old PC that I was almost ready to throw away.
Threre are also additional services such as SNORT, and VPN. I have not tried those yet.

What Next
Will definitively play with firewall riles, snort, and maybe even VPN. I am also reading about BSD based firewall pfSense and it also seems like a great firewall BSD distro based on m0n0wall. Will try it when I get a chance. Some folks compare the functionality of IPCop and pfSense to expensive dedicated Firewall/Routers.

References
http://ipcop.org

crunchbang linux 8.04.02

Intro
From time to time I like to experiment and try small distros. The fact that there is so much PC hardware around that has been rendered useless because of Windows bloat (updates, anti-virus, firewall, ...) always reminds that we might have a very good use of those computers if we use them with some lighter version of software. I have a bunch of old PCs, some not that old, but still considered outdated for use with Windows.
I successfully run Linux on those "old, but not very old machines" and I use distros such as Ubuntu, PCLOS, CentOS, etc.

Small Distros
Whenever it comes to older PCs (P3 and older) I enjoyed experimenting with Puppy, DSL, TinyMe, Vector... and all those distros are great. Recently, I came across something called Crunchbang Linux 8.04. I did not see it on DistroWatch website. It is an unofficial Ubuntu based distro with OpenBox winfow manager.

CrunchBang 8.0.4.02
I played with it little bit on VMware, then I tried it on a 733MHz P3 with 384MB RAM. Since I use Ubuntu on all production machines in my company and at home as my first choice, I love the fact that CrunchBang uses Ubuntu repositories and is in fact Ubuntu. I even installed OpenOffice 3.0 that appears to be faster than 2.4 and was able to modify Start menu and other OpenBox shortcuts. OpenOffice ofcourse may not be the best choice for a very old and slow PC (please check Abiword).

I also installed Midnight Commander (my favorite console file manager). I like the fact that all the typically needed stuff is already there (truetype fonts, flash player, java). I love "dark theme" on CrunchBang and I have to admit that it makes a lot of sense for slower and older machines in Ubuntu environment.

It probably makes sense to use it on newer fast machines and enjoy the speed of a light non-bloated setup. However, for production machines I would still stick with something "official".

Comments
Great work! Looking forward to possibly see CruncBang in DistroWatch. I definitively recommend everyone to try. Great thing is that all the support and resources available to Ubuntu users are applicable here.

Refrences
http://crunchbang.org/projects/linux/
http://distrowatch.com