LinuxQuestions.org
Help answer threads with 0 replies.
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 12-21-2007, 09:30 PM   #1
parpatel2000
LQ Newbie
 
Registered: Dec 2007
Posts: 9

Rep: Reputation: 0
Network Connectivity issue


I installed Fedora Linux 8.0, it has a realtek driver installed for network card. It is being given a static IP Address, I get ping response when pinging it's own IP Address. But cannot ping the gateway, therefore no connectivity to network. Same PC has WindowsXP with same IP Address and same network card working. I tried ifconfig eth0 down and up, ifconfig show that it has IP address. Cannot figure out what to do next for connectivity.

I tried this same process with Fedora 7.0 and Ubuntu, same results. Pleasse help...
 
Old 12-21-2007, 09:33 PM   #2
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 5, Linux Lite
Posts: 4,312

Rep: Reputation: 209Reputation: 209Reputation: 209
Check your firewall settings.
 
Old 12-21-2007, 09:57 PM   #3
parpatel2000
LQ Newbie
 
Registered: Dec 2007
Posts: 9

Original Poster
Rep: Reputation: 0
I have disabled Firewall to trouble shoot this issue, also SELinux is set to permissive
 
Old 12-21-2007, 10:00 PM   #4
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 5, Linux Lite
Posts: 4,312

Rep: Reputation: 209Reputation: 209Reputation: 209
Have you added the ip/hostname(s) to your /etc/hosts file?
 
Old 12-21-2007, 10:06 PM   #5
parpatel2000
LQ Newbie
 
Registered: Dec 2007
Posts: 9

Original Poster
Rep: Reputation: 0
No have not added anything in host files
 
Old 12-21-2007, 10:07 PM   #6
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 5, Linux Lite
Posts: 4,312

Rep: Reputation: 209Reputation: 209Reputation: 209
Try adding one (or all) and see if it works.
 
Old 12-21-2007, 10:15 PM   #7
parpatel2000
LQ Newbie
 
Registered: Dec 2007
Posts: 9

Original Poster
Rep: Reputation: 0
added ip address to hosts file in /etc, still no connectivty
the line I added is 192.168.0.1

is there anything else needed?
 
Old 12-21-2007, 10:19 PM   #8
parpatel2000
LQ Newbie
 
Registered: Dec 2007
Posts: 9

Original Poster
Rep: Reputation: 0
I stopped and restarted the network service, and got message " Error adding 192.168.0.12 for eth0" where 192.168.0.12 is my IP Address
 
Old 12-21-2007, 10:19 PM   #9
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 5, Linux Lite
Posts: 4,312

Rep: Reputation: 209Reputation: 209Reputation: 209
If you have more than one machine on your network, can any of them ping your fedora box?
 
Old 12-21-2007, 10:22 PM   #10
parpatel2000
LQ Newbie
 
Registered: Dec 2007
Posts: 9

Original Poster
Rep: Reputation: 0
Driver is Realtek RTL-8139/8139C/8139C+
 
Old 12-21-2007, 10:27 PM   #11
parpatel2000
LQ Newbie
 
Registered: Dec 2007
Posts: 9

Original Poster
Rep: Reputation: 0
No, other PC cannot ping this one, when I try to ping a gateway from this problem computer, I get message of Host unreachable, if that helps
 
Old 12-21-2007, 10:28 PM   #12
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 5, Linux Lite
Posts: 4,312

Rep: Reputation: 209Reputation: 209Reputation: 209
Can you post the output of ifconfig to this thread? Also your /etc/hosts file content.
 
Old 12-21-2007, 10:45 PM   #13
parpatel2000
LQ Newbie
 
Registered: Dec 2007
Posts: 9

Original Poster
Rep: Reputation: 0
[root@localhost etc]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:40:CA:3C:21:7A
inet addr:192.168.0.12 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::240:caff:fe3c:217a/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 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:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:18 Base address:0xa000



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:4683 errors:0 dropped:0 overruns:0 frame:0
TX packets:4683 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3595868 (3.4 MiB) TX bytes:3595868 (3.4 MiB)







[root@localhost etc]# more hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
192.168.0.1
127.0.0.1 localhost.localdomain localhost nssinc
::1 localhost.localdomain localhost nssinc
[root@localhost etc]#
 
Old 12-21-2007, 11:19 PM   #14
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 5, Linux Lite
Posts: 4,312

Rep: Reputation: 209Reputation: 209Reputation: 209
Can you locate your ifcfg-eth0 file and post its contents.

I'm not sure if it makes any difference, but the highlighted line should appear on a separate line after your local 127.0.0.1 address.

Quote:
[root@localhost etc]# more hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
192.168.0.1
127.0.0.1 localhost.localdomain localhost nssinc
::1 localhost.localdomain localhost nssinc

Last edited by {BBI}Nexus{BBI}; 12-21-2007 at 11:26 PM.
 
Old 12-21-2007, 11:41 PM   #15
parpatel2000
LQ Newbie
 
Registered: Dec 2007
Posts: 9

Original Poster
Rep: Reputation: 0
This is the output of ifcfg-eth0

#Realtek Semiconductor Co., Ltd RTL-8139/8139C/8139C+
DEVICE-eth0
BOOTPROTO=none
HWADDR=00:40:CA:3C:21:7A
ONBOOT=yes
NETMASK=255.255.255.0
IPADDR=192.168.0.12
GATEWAY=192.168.0.1
TYPE=Ethernet
USERCTL=no
IPV6INIT=no
PEERDNS=yes
MTU=1500
[root@localhost devices]#
 
  


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
Connectivity Timeout Issue rajaniyer123 Solaris / OpenSolaris 2 11-03-2007 07:17 AM
modem connectivity thru USB issue crash_override_me Linux - Networking 5 10-23-2007 08:19 AM
Connectivity Issue rajaniyer123 Solaris / OpenSolaris 4 07-04-2007 11:29 AM
Internet Connectivity Issue sdr0715 Linux - General 2 09-28-2005 02:11 PM
Network Connectivity Issue EERookie Linux - Networking 2 01-30-2005 02:44 PM


All times are GMT -5. The time now is 01:24 PM.

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