From owner-freebsd-questions@FreeBSD.ORG Sat Oct 11 08:48:30 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7A01516A4B3 for ; Sat, 11 Oct 2003 08:48:30 -0700 (PDT) Received: from cuic.ca (ns2.cuic.ca [209.87.232.244]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4517643F93 for ; Sat, 11 Oct 2003 08:48:29 -0700 (PDT) (envelope-from liquid@iam-net.com) Received: from windows ([216.126.94.86]) (authenticated user liquid@iam-net.com) by cuic.ca (cuic.ca [209.87.232.129]) (MDaemon.PRO.v6.8.5.R) with ESMTP id 15-md50000000022.tmp for ; Sat, 11 Oct 2003 11:48:38 -0400 From: "liquid" To: "'freebsd-questions'" Date: Sat, 11 Oct 2003 11:47:29 -0400 Message-ID: <001001c3900e$faf6b540$6400a8c0@windows> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.3416 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal X-Authenticated-Sender: liquid@iam-net.com X-Spam-Processed: cuic.ca, Sat, 11 Oct 2003 11:48:38 -0400 (not processed: message from valid local sender) X-MDRemoteIP: 216.126.94.86 X-Return-Path: liquid@iam-net.com X-MDaemon-Deliver-To: freebsd-questions@FreeBSD.ORG Subject: How do I get my NIC going again using ifconfig? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: liquid@iam-net.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Oct 2003 15:48:30 -0000 Hi everyone, Last night I was helping a guy out trying to install FreeBSD for the first time. His cable connection is DHCP and I have very little knowledge of how to set that up since it's been so long since I've had to do so. The result is I went to /stand/sysinstall and "pretended" to setup my interface through there so I'd be able to see what he was seeing. I chose no to IPV6, yes to DHCP.. As it's searching for a dhcp server, I wind up getting disconnected because my interface that has the public IP suddenly loses that IP. Somehow, from this point forward the inet6 IP (which is bogus, I have ipv6 installed for ipv6-ipv4 tunneling only) takes precedence. As such, despite all my efforts, and 3-4 re-reads of the ifconfig and route man pages, I was unable to get online without rebooting. Is there any other way around this in case this happens another time? I recall that many months ago I was tinkering with ifconfig and the same scenario reproduced itself. I had to reboot in order to get back online. Also, inconfig rl0 destroy doesn't appear to work. When I'd try to remove the inet6 address it would give me an error, something about PROTO.localhost-v6.rev. Sorry I can't remember more - by this time it was already 4 AM, and it didn't appear to log anywhere unfortunately. If anyone has any tips on how to avoid this for next time it would be greatly appreciated. TIA, Sandro