četrtek, 24. maj 2007

četrtek, 17. maj 2007

Ubuntu and PPTP

Today I had to connect to a VPN server using PPTP.
Since this is a Microsoft protocol, my coworkers thought it won't work. So naturally I had to prove them wrong. Google to the rescue. :)))
If you have the same problem, just follow this link. I managed to get it to work using "configuring a tunnel by hand" part of the manual.

ponedeljek, 14. maj 2007

I'm sooo sleeepyyy

Yesterday we went and prepared a big shop (17 POS systems) to be opened this morning. I'm still in work and haven't had any sleep for more that 24 hours .... The day before only 5 hours. I'm about to break down. My mind is not doing exactly what I want it to. :))) Ever felt like that ? Ever went without a sleep for three or four days... :)) Unforgettable experience.

petek, 11. maj 2007

Additional IP on Ubuntu 7.04

I've been using Ubuntu (6.10 and now 7.04) for couple of months now and I love it.
In my company there are a lot of computers with different IPs and netmasks and I need to access them. I haven't found a way how to do it with a GUI, since a lot of things can be done via GUI in Ubuntu.
So, for you who are interested in the solution, here it is:

sudo vi /etc/network/interfaces

and edit the file to get something like:

auto eth0 eth0:1 eth0:2
iface eth0 inet static
address 192.168.0.2
netmask 255.255.255.0
gateway 192.168.0.1

iface eth0:1 inet static
address 10.10.33.10
netmask 255.255.255.0

iface eth0:2 inet static
address 10.10.50.10
netmask 255.255.255.0


Now I have three IPs (192.168.0.2, 10.10.33.10 and 10.10.50.10).

sreda, 9. maj 2007

Frustration

Damn !!!
I'm struggling with one "bug" in my program. Bug is in quotes because I'm not 100% sure it is a problem in my code. Why?
I'm doing an UPDATE of a table in DB2. DB2 has locking mechanism in behind, so until this transaction is committed no one can do anything on this row/table and their program is locked. Why I'm not sure the problem is in my code? Because there is only one thread and only one place in my entire project that does anything with that particular table. It drives me crazy !!!

petek, 4. maj 2007

Vacation

I just can't believe that I've been on vacation the whole week. :))) It was good and I'd love some more. hehe...
I hear that JavaOne is around the corner and as usual I won't be attending. :((
I will be attending our local conference OTS 2007. In fact my article was accepted. :)) A coworker will be on the stage with a big stage fright. :))))
I was planning to get my IPTV hooked up to my compuiter during this vacation, but didn't manage to. Ah, pitty... Maybe on my next vacation in couple of months. hehe...