From owner-freebsd-questions Thu Jul 13 8:45:25 2000 Delivered-To: freebsd-questions@freebsd.org Received: from ifta.accelnet.com (ifta.net [204.58.140.252]) by hub.freebsd.org (Postfix) with ESMTP id 059B037C54F for ; Thu, 13 Jul 2000 08:45:21 -0700 (PDT) (envelope-from cstrickl@ifta.net) Received: from a937cc5ze020 (ifta02.accelnet.com [204.58.141.2]) by ifta.accelnet.com (8.9.3/8.9.1) with SMTP id IAA04028; Thu, 13 Jul 2000 08:46:08 -0700 (PDT) Received: by localhost with Microsoft MAPI; Thu, 13 Jul 2000 08:39:08 -0700 Message-ID: <01BFECA5.CFA94840.cstrickl@ifta.net> From: Carl Strickler To: "'Edhi Nugroho'" Cc: "'freebsd-questions@freebsd.org'" Subject: RE: Changing NIC Configuration Date: Thu, 13 Jul 2000 08:39:08 -0700 X-Mailer: Microsoft Internet E-mail/MAPI - 8.0.0.4211 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG What is throwing me about this, and what threw me before was that I have searched in: /etc/rc.conf /etc/defaults/rc.conf /etc/host.conf /etc/hosts /etc/networks /etc/rc.network /etc/rc and /usr/src/sys/i386/conf/FIREWALL (the kernel I'm using) and there is NOTHING about my NICs. (?!) I've tried grepping for fxp and for ifconfig (and then finally for if) and it turns up nothing! Is there somewhere else that the person who origionally set up the system could have put the information about the NICs? And if so, how do I found out where it is? Thanks once again, Carl -----Original Message----- From: Edhi Nugroho [SMTP:edhinug@stmik-stikubank.ac.id] Sent: Thursday, July 13, 2000 2:02 AM To: Rafael A. Reta Rodriguez; Raymundo M. Vega Cc: Carl Strickler; 'freebsd-questions@freebsd.org' Subject: Re: Changing NIC Configuration Hi, Forgive me if someone has already gave you the clue.. heres how to change the IP address (presume that your NIC is works well ): 1. Open /etc/rc.conf 2. Looking a line looks like : if_ed0 = "inet xxxxx"; (depends on your NIC types) 3. change the ip address after inet.. you if we use ip address 192.168.0.9 before and then we change to 192.168.0.10, we should write : if_ed0 = "inet 192.168.0.10 netmask ..." 4. Reboot but if you change the NIC types (from NE2000 to 3Com 3C5x9 for example) you should do the following : 0. Make a note about your NIC devices (NE2000 --> ed0, 3C5X9 --> ep0.. etc) 1. Open /etc/rc.conf 2. change the line network_interfaces = "lo0 ep0" <-- list your NIC devices here.. 3. also change the line if_ed0 to if_ep0 . but if you just want to make a temporary changes, just do : 1. type ifconfig inet mask , i.e: ifconfig ed0 inet 192.168.0.9 mask 255.255.255.0 and to see your NIC config : ifconfig -a HTH edhinug To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message