USB Internet on PC

Dear All,

I had a data link on my PC to connect to my local PC's in the network.I wanted to have internet on 1 of the PC's and thus i bought USB Internet from my GCM provider.The problem is that it gets connected and i get the public ip address but the internet doesnt work on the PC.

Can some please help me.
MtarawalaAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

JohnBusiness Consultant (Owner)Commented:
Is this PC connected somewhere else also by ethernet or such like?  Disconnect any ethernet or wireless, restart, plug in your USB key and try again. See if using the USB key alone gives you internet.

I have one and it works fine, but other connections can take priority so I disconnect them.

... Thinkpads_User
0
moon_blue69Commented:
Hi

From your scenario, I understand (correct me if I am wrong) the PC is connected to a network using a network cable and to get internet access you have connected the USB device.

Go to command prompt try to ping www.google.com see if it works. If it works then fine.
If it doesn't type ping 74.125.230.147 and see if you are geting reply.

If not unplug the network cable and try again and update here please.

Check internet options in control panel and see if settings are ok as well ( or internet explorer->tools->options then connections tab.
0
MtarawalaAuthor Commented:
Hi,

YEs my PC is connected over the ethernet.If i disconnect the ethernet the internet over the USB works absolutely fine. but i want both of them to work fine.i mean while the ethernet is connected and while the usb is connected.
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

PMP_AdminCommented:
did you enable internet sharing in the network adapter properties? what os are you using usually you right click the adapter, properties, advanced and enable internet sharing
0
JohnBusiness Consultant (Owner)Commented:
Trying to use both at the same time generally does not work. Windows uses the preferred connection and trying to use both confuses things. ... Thinkpads_User
0
d33mCommented:
information provided by you is not enough to understand right causes..

if you haven't access to the Internet from PC with plugged "USB dongle" in it - check following:
- system settings (check/fix/reinstall OS, if viruses found)
- antivirus/firewall software state
- drivers for "USB modem" from your provider
- ask your provider's tech support team for help

or tell us your Operating System, antivirus/firewall software installed and its state, modem model, internet provider name...
0
MtarawalaAuthor Commented:
I will be more clear in my explanation.

On the ethernet of this PC i have a static IP address 192.168.0.120 with the default being 192.168.0.1.

in the above scenario i get the following route print output

0.0.0.0 0.0.0.0 192.168.0.1

If the ethernet is only connected the local lan is working fine.

When i connect the usb internet stick i get a public ip address

and then my route print output is as follows:

0.0.0.0 0.0.0.0 192.168.0.1
0.0.0.0 0.0.0.0 78.89.X.X

The second default route is taken from the USB Internet.After this only the ethernet works and Internet doesnt work fine.
0
d33mCommented:
so, you have to change (reduce) metric of preffered default gateway
you can do it using script, for example
0
MtarawalaAuthor Commented:
How can i do that.
0
d33mCommented:
could you please provide full  route print output ?
> route print
0
MtarawalaAuthor Commented:
Please find teh output.


IMG-0455.JPG
0
d33mCommented:
so, as you can see - metrics for both default gateways are the same - 276

so what default gateway do you prefer to use when both internet are available?

(from ethernet and from usb dongle)
0
MtarawalaAuthor Commented:
My friend if u see the metric is not same.Ethernet is 276 and Internet is 296. I would like to use Internet from the USB dongle.
0
d33mCommented:
FYI, if metrics of same destination route are the same - Windows detect right gateway using some kind of watchdog and change gateways after some period of time. so this is cause of internet instability..
0
d33mCommented:
oh, sorry, you are right
let me show you wbs script to use usb dongle internet as default gateway
0
MtarawalaAuthor Commented:
Where are the scripts my friend.
0
d33mCommented:
this vbs script must change metric of your gateway on USB modem huawei to 50, so route from usb modem became primary (default)

check and share you comments ))
3G-gw-set-primary.vbs
0
MtarawalaAuthor Commented:
How and where should i install this file.
0
d33mCommented:
vbs files must be associated with C:\Windows\System32\wscript.exe

So just double click this file each time after connecting internet using usb-dongle
0
d33mCommented:
if script will not work for you you can simply change metric for usb dongle gw using folowing command

>route change 0.0.0.0 mask 0.0.0.0 78.89.204.129 metric 50
0
moon_blue69Commented:
Hi

You can do it the other way around rather than running the script all the time. On the local adpater right click properties TCP/IP properties advanced and increase it to a very high value like 999. So your usb dongle will be always less than that and the preffered route.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
ChiefITCommented:
Why, in the world would you want to put your computer on a public network? It will directly impact IT security, especially since you have provided some nice hackable information on a public forum. You shouldn't need or desire to directly connect to your public IP address "provided by the ISP".

If you need to multihome the computer, ONLY ONE NIC should be configured with a default gateway. Also, only the internal nic should allow Netbios. Also only one nic (the internal one) should register within DNS.
0
moon_blue69Commented:
Agree with ChiefIT, if possible please remover all information and screenshots with ur IP information from here.
0
MtarawalaAuthor Commented:
My Friends,

thanks for the information.but the IP isnt static and it changes everytime so thats the reason i put this information.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Networking

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.