Subject: Re: Help enabling PCI ethernet card, tlp0
To: Philip Brodd <pheelb@yahoo.com>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-users
Date: 12/11/2002 23:22:51
On Wed, Dec 11, 2002 at 12:29:09PM -0800, Philip Brodd wrote:
> Hi,
> 
> I put a new ethernet card in my machine (NetBSD/macppc 1.6 GENERIC), but I'm
> having some trouble making it work.  The card is labeled FriendlyNet,
> 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 ?

Also, what does 'ifconfig tlp0' report ?

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 23 ans d'experience feront toujours la difference
--