Subject: Re: Help enabling PCI ethernet card, tlp0
To: netbsd <netbsd-users@netbsd.org>
From: Philip Brodd <pheelb@yahoo.com>
List: netbsd-users
Date: 12/11/2002 18:55:01
--- Manuel Bouyer <bouyer@antioche.eu.org> wrote:
> > Asant?Fast 690 PCI Adapter.  It is recognized when the system boots, and
> here's
> > what it says:
> > 
> > tlp0 at pci0 dev 14 function 0: Lite-On 82C115 Ethernet, pass 2.5
> > tlp0: broken MicroWire interface detected; setting SROM size to 1Kb
> > tlp0: interrupting at irq 24
> > tlp0: Ethernet address 00:00:94:cc:6c:7f
> > tlp0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
> > 
> > I have the following in /etc/dhclient.conf:
> > 
> > interface "mc0" {
> >         request subnet-mask, routers, broadcast-address, domain-name,
> > domain-name-servers, host-name;
> > }
> > 
> > I hoped I could simply replace "mc0" with "tlp0", but it doesn't get an
> > address:
> > 
> > Dec 11 14:15:15  dhclient: DHCPDISCOVER on tlp0 to 255.255.255.255 port 67
> > interval 3
> > Dec 11 14:15:18  dhclient: DHCPDISCOVER on tlp0 to 255.255.255.255 port 67
> > interval 4
> > Dec 11 14:15:22  dhclient: DHCPDISCOVER on tlp0 to 255.255.255.255 port 67
> > interval 7
> > Dec 11 14:15:29  dhclient: DHCPDISCOVER on tlp0 to 255.255.255.255 port 67
> > interval 13
> > Dec 11 14:15:42  dhclient: DHCPDISCOVER on tlp0 to 255.255.255.255 port 67
> > interval 11
> > Dec 11 14:15:53  dhclient: DHCPDISCOVER on tlp0 to 255.255.255.255 port 67
> > interval 9
> > Dec 11 14:16:02  dhclient: DHCPDISCOVER on tlp0 to 255.255.255.255 port 67
> > interval 10
> > Dec 11 14:16:12  dhclient: DHCPDISCOVER on tlp0 to 255.255.255.255 port 67
> > interval 4
> > Dec 11 14:16:16  dhclient: No DHCPOFFERS received.
> > Dec 11 14:16:16  dhclient: No working leases in persistent database -
> sleeping.
> > 
> > 
> > Is there something else I need to do to enable the card?
> 
> Can you run tcpdump on the dhcp server to check if the client really
> sends requests ?

The dhcp server is an Apple AirPort base station, so unfortunately I can't run
anything on it.  Can I run tcpdump from a third machine to monitor
communication between them?

> Also, what does 'ifconfig tlp0' report ?

Here is the output of ifconfig -a.  This is after I have changed the interface
from "mc0" to "tlp0" in dhclient.conf and rebooted.

tlp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        address: 00:00:94:cc:6c:7f
        media: Ethernet autoselect (none)
        status: no carrier
        inet 0.0.0.0 netmask 0xff000000 broadcast 255.255.255.255
        inet6 fe80::200:94ff:fecc:6c7f%tlp0 prefixlen 64 scopeid 0x1
mc0: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        address: 00:05:02:b4:1c:31
        media: Ethernet manual
        inet 10.0.1.4 netmask 0xffffff00 broadcast 255.255.255.255
        inet6 fe80::205:2ff:feb4:1c31%mc0 prefixlen 64 scopeid 0x2
lo0: flags=8009<UP,LOOPBACK,MULTICAST> mtu 33220
        inet 127.0.0.1 netmask 0xff000000
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
        inet6 ::1 prefixlen 128
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





__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com