LinuxQuestions.org
Review your favorite Linux distribution.
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 06-11-2002, 01:01 AM   #1
gmitra
LQ Newbie
 
Registered: Jun 2002
Location: Slovak Republic
Distribution: RedHat, Mandrake, Gentoo
Posts: 25

Rep: Reputation: 15
Red face What is


Hello,
I reinstalled my old RH5.1 on my old machine to RH7.3 and my network connection has fallen down. Is anyone who can help me? Here are some "maybe" useful outputs:


/sbin/ifconfig
-----------------------------------------
eth0 Link encap:Ethernet HWaddr 00:01:02:B8:B1: D8
inet addr:158.197.46.88 Bcast:158.197.46.255
Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:52 errors:0 dropped:0 overruns:0 carrier:52
collisions:0 txqueuelen:100
RX bytes:0 (0.0 b) TX bytes:3120 (3.0 Kb)
Interrupt:11 Base address:0x6200

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:61 errors:0 dropped:0 overruns:0 frame:0
TX packets:61 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:5936 (5.7 Kb) TX bytes:5936 (5.7 Kb)

/bin/netstat -rn
-----------------------------------------
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
158.197.46.0 0.0.0.0 255.255.255.0 U 40 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 40 0 0 lo
0.0.0.0 158.197.46.1 0.0.0.0 UG 40 0 0 eth0

/sbin/lsmod
-----------------------------------------
Module Size Used by Not tainted
soundcore 6436 0 (autoclean)
nls_iso8859-1 3456 0 (autoclean)
nls_cp437 5088 0 (autoclean)
vfat 11452 0 (autoclean)
fat 36440 0 (autoclean) [vfat]
autofs 11940 0 (autoclean) (unused)
3c59x 27432 1
ipchains 40456 0
ide-cd 29856 0 (autoclean)
cdrom 33184 0 (autoclean) [ide-cd]
ext3 64448 2
jbd 47608 2 [ext3]

/sbin/ipchains -L
-----------------------------------------
Chain input (policy ACCEPT):
Chain forward (policy ACCEPT):
Chain output (policy ACCEPT):

/sbin/iptables -L
-----------------------------------------
/lib/modules/2.4.18-3/kernel/net/ipv4/netfilter/ip_tables.o: init_module:
Device or resource busy
Hint: insmod errors can be caused by incorrect module parameters, including
invalid IO or IRQ parameters
/lib/modules/2.4.18-3/kernel/net/ipv4/netfilter/ip_tables.o: insmod
/lib/modules/2.4.18-3/kernel/net/ipv4/netfilter/ip_tables.o failed
/lib/modules/2.4.18-3/kernel/net/ipv4/netfilter/ip_tables.o: insmod
ip_tables failed
iptables v1.2.5: can't initialize iptables table Filter': iptables who? (do
you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.

/bin/dmesg
-----------------------------------------
Linux version 2.4.18-3 (bhcompile@stripples.devel.redhat.com) .
.
.
.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 2048 bind 2048)
Linux IP multicast router 0.06 plus PIM-SM
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
RAMDISK: Compressed image found at block 0
Freeing initrd memory: 120k freed
VFS: Mounted root (ext2 filesystem).
Journalled Block Device driver loaded
kjournald starting. Commit interval 5 seconds
.
.
.
3c59x: Donald Becker and others. www.scyld.com/network/vortex.html
00:0b.0: 3Com PCI 3c900 Cyclone 10Mbps Combo at 0x6200. Vers LK1.1.16
Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 4M
agpgart: no supported devices found.


This network card are the best way how to get
good felling .
Help me please.
Thanks.
 
Old 06-11-2002, 05:25 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
1) please use USEFUL titles. what kind of title is "what is"? thanks

2) what is actually wrong? "it don't work" is seldom of any use. are interfaces on BOTH machines running? do they have suitable IP addresses and netmasks? can you ping yourself on each IP? also what about "route"?

Last edited by acid_kewpie; 06-11-2002 at 06:45 AM.
 
Old 06-11-2002, 05:33 AM   #3
PenPen
LQ Newbie
 
Registered: Jun 2002
Location: on a spike
Distribution: windowsXP har-har
Posts: 2

Rep: Reputation: 0
Angry oiy !

acid_kewpie you better change your attitude or else.... nah but that was pretty aggressive no? You do have a title here and lots of post i still dont see the diference.

edit : And i agree for the title.
 
