• This post mainly applies to people who are

    • Having a laptop or desktop with a WiFi adaptor
    • Having an internet connection through a USB Modem like Reliance Net Connect or Tata Photon (India)
    • Having a smart phone and want to access internet

    Now a days almost all laptops come with Wireless/WiFi adaptors which can connect to WiFi networks to access internet. But the truth is that, in addition to connecting to a wireless network, your WiFi adaptor can also function as a wireless router for transmitting a wireless network. So if you have an internet connection through a cable, DSL or dial-up modem, you can create your own wireless network and share the internet connection with other devices like smart phones and PDAs.

    Following is a step by step process to create a wireless network from your laptop (Windows Vista)

    1.  Go to Control Panel > Network and Sharing Center > Setup a connection or network. Then select “Setup a wireless ad hoc (Computer to Computer) network and click next.

    2. Click next again on this screen

    3. In the next screen enter the network name such as “My Personal Net”. If you do not want your network to be password protected, select security type as “No Authentication (Open)”. If you want password protected network, then select a security type (WPA2 is the preferred one) and enter a password and click next.

    4. Now windows will create the network and will say that the network is ready to use

    5. Now open the wireless network section of your smart phone and you can see the wireless network we have created just now. You will be able to connect to this network but no Internet Connection yet.

    6. Now to share your cable, DSL or Dial Up connection through this wireless network, go to Control Panel > Network and Sharing Center > Manage Network Connections. Select the network connection you want to share and right click and go to Properties

    7. On the properties go to Sharing tab and select the checkbox to “Allow other users to connect through this computers internet connection”. Select “wireless network connection” from the home network connection dropdown box. Now click on and you are done!!

    Tags: , ,

  • Recently we had to develop a web application using Java on Tomcat and the database was DB2. The application worked without any problem in our local and was inserting records into database tables. But when we deployed the application in our client’s server, we started getting a weird exception which says “[ibm][db2][jcc][1083][10406] Illegal conversion”.

    We had to spent a lot of time to research before we found the reason. The issue happened because of the attribute “poolPreparedStatements=true” in Tomcat data source (context.xml). In our code, we were using setBytes() method on PreparedStatement which in combination with the above attribute created this wonderful exception!!

    According to Apache DBCP Config Specs , pooling prepared statements can leave the cursor open in the database. So it should be specified carefully along with “maxOpenPreparedStatements=” parameter.

  • Wikileaks website is now available through the US mirror website http://213.251.145.96.nyud.net/

  • Tech News 03.12.2010 No Comments

    The US domain provider EveryDNS.net, today, blocked the Wikileaks website siting reason that, DoS attacks on Wikileaks has affected the stability of its servers (which provides about 5 million other web sites). However wikileaks was able to get a new registrant in Switzerland and Wikileaks website is now available through the new domain name Wikileaks.ch

    Please support Wikileaks to keep the website live and up there by making the things happenings in the world be open, transparent and just.

    Wish you all the best Wikileaks!!

    Tags: , , , ,