LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-14-2008, 07:07 PM   #1
ehawk
Senior Member
 
Registered: Jul 2003
Posts: 1,257

Rep: Reputation: 48
[Solved] ethernet connection established, but no internet via firefox


Hi,

I putzed around with the network wizard in SimplyMepis, and now even though icons on the taskbar indicate that eth0 is connected, and I can see that several kb are being sent and received, I am unable to bring up any pages using firefox. I am able to boot from the live-evaluation/installation CD and surf the internet. I was wondering if the problem would be fixed by copying/overwriting a simple configuration file from the CD to the setup already installed on hard drive. If so, which file is it?

Thanks for your assistance.

Last edited by ehawk; 02-14-2008 at 09:29 PM.
 
Old 02-14-2008, 07:26 PM   #2
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 62
First to see if the internet is working run both these commands to see if all is working.
ping -c2 www.google.com
ping -c2 64.233.167.104

Brian
 
Old 02-14-2008, 07:37 PM   #3
ehawk
Senior Member
 
Registered: Jul 2003
Posts: 1,257

Original Poster
Rep: Reputation: 48
If I ping www.google.com, I get

unknown host

If I ping 64.233.167.104 I get

56(84) bytes of data
ping: sendmsg: operation not permitted
statistics
2 packets transmitted, 0 received

I carried these out as root

When booting, I see messages to the extent of

dropped packets, eth0 In=Out=(192..... IP address) repeated many times

ifconfig -a gives (first few lines)

eth0 Link encap: Ethernet HWaddr: 00:04:76:4F:36:CE
inet addr: 192.168.1.102 Bcast: 192.168.1.255 Mask: 255.255.255.0

lo Link encap: Local loopback
inet addr: 127.0.0.1 Mask: 255.0.0.0

Last edited by ehawk; 02-14-2008 at 07:55 PM.
 
Old 02-14-2008, 08:41 PM   #4
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Jessie 8.4
Posts: 5,873

Rep: Reputation: 348Reputation: 348Reputation: 348Reputation: 348
Code:
ifconfig -a gives (first few lines)

eth0 Link encap: Ethernet HWaddr: 00:04:76:4F:36:CE
inet addr: 192.168.1.102 Bcast: 192.168.1.255 Mask: 255.255.255.0

lo Link encap: Local loopback
inet addr: 127.0.0.1 Mask: 255.0.0.0
There's no place like 127.0.0.1, a paraphrase of 'there's no place like home'.
All of the URLs listed refer to your machine (home); nothing refering to the outside world.

In my Debian install, my ethernet card is eth0.
in my Suse install, eth0.
in my PCLinuxOS, eth1.
Go figure. Same card. Same machine. Only one card.

So, the question I have for you is, does SimplyMepis include the hwinfo utility? If it does, run 'hownfo --netcard'. What's the output?

You could also try setting up your network (internet) connection on eth1 to see what happens when you run ifconfig -a.
 
Old 02-14-2008, 08:48 PM   #5
ehawk
Senior Member
 
Registered: Jul 2003
Posts: 1,257

Original Poster
Rep: Reputation: 48
Thanks for your help.

I decided to simply reinstall from the live-CD. SimplyMepis is nice in that it asks you if you want to keep your existing /home. I'll let you know if I can connect afterward. I expect to be able to, as booting from the live-evaluation CD allows me to surf the net.
 
Old 02-14-2008, 09:30 PM   #6
ehawk
Senior Member
 
Registered: Jul 2003
Posts: 1,257

Original Poster
Rep: Reputation: 48
Yep, problem solved by reinstallation while maintaining home. Easy enough to synaptic back to up-to-date state. Thanks for your help.
 
Old 02-14-2008, 09:45 PM   #7
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 7,151

Rep: Reputation: 2203Reputation: 2203Reputation: 2203Reputation: 2203Reputation: 2203Reputation: 2203Reputation: 2203Reputation: 2203Reputation: 2203Reputation: 2203Reputation: 2203
Offhand, it sounds like this is an issue with what's called DHCP. Let me toss out a little bit of background information here...

