From owner-freebsd-questions Tue Feb 20 15:28:56 2001 Delivered-To: freebsd-questions@freebsd.org Received: from blueyonder.co.uk (pcow025o.blueyonder.co.uk [195.188.53.125]) by hub.freebsd.org (Postfix) with ESMTP id 0D8CB37B401 for ; Tue, 20 Feb 2001 15:28:52 -0800 (PST) (envelope-from richard@sparky.uk.net) Received: from rics2 ([213.48.23.143]) by blueyonder.co.uk with Microsoft SMTPSVC(5.5.1877.197.19); Tue, 20 Feb 2001 23:30:23 +0000 From: "Richard Morte" To: Subject: DHCP [ WAS: Problem Adding 2nd NIC] Date: Tue, 20 Feb 2001 23:28:43 -0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.3018.1300 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG OK everyone, Resolved the problem with the NIC - just wasn't compatible, so I swapped it for a spare FA310 and all is well - I now have pn0 and pn1. The FA311 has now gone into a windows machine! Now I have a new problem: I've added the line: ifconfig_pn1="DHCP" into rc.conf On reboot I get the message: ifconfig: DHCP: Bad value and, of course, no IP address is set for the NIC. However if I run : dhclient pn1 from the command prompt, I am provided with an IP address by the remote host and I can ping the world. I'm running 3.2 - any idea what should be put in rc.conf to start DHCP client at each re-boot? ciao, Ric Richard Morte e-mail : richard@sparky.uk.net phone : 0114 233 7993 fax : 0114 220 6075 mobile : 0779 091 8736 -----Original Message----- From: Richard Morte [mailto:richard@sparky.uk.net] Sent: 20 February 2001 18:02 To: freebsd-questions@FreeBSD.ORG Subject: Problem Adding 2nd NIC I'd appreciate a few pointers having tried the archives and mailing list for relevant info. I am adding a 2nd NIC for a cable modem. It is a Netgear FA311. I had no problems configuring the first card, a Netgear FA310TX some time ago using pn0. I've added the line: device pn1 (with no additional parameters) to the config file, and then executed: /usr/sbin/config NEWKERNEL (which reports the new compile directory on completion) cd ../../compile/NEWKERNEL make depend make make install pn1 is not recognised on reboot nor with ifconfig -a. The card is working fine. The only think I've noticed is that 'make' completes in about 2-3 mins which seems way too short. Can't think what else might be wrong - any clues anyone? Ric Richard Morte e-mail : richard@sparky.uk.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message