Subject: Cannot configure we1
To: None <port-i386@netbsd.org>
From: Anders Dinsen <dinsen@danbbs.dk>
List: port-i386
Date: 09/12/1998 05:12:10
I am switching from one old net card (3C503) to another (WD8013EPC,
made by SMC) so I inserted the new one along with the old one and
configured the kernel with it.

But I cannot ifconfig it:

% ifconfig we1 192.168.0.8 netmask 0xffffff00 media 10base2/BNC
ifconfig: SIOCAIFADDR: File exists

What file is it referring to? Things look ok when I query the
configuration:

% ifconfig we1
we1: flags=3D8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu
1500
        media: 10base2/BNC
        inet 192.168.0.8 netmask 0xffffff00 broadcast 192.168.0.255

But I cannot ping the address:

% ping 192.168.0.8
PING 192.168.0.8 (192.168.0.8): 56 data bytes
ping: sendto: Host is down

Any suggestions?

Here's dmesg output:

Copyright (c) 1996, 1997, 1998
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 1.3.2 (BOX) #0: Thu Sep 10 14:51:54 PDT 1998
    root@box:/usr/src/sys/arch/i386/compile/BOX
cpu0: Cyrix 486DLC (486-class)
WARNING: CYRIX 486DLC CACHE UNCHANGED.
real mem  =3D 7995392
avail mem =3D 6574080
using 123 buffers containing 503808 bytes of memory
mainbus0 (root)
isa0 at mainbus0
aha0 at isa0 port 0x330-0x333 irq 11 drq 5
aha0: model AHA-1540A/1542A/1542B, firmware 0.5
aha0: sync, parity
scsibus0 at aha0: 8 targets
sd0 at scsibus0 targ 0 lun 0: <DEC, RZ25     (C) DEC, 0700> SCSI2
0/direct fixed
sd0: 406MB, 1476 cyl, 9 head, 62 sec, 512 bytes/sect x 832527 sectors
cd0 at scsibus0 targ 2 lun 0: <IBM,
CDRM00203\\000\\000\\000\\000\\000!J, 1.0m>=20
SCSI2 5/cdrom removable
sd1 at scsibus0 targ 4 lun 0: <SyQuest, EZ135S, 1_13> SCSI2 0/direct
removable
sd1: drive offline
com0 at isa0 port 0x3f8-0x3ff irq 4: ns8250 or ns16450, no fifo
com0: console
com1 at isa0 port 0x2f8-0x2ff irq 3: ns8250 or ns16450, no fifo
lpt0 at isa0 port 0x378-0x37b irq 7
we1 at isa0 port 0x300-0x31f iomem 0xcc000-0xcffff irq 10
we1: WD8013EPC Ethernet (16-bit)
we1: Ethernet address 00:00:c0:ab:7d:65
ec0 at isa0 port 0x250-0x25f iomem 0xd8000-0xd9fff irq 9
ec0: 3Com 3c503 Ethernet (8-bit)
ec0: Ethernet address 02:60:8c:1a:0c:25
npx0 at isa0 port 0xf0-0xff irq 13
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
fd0 at fdc0 drive 0: 1.2MB, 80 cyl, 2 head, 15 sec
biomask 840 netmask e40 ttymask ec0
findroot: can't open dev sd1a (5)
boot device: sd0
root on sd0a dumps on sd0b
root file system type: ffs


----------------------------------------------------------------
Anders Dinsen
- father, geek, life addict!
                                    dinsen@danbbs.dk
                                    http://www.danbbs.dk/~dinsen