Archive for September, 2010

Visit to Turkey


Before 7 days, it was the time of backpacking for my trip to turkey, and one of what really annoyed me was not being able to collect information (specially, financial) about turkey for the trip planning. I am writing here what happened with me during the trip and what I consider important for those who are going in a journey to turkey.

A to Z:

“ … With knowledge, comes responsibility … “

My first days starts at 10 PM at the gathering point somewhere in Syria, and as usual in any Syrian activity, there were a lot chaos around, however, me and my friend managed to find our bus out from 3 – 4 bus … The destination was Mersin, Turkey.

In the way to the borders there was nothing to see, because it was night, and generally, 3/4 of the way from our departure point to the borders consist of bold mountains and plans of sand and rocks.

When we reached the borders, our biggest nightmares was just beginning. There was a mosque near the gate way, so we was able to do our prayers, also, there was a Free Duty Zone so we could buy a some bottled water for exactly 0.5 $ at that time (There were almost all kinds of CHOCOLATE that I love in the market, but I resisted and spent no money on chocolate at that time). In the Free Duty Zone, you pay with USD, but there are people who would change money for you, if you want.

You can change money to Turkish Lira on your home land, or in Turkey, any how take a lot at the rate in http://www.xe.com/ucc/. As long as you are holding Dollars, it’s enough most of the time.

DSC01002 DSC01008

To explain what I mean by night mare … It’s enough to say that when we arrived at the borders it was before dawn by an hour … when we was released into the Turkish lands, it was like 9 a.m. … On the Syrian side, stamping the passport, doesn’t need the tourists to stay in the bus, but on the Turkish side, we had to stay in the bus ( enjoying the music of the engine sound ).

And off we go …

A clean newly-paved road was there to welcome us. In the time were making the trip, it was a holyday for the Muslims in the Islamic world, and some Turkish people was there with the television staff to welcome the new comers to the Turkish lands. I didn’t step down the bus to participate, because I already know the silly protocols that was going to implement down there, and I was more excited to see the first Turkish city, rather to appear on TV. I am not saying here that Turkish people are silly or any thing, they are very nice.

Map picture

We were still heading to Mersin, and the path to Mersin was full of “corn” fields, very nice sight. And in no time, we arrive in Mersin. For me, the sight of the buildings alone was so stunning, buildings with nice modern design and variety of colors (Yellow, Red, Blue … no restrictions). We stop near a mall for about 1 hour or so, to wrap up our selves, and have lunch. In the mall, one of the myths was to collapse.
Before I go, and due to the poor information on the internet, and the myths in people minds that are out of date, I was told that a water bottle would cost about 300 Syria Pound (SYP) = 6.5 $ . And because of this myth I had to take a lot of water bottles with me to avoid buying water. Eventually I discovered that water bottles are never more expensive than in Syria, charging less than a dollar for a 1.5L water bottle. Water in the markets is spring water, in Turkish they write (Su) for water (abstract) and (Suyu, pronounced “Suyaeh”) is the water related to something, like “juice”, or “water of the spring”.

The shore of Mersin is very beautiful, and has a very long side walk along the whole shore as I saw from the horizon. Humidity is high and sun was “boiling” us. Like I always say, in the climate of hills, people get roasted, but in the climate of the shore, people get boiled 😉

DSC01020 DSC01027 DSC01028

A street is constructed parallel to the shore, and between the street and the shore lies a garden park where you can escape from the sun rays. On the program, we were to stay one night in Mersin, in a hotel. It was my first time to get a hotel room in Turkey. The hotel was 4 stars as I remember, however, the service was more than enough. TV is available but all channels speaks Turkish, which was a very big problem to us, because Syrians love to watch TV all the time, however, it was funny to watch Turkish speaking channel while understanding nothing and only trying to imitate them while laughing at our selves.

“ one word you may hear a lot would look like [ederum], there is no such word, this is [elerum] that means [I do]”

The hotel was 4 stars, even though, the bath room was very comfortable, the beds are nice and clean with good smell, the electricity sockets are well maintained (220V like in Syria), and best of all … the Wireless Internet Connection, which is secured with a password that can be acquired from the reception, it has a good speed and all the protocols I used were functional. A gift from the hotel was a Nescafe and a tea packet. Believe it or not!! I didn’t know that Nescafe was so black like this!!! hehe.


A water heater is a common equipment inside Turkish hotel rooms. An air conditioner existed but needed maintenance (gas refilling). A balcony was attached to the room which was a very nice place to take photos from. (be careful not to step on the dead cockroach :).

DSC01048 DSC01046 DSC01044 (I forgot to power-on the flash, hehe)

The dinner was extra-delicious as all the Turkish food is. If you have problems with spicy food, you should ask the waiter about the meals in the buffet, because in general, Turks like spicy food.

In general, hotels serves only breakfast and dinner. Dinner is the main meal that have the meat, and it is served at about 8 PM.

At night, some people went to the beach, but me and my friend didn’t, because frankly!! We didn’t know how to get to the beach, and we didn’t try to ask since one of our friends was hiking and went hiking with him. There was a water pool in the hotel, but wasn’t our best choice to join people there because the ultra-indecent women right there! (You may also find naked people on the beaches somewhere in Turkey, but I didn’t see any!)

There was many more places to visit in Mersin, but it wasn’t our destination.

Next morning we backpack and off we go!! Destination now is Cappadocia! in Nevşehir Province.

Map picture

As we were leaving Mersin, the climate started to change. First we entered the mountainous region where there were newly constructed tunnels in the mountains that saved our and people’s time.

The mountains versants were formatted getting ready to put a metal net and pour cement on the versants and decorate them with stones.


The mountains were very beautiful and full with dense plans of green trees, and when we stopped  for a rest we saw strange thing!!

DSC01061 (Şalgam Suyu = Juice of Shalgam) Like carrots but darker, maybe carrot pickles, I don’t know!!.

After the mountainous region, the climate started to convert to desert as approaching toward Cappadocia. Humidity started to lower but not the temperature.

After a long trip, with few green trees that appear on the rocky hills, we reached Cappadocia, and started to see the first signs of the ( City engraved in stone ) …

DSC01096  DSC01117 DSC01092

The photo on the above right, is the castle, you can enter for few pounds, but we didn’t have to pay anything to go in because it was the holydays maybe. Any way, you don’t ought to pay to go in, our guide told us we better not to pay for entrance because what we can see inside we can see from where we were standing, and there aren’t much more beautiful photos that can be taken there. Keep your eye on your group, because you may get lost in the old streets near the castle if you don’t pay attention.

The valley in Cappadocia has more than the engraved houses, it has also the natural phenomena described in Wikipedia as:

“ The rocks of Cappadocia near Göreme eroded into hundreds of spectacular pillars and minaret-like forms “


DSC01132 DSC01123

There are a lot souvenirs to be bought in there but I preferred not to buy anything; one very famous souvenir is the miniature of the Cappadocia castle.

At night, we were staying at a hotel that is far from the town center by about 10 minutes walking … but the path from the hotel to the markets is very sloppy and for old people, it’s better to ask the hotel for a car. In the market, try to negotiate with the sales man, to bring the prices as low as possible, usually you will be able to lower the prices by not showing too much interest in the goods, and trying to go away, then the shop keeper will call you back with lower price. If you don’t have time, just buy the things and go on (Turkey isn’t expensive after all). Most of the time, I found stickers with the price of the stuff all over the shops, but not always.

I stayed only one night in Cappadocia, so there aren’t so much to say about there … but there is a very important thing that the one should take care of which is the “Toilets” … In Turkey, there are squat toilets, and there are also raised-commode ones which is the main type in hotels, but the raised-commode have special thing for those how want to use water for cleaning after (The end of the process :), In Syria, raised commode have a water faucet near it, connected to a water tube which you should take (the end of it) by hand to the appropriate place to clean with the out going water … in Turkish toilets there is no tube, rather, the tube is a copper tube integrated in the toilet and only the nozzle at the end of the tube appears and directed to the bottom of the user (usually not directed properly), by the time I am writing this blog, and after reading the following link, I discovered that I miss understood the equipments, hehe 😉



Map picture


From now on, we were taking a 13-14 hours trip to Istanbul, one of the most beautiful Mediterranean Pearls. Along the path, the one can see 2 noticeable things. The first one, is the [rain water treatment system], attached with the traffic system; even on the longest highways, the one can see a tunnel running along with the road that drives any drop of water that falls, to a specific gathering location, generally saying, there is no rain drop that falls on the Turkish lands that doesn’t get gathered some where to benefit from. The other clever behavior that the one can notice is the high dependence on Solar-power water heating systems for homes, that is for sure, saving hundreds of thousands and may be millions of dollars for the electrical network.

And as we were approaching Istanbul, we passed a location called Izmit where we had a rain fall, very intensive, but thanks to GOD and then to the rain water treatment system, all the water was drained and driven off the roads with no harms.

Istanbul is a very big city, spanning over an area equal to 1/2 the area of Lebanon, and having about 25 million person. For me, I speak Arabic and English, but for the Turkish people, Arabic was more understandable from English, they are rather poor in English, except in some places (e.g. the reception in the hotel, and the cashier in a big mall …). You can also find some young people in the street that looks like studying in a university, they will speak English very well. The most beautiful places are concentrated in the “Historical peninsula” as they call it, but there is something to say here. The high population and the large area of the city implies some security concerns, the criminal rate is higher than what we would find in Syria, so the guide explained to us how cautious we should be, specially that Syrians has the habit of putting their wallets in their back pockets exposing it to the public.

  • Secure all of your stuff while walking in the streets.
  • Avoid crowds.
  • Have something for protection, since some one with a knife would appear to you, if you are walking in a narrow hidden paths.
  • If your wallet have a a lot of money, try to keep most of them in the hotel before you go out, take only what you think you’ll need.

If you are going to move a lot inside the city, I advice you not to use the taxi at all, because simply, fuel is expensive in Turkey, thus, the taxi bills will be high. If you like bicycling I can’t be so useful here, because I don’t know the laws for bicycling inside the city, but to say the truth, I don’t remember that I saw someone bicycling in the city, it’s difficult to do so any how. The best transportation way I found personally is the Metro and the Tramway, you can always find maps of the railways on the internet, and you would also find a copy in the reception office. Entering any line of the network costs you 1.5 TL = 1 USD, changing to another line will cost the same (much cheaper than a taxi of course). There is also a transportation network of buses and ferries, but I didn’t use it so I can’t comment on it.

In the historical places, be sure of what you are doing before taking a photo, because it’s forbidden in some places to take photos, however, if this is applied somewhere, you should see some signs around to tell you this, so search for such sign before you try taking a photo. There are signs for “Free WiFi zones” also, take care of those as well ;).

It’s Preferred NOT to eat from the shops and restaurants in the historical places or near them, because the prices is usually 2 or 3 times the real value. Have lunch in the modern city.

Don’t return to your home country without having [Dondurma] which is a very delicious Turkish ice cream, and the [Döner] with 2 types: beef and chicken. Döner is also famous in Syria as [Shaoorma], but the Turkish “version” is much better.

Beside the historical value, the one can also find a very beautiful nature, specially in the Büyükada island that is about 1.5 hours far from the shores of Istanbul reached by ship. One of the 4 islands called [The Islands of the Princess’]. The sea there doesn’t have high humidity for some unobvious reasons, maybe temperature, but I liked it that way. On the islands there are only 2 ways of transportation which are;

  1. horse-drawn carriages.
  2. Bicycles.

Using vehicles in the island is forbidden, and there are only government vehicles (Emergency, Police … etc). I chose the bicycle ( I didn’t remember how to ride it at first, but in 10 minutes, all memories are refreshed). You can have a map for the road in the island, but you won’t needed it, because it’s enough to follow the line made by the houses “stool” on the road to know the path of the carriages which is the same as the bicycle. Use the map for shortcuts in case you run out of time, because you may not be able to estimate the time correctly if you choose the bicycle, because on the map, the slope of the street is not shown, so some portion is so sloppy upward, and will take time, while others are sloppy downward where you can ride faster.

Map picture


DSC01327 DSC01326 DSC01331

Eat something with energy before you get on the ship, because you might feel a little bit cold on it.

Back to Syria:

We stayed in Istanbul only for 2 days, but that was never enough for such a city, we left a lot of sites unseen. You would need about 7 days for Istanbul alone. We got back to Syria, were prices went lower and quality did as well. Best wishes on your trip.

Read Full Post »

Internet and VMware

Activating the Internet accessibility in a virtualized guest OS, using VMware:

Note: this is not a "Click-n-Play" tutorial, which means that it contains technical explanations and a lot of information for reading before achieving the goal of the tutorial, so consider this before proceeding.

Overview: Thanks for engaging this document. Here I am trying to show; how we can get an internet connection in the guest operating system hosted using VMware 7, using the internet connection of the host system.

Note: In this tutorial, I am not considering any difficulty with installing the VMware Workstation, or even a guest OS on it. We are going to discuss only the Networking in VMware Workstation, in order to get internet connection inside the guest OS across the host OS.

Note: A virtual machine that was created and managed using VMware Workstation 6.xx can be effortlessly lunched using VMware Workstation 7.xx, so if you like to switch from older version to VMware Workstation 7.xx, just save the files of the virtual machine in a safe place, and uninstall the older version, and then install the newer one. Any way, if you’re not having any intention to switch versions, so it’s enough to understand the mechanism to do networking configuration in the VMware, then you’ll find it easy to make configuration with any version.


            Before we start working we need to agree on some terms in order to understand the terms used in this tutorial:

Guest OS: is the operating system that runs inside the VMware environment, e.g. If you install VMware on a Windows 7 machine and then you install Windows XP inside the VMware, then Windows XP is called a guest OS.
OS is the operating system in which the VMware is installed (In the previous example, it’s the Windows 7).
Machine: is a software version of a real physical computer, and it’s called "virtual" because it has the features of the real PC, still being a piece of software created by VMware Workstation. The guest OS needs a virtual machine to be installed on.
Cable: is a term that I invented to explain an imaginary cable connecting between "Two Networking Interfaces" (An example of network interface is the Wi-Fi card that you put in your desktop).

Step 1:

In this tutorial, we will consider the VMware Workstation 7.0.0 build-203739, however, if we get able to configure this version properly then the previous versions may be easier to configure than this one. So we need to install the VMware Workstation 7 on a compatible edition of Microsoft Windows (The host OS) and then we can start working. In this tutorial, the Host OS will be a MS Windows 7 x64 Ultimate Edition, but usually, the edition of the Host Windows OS won’t make difference in our task.

Step 2:

after installing the VMware successfully and installing a guest OS on it (in this Tutorial, the OS will be a MS Windows XP SP2) …

Open the VMware Workstation:


Get sure that the OS is "Powered Off", not sleeping, not any state but "Powered off", this is essential, since we need to make some configuration on the virtual machine, and I don’t think that you agree that it’s a professional practice for anyone to try to repair or modify a real PC without shutting it down first. So if the guest OS is not shutdown, go in and shut it down, and get sure that the virtual machine is Powered off. In the above snapshot, the virtual machine is "Suspended", and this won’t work, I need to power the virtual machine before proceeding. The Virtual Network Editor doesn’t require any guest OS to shutdown, but we need it for the latter steps.

Now, from "Edit" menu, choose "Virtual
Editor", go in and you get:


Before you get frightened from the next long paragraph, I want to tell you that it contains 99% conceptual ideas, and it’s only for you to understand what you are doing in depth, so just read and don’t skip it, please.

I call this the Virtual Network Editor "The networking control panel". The main idea here is that VMware workstation is providing you with the ability to establish up to 10 networks between the Host OS and the Guest OS, you may ask "why 10 networks, I only need one?", now VMware Workstation targets a wide spectrum of PC users with different skill-levels, and at the top of the spectrum, there are people, who use VMware Workstation for "network" designing. Therefore, they provide it with up to 10 networks between the Host OS and the Guest OS; in our case we are going to use only Network number 0, called "VMnet0". The image shows a "Virtual Network Editor" that’s being lunched for the first time, so it tries to assign IPs for VMnetworks that are configured to the type "NAT" or "Host-only" or set to "Custom". In the next words you are going to try understating the idea behind the three types available for each network I choose to activate, which are: Bridged, NAT, Host-only.

Networking Paradigms in VMware workstation:
    Any network from the 10 networks in here will be enrolled in duty with one of three types, we will use "Bridging Method" so we are not going to explain too much about how to apply the other 2 methods:

Host-only: This is the easiest one for understanding, because it’s just like connecting the guest machine and the host machine with a "virtual cable", so you established a connection between the two computers, and then they can share resources with each other, but this alone, doesn’t give me any internet access even if the host system have got internet access, and the reason is that "Internet Access" is a "Resource" and there is a special mechanism in our Windows 7 and in MS Windows in general to share this resource which is the internet access, and I haven’t applied this mechanism yet. So I can’t get internet directly to the guest OS by making a "Host-only Network" with the Host OS.

NAT (Network Address Translation): is a mechanism for building networks and making them private, and by private we mean isolated from the public domain which is usually the internet, never the less I want to give them the ability to the see the internet, with other words, all the "computers" in my network will see the internet but no one on the internet can see my computer. So, when applying the NAT scheme, I build a LAN, with no ability to see the rest of the world (internet), and I provide the network with one computer (it’s then called a Gateway) which will be the only way for the LAN computers to access the internet, now I connect all of my computers to the Gateway computer, and connect the Gateway computer to the Internet, and now I have control over the accessibility of the other computers to the internet. If I stand at some point in the Internet, and I look toward the LAN I built, I won’t be able to see the LAN computers, because the only way from the internet to my LAN is through the Gateway, all of what I am going to see is the Gateway computer, requesting all the WebPages, music, videos, files to download … but in reality, it’s not the gateway that’s is really requesting all of these, they are the computers behind it, but I can’t see them, so I only see the gateway requesting all the data. This is not all about the NAT, but we aren’t going to discuss this further because it’s not the right context for this, for further info about this (very important aspect) visit Wikipedia, and read about NAT. Regarding our internet access, if we only make a NAT in here, we won’t get direct internet access, because a situation very similar to the resource sharing in the host-only will occur, the situation will be like, we make a "Host-only" network, between the Host machine and the Gateway, and then each virtual machine will connect to the Gateway with a "virtual cable". The difference this time is that the Gateway isn’t actually a virtual machine like the other computers on the LAN, rather a built in piece of software in the VMware Workstation.

Bridged Network: this is the easiest for achieving our goal, which is connecting the Guest OS to the internet. The concept of bridging is very simple, and the word "Bridge" have the same meaning of the real bridge that we construct in our traffic systems. Imagine that I have computer A, that want to access internet, and I have Computer B (could be a router) that provides internet access, now, supposing that both computers have networking interfaces that can connect to each other with cables, all I need to do to get Computer A to have internet access, is to connect Computer A with a cable with computer B. Now bridging comes, if I want to connect Computer C to Computer B through the same cable, and what I do is to connect computer C, to computer A and then tell Computer A to build a "Bridge" between the cable from C to A and the cable from A to B, and now we established a connection from C to B (through A) and we can have internet access on C, and that is exactly what we are going to do. I quoted this useful information from the VMware Workstation Help Documents; I hope it comes in hand:

Bridged Networking

Bridged networking connects a virtual machine to a network by using the host computer’s network adapter. If your host computer is on a network, this is often the easiest way to give your virtual machine access to that network. The virtual network adapter in the virtual machine connects to the physical network adapter in your host computer, allowing it to connect to the LAN the host computer uses.

Bridged networking configures your virtual machine as a unique identity on the network, separate from and unrelated to its host. It makes the virtual machine visible to other computers on the network, and they can communicate directly with the virtual machine. Bridged networking works with both wired and wireless physical host network cards.

Figure 14-1. Bridged Networking Setup


Now, after this brief objective explanation about the networking methods in VMware, I think we are ready to establish a connection between our host OS and the guest OS so the latter can get internet access from the host. Before we start, you should go and connect to the internet by one of your "high-speed LAN" interface, e.g. Wi-Fi card, Ethernet card … and after you get sure that the host can access the internet you can proceed, but note that if you need to configure your Host OS manually when are connecting it to the internet, you’ll need to configure the guest manually also. In the following steps we are going to make a bridge from the Network Interface in the virtual machine to the Network interface in the host machine, in my case I connect to an ADSL Router using a Wi-Fi card to get internet access. I am going to make a bridge from the virtual machine through the Wi-Fi card to the Router, so it seems like I am connecting the virtual machine to the router.


Now, by default, VMnet0 is set for use during bridging. In the image, the "Bridged to" option is set to "Automatic", which means that VMware will automatically choose which NIC(Network Interface Controller) as shown in the figure, according to the connectivity status of the NIC, but I prefer to choose it manually to "Atheros AR5007 802.11b/g WiFi Adapter", before I started making bridging, I connected the "Atheros" Wi-Fi Adapter to the router that is connected to the internet. After clicking "Okay", I assume that we finished the Global
Part of the operation, and now we need to make configuration to the very guest OS that needs to connect to the internet.


Now, first you need to open the settings of the virtual machine, and the first tab that appear is the "Hardware" settings tab, if you can’t see a network
adapter like mine, try to add one by clicking "Add…". Now all you have to do is to set the Network connection to the "Bridged" mode. Actually, we are finished configuring things, and all what we need to do now, is to lunch the Guest OS (Windows XP in our case). I lunched the XP, and I had nothing to do more, XP saw the Router and the Router saw the XP, and then I was able to connect to the internet as easy as possible.

clip_image002 clip_image004

The speed in my case is 1.0 Gbps as show, but actually this isn’t the speed between the XP and the Router, rather, it’s the speed of the "bridge", meaning that it’s the speed of the link between the NIC in XP and the NIC in Windows 7. The Router also gave me an IP
address like if I am connected to the Router by a cable or with Wi-Fi inside the virtual machine.


That was all about how to connect to the internet in a guest OS through the host OS, as you could have noticed that it’s more about science than about technology, and that convention always is preserved if technologies refer to the same science, I didn’t read the Help Document before I know how to make the connection, but I know about NATing, and Bridging, so it was enough. I hope you enjoyed the article. Thanx for your care.

Read Full Post »