LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   can't fix classic problem: internet connection (https://www.linuxquestions.org/questions/linux-networking-3/cant-fix-classic-problem-internet-connection-448940/)

c_323_h 05-26-2006 10:27 PM

can't fix classic problem: internet connection
 
I've recently installed FC5 on my computer and have great difficulty connecting to the internet. I've searched every possible thread but am so overwhelmed by what to do. I need to know how to connect to the internet.

Here is some more info:
Dell Dimension 4400
Ethernet card: Davicom Semiconductor
D-Link DI-514 Wireless router
Motorola cable modem

Here's what happens when I run ifconfig eth0

Code:

eth0
Link encap: Ethernet HWaddr 00:08:A1:02:0A:67
inet addr:192.168.0.102 Bcast:192.168.0.255 Mask: 255.255.255.0
inet6 addr:fe80::208:a1ff:fe02:a67/64 Scope:Link
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:18 erros:327 dropped:0 overruns:0 frame:0
TX packets:0 errors:6 dropped:0 overruns:0 carrier:6
collisions:0 txqueuelen:1000
RX bytes:2263(2.2 KiB) TX bytes(0.0 b)
Interrupt:17 Base Adress:0x6c00

when I type ifup eth0 i get
Code:

determining IP information for eth0...failed
when I type rpm -q dhclient I get
Code:

dhclient-3.0.3-26
when I ping yahoo.com I get (intentionally left out www.)
Code:

ping: unknown host yahoo.com
when I ping my wireless router IP address I get
Code:

From 192.168.0.102 icmp_seq=1 Destination Host unreachable
From 192.168.0.102 icmp_seq=2 Destination Host unreachable
From 192.168.0.102 icmp_seq=3 Destination Host unreachable
From 192.168.0.102 icmp_seq=4 Destination Host unreachable
...

I've tried stopping kudzu with no luck. When I go to my "Network Configurations" Panel is says that eth0 is active.

I don't know what to do now. Thanks in advance.

javaroast 05-26-2006 10:59 PM

I'm not exactly sure what you have going on, but there is something funky with your broadcast address Bcast:192168.0.25 it's missing a dot after the first octet (192.168.0.25) Where are you picking that address from? That doesn't make sense for the IP address. It probably should be 192.168.0.255.

c_323_h 05-26-2006 11:31 PM

Quote:

Originally Posted by javaroast
I'm not exactly sure what you have going on, but there is something funky with your broadcast address Bcast:192168.0.25 it's missing a dot after the first octet (192.168.0.25) Where are you picking that address from? That doesn't make sense for the IP address. It probably should be 192.168.0.255.

yes you're correct. i accidently left out a period. thanks for catching that. any idea what might me wrong with my internet connection?

rkelsen 05-27-2006 09:26 AM

Two questions:

1. Is the driver for your network card listed in the output of the "lsmod" command?

2. What happens when you issue "dhclient eth0" ?

c_323_h 05-27-2006 03:26 PM

Quote:

Originally Posted by rkelsen
Two questions:

1. Is the driver for your network card listed in the output of the "lsmod" command?

2. What happens when you issue "dhclient eth0" ?

When I type dhclient eth0...it pauses for around 15 seconds or so then it outputs [root@localhost~]# waiting for more input.

I don't know which is my network card when I type lsmod.

Juki 05-27-2006 03:47 PM

silly question,
can you ping for an example google with ip ?
so that we can count out dns problems?

Code:

# ping 64.233.183.103

c_323_h 05-27-2006 04:29 PM

Quote:

Originally Posted by Juki
silly question,
can you ping for an example google with ip ?
so that we can count out dns problems?

Code:

# ping 64.233.183.103

Hi, thanks for the reply. No I can't ping websites.

dasy2k1 05-27-2006 05:34 PM

try pining yourself... i know it sounds silly but if you cant then there is somthing wrong with your networking support possably a kernal fault, you should allways be able to ping yorself!

(ping <your IP adress> )
then try a loopback ping
(ping 127.0.0.1)

rkelsen 05-27-2006 06:40 PM

Quote:

Originally Posted by c_323_h
When I type dhclient eth0...it pauses for around 15 seconds or so then it outputs [root@localhost~]# waiting for more input.

Are you connected at that point? Because the "dhclient" command should connect you.
Quote:

Originally Posted by c_323_h
I don't know which is my network card when I type lsmod.

Post the output of "lsmod" please.

c_323_h 05-27-2006 08:29 PM

Quote:

Originally Posted by dasy2k1
try pining yourself... i know it sounds silly but if you cant then there is somthing wrong with your networking support possably a kernal fault, you should allways be able to ping yorself!

(ping <your IP adress> )
then try a loopback ping
(ping 127.0.0.1)

Yes, I can ping myself and my loopback address.

When I ping Google's IP address it outputs:
Code:

From 192.168.0.102 icmp_seq=1 Destination Host Unreachable
From 192.168.0.102 icmp_seq=2 Destination Host Unreachable
From 192.168.0.102 icmp_seq=3 Destination Host Unreachable
From 192.168.0.102 icmp_seq=4 Destination Host Unreachable
...

Notice the counter icmp_seq...it keeps incrementing until I close the terminal. So my computer is sending signals but not receiving them?

However when I ping www.google.com it says
Code:

ping: unknown host www.google.com
rkelsen, no it "dhclient eth0" doesn't connect me. I've posted pictures of the output for "Ismod" and "ifconfig" on fedoraforum.org since I can't post pictures here. Here's the link

http://forums.fedoraforum.org/showth...928#post537928

rkelsen 05-27-2006 09:27 PM

Quote:

Originally Posted by c_323_h
no it "dhclient eth0" doesn't connect me.

Well according to your lsmod output, the driver for your NIC is loaded.

Dumb question: Is your router properly configured for DHCP?

c_323_h 05-27-2006 10:09 PM

Quote:

Originally Posted by rkelsen
Well according to your lsmod output, the driver for your NIC is loaded.

Dumb question: Is your router properly configured for DHCP?

Yes, I believe so...I am typing to you from a laptop on the same network, except it's wireless. My laptop's internet configuration says that the IP was assigned by DHCP...so since my Dell on the same network, I guess it configured correctly.

c_323_h 05-29-2006 03:12 PM

ok...i completely reinstalled FC5 again and I am able to connect to the internet, but only when I unplug my ethernet cable and plug it back it, and it only stays connected for around one minute and I can't reach sites anymore...then when I unplug my ethernet cable and plug it back again, I am connected again but only for that minute. What could the problem be?


All times are GMT -5. The time now is 07:06 PM.