Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

When installing new updates or downloading some items in Net,my Ubuntu is sating"failed to connect internet". No matter how much I tried to fix it, they were all useless. Can you help me fix it

share|improve this question
1  
What's the output of nslookup google.com? –  Louis Matthijssen May 2 at 5:55
    
You need to specify what type of connection, is this problem all of a sudden happened or it is happening with a fresh install. also, please post the output of uname -a –  Moga May 2 at 6:47

1 Answer 1

if wifi is connected but no internet.

on the commmand line type:

sudo iwconfig wlan0 rate 54m

hit enter

try browsing now it worked like a charm for me

if you want a permanent solution you have to make a script out of it

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.