<body><script type="text/javascript"> function setAttributeOnload(object, attribute, val) { if(window.addEventListener) { window.addEventListener('load', function(){ object[attribute] = val; }, false); } else { window.attachEvent('onload', function(){ object[attribute] = val; }); } } </script> <div id="navbar-iframe-container"></div> <script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script> <script type="text/javascript"> gapi.load("gapi.iframes:gapi.iframes.style.bubble", function() { if (gapi.iframes && gapi.iframes.getContext) { gapi.iframes.getContext().openChild({ url: 'https://www.blogger.com/navbar.g?targetBlogID\x3d8260084\x26blogName\x3dInspirone\x26publishMode\x3dPUBLISH_MODE_BLOGSPOT\x26navbarType\x3dBLUE\x26layoutType\x3dCLASSIC\x26searchRoot\x3dhttp://inspirone.blogspot.com/search\x26blogLocale\x3den_GB\x26v\x3d2\x26homepageUrl\x3dhttp://inspirone.blogspot.com/\x26vt\x3d7283571689019320238', where: document.getElementById("navbar-iframe-container"), id: "navbar-iframe" }); } }); </script>

Inspirone

"I maintain that Truth is a pathless land, and you cannot approach it by any path whatsoever, by any religion, by any sect. Truth, being limitless, unconditioned, unapproachable by any path whatsoever, cannot be organized; nor should any organization be formed to lead or to coerce people along any particular path. You must climb towards the Truth. It cannot be 'stepped down' or organized for you." - author: Jiddu Krishnamurthi

Saturday, November 25, 2006

Hosting an Internet Information Server over LiveBox

Since the advent of MyT, although the Video On Demand (VOD) is not really worth it, many people have converted their ADSL subscription so as to benefit from the higher internet connection speed. Exchanging your old Sagem ADSL modem to the new Sagem LiveBox can be fun since the later is in fact a router with lots of features. In this posting I’ll discuss on how to configure a LiveBox so as to host your own web server (IIS) on a Windows XP PC at home. Note that the language of the LiveBox configuration page can be changed to English, but here I would use the default French one as set when using MyT.

LiveBox Configuration
When configured, the LiveBox by default has the following IP: http://192.168.1.1/, which when type through the web browser loads the configuration page. The login for both the username and password are Admin by default. Once on the configuration page select “Serveurs LAN” from the menu, which loads a list of servers installed on your network. Initially this list is blank. To add a new server, click on “Ajouter”. The fields need then to be filled as follows:
Nom du serveur: Any name you like to call your server.
Accès activé: This allows activating or deactivating the web server. Select "Oui"
Protocole: Select "TCP"
Du port: Enter 80
Au port: Enter 80
Adresse IP locale: This field is automatically filled with the IP address of the local machine which could be 192.168.1.10.

Once done select “Appliquer”, then select “Maintenant”, then “Sauver”. The settings would be saved on the flash memory of the LiveBox and the LiveBox configuration is completed.

DynDNS
Your LiveBox IP address which is the external IP is not static and therefore changes periodically. So accessing your web server from outside your local network by typing its IP address would work only if you know the IP of your LiveBox each time it changes. So ideally you would need to have a domain name that points to your local web server and make sure that each time the IP address of your LiveBox changes, the domain would always point to it automatically. This functionality is supported by your LiveBox by using the services provided on http://www.dyndns.com/.

DynDNS Account configuration
So the next step is to create an account on “http://www.dyndns.com/”. Select Sign up now and fill the new account form. You would need a valid email address to complete the sign up. Once done log on to the site using the newly created username and click on My services which is on the far right of the page. On the left menu, select Add Host Services. On the next page select Add Dynamic DNS Host. You would then need to fill up a new form for the dynamic host as follows:

Hostname
: domain name used address to access your webserver. For example this could be myname.dydns.org.
IP Adress: This is the IP address IP of your server which is automatically filled.
Once done, select Add Host and the domain name configuration is completed.

LiveBox advanced configuration
From the above, we have configured our LiveBox to expose a web server and also created a domain name to point to that server. All of this is fine until the IP address of our LiveBox changes. DynDNS would not know the new IP address unless the LiveBox is configured to automatically update DynDNS each time. We will now need to configure the automatic update of DynDNS. On the LiveBox configuration page, select “Configuration avancée” from the menu. On the new menu list, mouse over “Réseau” and then select “DynDNS”. The configuration need to be set as follows:

Etat du service: select "Activé" and then enter your account information as created on DynDNS so that the LiveBox can connect to DynDNS to update its IP address on the site each time it changes. Once done select “Appliquer” and then “Maintenant”, then “Sauver”. This completes the automatic update of your LiveBox IP address.

IIS Configuration
IIS may not be installed by default on your PC. To check this select Start then Run on Windows, then type InetMgr and hit Enter. If IIS is installed, the IIS manager application would be loaded. If not, an error message would be displayed. To install IIS go to Add or Remove Programs under Control Panel, then select Add/Remove Windows Components. In the list, select Internet Information Server (IIS) and select Next. You would require the Windows XP set up CD in order to install this feature and should follow the install instructions.

Website Configuration
Now all you need to do is go to the “c:\inetpub\wwwroot” directory and create a default “index.html” page. Type anything you want on it and voila, your web site is configured. To test it, you need to open your web browser and type http://localhost/. This should load the default web site hosted on your IIS which is the page created above. Anywhere on the internet if someone types your DynDNS domain name it would actually point to that web page hosted on your IIS server on your home PC. Now you can easily share files on the internet by copying them in the above directory and provide a hyperlink that points to that file, in this way your friends can easily download them. You can even design a whole website and host it on your PC. Note that if you type your DynDNS domain name from your web browser, it would not connect to your web server but rather to the LiveBox configuration page again. This is normal since your are accessing it from your local network. The web server is only visible from outside and the easiest way to test if it works is as mentioned above. Hope this helps, any comments or corrections are most welcomed.

Labels: , ,

Saturday, November 18, 2006

Insight of the "E" type

Sometimes a single short conversation with someone can open a window to their inner self and it is then that you can really see what is inside. Like I previously described in observer and observed, such moments, if noticed, can tell a lot about one's self.

There are some people who are unlucky or rather believe that they are unlucky in relationships and end up being lonely or single. They then tend to say that their loneliness is the path they chosed so as not to be the subject of conversation of others. Fear of repression has always existed though we continuously deny it, but deep inside it's still there. While some people believe in stories where someone comes to you and says he/she was meant for you, others are more realistic and make things happen. But if everyone were the same then relationship problems would not have existed.

There are some people who have a quite extrovert and a very outgoing personality. Such people have the ability to propagate outwardly what they feel inside very easily and thus create an atmosphere of well being and fun around them. I'll call this personality type "E". While this type of personality always attracts people around and can make the person very popular, it often has some downsides. When reacting to type "E", some people tend to become hesitant to express their feelings and have the impression that the person is unreachable. I believe that this is mainly because the more outgoing one is, the more his/her personality is imposing over others. Not in terms of authority but rather in terms of feelings. This also gives the impression that type "E" is insensitive to feelings and that he/she is happy the way he/she is. In this case, any disruption would be considered as anormal and thus people would rather suppress their feelings and keep their distance even though outwardly they seem close. Sometimes type "E" mask the wounds of a previously broken heart and try vainly to forget that part of their life. They would tend to react outwardly to suppress any feelings inside and seem to be happy. But however outgoing the type "E" is, deep inside there's always a soft heart, waiting to be loved and cared for. It is not always obvious for the common ordinary mortals, but sometimes it can be observed. But still one must open oneself to others for someone to find it one day, suppressing it is only a duality within the self. It's like inviting someone inside your personal area, they would not enter it by themselves if you don't let them in...

Labels: ,