From owner-freebsd-questions@FreeBSD.ORG Tue Jul 18 09:29:45 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 F078D16A4DE for ; Tue, 18 Jul 2006 09:29:45 +0000 (UTC) (envelope-from nick@nickwithers.com) Received: from mail.nickwithers.com (mail.manrags.com [203.219.206.74]) by mx1.FreeBSD.org (Postfix) with ESMTP id 428E143D55 for ; Tue, 18 Jul 2006 09:29:45 +0000 (GMT) (envelope-from nick@nickwithers.com) Received: from localhost (shmick.shmon.net [10.0.0.252]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.nickwithers.com (Postfix) with ESMTP id 2083C3A37A; Tue, 18 Jul 2006 19:29:34 +1000 (EST) Date: Tue, 18 Jul 2006 19:29:33 +1000 From: Nick Withers To: "DSA - JCR" Message-Id: <20060718192933.7ab91939.nick@nickwithers.com> In-Reply-To: <4480.217.114.136.133.1153213985.squirrel@llca513-a.servidoresdns.net> References: <4480.217.114.136.133.1153213985.squirrel@llca513-a.servidoresdns.net> Organization: nickwithers.com X-Mailer: Sylpheed version 2.2.6 (GTK+ 2.8.20; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-nickwithers-MailScanner: Found to be clean X-nickwithers-MailScanner-From: nick@nickwithers.com Cc: freebsd-questions@freebsd.org Subject: Re: How to change NIC IP when system is running FBSD 6.1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Jul 2006 09:29:46 -0000 On Tue, 18 Jul 2006 09:13:05 -0000 (GMT) "DSA - JCR" wrote: > Hi all >=20 > I need to change the IP and netmask of my FreeBSD 6.1 Box and I dont' know > how to do once the system is up and running. ifconfig(8). For instance, to set the IP address 10.1.2.3 with a netmask of 255.255.255.0 on interface rl0, you might use (there are other ways of doing it): ifconfig rl0 inet 10.1.2.3 netmask 0xffffff00 Now, I'm not entirely sure what you mean by "up and running", but if you mean "post-install", you can use the same specification style in /etc/rc.conf, for instance: ifconfig_rl0=3D"inet 10.1.2.3 netmask 0xffffff00" > I have tried doing with KDE but I have several errors when I restart the = computer. 'Fraid I can't offer any assistance here, but I suspect others might be able to, if you provide a little more information. > I have Samba installed also. Not sure what you're trying to say here... Are you worried about changing the binding address(es) of a Samba server? > Can anyone help me? >=20 > Thanks in advance and best regards >=20 > Juan Coru=F1a > Desarrollo de Software Atlantico --=20 Nick Withers email: nick@nickwithers.com Web: http://www.nickwithers.com Mobile: +61 414 397 446