Once any computer activates its Ethernet connection, it needs to find out some things about the local network to which it is connected ... such as, "how do I reach the outside world?" Or, "if I want to find the Internet address corresponding to 'www.google.com', whom do I ask?"

The way that this happens is as follows: the computer sends a broadcast message asking for a reply from "anyone who knows how to help me." That "anyone" will be "a DHCP server," which most likely will be your local router or perhaps your cable-modem.

All of this rather-magical stuff should have been well taken care of by your distro. But if you encounter a puzzling situation like this one, "think DHCP." At least in the back of your mind.
 
Old 02-15-2008, 05:45 AM   #8
Trickie
Member
 
Registered: Sep 2004
Posts: 38

Rep: Reputation: 23
I think you mean DNS. It seems to me that ehawk had a corrupted resolv.conf file, which handles name resolution. In my experience this can occur when network manager (or whatever your distro calls it)is enabled. That's why the name www.google.com could not be resolved, or converted to an IP address.
 
Old 02-15-2008, 05:57 AM   #9
hoes
Member
 
Registered: Sep 2005
Distribution: debian, linux from scratch
Posts: 142

Rep: Reputation: 29
I think it's a DHCP problem too. It is true that the domain can't be resolved, but it is more important that an arbitrary ipaddress can't be pinged. From this you can conclude that the computer doesn't know which route it has to take, thus it has no gateway through which it has to send the information. But because it does have a broadcast address the gateway address was probably not properly setup.

The inability to resolve is just a result of no connection at all.
 
Old 02-17-2008, 06:52 AM   #10
IncredibleKarma
LQ Newbie
 
Registered: Oct 2007
Distribution: Ubuntu - Dapper Drake [Highly Modified]
Posts: 6

Rep: Reputation: 0
It's worth noting in the Dapper Drake dist of Ubuntu, those who connect with a DSL connection often have to run pppoe-config to get their connections working.
 
Old 02-17-2008, 05:05 PM   #11
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 233Reputation: 233Reputation: 233
1. SimplyMEPIS 3.3.2 does have hwinfo -- nice command, thanks for bringing it to my attention.

2. Having to run pppoe-config to get a DSL connection w/ Dapper, Ubuntu, or any other distro has nothing to do w/ the distro used; & everything to do w/ one's ISP. <gloat>Mine uses DHCP, & gives each customer 3 (three) "sticky" IP addresses. </gloat>
 
Old 05-21-2008, 04:42 AM   #12
ic_torres
Member
 
Registered: Nov 2005
Location: ABAP
Distribution: slackware 12.0, Vector Linux STD 6.0 and 5.8, ZenWalk 4.6.1, OpenBSD 3.9
Posts: 389

Rep: Reputation: 34
i am having same problems with VL 5.8 firefox has no internet BUT konqueror can.

here is the details of my network:

Code:
route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
10.0.2.0        *               255.255.255.0   U     0      0        0 eth0
loopback        *               255.0.0.0       U     0      0        0 lo
default         10.0.2.2        0.0.0.0         UG    0      0        0 eth0


ifconfig :

root:# ifconfig
eth0      Link encap:Ethernet  HWaddr 08:00:27:BA:DC:A1
          inet addr:10.0.2.15  Bcast:10.0.2.255  Mask:255.255.255.0
          UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:15073 errors:0 dropped:0 overruns:0 frame:0
          TX packets:16504 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:9432504 (8.9 MiB)  TX bytes:2921360 (2.7 MiB)
          Interrupt:11 Base address:0xc020

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
break established/related internet NAT connection? jeff_k Linux - Security 3 01-10-2008 12:20 PM
Wired Internet Connection Cannot be Established on Debian Etch Linkhiei Linux - Networking 3 10-07-2007 04:15 AM
Cannot get my onboard Intel (945GC Chipset) ethernet connection established neilalcorn Mandriva 9 06-07-2007 03:35 PM
suse 9.1 - cannot established internet dialup connection? r_4593 Linux - Software 1 07-19-2004 06:23 AM
How to detect that a dial-up Internet connection was established? zeppelin Programming 3 09-28-2003 06:11 AM


All times are GMT -5. The time now is 10:41 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration