Next-in-Thread Next Message

Question No success with either 10/100 Etherjet nor 3Com cards on Thinkpad 

Forum: PCMCIA Network Adapter Issues
Date: 2000, Mar 01
From: lyle borg-graham lyle

I have gotten the same "SIOCADDRT: Network is unreachable" message with both the IBM 10/100 EtherJet card and the 3Com 10/100 3CXFE575CT card. The machine is a Thinkpad 600E, running Red Hat 6.1, kernel 2.2.14, and using the pcmcia-cs-3.1.11 distribution. Apparently all the network configuration files are ok. I note some bizzare things, such as the ability to ping locally even when the card is not installed.

As perhaps a side note, at some point in this process the cardmgr started sending messages directly to the screen (i.e. "Network unreachable") during bootup, and *not* to /var/log/messages as it did before.

Thanks very much for any ideas!

Lyle

Included below are some (hopefully) useful tidbits (with the 3Com card installed):

   [root@cognilap ~]# uname -rv
   2.2.14 #8 Tue Feb 29 17:13:24 CET 2000

   [root@cognilap ~]# cardctl -V
   cardctl version 3.1.11

   [root@cognilap ~]# sh -x /etc/pcmcia/network start eth0
   + [ -r ./shared ]
   + . /etc/pcmcia/shared
   ++ [ 2 -lt 2 ]
   ++ ACTION=start
   ++ DEVICE=eth0
   + get_info eth0
   + [ -d /var/state/pcmcia ]
   ++ cat /var/state/pcmcia/scheme
   + SCHEME=
   + STAB=/var/state/pcmcia/stab
   + [ ! ]
   + SCHEME=default
   + grep_stab eth0
   + local CLASS DEV
   + read SOCKET CLASS DRIVER INSTANCE DEV MAJOR MINOR
   + [ eth0 = ]
   + read SOCKET CLASS DRIVER INSTANCE DEV MAJOR MINOR
   + [ eth0 = Fast ]
   + read SOCKET CLASS DRIVER INSTANCE DEV MAJOR MINOR
   + [ eth0 = eth0 ]
   + return 0
   ++ /sbin/ifconfig eth0
   ++ sed -n -e s/.*addr \([^ ]*\) */\1/p
   + HWADDR=00:00:86:51:E6:E4
   + ADDRESS=default,1,0,00:00:86:51:E6:E4
   + . /etc/pcmcia/network.opts
   ++ [ -f /etc/sysconfig/network-scripts/ifcfg-eth0 ]
   ++ BOOTP=n
   ++ IPADDR=128.122.146.142
   ++ NETWORK=128.122.146.0
   ++ NETMASK=255.255.255.0
   ++ BROADCAST=128.122.255.255
   ++ GATEWAY=128.122.146.1
   ++ DOMAIN=cns.nyu.edu
   + RESOLV=/etc/resolv.conf
   + test
   + is_true
   + [ = y -o = Y -o = yes -o = YES ]
   + is_true n
   + [ n = y -o n = Y -o n = yes -o n = YES ]
   + is_true
   + [ = y -o = Y -o = yes -o = YES ]
   + [ 128.122.146.142 ]
   + BC=broadcast 128.122.255.255
   + /sbin/ifconfig eth0 up 128.122.146.142 netmask 255.255.255.0 broadcast 128.122.255.255
   + [ 128.122.146.0 ]
   + /sbin/ifuser eth0 128.122.146.0
   + /sbin/route add -net 128.122.146.0 netmask 255.255.255.0 dev eth0
   + test 128.122.146.1
   + /sbin/route add default gw 128.122.146.1 metric 1
   SIOCADDRT: File exists
   + [ cns.nyu.edu ]
   + echo # eth0 begin
   + test cns.nyu.edu
   + echo domain cns.nyu.edu
   + test
   + echo # eth0 end
   + sed -e /# eth0 begin/,/# eth0 end/d /etc/resolv.conf
   + mv /etc/resolv.conf.N /etc/resolv.conf
   + [ ]
   + [ ]
   + start_fn eth0
   + /sbin/ifup eth0
   SIOCADDRT: Network is unreachable
   + exit 0


Now, with the cable *unplugged* (128.122.154.50 is another machine):

   [root@cognilap ~]# ping 128.122.154.50
   PING 128.122.154.50 (128.122.154.50) from 128.122.154.50 : 56(84) bytes of data.
   64 bytes from 128.122.154.50: icmp_seq=0 ttl=255 time=0.1 ms
   64 bytes from 128.122.154.50: icmp_seq=1 ttl=255 time=0.1 ms
   64 bytes from 128.122.154.50: icmp_seq=2 ttl=255 time=0.1 ms
   64 bytes from 128.122.154.50: icmp_seq=3 ttl=255 time=0.0 ms

   --- 128.122.154.50 ping statistics ---
   4 packets transmitted, 4 packets received, 0% packet loss
   round-trip min/avg/max = 0.0/0.0/0.1 ms



In the file /etc/pcmcia/network.opts:

       if [ -f /etc/sysconfig/network-scripts/ifcfg-eth0 ] ; then
           start_fn () {
               /sbin/ifup $1
           }
           stop_fn () {
               /sbin/ifdown $1
           }
       fi



       case "$ADDRESS" in
       *,*,*,*)

           BOOTP="n"
           IPADDR="128.122.146.142"
           NETWORK="128.122.146.0"
           NETMASK="255.255.255.0"
   BROADCAST="128.122.255.255"
           GATEWAY="128.122.146.1"
           DOMAIN="cns.nyu.edu"

           ;;
       esac


In the file /etc/pcmcia/config.opts:

#
# Local PCMCIA Configuration File
#
# System resources available for PCMCIA devices
#
include port 0x100-0x4ff, port 0x1000-0x17ff
include memory 0xc0000-0xfffff
include memory 0xa0000000-0xa0ffffff, memory 0x60000000-0x60ffffff
#
# Extra port range for IBM Token Ring
#
include port 0xa00-0xaff
#
# Resources we should not use, even if they appear to be available
#
# First built-in serial port
exclude irq 4
# Second built-in serial port
#exclude irq 3
# First built-in parallel port
exclude irq 7
#
# Additional stuff from the PCMCIA-HOWTO
exclude port 0x230-0x233
exclude irq 5
exclude port 0x2f8-0x2ff

# Modifications from A. Krumeich
include port 0x600-0x6ff
include irq 11

# Examples of options for loadable modules
#
# To fix sluggish network with IBM ethernet adapter...
#module "pcnet_cs" opts "mem_speed=600"
#
# Options for Xircom Netwave driver...
#module "netwave_cs" opts "domain=0x100 scramble_key=0x0"
#
# Options for IBM Token Ring adapters
#module "ibmtr_cs" opts "mmiobase=0xd0000 srambase=0xd4000"

Next-in-Thread Next Message

Messages Inline: 1 All Outline: 1 2 All

1. More Addendum by lyle borg-graham, 2000, Mar 01
2. None This is a configuration error by David Hinds, 2000, Mar 01
1. None Progress, but... by lyle borg-graham, 2000, Mar 01

Add Message to: "No success with either 10/100 Etherjet nor 3Com cards on Thinkpad"

Members Subscribe Admin Mode Show Frames Help for HyperNews at pcmcia-cs.sourceforge.net 1.10