System Admin’s Weblog

my life, my shit

Archive for March 2009

new way to die

with 3 comments

And it’s called – motorcycle. :-) It’s not like i want to, but it’s more likely to happen than driving 4 wheels. Anyway, next weekend, or something close to next weekend, I’ll have a friend trying to teach me how to ride one. After that, I’ll most likely be wanting a category A driving license – that’s for motorcycles, and I’ll probably want to buy myself a new beauty. So, being my first one, I’m thinking of a cheap, not so powerful one that will not cost me much to repair in case of an accident.

 

models_2

So, here it is. It’s called Hyosung GT250R. Has 249CC engine which has 28.2 HP at 10.000 rpm. It should be enough for me to start learning how to ride a bike. After few years i was thinking of something more powerful like the one below.

EX650C9F_3

This is the 2009 Kawasaki Ninja 650 R. What can i say?..i was always fascinated by karate movies :-) Has 649CC engine with maximum power of 72.1 HP at 8.500 rpm. Now that’s a real beauty.

Written by pvradu

29 March 2009 at 2:25 am

Posted in Personal

linux resolv.conf rotation

without comments

This post is about linux resolver. It’s the one that reads /etc/resolv.conf and translates names into IPs. I had this problem with my linux at work. I wanted to resolve both internet hostnames and internal hostnames. For that i needed 2 nameservers. But the lame default resolver configuration works like this. Let’s say that /etc/resolv.conf looks like this:

nameserver 192.168.1.1 #for internal hosts

nameserver 194.102.1.1 #for external hosts

So, linux resolver tries the first nameserver. If the nameserver responds quickly it doesn’t try the second one. It ONLY tries the second one if the first times out. So if i try with this configuration to resolve internet hosts, it fails. Because it only tries the first nameserver, it replies in 1 ms so if i ask for yahoo.com, it tells me “unknown host”. Great. If i switch them, then it will only resolve internet hosts, but no internal ones.

After googling around, i found out that you can balance dns queries between resolv.conf entries. So, there’s a big chance that it will rotate just the way you need. So, to make it rotate, just add options rotate on the first line of resolv.conf, before other nameserver lines, it will then work beautifully.

Written by pvradu

20 March 2009 at 11:00 am

Posted in Tehnic

ubuntu lightning problem

without comments

So, Lightning is a calendar client for Mozilla Thunderbird. Nothing new. Well, installing the xpi on linux may give you some problems and that’s only because someone normal, like me, doesn’t get to the producer website to see the requirements, someone normal just installs the xpi. Anyway, ubuntu users should install libstdc++5 before installing the xpi from mozilla. If you already installed the xpi, then uninstall it, install the libstdc++5 using apt-get, and then reinstall the xpi file. It should work like a charm. The original linux system requirement for lightning (taken from mozilla website) are like this:

Linux kernel – 2.2.14 or higher with the following libraries or packages:

  • glibc 2.3.2 or higher
  • XFree86-3.3.6 or higher
  • gtk+2.0 or higher
  • fontconfig (also known as xft)
  • libstdc++5
    (Many modern Linux distributions only package libstdc++6, which is incompatible with Lightning. Therefore please install the package “libstdc++5″ or “compat-libstdc++” on your system before installing Lightning)

Written by pvradu

17 March 2009 at 6:28 pm

Posted in Tehnic

linux vmware 6.5 arrow keys problem

without comments

Well, vmware on linux has a lil problem. When u try using the arrow keys in the virtual machine, they don’t work. You have to use the arrows from the numpad keys to work. So, eventually u have enough of this and want to solve this. So, in the home folder of the linux user u use for running vmware it should be a .vmware folder. Create a file called “config” in that folder (/home/youruser/.vmware/config) with the following content:

xkeymap.keycode.108 = 0×138 # Alt_R
xkeymap.keycode.106 = 0×135 # KP_Divide
xkeymap.keycode.104 = 0×11c # KP_Enter
xkeymap.keycode.111 = 0×148 # Up
xkeymap.keycode.116 = 0×150 # Down
xkeymap.keycode.113 = 0×14b # Left
xkeymap.keycode.114 = 0×14d # Right
xkeymap.keycode.105 = 0×11d # Control_R
xkeymap.keycode.118 = 0×152 # Insert
xkeymap.keycode.119 = 0×153 # Delete
xkeymap.keycode.110 = 0×147 # Home
xkeymap.keycode.115 = 0×14f # End
xkeymap.keycode.112 = 0×149 # Prior
xkeymap.keycode.117 = 0×151 # Next
xkeymap.keycode.78 = 0×46 # Scroll_Lock
xkeymap.keycode.127 = 0×100 # Pause
xkeymap.keycode.133 = 0×15b # Meta_L
xkeymap.keycode.134 = 0×15c # Meta_R
xkeymap.keycode.135 = 0×15d # Menu

Restart VMware and it should work.

Written by pvradu

16 March 2009 at 12:00 pm

Posted in Tehnic

multi level bullshit

without comments

I just saw on one of the biggest romanian job sites, some job opportunities in a multi-level network shit that eventually makes you spend money on crap. The shit is like this. U get recruited. For this, let’s say that u have to pay $100. From this $100, $50 gets to the guy that recruited you, and then, on hierarchical model, gets to the guy that recruited the guy that recruited u..and so on. So it seems that in this economical crisis the world is facing, there are still people willing to manipulate others in order to make some extra money.

Beside that, i saw a lot of videochatting job offers. So, if it’s a crisis, and you don’t have money to take a girl out, just enter www.seemyassnakedorwhatever.com and jerk off in front of your laptop of ONLY $$$/minute. Hopefully, u’ll finish very quickly, so it won’t cost you much. :) Oh, i forgot, videochat companies offer training. Like…"what?..u don’t know how to stick a dildo in ur pussy?..that’s alright..we’re here to teach u" :)

Written by pvradu

14 March 2009 at 10:28 am

Posted in Personal

do you speak english?! – very funny

without comments

Written by pvradu

7 March 2009 at 5:32 pm

Posted in Personal

Recent news

without comments

I’m starting to like how the things go for some time now…i mean..maybe just for this week. It started with dlink and rpm sports, and now continues with my public IP change, and now I’m not in a 512 computer network anymore, they made sub-networks with 64 hosts so probably now, broadcast messages don’t occupy so much space. And this guy that’s going to guide me to make my project at the end of my fucking university just e-mailed me with this proposal that i have to complete with some text, and then, that’s it, that will be the final fucking thing I’m going to do before graduating. Of course, i have to pass 4 more exams too before that.. :)

[update]: this good period of time actually started when i found this firmware update for my Vodafone huawei e220 modem, and now there’s no problem in using it under vista (but there were some before updating the firmware – related to vista not recognizing it as it should be)

Written by pvradu

5 March 2009 at 9:32 pm

Posted in Personal

dlink and RPM Sports

without comments

So, i have to really blog about this, and in a good way, for they put a smile on my face, and made me trust them once more.

Let’s start with RPM Sports. For those who don’t know what i’m talking about, they’re the producers of the powerball i have. If you still don’t know what i’m talking about, visit their webpage. Akis rulez!!! Anyway…my powerball is a neon pro, and has some LEDs that lighten up with the more rotations the powerball has, and has a digital counter. I had a problem with the counter, ..it just stopped working. And a co-worker thought he’d try start the powerball on the floor, which kinda fucked it. Anyway, i wrote to the powerball producers about my counter and about what happened to my powerball, and they instantly decided they should send me the spare parts for me to change: the counter, the bottom shell, and the top shell. So this guy i talked for by e-mail..let’s say ..10 e-mails most, told me he’s gonna send those for free. Although when i bought this powerball in Romania they told me i have 6 months guarantee, RPM Sports tell everybody it’s lifetime. And i didn’t believe him till today. When my mom called me that i have waiting for me at the postal office. And he kept his word. He sent me everything i needed to make my powerball spin smoothly again. And that’s what i did today, replacing parts and test it. Kinda works better than it worked when i first bought it. :) ) Thanks Philip.

D-Link. As some of my friends know, i have a DIR-635 wireless-N router in my place giving me internet connection to everything wireless: my laptop, gf’s laptop, my cell phone. Today, while my internet connection was down, i discovered the firmware update page of the router. And after a quick internet check (the internet came back), i discovered a new firmware update and successfully applied it to my router. After that, a new menu item appeared – USB Settings. When i bought this, i thought the usb port was for storage or something, but after reading the manual, i realized that its purpose was waaay different. Well, after applying this firmware update, i discovered some new functionalities to my USB port on the router. So now, i can access a storage system attached to the router on that USB, using a D-Link software called SharePort. So, SharePort detects what the router has connected to its USB port and asks me if i wanna connect to it. After agreeing with that, it automatically appears in Computer window on my Vista. The only bad part is that it only supports 1 user connected to the USB at a time. Hopefully, they’ll fix that very soon.

Written by pvradu

3 March 2009 at 8:54 pm

Posted in Personal, Tehnic

Bond soundtracks

without comments

The best of them..

Written by pvradu

2 March 2009 at 12:27 am

Posted in Personal