[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Networking help



Robert:

I see 22 transmit errors on the eth0 interface.  Check /var/log/syslog
(or /var/log/kern.log) for a description of the errors.  I'm running one
of the 2.0.x kernels, so I can't be much help with problems specific to
your kernel.  The files in /usr/src/linux/Documentation/ have some-
times been some help to me in hunting down problems.

Marc

----------
Marc Mongeon <mongeon@bankoe.com>
Unix Specialist
Ban-Koe Systems
9100 W Bloomington Fwy
Bloomington, MN 55431-2200
(612)888-0123, x417 | FAX: (612)888-3344
----------
"It's such a fine line between clever and stupid."
   -- David St. Hubbins and Nigel Tufnel of "Spinal Tap"


>>> Robert Rati <ratirh@cs.purdue.edu> 07/01 5:26 PM >>>
I have been having problems getting my Debian box to talk to my internal
network at all, and I'm stumped as to why.  None of the how-to's have
helped at all.  The configuration should be working and I know the ether
card works because I've used it before.  I can ping my box from itself,
but I can't ping any machine on the network, and no machine can ping mine.
Route gives this:
Destination     Gateway    Genmask         Flags   MSS Window  irtt Iface
10.0.3.0        *          255.255.255.0   U         0 0          0 eth0
<Long pause>
default         10.0.3.1   0.0.0.0         UG        0 0          0 eth0

When I do an ifconfig I get this:
eth0      Link encap:Ethernet  HWaddr 00:40:05:2F:1D:D5
          inet addr:10.0.3.11  Bcast:10.0.3.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:0 errors:22 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          Interrupt:10 Base address:0x240

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING MTU:3924 Metric:1
          RX packets:88 errors:0 dropped:0 overruns:0 frame:0
          TX packets:88 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0

Here's my /etc/init.d/network:
#! /bin/sh
ifconfig lo 127.0.0.1
#route add -net 127.0.0.0
IPADDR=10.0.3.11
NETMASK=255.255.255.0
NETWORK=10.0.3.0
BROADCAST=10.0.3.255
GATEWAY=10.0.3.1
ifconfig eth0 ${IPADDR} netmask ${NETMASK} broadcast ${BROADCAST}
#route add -net ${NETWORK}
[ "${GATEWAY}" ] && route add default gw ${GATEWAY} metric 1 

I'm running kernel 2.2.10.  I've noticed that there are no RX packets for
my ether card, but I'm not sure if that means anything or not.  Can anyone
give me some things to try or some info that could lead to a better
diagnosis?  strace is cryptic, but it appears to be trying to ping the
correct ip addresses.  Any help would be MUCH appreciated.  TIA.

								Rob

=======================================================================
ratirh@lore.cs.purdue.edu : Role-Player, Babylon 5 fanatic      1998-99
Aka Khyron the Backstabber : ICQ# 2325055
Homepage: www.cs.purdue.edu/homes/ratirh 

"Happiness comes in short spurts.  Don't be fooled."
=======================================================================




-- 
Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null



Reply to: