LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-17-2004, 03:51 AM   #1
emailssent
Member
 
Registered: Sep 2004
Posts: 312

Rep: Reputation: 30
Can't ping in LAN


1) I am using Mandrake 9.2,

2) Ever thing was working fine, but when i changes the network conf. for a
while, used it for 1 day, and then when i tried get back to previous ip. then i
was unable to ping in LAN.

3) I have only one LAN card associated with my computer, but in control center
it show if eth0, eth1,

4) and when i ifconfig then also it shows me to configuration for eth0, eth1.

5) and when i set the ip address through control center and click on ok and then
again click network setting in control center to check whether the lan card ip
set is set or not. but it shows no ip set and state is down.

6) How can i remove the one ip setting as it shows me two eth0 and
eth1...where i have only one lan card installed....

If more info or clarity in any thing is req. then it can provided on request.


-jack
 
Old 10-19-2004, 02:51 AM   #2
emailssent
Member
 
Registered: Sep 2004
Posts: 312

Original Poster
Rep: Reputation: 30
bump.........

Only one LAN card is installed , but ifconfig show two cards,

and when i run network confg. wizard it show me two NIC , one as eth0 (fealnx driver) and another as eth1(8139oo)

So, why it is showing 2 lan card instead of 1.


-jack
 
Old 10-19-2004, 03:19 AM   #3
darthtux
Senior Member
 
Registered: Dec 2001
Location: 35.7480° N, 95.3690° W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 47
Try this:

ifconfig eth0 192.168.0.5 netmask 255.255.255.0
substitute your ip

ifup eth0

I don't know where Mandrake keeps it's interface files. Maybe someone else does.
 
Old 10-19-2004, 07:50 AM   #4
emailssent
Member
 
Registered: Sep 2004
Posts: 312

Original Poster
Rep: Reputation: 30
Thankx,
It was gateway problem, becz i changes some ip and came to its previous stage now.

Now, the problem is can use internet on this system (on which ping is the issue) , but when i ping on local LAN through this m/c i sended 450packets and receives only 1 packets (that 1% received , 99% packet loss) .What could be reason A bad wire or something else

But when i ping this system from other system on LAN then the sucess rate is100%.


-jack
 
Old 10-19-2004, 08:29 PM   #5
darthtux
Senior Member
 
Registered: Dec 2001
Location: 35.7480° N, 95.3690° W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 47
It sounds like a configuration issue, not a wire. When you do ifconfig -a, what is the output? And the same for netstat -i.
 
Old 10-19-2004, 09:47 PM   #6
emailssent
Member
 
Registered: Sep 2004
Posts: 312

Original Poster
Rep: Reputation: 30
Issue resolved, firewall is blocking trafic from this system.


but new issue is that whenever i boot my system eth0 fails and i have manually run

#ifup eth0

How to make eth0 up permanetly while booting the system itself!


-jack


For reference
============
#cat /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=static
IPADDR=192.168.1.2
NETMASK=255.255.255.0
NETWORK=192.168.1.0
BROADCAST=192.168.1.255
ONBOOT=yes


Last edited by emailssent; 10-19-2004 at 10:12 PM.
 
Old 10-19-2004, 10:13 PM   #7
darthtux
Senior Member
 
Registered: Dec 2001
Location: 35.7480° N, 95.3690° W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 47
Put the command in you rc.local file.
 
Old 10-21-2004, 12:22 AM   #8
emailssent
Member
 
Registered: Sep 2004
Posts: 312

Original Poster
Rep: Reputation: 30
i tried by putting like that

ifup eth0

but it doesn't worked, so how to upt in rc.local file or anyother idea to do that.



-jack
 
Old 10-21-2004, 12:26 AM   #9
darthtux
Senior Member
 
Registered: Dec 2001
Location: 35.7480° N, 95.3690° W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 47
find / -name "rc.local"

When it finds the file (as root)

kwrite /path_to_file/rc.local

and add
ifup eth0
to the end of the file
 
Old 10-21-2004, 11:07 PM   #10
emailssent
Member
 
Registered: Sep 2004
Posts: 312

Original Poster
Rep: Reputation: 30
@darthtux

it didn't worked, it puted ifup eth0 in rc.local at the end.
So, any other idea to do that. Earlier it starts automatically without any problem.


-jack
 
  


Reply



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
Strange Ping Issue - Can't ping localhost but can ping others on LAN code_slinger Linux - Networking 15 03-30-2015 02:39 PM
Any idea why this time I can not ping my LAN pc but can PING for ex. www.yahoo.com vakia Debian 5 09-28-2005 06:42 PM
can't ping to outside LAN emailssent Linux - Networking 7 09-30-2004 06:37 AM
Cannot PING LAN pinaker Linux - Networking 7 06-23-2004 07:01 AM
cannot ping LAN ryedunn Linux - Networking 5 04-01-2004 01:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:10 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
Open Source Consulting | Domain Registration