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

Re: Problems with eth0 and 2.2R4



brooks.robinson@rides.com wrote:

| -----Original Message-----
| From: Daniel Hartman [mailto:hartmada@netscape.net]
| Sent: Monday, 19 November, 2001 04:23 PM
| To: Debian-Users List
| Subject: Problems with eth0 and 2.2R4
| | | Hey all, | | I am having problems with my ethernet card after installing 2.2R4 on my | laptop. I have to perform the following everytime I reboot my machine: | | # route add default eth0
|    # route add default gw <my.gateway>
| | Does anyone know what I might be missing? Am I not providing enough | information? | | Thanks in advance. | | Dan

Greetings,
    Check out /etc/network/interfaces and 'man interfaces'.

HTH,

Brooks



Thank you for the response Brooks.  Unfortunately, I'm still stuck.

After reading the interfaces man pages, it appears that I have my /etc/network/interfaces set up properly (which was all done during my install). Here it is:

  # /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)

  # The loopback interface
  # automatically added when upgrading
  auto lo
  iface lo inet loopback

# The first network card - this entry was created during the Debian installation
  # (network, broadcast and gateway are optional)
  # automatically added when upgrading
  auto eth0
  iface eth0 inet static
          address 128.165.245.10
          netmask 255.255.255.0
          network 128.165.245.0
          broadcast 128.165.245.255
          gateway 128.165.244.241

Every time I boot, this is what I encounter...

Attempting to perform a ping on a machine next to me:

  # ping 128.165.244.177
  PING 128.165.244.177 (128.165.244.177): 56 data bytes
  ping: sendto: Network is unreachable
  ping: wrote 128.165.244.177 64 chars, ret=-1
  ping: sendto: Network is unreachable
  ping: wrote 128.165.244.177 64 chars, ret=-1

  --- 128.165.244.177 ping statistics ---
  2 packets transmitted, 0 packets received, 100% packet loss

Here is the output of route:

  # route
  Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface localnet * 255.255.255.0 U 0 0 0 eth0

My ethernet driver is getting loaded:

  # lsmod | grep e100
  e100                   61188   1

When I add the following everything works:

  # route add default eth0
  # route add default gw 128.165.244.241

Output from ping:

  # ping 128.165.244.177
  PING 128.165.244.177 (128.165.244.177): 56 data bytes
  64 bytes from 128.165.244.177: icmp_seq=0 ttl=254 time=1.8 ms

  --- 128.165.244.177 ping statistics ---
  1 packets transmitted, 1 packets received, 0% packet loss
  round-trip min/avg/max = 1.8/1.8/1.8 ms

And here is the output of route:

  # route
  Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface localnet * 255.255.255.0 U 0 0 0 eth0 default mst244-gw.lanl. 0.0.0.0 UG 0 0 0 eth0 default * 0.0.0.0 U 0 0 0 eth0
  #

By the way, I am running the latest updates from woody -- although this problem existed while in potato, there were just bigger fish to fry at the time, i.e., XFree and PCMCIA.

Any help would be greatly appreciated.  I'm all googled out.....

Thanks in advance.

Dan







Reply to: