LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 11-04-2009, 11:46 AM   #1
Treble C
LQ Newbie
 
Registered: Sep 2006
Posts: 12

Rep: Reputation: 0
Ubuntu 9.10 Applications not connecting to the internet


Hi, I upgraded from Ubuntu 9.4 to 9.10 and although I have an internet broadband connection via an ethernet cable from the router and it shows connection OK in the notification area top right of the screen. The trouble is Firefox browser,Pidgin IM and the Package Manager cannot connect to the internet for some reason. I am using a linux live distro (PCLinuxOS) off a cd to write this and it is connecting OK. Hope someone can help.

Charles
 
Old 11-05-2009, 06:03 AM   #2
indiajoe
Member
 
Registered: Jan 2009
Location: India
Distribution: Slax atma
Posts: 82

Rep: Reputation: 21
Hi
Are you able to ping to the router?
Give more details like the output of ifconfig.
We will be able to help.
-Cheers
indiajoe
 
Old 11-05-2009, 08:30 AM   #3
Treble C
LQ Newbie
 
Registered: Sep 2006
Posts: 12

Original Poster
Rep: Reputation: 0
Thanks for the reply Indiajoe,

When I ping the router gateway I get the following, 56(84) bytes of data.

When I ping the internet address nothing happens, I left it running for 10 min then had to close terminal.

The output of ifconfig is the following.

charles@charles-desktop:~$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:16:e6:1b:c0:1c
inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::216:e6ff:fe1b:c01c/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1011 errors:0 dropped:0 overruns:0 frame:0
TX packets:1054 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:98359 (98.3 KB) TX bytes:101473 (101.4 KB)
Interrupt:21 Base address:0xdc00

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:18 errors:0 dropped:0 overruns:0 frame:0
TX packets:18 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1228 (1.2 KB) TX bytes:1228 (1.2 KB)

Looking forward to your reply

Charles
 
Old 11-06-2009, 02:14 AM   #4
indiajoe
Member
 
Registered: Jan 2009
Location: India
Distribution: Slax atma
Posts: 82

Rep: Reputation: 21
Hi,
So what I understand is as follows.
You are able to ping to 192.168.1.X (The router). ie you get 0% packet loss.
But when you ping to some internet website (say www.google.com) you are getting "connect: Network is unreachable" Error. Am I correct?
Or are you just getting 100% packet loss, with "Destination Host Unreachable" error ?
And did you verify whether the settings in the firefox proxy settings are same as that in the live cd you are using to connect to internet?
Your ifconfig output shows you machine is getting an IP. So connection with router is fine. Problem is at some internet setting.
-Cheers
indiajoe
 
Old 11-06-2009, 02:31 PM   #5
akilenc
LQ Newbie
 
Registered: May 2007
Posts: 4

Rep: Reputation: 0
Unhappy

Hi I have the same problem.

When I ping from terminal i am able to ping to www.google.com or to any other web site.

But I am not able to connect via firefox or any bundle with ubuntu 9.10.
 
Old 11-07-2009, 07:08 AM   #6
Treble C
LQ Newbie
 
Registered: Sep 2006
Posts: 12

Original Poster
Rep: Reputation: 0
Hi
In Firefox the error I get is, Firefox can't find server at wwww.google.com. I tried the Konqueror browser and its error said, connection to server refused.

The proxy settings in Firefox on both O/S is, use system proxy settings.

Last night I used Bit-Defender anti-virus and it updated itself via an internet connection on Ubunto 9.10 how it did this I don't know as Firefox wouldn't connect. Also I ran Suns virtual box and the guest O/S connected to the internet with no trouble.

Charles
 
Old 11-07-2009, 07:22 AM   #7
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Slackware current
Posts: 8,314

Rep: Reputation: 844Reputation: 844Reputation: 844Reputation: 844Reputation: 844Reputation: 844Reputation: 844
Seems to me there is a problem with DNS


What is the output from
Code:
#cat /etc/resolv.conf
#nslookup www.google.com

Last edited by repo; 11-07-2009 at 07:26 AM.
 
Old 11-07-2009, 09:30 AM   #8
akilenc
LQ Newbie
 
Registered: May 2007
Posts: 4

Rep: Reputation: 0
Unhappy

#cat /etc/resolv.conf

#Generated by NetworkManager
nameserver 10.0.0.138
---------------------------------
#nslookup [url]www.google.com

Server: 10.0.0.138
Address: 10.0.0.138#53

Non-authoritative answer:
www.google.com canonical name=www.l.goolge.com
www.l.google.com canonical name=www-tmmdi.l.google.com.
Name: www-tmmdi.l.google.com
Address: 66.102.9.147
Name: www-tmmdi.l.google.com
Address: 66.102.9.105
 
Old 11-07-2009, 11:30 AM   #9
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Slackware current
Posts: 8,314

Rep: Reputation: 844Reputation: 844Reputation: 844Reputation: 844Reputation: 844Reputation: 844Reputation: 844
Any firewall ?
 
Old 11-07-2009, 04:10 PM   #10
Treble C
LQ Newbie
 
Registered: Sep 2006
Posts: 12

Original Poster
Rep: Reputation: 0
Hi Repo

#cat.ect.resolv.conf

# Generated by NetworkManager
nameserver 192.168.1.1

#nslookup www.google.com

Server: 192.168.1.1
Address: 192.168.1.1#53

Non-authoritative answer:
www.google.com canonical name = www.l.google.com.
www.l.google.com canonical name = www-tmmdi.l.google.com.
Name: www-tmmdi.l.google.com
Address: 66.102.9.104
Name: www-tmmdi.l.google.com
Address: 66.102.9.103
Name: www-tmmdi.l.google.com
Address: 66.102.9.105
Name: www-tmmdi.l.google.com
Address: 66.102.9.147
Name: www-tmmdi.l.google.com
Address: 66.102.9.99

The Firewall is linux Firestarter, when I start the GUI for Firestarter a message comes up stating it can not connect to the internet.

Charles
 
Old 11-07-2009, 04:16 PM   #11
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Slackware current
Posts: 8,314

Rep: Reputation: 844Reputation: 844Reputation: 844Reputation: 844Reputation: 844Reputation: 844Reputation: 844
try to disable the proxy in firefox
 
Old 11-09-2009, 11:21 AM   #12
Treble C
LQ Newbie
 
Registered: Sep 2006
Posts: 12

Original Poster
Rep: Reputation: 0
Hi

I clicked the no proxy radio button in The Firefox network section but its still not connecting to the internet.

Charles
 
Old 11-09-2009, 11:37 AM   #13
jay73
Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 128Reputation: 128
Quote:
#cat.ect.resolv.conf

# Generated by NetworkManager
nameserver 192.168.1.1

#nslookup www.google.com

Server: 192.168.1.1
Address: 192.168.1.1#53
That says your modem is acting as a DNS server. For most people, that won't be true. You will probably need a real DNS server address.

Last edited by jay73; 11-09-2009 at 11:38 AM.
 
Old 11-09-2009, 11:48 AM   #14
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Slackware current
Posts: 8,314

Rep: Reputation: 844Reputation: 844Reputation: 844Reputation: 844Reputation: 844Reputation: 844Reputation: 844
Try to disable ipv6

http://www.cyberciti.biz/tips/linux-...-protocol.html
http://en.opensuse.org/Disable_IPv6_for_Firefox
 
Old 11-10-2009, 03:35 PM   #15
Treble C
LQ Newbie
 
Registered: Sep 2006
Posts: 12

Original Poster
Rep: Reputation: 0
Thanks Repo for the links and advice to disable ipv6. I managed to disable ipv6 in Firefox alright and I am able to connect to the internet now with Firefox. My efforts to disable ipv6 in Ubuntu was unsuccessful, I don't have the aliases file in the modprobe.d folder, however after searching Google and trying to do several suggestions, looking for the grub folder etc I gave up and had tea.
Then when I came back to the computer again I found Pidgin IM was online also the Update Manager and the Ubuntu Software Centre, the only programme not connecting is Evolution Mail.

Once again thank you for helping me overcome my problem.

Charles
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
connecting to internet from ubuntu dbkmurthy Ubuntu 6 03-09-2010 12:49 AM
Connecting to internet via ubuntu 9.04 adithya24 Linux - Networking 2 08-12-2009 12:17 AM
Connecting to the internet via ubuntu adithya24 Linux - Newbie 6 05-05-2009 07:00 AM
Help with Connecting to Internet - Ubuntu tjd50 Linux - General 8 09-04-2008 04:29 AM
LXer: Install Applications in Ubuntu without Internet LXer Syndicated Linux News 0 05-13-2008 08:30 AM


All times are GMT -5. The time now is 04:51 PM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration