Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Forum Archive > Main Support Categories > Networking & Wireless
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.

Networking & Wireless
Having problems getting connected to the internet or getting your wireless card to work? Ask here.

 
Thread Tools Display Modes
Old October 27th, 2006   #1
Leav
5 Cups of Ubuntu
 
Join Date: May 2005
Beans: 20
Angry Ping & FTP work. Firefox, Synaptic, Gaim etc. Do Not.

Hello and Thanks for taking the time to help me out

My Brand new Edgy box is connected to a DSL modem/router.
I get an IP through DHCP and the connection works: I can browse into my router.

Using the network tools in ubuntu I can ping www.google.com and get a decent ping. no problems.

However when I open firefox and try to navigate to www.google.com I get an immidiate halt. not a "i'm trying to reach the web page - give me a minute" page just a "i'm not going to do that" page.

Also, synaptic can not connect anywhere and GAIM doesn't work either...

BUT!
FTP does work and I can navigate to my web server's FTP!

iv'e read a bit on the forums trying to solve my problem, but it seems that it has something to do with IPv6, which unless it is the new way that IP addresses work (longer addresses), I have no idea about.
(and if it is the new way they work, that's all i know about it.)

any idea how to fix my problematic connection?

Thanks!
-Leav
Leav is offline   Reply With Quote
Old October 27th, 2006   #2
Leav
5 Cups of Ubuntu
 
Join Date: May 2005
Beans: 20
Re: Ping & FTP work. Firefox, Synaptic, Gaim etc. Do Not.

Ok got it.
after posting used the ipv6 tag to get some more info on the subject.

what I did, for future's sake:

made a file on my desktop called:
Code:
blacklist-ipv6
then edited it with gedit to insert:
Code:
#disable IPv6
blacklist ipv6
then used this opened the terminal, and navigated to the desktop.
in the terminal:
Code:
sudo cp blacklist-ipv6 /etc/modprobe.d/
Rebooted, and it works!

silly IPv6, the Internet is for IPv4!

-Leav
Leav is offline   Reply With Quote
Old October 27th, 2006   #3
Leav
5 Cups of Ubuntu
 
Join Date: May 2005
Beans: 20
Re: Ping & FTP work. Firefox, Synaptic, Gaim etc. Do Not.

This sucks!
Synaptic still doesn't work. neither does GAIM.

just firefox works.

please help!

-Leav
Leav is offline   Reply With Quote
Old October 29th, 2006   #4
bayvista
Gee! These Aren't Roasted!
 
Join Date: Nov 2005
Location: Sydney, Australia
Beans: 167
Ubuntu 9.10 Karmic Koala
Unhappy Re: Ping & FTP work. Firefox, Synaptic, Gaim etc. Do Not.

Same problem. I've submitted a Bug report.

Firefox OK. Synaptic, Pan NBG (no bloody good).

David
bayvista is offline   Reply With Quote
Old October 30th, 2006   #5
stream303
Chocolate-Covered Ubuntu Beans
 
Join Date: Jan 2006
My beans are hidden!
Re: Ping & FTP work. Firefox, Synaptic, Gaim etc. Do Not.

Sounds like the dreaded DNS timeouts when pings work fine, but dns fails or times out - sometimes exposed by a funky /etc/resolv.conf file. What does your /etc/resolv.conf look like?

Many times the internal dns of inexpensive routers can be a source of the problem, letting you time out in frustration until it gets to the dns addresses of your isp.

Just a thought to look at...
stream303 is offline   Reply With Quote
Old November 5th, 2006   #6
bayvista
Gee! These Aren't Roasted!
 
Join Date: Nov 2005
Location: Sydney, Australia
Beans: 167
Ubuntu 9.10 Karmic Koala
Re: Ping & FTP work. Firefox, Synaptic, Gaim etc. Do Not.

Hi,

This is my /etc/resolv.conf:

nameserver 10.1.1.1
nameserver 192.168.0.1

Also, some output which may help:

david@linuxpc:~$ sudo aptitude update
Password:
Reading package lists... Done
Building dependency tree... Done
Initializing package states... Done
Building tag database... Done
Err http://au.archive.ubuntu.com dapper-backports Release.gpg
Could not connect to au.archive.ubuntu.com:80 (1.0.0.0), connection timed out
Err http://archive.ubuntu.com dapper Release.gpg
Could not connect to archive.ubuntu.com:80 (1.0.0.0), connection timed out
Reading package lists... Done
david@linuxpc:~$


I can access the repositories using Firefox.

I have killed ipv6.

However, I am sure this problem is because I now go to my ISP via a router and modem. Before, I had an ADSL router which worked fine. I have also written to D-Link about this one. I think you are on the right track

Thanks

David
bayvista is offline   Reply With Quote
Old November 6th, 2006   #7
handy
OSTalk.org 4um: All OS's Are Welcome
 
handy's Avatar
 
Join Date: Nov 2005
Location: Oz
Beans: 3,661
Re: Ping & FTP work. Firefox, Synaptic, Gaim etc. Do Not.

Hopefully this how-to will sort out your problem.

I think the DNS section of the how-to is what you need.

[Edit:] By the way, the cause of these problems, are cheap windoze centric hardware (router/modem).
__________________
Illusionary moments: Humanities' creation; mercurial, dynamic, limited by reflection.
Growing minds, drawn to truths - in past & ever present.
Oh! Indelible cost. Onerous weight.
Born by the vain belief in truth.

Last edited by handy; November 6th, 2006 at 04:57 AM..
handy is offline   Reply With Quote
Old November 6th, 2006   #8
AndrewS
A Carafe of Ubuntu
 
Join Date: Oct 2006
Beans: 95
Re: Ping & FTP work. Firefox, Synaptic, Gaim etc. Do Not.

Quote:
Originally Posted by Leav View Post
Hello and Thanks for taking the time to help me out

My Brand new Edgy box is connected to a DSL modem/router.
I get an IP through DHCP and the connection works: I can browse into my router.

Using the network tools in ubuntu I can ping www.google.com and get a decent ping. no problems.

However when I open firefox and try to navigate to www.google.com I get an immidiate halt. not a "i'm trying to reach the web page - give me a minute" page just a "i'm not going to do that" page.

Also, synaptic can not connect anywhere and GAIM doesn't work either...

BUT!
FTP does work and I can navigate to my web server's FTP!

iv'e read a bit on the forums trying to solve my problem, but it seems that it has something to do with IPv6, which unless it is the new way that IP addresses work (longer addresses), I have no idea about.
(and if it is the new way they work, that's all i know about it.)

any idea how to fix my problematic connection?

Thanks!
-Leav
FWIW I had a similar problem with Dapper and Edgy. I found this workaround on the forum (can't remember where):

sudo gedit /etc/modprobe.d/blacklist

add the following (I put it at the end, might not matter):

alias net-pf-10 off

I think I had to reboot to get it to work.

Regarding getting the repositories, updates etc to work, again, feretting round the forum I got the following fix:

sudo gedit /etc/resolv.conf

I had a single entry there, giving my router's IP address for the nameserver. I changed it to:

nameserver:203.8.183.1

Thsi works fine for a while, or until you reboot, then you have to do it all over again. There is a fix for that too, but I can't get that to work (see http://www.ubuntuforums.org/showthread.php?t=250149). Let me know if you know how to so this bit!

HTH

Andrew
AndrewS is offline   Reply With Quote
Old November 6th, 2006   #9
handy
OSTalk.org 4um: All OS's Are Welcome
 
handy's Avatar
 
Join Date: Nov 2005
Location: Oz
Beans: 3,661
Re: Ping & FTP work. Firefox, Synaptic, Gaim etc. Do Not.

@Andrew; I think that this how-to is appropriate for you too.

/etc/resolv.conf

gets overwritten often, which has the effect of making the repo's, gaim, automatix download, skype... unavailable to us, though we can still browse the web.

This problem strikes those of us with cheaply made router/modems.

We can do a variety of things to get our correct DNS addresses where they should be, just to have them replaced by our router's IP again!!

Using this how-to will stop that.
__________________
Illusionary moments: Humanities' creation; mercurial, dynamic, limited by reflection.
Growing minds, drawn to truths - in past & ever present.
Oh! Indelible cost. Onerous weight.
Born by the vain belief in truth.
handy is offline   Reply With Quote
Old November 7th, 2006   #10
AndrewS
A Carafe of Ubuntu
 
Join Date: Oct 2006
Beans: 95
Re: Ping & FTP work. Firefox, Synaptic, Gaim etc. Do Not.

Handy

Many thanks, both tips worked a treat - no more editing resolv.conf every time, and Firefox is fine. Thinking about it, these must be common problems for people installing Dapper/Edgy? So I/m a bit surprised there isn't something in the install script about it.

Anyway, thanks again. Don't know anything about getting the CS423x sound cards working in a Thinkpad do you?!?

Andrew
AndrewS is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:36 PM.


vBulletin ©2000 - 2010, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. bilberry