Archive for the ‘IT&C Stuff’ Category

HTC HD2 vs iPhone 3GS

Tuesday, February 16th, 2010

Get the Flash Player to see this player.

win win

Wednesday, November 18th, 2009

Ieri a avut loc ceremonia de lansare a sistemului de operare Windows 7 la Cluj. Evenimentul a cuprins si prezentarea Windows 2008 Server, Exchange 2010 si Windows Mobile 6.5. Deoarece folosesc Windows 7 de ceva luni bune, nu m-a impresionat foarte tare prezentarea. Am invatat cateva shortcuturi noi si fancy, dar cam atat.

In schimb, Windows 2008 Server + Hyper-v chiar m-au impresionat. Sunt fan Linux, dar unele feature-uri din Win2008 merita incercate. Intre VMware ESXi si Hyper-v, diferenta principala e data de capabilitatea ESXi de a clona o masina fizica Windows/Linux intr-una virtuala live. Si Hyper-v se lauda cu asa ceva, dar stie numai OS-uri M$. Interfata grafica in schimb (asa cum era de asteptat) e mult mai ergonomica la Hyper-v.

Sa ajung si la titlul postului: la sfarsitul prezentarii a avut loc o tombola unde se puteau castiga un htc HD2, un LG cu touchscreen si WinMobile 6.5, un HDD de 2TB, traininguri micrsoft, carti, etc. In timp ce erau prezentate telefoanele, i-am zis colegului Luci ca eu nu vreau LG-ul, numai htc-ul imi place. El a raspuns ca s-ar multumi si cu un LG. La tragerea la sorti, eu am castigat htc-ul, iar el LG-ul…

Cateva din caracteristicile telefonului:

  • Procesor la 1GHz (!)
  • Ecran 4.3″
  • 3G, EDGE, etc…
  • Camera 5Mpix
  • Accelerometru
  • Receptor GPS
  • Internet sharing prin USB, Bluetooth si WiFi (are incorporat un WiFi router)

P.S. – in rRomania o sa se vanda doar de saptamana viitoare ;)

how to reset the root pasword (openSUSE 11)

Monday, September 21st, 2009

Well, shit happens. You’ve lost your root password, you’re not a GOD any more. Don’t worry, in three simple steps you can reset the root password.

First, reboot the machine. When it starts choose the normal boot menu from the list, and in the Boot options type:

init=/bin/bash

It will start in a privileged mode, where you can change the password:

(none):/> passwd
Changing password for root.
New Password:
Reenter New Password:
Password changed.
(none):/>

Presto, you’re done!

la multi ani, mie :))

Friday, July 31st, 2009

Cica azi e ziua internationala a sysadminilor: sysadminday.com. Cine sare cu berea? :D

how to configure port forwarding

Friday, April 10th, 2009

Here are the steps to set up a port forwarding if you have a configuration like the one below (using NAT). The public (routable/real) IP address is 212.3.4.5, your (web in this case) server’s IP is 192.168.1.10. Since it is a web server, it will listen on port 80.
cisco 300x111 how to configure port forwarding

ip nat inside source static tcp 192.168.1.10 80 212.3.4.5 80 route-map nonat extendable

If you have two or more webservers, you need to assign different port numbers to each port forwarding. It’s good practice to assign a port other than 80 there is no express need for using implicit ports.

ip nat inside source static tcp 192.168.1.10 80 212.3.4.5 1880 route-map nonat extendable
ip nat inside source static tcp 192.168.1.11 80 212.3.4.5 2880 route-map nonat extendable

I the above case, you will access the 192.168.1.10 serer by pointing your browser at http://212.3.4.5:1880 and the 192.168.1.11 by pointing your browser at http://212.3.4.5:2880

The next step is to create a rule to permit access to your server(s). I prefer using a Zone-based Firewall, so my acl-s have sugestive names. I will create an acl that permits access from the intrenet (outside) to the server from the intranet (inside):

ip access-list extended internet-to-intranet-acl
permit ip any host 192.168.1.10 eq 80

The above acl can be translated as: permit access using IP protocol from any source to host 192.168.1.10 on port 80.