Article View: comp.os.linux.hardware
Article #981Strange problems with ethernet
From: Enrico Ferrante
Date: Thu, 30 Jul 1998 00:00
Date: Thu, 30 Jul 1998 00:00
189 lines
6691 bytes
6691 bytes
Hi, I give you some other information about my problem and
a print of dmesg, /proc/net/dev, routing...
Please try to say what go wrong... I have tried everything!!
I have installed linux Redhat 5.0 on a Pentium II
I have configured the kernel for the 3com 3c905b
The driver starts, doesn't give errors, ifconfig says that eth0 is Ok
and reports the
right IRQ and I/O address.
But it doesn'work. I have a repeater (DEC repeater 90T), it is NOT
connected to a
backbone but only to a MAC and to the Linux machine using two 10BaseT
cables.
I have configured the TCP/IP on the mac and I have tried to ping and
telnet linux
but it doesn't work!! :(
Oh, I have configured also the ppp (it does work :-) ) and I have used
ipfwadm -F -a m -S 192.168.1.0/24 -D 0.0.0.0/0
in /etc/rc.d/rc.local
I would like to use the linux machine to connect to INTERNET a masquared
ethernet
Now I print some information
************************
ifconfig:
lo Link encap:Local Loopback
inet addr:127.0.0.1 Bcast:127.255.255.255 Mask:255.0.0.0
UP BROADCAST LOOPBACK RUNNING MTU:3584 Metric:1
RX packets:9 errors:0 dropped:0 overruns:0
TX packets:9 errors:0 dropped:0 overruns:0
eth0 Link encap:Ethernet HWaddr 00:60:08:76:B7:80
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0
TX packets:1 errors:0 dropped:0 overruns:0
Interrupt:10 Base address:0x300
**********************
route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
192.168.1.0 * 255.255.255.0 U 0 0 1
eth0
127.0.0.0 * 255.0.0.0 U 0 0 1
lo
(when ppp is up it is the default routing)
**********************
/etc/hosts
127.0.0.1 localhost localhost.localdomain
192.168.1.1 rcs rcs.nauta.it
192.168.1.2 mac
(rcs is the linux machine, mac is the Mac)
***********************
a part of dmesg after the boot
sysctl: ip forwarding off
Appletalk 0.17 for Linux NET3.035
eth0: 3c509 at 0x300 tag 1, 10baseT port, address 00 60 08 76 b7 80,
IRQ 10.
3c509.c:1.12 6/4/97 becker@cesdis.gsfc.nasa.gov
eth0: Setting Rx mode to 1 addresses.
**********************
lsmod:
Module Pages Used by
ip_masq_quake 1 0
ip_masq_vdolive 1 0
ip_masq_cuseeme 1 0
ip_masq_irc 1 0
ip_masq_raudio 1 0
ip_masq_ftp 1 0
3c509 2 1 (autoclean)
isofs 5 1 (autoclean)
*****************************
ps -lax:
FLAGS UID PID PPID PRI NI SIZE RSS WCHAN STA TTY TIME
COMMAND
100 0 1 0 0 0 748 404 fifo_open S ? 0:03
init [3]
40 0 2 1 0 0 0 0 add_vfsmnt SW ? 0:00
(kflushd)
40 0 3 1 -12 -12 0 0 swap_tick SW< ? 0:00
(kswapd)
140 0 21 1 0 0 724 364 set_dqblk S ? 0:00
/sbin/ker
140 0 172 1 0 0 784 452 fifo_open S ? 0:00
syslogd
100140 0 181 1 0 0 880 544 syslog S ? 0:00
klogd
100040 2 192 1 0 0 768 408 nanosleep S ? 0:00
/usr/sbin
140 0 203 1 5 0 832 484 nanosleep S ? 0:00
crond
140 0 214 1 0 0 1116 668 fifo_open S ? 0:00
/usr/sbin
100140 0 226 1 0 0 760 404 fifo_open S ? 0:00
inetd
140 0 237 1 0 0 776 424 fifo_open S ? 0:00
routed
100140 0 248 1 0 0 808 424 fifo_open S ? 0:00
lpd
100140 0 262 1 0 0 732 356 fifo_open S ? 0:00
gpm -t PS
100100 0 290 1 0 0 1440 948 wait4 S 1 0:00
/bin/logi
100100 0 291 1 0 0 712 316 echo_char S 2 0:00
/sbin/min
100100 0 292 1 0 0 712 316 echo_char S 3 0:00
/sbin/min
100100 0 293 1 0 0 712 316 echo_char S 4 0:00
/sbin/min
100100 0 294 1 0 0 712 316 echo_char S 5 0:00
/sbin/min
100100 0 295 1 0 0 712 316 echo_char S 6 0:00
/sbin/min
100140 0 297 1 0 0 708 236 nanosleep S ? 0:00
update (b
100 0 298 290 15 0 1172 776 wait4 S 1 0:00
-bash
100100 0 329 298 16 0 928 500 R 1 0:00
ps -lax
******************************
cat /proc/net/dev
Inter-| Receive | Transmit
face |packets errs drop fifo frame|packets errs drop fifo colls carrier
lo: 9 0 0 0 0 9 0 0 0 0 0
dummy: No statistics available.
eth0: 0 0 0 0 0 1 0 0 0 0 0
the Tx packet number increase very slowly, and the Rx stay to 0!!!
if I make
ping -v 192.168.1.2
INCREASE THE NUMBER OF Tx PACKETS ON lo !!!
increase also the number of packet in eth0 TX but more slowly...
and the number of packet Tx by ping is near to the number of packets of
Tx loopback!! I find it very strange.
*****************************
Ok that's all. You are my last chance and then I will have to fire
Linux.
What is wrong for you?
pheraps it is simply the connection via the repeater?
Thank you very much
Bye Stefano
p.s.
please reply via e-mail
Technical Details
Message-ID:
<35C0C53A.4B56C5E2@mail.nauta.it>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 102b32,79d26939f62cdc81,start X-Google-Attributes: gid102b32,public X-Google-Thread: 100b1f,79d26939f62cdc81,start X-Google-Attributes: gid100b1f,public X-Google-Thread: ff9be,79d26939f62cdc81,start X-Google-Attributes: gidff9be,public X-Google-Thread: 10669a,79d26939f62cdc81,start X-Google-Attributes: gid10669a,public X-Google-Thread: 10c45b,79d26939f62cdc81,start X-Google-Attributes: gid10c45b,public From: Enrico Ferrante <autovie@mail.nauta.it> Subject: Strange problems with ethernet Date: 1998/07/30 Message-ID: <35C0C53A.4B56C5E2@mail.nauta.it> X-Deja-AN: 376431940 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii; x-mac-type="54455854"; x-mac-creator="4D4F5353" Organization: Autovie Venete R&D dept. Mime-Version: 1.0 Reply-To: autovie@mail.nauta.it Newsgroups: comp.os.linux.hardware,it.comp.linux.setup,comp.os.linux.help,comp.os.linux.networking,comp.os.linux.questions