Subject: blah
To: None <netbsd-help@netbsd.org>
From: None <othyro@freeshell.org>
List: netbsd-help
Date: 06/16/2004 00:36:04
Hi!

I saw a DEC PCI tulip ethernet card hanging out in an old Mac motherboard at a yard sale, so I got it for $2. Popped it in the machine, worked fine:

tlp0 at pci0 dev 16 function 0: DECchip 21041 Ethernet, pass 2.1
tlp0: interrupting at irq 11
tlp0: Ethernet address 00:80:19:35:dd:1f
tlp0: 10baseT, 10base2, 10baseT-FDX

It also solved my DHCP woes. The other card is a 3Com 3c509 Ethernet (ep0) ISA card. I'm not sure if the difference between ISA and PCI made it work...

However, when I boot the machine, it does the DHCP thing fine, but for some reason, doesn't assign the IP properly (contrary to the boot messages). I have to kill dhclient and then restart it. But, hey, at least I'm online and don't have to use Win2k anymore. Does anyone know why this problem exists?

tim@dev# ifconfig tlp0
tlp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        address: 00:80:19:35:dd:1f
        media: Ethernet 10baseT
        status: active
        inet 0.0.0.0 netmask 0xff000000 broadcast 255.255.255.255
        inet6 fe80::280:19ff:fe35:dd1f%tlp0 prefixlen 64 scopeid 0x1
tim@dev# ps -auxw | grep dhc
root     86  0.0  0.3   832   456 ??  Ss    8:15PM 0:00.04 dhclient tlp0 
tim     340  0.0  0.4   156   504 p1  S+    8:22PM 0:00.02 grep dhc 
tim@dev# sudo kill 86
tim@dev# sudo dhclient tlp0
Internet Software Consortium DHCP Client V3.0.1rc11
Copyright 1995-2002 Internet Software Consortium.
All rights reserved.
For info, please visit http://www.isc.org/products/DHCP

Listening on BPF/tlp0/00:80:19:35:dd:1f
Sending on   BPF/tlp0/00:80:19:35:dd:1f
Sending on   Socket/fallback
DHCPREQUEST on tlp0 to 255.255.255.255 port 67
ip length 576 disagrees with bytes received 580.
accepting packet with data after udp payload.
DHCPACK from 192.168.1.1
New Network Number: 192.168.1.0
New Broadcast Address: 192.168.1.255
bound to 192.168.1.100 -- renewal in 39064 seconds.
tim@dev# ifconfig tlp0
tlp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        address: 00:80:19:35:dd:1f
        media: Ethernet 10baseT
        status: active
        inet 192.168.1.100 netmask 0xffffff00 broadcast 192.168.1.255
        inet6 fe80::280:19ff:fe35:dd1f%tlp0 prefixlen 64 scopeid 0x1


The above command showing dhclient getting a DHCPACK is the same as when it boots. The network config doesn't hold for some reason.

<shrug>

Thanks to all that helped with this!

!tr