Set Windows 7 as WiFi HotSpot

Windows 7 comes with a new feature for sharing your computers internet connection. Now you can do it wireless. Well, As long as your system’s wireless network adapter supports Windows 7 “virtual wi-fi” feature, you can do it.

Next you need to check if your network card has the latest driver to support the feature. Intel, Broadcom, Realtek and some other NIC makers provide such drivers.

If the two above conditions are met, you are good to read on …

Open an elevated command prompt (Type “CMD.EXE” in the start menu search bar, then right clicking the cmd.exe link and selecting “Run as Administrator”).

  • In the command window, type: netsh wlan set hostednetwork mode=allow ssid=MyNet key=MyPassword
    Replace “MyNet” with the name you want to use for the wireless network and replace “MyPassword” with your chosen password for accessing it)
  • Press Enter.
  • Now type: netsh wlan start hostednetwork
  • Press Enter.
  • Open Control Panel and go to Network and Sharing Center.
  • Click Change Adapter Settings.
  • Right click your Internet connection and select Properties.
  • Click the Sharing tab.
  • Check the box that says “Allow other network users to connect.”
  • Choose your virtual wi-fi adapter and click OK.

Now wi-fi enabled computers within range should see your new wireless network and others can connect to it if they know the password.


OpenSSL Apache-Win32

G:\WAMP\Apache\bin>set OPENSSL_CONF=G:\WAMP\Apache\conf\openssl.cnf

G:\WAMP\Apache\bin>openssl req -new -out crm.epillars.local.csr
Loading ‘screen’ into random state – done
Generating a 1024 bit RSA private key
writing new private key to ‘privkey.pem’
Enter PEM pass phrase:
Verifying – Enter PEM pass phrase:
You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter ‘.’, the field will be left blank.
Country Name (2 letter code) [AU]:AE
State or Province Name (full name) [Some-State]:Dubai
Locality Name (eg, city) []:Dubai Silicon Oasis
Organization Name (eg, company) [Internet Widgits Pty Ltd]:ePillars Systems L.L.C
Organizational Unit Name (eg, section) []:IT
Common Name (eg, YOUR name) []:crm.epillars.local
Email Address []:shyju@epillars.local

Please enter the following ‘extra’ attributes
to be sent with your certificate request
A challenge password []:
An optional company name []:

G:\WAMP\Apache\bin>openssl rsa -in privkey.pem -out crm.epillars.local.key

Enter pass phrase for privkey.pem:
writing RSA key

G:\WAMP\Apache\bin>openssl x509 -in crm.epillars.local.csr -out crm.epillars.local.cert -req -signkey crm.epillars.local.key -days 3650
Loading ‘screen’ into random state – done
Signature ok
subject=/C=AE/ST=Dubai/L=Dubai Silicon Oasis/O=ePillars Systems L.L.C/OU=IT/CN=crm.epillars.local/emailAddress=shyju@epillars.local
Getting Private key

G:\WAMP\Apache\bin>openssl x509 -in crm.epillars.local.cert -out crm.epillars.local.der.crt -outform DER

G:\WAMP\Apache\bin>copy crm.epillars.local.cert ..\conf\ssl
G:\WAMP\Apache\bin>copy crm.epillars.local.key ..\conf\ssl

Add the following lines in httpd.conf

Listen 443
SSLSessionCache “shmcb:D:/WAMP/Apache/logs/ssl_scache(512000)”
SSLSessionCacheTimeout 300
<VirtualHost _default_:443 >
DocumentRoot “D:\WAMP\web\sugarcrm-5.1.0b\htdocs”
ServerName shyju-pc:443
ServerAdmin admin@shyju-pc
ErrorLog “D:\WAMP\Apache\logs\error.log”
TransferLog “D:\WAMP\Apache\logs\access.log”
SSLEngine On
SSLCertificateFile conf/ssl/crm.epillars.local.cert
SSLCertificateKeyFile conf/ssl/crm.epillars.local.key