Old 06-11-2002, 06:18 AM   #4
Mik
Senior Member
 
Registered: Dec 2001
Location: The Netherlands
Distribution: Ubuntu
Posts: 1,316

Rep: Reputation: 47
It seems to be able to transmit packets. It's just having troubles receiving them. And by the way why are you using both ipchains and iptables. You should only be using iptables if it's redhat 7.2.
You should convert the firewall script you used for redhat 5 to a iptable script.
 
Old 06-11-2002, 10:12 AM   #5
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Re: oiy !

Quote:
Originally posted by PenPen
acid_kewpie you better change your attitude or else.... nah but that was pretty aggressive no? You do have a title here and lots of post i still dont see the diference.

edit : And i agree for the title.
that's acid, just better get use to it. and I agree totally with him. the post didn't tell us really anything. lots of output but a "network fallen" doesn't help us with any ideas of what could be wrong really.

but I would have to agree with Mik, don't need iptables and ipchains at same time.
 
Old 06-11-2002, 10:34 AM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
well it's a case of iptables and ipchains not being ABLE to run together, let alone it being undesirable.
 
Old 06-12-2002, 01:03 AM   #7
gmitra
LQ Newbie
 
Registered: Jun 2002
Location: Slovak Republic
Distribution: RedHat, Mandrake, Gentoo
Posts: 25

Original Poster
Rep: Reputation: 15
Hello all,
excuse me (acid_kewpie) title "What is" I have done it by mistake. I'm novice here and I'm so indebted for PenPen attitude towards title.

trickykid :"network fallen" doesn't help us with any ideas of what could be wrong really.

Yoy are right.

This machine 158.197.46.88 has netmask 255.255.255.0 - this is our
local network. I can ping to yourself (ping 158.197.46.88 and ping 127.0.0.1). It's OK. But I can't pinging outside machine!

My story:
This network card is "something mysterious". The same problem I had under RH7.1 in another machine. I decided to change the cards
between machine with RH7.1 and machine with RH5.1. Card run and all was OK. Problem again starts after reinstalling.

------
 
Old 06-16-2002, 06:17 AM   #8
xanthium
Member
 
Registered: Apr 2001
Location: Bombay ( INDIA )
Distribution: RedHat 7.x
Posts: 218

Rep: Reputation: 30
Hi ,

Now from what i understand your network card is working fine
its just that ur not able to ping other than urself.... correct me if iam wrong.

So that means ur network card is not at fault. the cable is OK too.

Now that only leaves few things to check.

1. Ipchains/ Iptables.
2. ICMP messages are disabled via ur proc file system.
3. Your routing tables.

check by disabling firewall first and if it doesnt work Try using traceroute util to determine the flow ....

Mail me with the result.

Regards,
Xanthium
 
Old 06-16-2002, 02:37 PM   #9
gmitra
LQ Newbie
 
Registered: Jun 2002
Location: Slovak Republic
Distribution: RedHat, Mandrake, Gentoo
Posts: 25

Original Poster
Rep: Reputation: 15
Xanthium,
you are right, I still can't to ping other than me. Ipchains I removed from kernel.
One friend told me that in 2.4.x kernels ipchains are replaced by iptables.
What you mean with:"ICMP messages are disabled via ur proc file system"?
I also disabled firewalls but without desired results. Tomorow I will try traceroute util.
I didn't hear about this util before. The results I will submite to the forum.

Regards,
Gmitra






P.S. I haven't your mail.
 
Old 06-17-2002, 02:28 AM   #10
xanthium
Member
 
Registered: Apr 2001
Location: Bombay ( INDIA )
Distribution: RedHat 7.x
Posts: 218

Rep: Reputation: 30
Hi ,

With RH7 and above ipchains was replaced by iptables.
So ur machine might be having either or both of them.

Disable the scripts from running at startup ( NOTE: Just flushing the rules wont work ! u need to have a clean bootup ).

Also a few system i have seen had disabled ICMP reply ... which essentially meant that they dont reply back to ping requests.
Now this can be done via firewall as well by certain entries in one of the files in /proc directory!

Also be sure to check ur Gateways and routing table entries.


now traceroute util allows u to check out the path through which ur packets flow to the final destination.

Ex. traceroute www.sun.org

now this command will show u the machine thru which ur data is routed before it reaches its final destination. I hope u got my point.

Regards,
Xanthium.
 
  


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



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

All times are GMT -5. The time now is 03:06 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