Subject: Re: de0 and ifconfig on Virtual PC
To: None <paul@whooppee.com>
From: Aaron Rosenzweig <recurve@resourceful.com>
List: port-i386
Date: 01/03/1999 17:49:20
Thanks, here is the output of the dmesg command:

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 (VPC) #1: Sun Jul 26 11:26:04 EST 1998
    djh@dax:/usr/src/sys/arch/i386/compile/VPC
cpu0: family 5 model 3 step 5
cpu0: ConnectixCPU  (586-class)
real mem  = 50987008
avail mem = 48107520
using 648 buffers containing 2654208 bytes of memory
mainbus0 (root)
pci0 at mainbus0 bus 0: configuration mode 1
pchb0 at pci0 dev 0 function 0
pchb0: Intel 82437FX System Controller (TSC) (rev. 0x00)
S3 Trio32/64 (VGA display) at pci0 dev 4 function 0 not configured
pcib0 at pci0 dev 7 function 0
pcib0: Intel 82371FB PCI-to-ISA Bridge (PIIX) (rev. 0x02)
Intel 82371FB IDE controller (PIIX) (IDE mass storage, interface 0x80, 
revision 0x02) at pci0 dev 7 function 1 not configured
isa0 at pcib0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
lpt0 at isa0 port 0x378-0x37b irq 7
wdc0 at isa0 port 0x1f0-0x1f7 irq 14
atapibus0 at wdc0
wd0 at wdc0 drive 0: <CntxCorpHD>
wd0: using 16-sector 16-bit pio transfers, lba mode
wd0: 1023MB, 2096640 sec, 512 bytes/sec
wd1 at wdc0 drive 1: <CntxCorpHD>
wd1: using 16-sector 16-bit pio transfers, lba mode
wd1: 99MB, 204612 sec, 512 bytes/sec
wdc1 at isa0 port 0x170-0x177 irq 15
atapibus1 at wdc1
cd0 at atapibus1 drive 0: <CntxCorpCD, , > type 5 cdrom removable
sb0 at isa0 port 0x220-0x237 irq 7 drq 1: dsp v3.00
audio0 at sb0
npx0 at isa0 port 0xf0-0xff: using exception 16
pc0 at isa0 port 0x60-0x6f irq 1: color
pms0 at pc0 irq 12
pc0: console
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
fd1 at fdc0 drive 1: density unknown
biomask c040 netmask c040 ttymask d0c2
wd1: no disk label
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs


>Based on what you've given us, NetBSD did not find any de0 device during
>auto-configuration.  Please post the entire boot log and we might be
>able to find something.  (Use the dmesg command...)
>
>On Sun, 3 Jan 1999, Aaron Rosenzweig wrote:
>
>> I'm using the Virtual PC #1 kernel
>> 
>> if I do a "ifconfig -a" the device "de0" is not listed.
>> 
>> # ifconfig -a                                                         
>> lo0: flags=8009<UP,LOOPBACK,MULTICAST> mtu 32976                      
>>         inet 127.0.0.1 netmask 0xff000000                             
>> ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500                      
>> ppp1: flags=8010<POINTOPOINT,MULTICAST> mtu 1500                      
>> sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 296                  
>> sl1: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 296                  
>> tun0: flags=10<POINTOPOINT> mtu 1500                                  
>> tun1: flags=10<POINTOPOINT> mtu 1500                                  
>> 
>> 
>> So when I try to do the command in the web-based documentation at 
>> cs.mu.OZ.AU I get:
>> # ifconfig de0 inet 192.43.207.21 netmask 255.255.255.0 media utp up
>> ifconfig: SIOCGIFFLAGS de0: Device not configured     
>> 
>> 
>> What can I do to configure de0?
>> 
>> I'd like to be able to telnet from "NiftyTelnet" under MacOS to NetBSD 
>> under Virtual PC.  Likewise use NetScape under MacOS to connect to a 
>> webserver on NetBSD under Virtual PC.
>> 
>> Thanks :-)


----------------------------------------
SW    Aaron Rosenzweig
SW    recurve@resourceful.com
SW    http://www.wam.umd.edu/~recurve/
SWN?