LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 08-08-2004, 12:08 AM   #1
Obie
Member
 
Registered: Apr 2004
Distribution: Red Hat
Posts: 290

Rep: Reputation: 30
Exclamation Network


I recently installed Mandrake 10 and have problems with pinging my network card as well as localhost. It can't seem to reach either one. There isn't anything wrong with my network card as it works fine with Red Hat. I thought it may have been iptables or shorewall firewall rules so I shut them down and tried pinging again however to no avail. Can someone please tell me what is wrong and what I can do to rectify it?
 
Old 08-08-2004, 02:10 AM   #2
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
Well have you brought the interface up? Whow does the output of ifconfig look like? While we're at it, what does lspci look like.
 
Old 08-08-2004, 03:28 AM   #3
Obie
Member
 
Registered: Apr 2004
Distribution: Red Hat
Posts: 290

Original Poster
Rep: Reputation: 30
adz,

Yes it is up and I did run ifup eth0. Now the strange thing is having gone through various other forums, I managed to find the source of the issue. It was the sysctl.conf file. It was blocking all icmp requests so I changed the value to 0 rather than 1. Now I can ping both the localhost and eth0. I am however unable to ping any other PC on the network. What would prevent that from occuring?

Thanks
 
Old 08-08-2004, 03:46 AM   #4
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
A firewall or a routing problem. Can you post the output of route -n?
 
Old 08-08-2004, 04:15 AM   #5
Obie
Member
 
Registered: Apr 2004
Distribution: Red Hat
Posts: 290

Original Poster
Rep: Reputation: 30
adz,

The details from route -n are noted below:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
 
Old 08-08-2004, 07:06 PM   #6
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
It seems that you don't have a default gateway. What does your network topology look like? Is there a DHCP server on your network? What device is connected directly to the network card of your computer?
 
Old 08-08-2004, 08:41 PM   #7
Obie
Member
 
Registered: Apr 2004
Distribution: Red Hat
Posts: 290

Original Poster
Rep: Reputation: 30
adz,

The reason I don't have a Gateway is because I don't require one. I have a cross over cable attached to the PC running Mandrake adjoining another PC. They are on the same network address i.e. 192.168.0.0 and subnetmask.
 
Old 08-08-2004, 08:57 PM   #8
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
So neither computer can ping the other?

Try using ping -r <IP address>. See if that works.
 
Old 08-08-2004, 09:03 PM   #9
Obie
Member
 
Registered: Apr 2004
Distribution: Red Hat
Posts: 290

Original Poster
Rep: Reputation: 30
adz,

That is correct. Neither computer can ping one another. I'll try ping -r <IP address> but don't see how that would help as it only counts the number of hops. I think it has to do with msec blocking outgoing and incoming icmp requests. Would you know how to configure msec? Mandrake's documentatiion is hopeless.
 
Old 08-08-2004, 09:22 PM   #10
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
From the ping manpage:
Code:
     -r      Bypass the normal routing tables and send directly to a host on
             an attached network.  If the host is not on a directly-attached
             network, an error is returned.  This option can be used to ping a
             local host through an interface that has no route through it
             (e.g., after the interface was dropped by routed(8)).
Maybe yours is different to mine. I've noticed differences before like some people (Red Hat, I think) having a "-b" switch which I don't.
 
Old 08-08-2004, 09:24 PM   #11
Obie
Member
 
Registered: Apr 2004
Distribution: Red Hat
Posts: 290

Original Poster
Rep: Reputation: 30
adz,

I'll look up on the mandrake man pages. Any advice on msec?
 
Old 08-08-2004, 09:28 PM   #12
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
No sorry. Never used Mandrake.
 
Old 08-08-2004, 09:30 PM   #13
Obie
Member
 
Registered: Apr 2004
Distribution: Red Hat
Posts: 290

Original Poster
Rep: Reputation: 30
adz,

thanks for your help so far. hopefully i'll find something I can work with.
 
Old 08-08-2004, 09:32 PM   #14
Obie
Member
 
Registered: Apr 2004
Distribution: Red Hat
Posts: 290

Original Poster
Rep: Reputation: 30
adz,

How are:
accept_broadcasted_icmp_echo(arg)
accept_icmp_echo(arg)
different?
 
Old 08-08-2004, 09:55 PM   #15
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
Well one's a broadcast, the other isn't. The non-broadcast one will be addressed to a specific node on the network. The broadcast will be addressed to a range of nodes but no one in particular. Does that clear it up for you? Feel free to ask if you need more info.

Last edited by adz; 08-08-2004 at 10:13 PM.
 
  


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
Fedora C2 - Wireless network drivers? Broadcom 802.11g Network Adapter FragTek Linux - Wireless Networking 7 01-22-2010 12:10 AM
Slackware 10 network configuration. Problem with 8139 network card drivers ! Padmakiran Linux - Networking 8 03-27-2007 06:48 AM
3c905C network card in docking station. Cannot activate network device eth0. pathelms Linux - Networking 4 04-12-2006 02:55 PM
Xandros mount point for Windows Network & NFS Network jaagut Linux - Distributions 1 09-14-2005 07:21 AM
Newbie wanna setup up a linux network on existing home network... marvc Linux - Networking 3 03-19-2003 09:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

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