Wifi connection problem in Ubuntu 12.04 LTS

Asked by Daniel Lanza

Hi everybody,

I have a problem with my laptop when I use it at home. I installed Ubuntu with a windows file (.exe). I manage to connect wireless on Windows, but when I try it on Ubuntu I have no internet.

My router is a THOMSON TG585v8, and my laptop a HP ProBook 6360b.

I used the same laptop at work, and it works well in Windows and Ubuntu.

Could anyone help me to solve this problem?

Thank you.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu gnome-nettool Edit question
Assignee:
No assignee Edit question
Solved by:
Daniel Lanza
Solved:
Last query:
Last reply:

This question was reopened

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

If you run:

echo "nameserver 8.8.8.8" | sudo tee /etc/resolv.conf > /dev/null

do you get a web connection?

Revision history for this message
Nicholas Webster (dorchvegas4) said :
#2

Hi I have the same problem - but I have an older HP dv6231eu - my wireless is showing 'orange' no matter which way i switch the wireless mode on or off (I have also just downloaded Ubuntu 12.04 LTS) Help please!!!! Got the terminal on now, I put the code in above to see if it'll work and it shows sudo password for webster1 ??

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

Yes, just type your password and hit ENTER, you will get no feedback

Revision history for this message
Nicholas Webster (dorchvegas4) said :
#4

Which password is that my log on password that I created or the network key?

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#5

Your login pass

Revision history for this message
Nicholas Webster (dorchvegas4) said :
#6

yep tried that - when I type theres no movement of the character cursor or stars to show you have typed anything - I pressed enter and tried to connect to internet it did not work - now my whole system has frozen

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#7

see #3 ....

Revision history for this message
Nicholas Webster (dorchvegas4) said :
#8

I have typed in my network key presumably that is the password - but I only know the password I created to log in and that - I don't know any other passwords and it keeps coming up with sorry, try again.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#9

see #5

Revision history for this message
Nicholas Webster (dorchvegas4) said :
#10

yep entered that - and it did not say anything but the usual next command prompt - went to open browser and no connection :/ I think I am cursed

Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#11

@Nicholas: you are not cursed, but the problem is that you are hijacking someone else's thread.

This should never be done. This thread is for solving Daniel's issue, NOT yours.

You should only comment on the current thread, if your remarks will solve Daniel's issue.

Please create your own question here:

https://answers.launchpad.net/ubuntu/+addquestion

Revision history for this message
Nicholas Webster (dorchvegas4) said :
#12

Sorry I am new to all this - will do my own question - regards

Revision history for this message
Daniel Lanza (danilanzagarcia) said :
#13

Actionparnship, I wrote the command that you told me, and nothing happened.

The terminal told me: "tee/etc/resolv.conf not found"

Revision history for this message
Daniel Lanza (danilanzagarcia) said :
#14

The wifi connection is on, and I am connected to my wireless. But when I use the explorer, I have no internet

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#15

It's one big command, also don't butcher the command, there are spaces in there:

echo "nameserver 8.8.8.8" | sudo tee /etc/resolv.conf > /dev/null

spaces are imortant. At no point is there 'tee/etc/resolv.conf' in the command, hence you getting the error. If copying a command is too hard, you can run:

gksudo gedit /etc/resolv.conf

and delete ALL the text and add:

nameserver 8.8.8.8

Save the new file and close gedit, then retest the web connection (do not reboot). Note, the command is

gksudo [SPACE] gedit [SPACE] /etc/resolv.conf

and the line to add is:

nameserver [SPACE] 8.8.8.8

Revision history for this message
Daniel Lanza (danilanzagarcia) said :
#16

I have this:

nameserver 127.0.0.1
search lan

Is it necessary to delete search lan too?

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#17

Yes, delete it all and add the line

Revision history for this message
Daniel Lanza (danilanzagarcia) said :
#18

I change the numbers, and it doesn't work. Later, nameserver come back to 127.0.0.1

Revision history for this message
Daniel Lanza (danilanzagarcia) said :
#19

In this link is the solution!!!!

http://askubuntu.com/questions/130499/how-do-i-fix-slow-wireless-on-intel-wireless-cards

I hope this link helps more people that have the same problem. Thank to actionparsnip for your help

Regards,

Daniel