Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 10-24-2007, 03:49 AM   #1
LQ Newbie
Registered: Jul 2006
Posts: 22

Rep: Reputation: 15
Ubuntu Can't Connect Wired

I've three PCs with edimax router, 2 have Win XP and they work fine. The third one has Ubuntu 6.10 and wire connected to router. It receives an ip and I can ping google and other machines but can't load web pages it just says Conntecting...and nothing, same happens with PCLOS live CD with both wired or wifi connections....please help
Old 10-24-2007, 08:33 PM   #2
LQ Guru
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
Hi khdani, What does /etc/resolv.conf look like? What model is the router? What does the following output?
sudo iptables -L
Good luck. ;-)
Old 10-25-2007, 10:10 AM   #3
LQ Newbie
Registered: Jul 2006
Posts: 22

Original Poster
Rep: Reputation: 15
I used Ubuntu before on another machine and it worked fine even with usb wifi card, with the same router. Now,I installed Ubuntu on my friend's LG-F5 laptop and it just didn't load web pages, but i could ping.
Anyway my friend took back the laptop so...nothing to fix anymore...

Thank you Peacedog
Old 12-03-2007, 04:15 AM   #4
LQ Newbie
Registered: Dec 2007
Posts: 5

Rep: Reputation: 0
Ubuntu Can't Connect Wired (gusty)

I'm having the same problem. I can ping whatever I want, successfully, but anything that requires DNS, such as FireFox, SSH, or Synaptic, I can't connect. (I can, however get google to come up in FireFox, if I type in the IP address, and can connect to SSH servers if I use the IP addresses.) Naturally, I can also connect, and log into, both routers (by typing in their IP's into FireFox).
This problem occurs when I'm using the Ubuntu (7.10 Gutsy) OS on my computer. When I reboot into XP (it's a 3 boot computer), everything works fine. I even plugged in my laptop to the same router, and it works fine (in XP). The computer that is having problems (in Ubuntu and not in XP) is using a Hewlett-Packard J2585B 10/100mb ethernet adapter. It is sitting behind a D-link router, which sits behind a Linksys router, that connects to the internet.

My (successful) XP connection looks like:
IP Address:
Subnet Mask:
Default Gateway: <-the D-Link
DHCP Server:
DNS Server:
My Ubuntu /etc/resolv.conf says:
iptables -L outputs:
Chain INPUT (policy ACCEPT)
target    prot opt source      destination

Chain FORWARD (policy ACCEPT)
target    prot opt source      destination

Chain OUTPUT (policy ACCEPT)
target    prot opt source      destination
ifconfig includes the following for eth0:
inet addr:  Bcast:  Mask:
Scope: Link
I thought it might be a driver issue for the HP card, I'm using, but that doesn't really make sense, and it came up in Ubuntu's Device browser just fine.

I'm kind of stumped on this one. Any help would be greatly appreciated. Thanks in advance.

EDIT: After doing a little bit more hunting, I found that turning off IPv6 in FireFox solves my dns resolve issues (only for firefox, however). This makes me wonder if the problem is simply because I don't have IPv6 support on my D-Link Router. (I just looked all over the router, and I don't think it supports IPv6.) I'll see If I can get a firmware upgrade for it, and see if this resolves the issue.
Still, any help would be much appreciated.

Last edited by ElectroFox; 12-03-2007 at 04:48 AM. Reason: Found more info
Old 12-03-2007, 10:18 AM   #5
LQ 5k Club
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,087

Rep: Reputation: 407Reputation: 407Reputation: 407Reputation: 407Reputation: 407
I thought it might be a driver issue for the HP card, I'm using
Can't be that as you are getting an IP address, and you can ping and load web pages by IP address, so your network is OK. It's DNS that is not working.
/etc/resolv.conf looks good as is the address of your D-link, which should be relaying DNS requests to the Linksys, which relays the request to your ISP.

Please post the listing of your /etc/network/interfaces file

I suspect that this is an IPV6-related problem. I have disabled IPV6:

I have a file /etc/modprobe.d/bad_list that looks like this:
# Disable ipv6, to speed up DNS searches
alias net-pf-10 off
Do you have that file? What (if anything) is in it?
Old 01-16-2008, 02:10 AM   #6
LQ Newbie
Registered: Jan 2005
Posts: 1

Rep: Reputation: 0
I've got a similar problem...

...except with me, there's no connection at all. Running on the Live CD, the network (both wired and wireless) worked great. Now that I've actually installed Ubuntu, though, neither work at all. Both devices are recognized and on. I've tried leaving them in Roaming Mode and having them detect their settings via DHCP (the way my router is set). Nothing at all. Any ideas?
Old 01-16-2008, 03:46 AM   #7
Senior Member
Registered: Aug 2004
Location: England
Distribution: Ubuntu
Posts: 1,039

Rep: Reputation: 97
I have heard of similar issues before, and think this might be an IPv6 issue.

Assuming that you are using firefox, you can disable IPv6 by browsing to "about:config" and filter to find "network.dns.disableipv6"

Double clicking on this will toggle the status (is false by default)

Set this to true and retest
Old 01-16-2008, 03:49 AM   #8
Senior Member
Registered: Aug 2004
Location: England
Distribution: Ubuntu
Posts: 1,039

Rep: Reputation: 97
Sorry Tredeger, hadn't read your post pointing to IPv6


connect, connection, dns, ethernet, gibbon, gutsy, ubuntu

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Connect 2 wired networks via wireless rogerthehart Linux - Wireless Networking 8 03-21-2007 11:51 AM
Can't connect to wired network Randy Jackson Linux - Wireless Networking 4 01-17-2007 05:42 PM
Connect to internet Wired Patie Linux - Laptop and Netbook 2 01-27-2006 12:35 PM
Connect wirelessly through a wired computer? GT_Onizuka Linux - Wireless Networking 2 02-10-2005 06:10 PM
Cannot connect to internet via wired adapter psycovic23 Linux - Networking 1 06-05-2004 10:17 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:13 AM.

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