Monday, March 16, 2015

Share Internet From Your Computer To Your Smartphone/Tablet

Here's a small trick I managed to execute the other day. Have you always wanted to use the blazing fast internet at your office for your smartphone but you face one or more of the following issues?

  • Your work PC is using LAN cable
  • Your office doesn't have WiFi internet
  • You do not have the WiFi password / do not have the access to use the WiFi
Worry not folks, as I just might have the solution for you. The only catch is that you must be running Microsoft Windows 8.1, as this method focuses solely on this operating system, as per my personal experience.

You should be up and ready to use the internet on your smartphone or almost any device with WiFi connection in under 10 minutes at maximum. Let's go straight into the steps shall we:

First things first, you have to make sure your PC/laptop has WiFi card on it, otherwise this will not work.

1) Open up Command Prompt (or press Windows button + R) and type in "cmd" and press Enter. Please note that you must be running CP in Administrator mode, otherwise you will not be able to execute the next line of commands.
2) Type "netsh wlan show drivers", press Enter and look for this line: "Hosted network supported". If you see "Yes", you're in luck. Otherwise, sorry dude, better luck next time!
3) Type "netsh wlan set hostednetwork mode=allow ssid='yourssid' key='yourkey'" where ssid and key are your preferred names without the apostrophe and hit Enter.
4) Next, open up a Windows Explorer (or press Windows button + E), type "Control Panel" on the navigation bar and hit Enter. Go to Network And Internet, Network And Sharing Center, and click Change Adapter Settings on your left. You should be able to see a new connection. That's good news, ignore it. Instead, go to your current active internet connection, right click and hit Properties, go to the Sharing tab. here check both the boxes you see and make sure the connection name in the textbox is exactly the same as the new connection you saw just now. You can type it or select from the dropdown option. If you don't see it, uncheck both the boxes, press OK and close and open again.
5) Once you have set the above, go back to Command Prompt and type "netsh wlan start hostednetwork" and it should be started.
6) Voila! Your internet from your computer/laptop's cable LAN is now broadcasting and you can connect to it using any WiFi device like your smartphone or tablet!

More often than not this network should be saved into your system and the next time you reboot, you should be able to connect to this connection without much hurdle. Just type in the command from step 5 and you're good to go.

I've always wanted to do this for the longest time I can even remember. It's just astonishing how such simple and useful task as this is not a standard feature on Windows or any other PC, or am I not aware of such setting available? The closest feature that I'm aware is the Ad Hoc Internet setting in Windows, but unfortunately this setting is somehow removed or hidden from common usage in Windows 8.1, and thus the workaround method above. Anyhow, personally for me this feature should be standard and made as simple as a few clicks away, as this type of connection is very useful in many everyday cases, and most importantly, very practical.

Cheers!

Sincerely,
Mr. Syntax Geek

Wednesday, February 27, 2013

Power Management Problem Solved

My computer at my office is an "industrial" computer, meaning it's built for industrial usage, or to be used together with machines in factories. It is not the common ATX type computer you find at homes, corporate offices, cyber cafes, etc.

Few months back, this problem popped up out of nowhere. There was power management problem with my computer. Whenever I attempt to shut down my computer (which is running on Windows XP SP3), it shuts down completely but the computer motherboard fan and power supply fan are still running. It's as if the computer is shut down but not shut down. It was mind boggling.

I tried to google as extensively as I could to find some solution to my problem to no avail. Almost all of the problems and solutions discussed on the internet do not share the exact problem as mine. After multiple failures to rectify the problem after changes made in Control Panel, I gave up and left it as it is for few months. I had to manually turn off the power switch at the power point socket to shut down my computer completely and to switch it back on whenever I need to start my computer, which was quite a hassle for me actually.

Those internet forums discussions did however give me some help with some useful information and I came to my own conclusion that it was the BIOS problem. After few months, I tweaked something in my BIOS and voila! Problem solved. I don't know whether this could be applied to all computers facing this problem, but what I basically did was change one setting in the power management setting in my BIOS.

Inside BIOS, under Power Management option, find APM configuration. Inside this menu, look for Power Type and chances are it is set to AT. Change it to ATX. That's all. Enter back Windows and try to shut down. The computer should shut down completely without any fans or power still running. If it doesn't work, sorry, you may have different problem need to be fixed!

Sincerely,
Mr. Syntax Geek