Archive for January, 2008

Ieri am alimentat la Rompetrol si m-am bine-dispus pentru intreaga zi. Probabil multi stiu ca la Rompetrol se poate plati cu un card al lor, modalitate de plata care este default. Daca se doreste plata la casa (cash sau card bancar) trebuie apasata tasta DEL inainte de a incepe alimentarea.

Sunt de acord ca nu este cea mai fericita alegere, dar probabil au avut multe reclamatii si au pus niste autocolante foarte mari in care descriu aceasta procedura. In autocolant se face trimtere catre tasta DEL si este si desenata tasta ca sa inteleaga toata lumea.

Problema este…. toata lumea apasa tasta DEL de pe autocolant si nu cea reala 🙂 , astfel incat au tocit autocolantul….

Cine nu crede, check this out:
Rompetrol freaks

Comments No Comments »

I wrote a lot how to install loopback adapter, how to set the ip address (either manual or automatically), how to add an entry to hosts file (either manual or automatically). Now let’s add all together into a single script.
The script will do the following:

  • call DevCon to install Microsoft Loopback Adapter (you need to download DevCon and save it in the same folder as the script)
  • set the IP address and mask for the recently installed loopback adapter
  • dinamically read from Windows folder the hosts file
  • dinamically read the hostname
  • add a new entry to the hosts file with the supplied IP address and hostname
  • ping the hostname and check if the supplied IP address is responded
  • MOST IMPORTANT: everything is dynamic and automatic. You don’t need to edit the script before each install. Just run it!

You can download this script here: Read the rest of this entry »

Tags: , , , , ,

Comments 2 Comments »

As a common practice all the servers have fixed IP address. Because not all Oracle Databases are installed directly on servers, but on laptops or different machines, it’s very probable that you have DHCP-provided IP address.
If you have DHCP IP address, your full computer name may vary, because different domain is added to computer name. Once the name can be mylaptop.oracle.com, the next day the name can be mylaptop.myhomenetwork.ro and so on.
The problem is when you want to install Oracle Database Enterprise Manager (web-based administration tool), because the installer is creating a folder on the disk have the name based on fully computer name. If you change the network the Enterprise Manager will not work, because it will not find a folder based on the actual computer name.
Enterprise Manager is not crucial , it’s just an interface, so if you don’t want to install it your database will work the same and you will configure the database through SQL*Plus or SQL Developer or Toad or what third party admin you want.
Read the rest of this entry »

Tags: , , , , ,

Comments 1 Comment »

What do you need to know before configuring Loopback Adapter?

  • do not set the gateway because you can screw you internet connection
  • do not set DNS because you really don’t need it
  • do not set 127.0.0.1 or 192.168.0.1 or addresses from the same class as your internet connection address

The addresses that I’m using most of the time are 10.10.10.10 and 192.168.100.100, both with 255.255.255.0 as mask.

Let’s see how can we set the IP address from the command line.

Solution 1
=======

Netsh.exe is a tool installed with Windows 2000, XP and 2003 Server. Read the rest of this entry »

Tags: , ,

Comments 7 Comments »

Because lots of applications (including Oracle Database) require Microsoft Loopback Adapter installed if you have DHCP-enabled machine, I tried to find a solution to automatize the installation of this dummy device.
Lots of attendees that I had on my workshops are configuring the loopback adapter with strange IP’s, gateways and the most common result is malfunctioning of the internet connection.

First of all we need a command prompt utility that will act the same way as Device Manager. Microsoft has an utility like this called DevCon (probably from Device Console), but for some strange reasons it is not redistributable, so you need to download it from their site.
DevCon’s description is http://support.microsoft.com/kb/311272 and download link is this.
Read the rest of this entry »

Tags: , ,

Comments 3 Comments »

I read tons of reviews about this PDA phone before bought it. Now I have it for almost 2 months and I can share the experience with it.

But first let’s see how HTC TyTN II looks like:
HTC TyTN II Kaiser
A description is available here.

Now let’s see what I like at this device:
– QWERTY keyboard is fantastic. You can write emails and SMS very quick.
– GPS included in the device. I am traveling a lot and it’s very convenient to have maps for all the Europe with me.
– Jog dial. One of the things that are not observed but very useful is jog dial, the little wheel on the big thumb, BlackBerry style Read the rest of this entry »

Comments No Comments »

1. Windows 2000
2. Windows XP
3. Windows 2003
4. Windows Vista

1. Windows 2000

Click Start, point to Settings, click Control Panel, and then double-click Add/Remove Hardware.
Click Add/Troubleshoot a device, and then click Next.
Click Add a new device, and then click Next.
Click No, I want to select the hardware from a list, and then click Next.
Click Network adapters, and then click Next.
In the Manufacturers box, click Microsoft.
In the Network Adapter box, click Microsoft Loopback Adapter, and then click Next.
Click Finish.

Read the rest of this entry »

Tags: , ,

Comments 1 Comment »

Some applications are dependent on network functionality and they would not install if a network card is not present. As you will see in the next articles, some network parameters are changing frequently so we will need a static network card.

Microsoft Loopback Adapter is a dummy network card, no hardware is involved. It is used as a testing tool for a virtual network environment where network access is not available. Also, you must use the Loopback adapter if there are conflicts with a network adapter or with a network adapter driver. You can bind network clients, protocols, and other network configuration items to the Loopback adapter, and you can install the network adapter driver or network adapter later while retaining the network configuration information. Read the rest of this entry »

Tags:

Comments 5 Comments »

First of all… happy new year!

I hope that the new year will bring me back my mood. In the last months I did nothing than my usual office work and downloads at home.
I was extremely surprised to see how many visitors I had on my blog just in December, even than the last update was in May 2007.

So I decided to update more frequently the blog. The topics will be the same: Oracle (being my current employer), HTML and web technologies (being my favorites), .NET and sometimes some personal posts.

Good luck in 2008,
Andrei

Tags: ,

Comments No Comments »