Sunday, April 8, 2018

Internet Connectivity for a Mobile using USB

I used this method to update my iphone 4S when I only had a mobile broadband dongle to get internet and a wireless router.

 
Devices needed

  • Computer with a network adaptor
  • Wireless router with a WAN port (Linksys WAG120N)
  • Mobile broadband connection (HUAWEI dongle)
  • Straight through cable
  • iPhone 4S  

Setting up network adapter (LAN connection) on a Windows Vista PC

  • Go to “computer”-right click on the address bar-select Edit Address-paste the below into the address bar
  • Control Panel\Network and Sharing Center
  • Press enter
  • You will be directed to the Network and Sharing Center
  • On the left of the window select Manage network connections
  • You will see the existing network connections as shown on the below image


 

 

 

 

 Image 1
  • Select the Local Area Connection
  • Right click on the connection and select properties. When “Windows” ask for permission to continue the process select continue
  • Then “Local Area Connection Properties” window will pop-up
  • Go to the Networking tab, as shown below select Internet Protocol Version 4 and click the properties button


Image 2
 
  • As shown on Image 3 “Internet Protocol Version 4 (TCP/IPv4) Properties” window will pop-up
  • Go to General Tab
  • As shown on the le set to obtain ip and DNS addresses automatically













 
 
 
 
Image 3

Sharing the Mobile broadband connection
  • You will see the mobile broadband connection icon under your network connections only if you have already installed a dongle into your computer
  • From the existing connections select the mobile internet connection
  • Make sure the connection is not active
  • Right click on the connection, select properties
  • Mobile network connection properties window will pop-up 
  •  Go to the Sharing tab (see Image 4)

  • Image 4

    • As shown above, tick Allow other network users to connect through this computer’s internet connection and from the drop down menu select the Local Area Connection that you want to connect to the wireless router
    • Click OK 

    Configuring the router

    • Log into the Linksys WAG120N router using the below instructions

    • Type 192.168.1.1 in the address bar
    • Press enter
    • A popup asking for username and password will appear
    • Provide the appropriate user name and password(Linksys WAG120N default user name and password is admin, admin)
    • You are now in the router web interface as shown in Image 5
    • In the Setup-Basic Setup tab disable DHCP as shown below in Image 5

    Image 5
    • As shown in Image 6 under Setup tab click on Ethernet tab
    • We will be using the router Ethernet port1 (Ethernet port 1 can act as a WAN port in the Linksys WAG120N router) as the WAN port to connect to the PC network adapter
    • Select Use as WAN Port as shown below, for the Ethernet connection to use port1 as a WAN port.
    • For the Connection type select Static IP from the combo box 
    • Set the ip addresses as shown in Image 6
    Image 6
     

    Press the home button In your iPhone 

    Configuring ip on the iPhone

    Enter and select the ip settings as shown below.

       

     Image 7

    • Select Settings icon
    • Go to Wi-Fi (if your wireless router is turned on your wireless network will show on your iPhone)
    • Select your Wi-Fi network
    • Go to Wi-Fi ip settings
    • Select Static as the ip address type

    Activating the connection
    • Power on the router
    • Connect the straight through cable to the Ethernet port1 of the router and the other end to the network adapter of the computer
    • Dial the shared mobile broadband connection and connect to the internet using your PC
    • Make sure the wireless router is connected to the internet
    • The router has an icon that lights up when it is connected to the internet
    • Connect your iPhone to the Wi-Fi Network
    • You will be able to browse the internet using your iPhone with the help of your shared mobile connection by connecting to your wireless router.

    Explanation of ip settings

    • We have used static ip addresses for all the devices except the mobile broadband connection and LAN connection.
     

    Every device need an ip address to connect to the internet, each computer on the internet has a unique ip address. When we connect to the internet using the mobile broadband connection we receive a unique ip address. As this connection is shared with the LAN connection (network adapter), automatically the LAN connection receives a ip address (192.168.0.1) and a subnet mask (255.255.255.0). This ip address should be the default gateway for the router as the router uses the LAN connection to connect to the internet through its WAN port via the mobile broadband connection. Use the same address as the DNS address. Subnet mask for the LAN, router and phone should be the same as all the devices should be in the same subnet. You can use a suitable ip address in the range 192.168.0.X as the Ethernet ip address for the router. All this will make sure that your router is able to connect to the internet.

    We need to make sure by connecting to this router via Wi-Fi our phone can connect to the internet. The routers local ip address by default is set to 192.168.1.1 therefore the “Router” address for the phone should be that address and the DNS address also should be the same. As for the ip address you can use a address in the range 192.168.1.X.

    No comments: