Sharing Mobile Broadband

Your travelling…. and you want to share your mobile broadband connection over WiFi. What can you do…?

Following are the options available…

1) Using a MiFi router. There are various models and types, Google it if you want more information.

2) If you have an Android or an Apple Device (iOS), you already have it; assuming that you have your cellular/mobile data connection connected.

3) If you don’t have any of these still there is a way, as long as you have a windows and a PC with a WiFi adapter. (Disadvantage of this method is that you can only connect windows computers)

  • Connect your Mobile Broadband Connection
  • Go to; Control Panel > Network and Internet > Network and Sharing Center
  • Create the Ad-Hoc Connection
  • Turn on Internet Connection Sharing
  • Ask others to connect to the defined WiFi Connection Name (In the below video it’s VENURA9.COM)
  • Following video explains how it is done;

4) If you are more of a techie you can have a fully fledged WiFi network on your PC. This way you are not restrcited to a network where only the windows users can connect.

  • Run the “cmd.exe” as the administrator
    C:\Windows\system32>
    
  • Run the following commands to setup the network (Network SSID is VENURA and the password is 12345678):
    netsh wlan set hostednetwork mode=allow "ssid=VENURA" "key=12345678" KeyUsage=persistent
    
  • To Start:
    netsh wlan start hostednetwork
    
  • To Stop:
    netsh wlan stop hostednetwork
    
  • Go to: Control Panel > Network and Internet > Network Connections
  • Go to the properties of the connection you want to share, this can be a mobile broadband connection or even a wired connection
  • Select the sharing tab and tick “Allow other network users to connect through this computers internet connection”
  • From the drop down select “Wireless Network Connection 2” (Microsoft Virtual WiFi Miniport Adapter)
  • Press OK
  • Other PCs, MACs and Phones will see a network named “VENURA” and they can connect using the password “12345678

References:

SSH to EC2 Instance

I have been working with AWS (Amazon Web Services) with EC2 (Elastic Computing) instances (Cloud Instances). I had some trouble connecting to them. So I thought of sharing how you could do this in few easy ways.

At the point of creating the instance you can associate an existing key pair or can create one for you. When you create the key file your key will automatically start downloading. Keep that safe and use it to connect. This will have the “pem” extension. Let’s say the file is AWS.pem
 
  • Linux Shell

This is the easiest way as long as you are on linux or cygwin on windows. Assuming you are connecting to an Ubuntu Server instance.

# using a google IP for demonstration purposes

# Using Elastic IP
ssh -i AWS.pem ubuntu@173.194.38.191

# Using Public DNS
ssh -i AWS.pem ubuntu@ec2-173-194-38-191.us-west-2.compute.amazonaws.com
  • Using Putty

Pinehead has a nice video explaining everything about using Putty. Only difference is the user name is root. For ubuntu server you can’t connect as root. It’s always “sudo” after connecting using the user “ubuntu”

Ref:

  • Other

Other commercial tools such as XShell which provides free access for non-commercial/personal/student basis have the support built-in. You can just select the keyfile to use when connecting with the user:ubuntu/root and the Elastic IP/Public DNS