From owner-freebsd-questions Thu Jul 13 8:56:57 2000 Delivered-To: freebsd-questions@freebsd.org Received: from q.closedsrc.org (ip233.gte15.rb1.bel.nwlink.com [209.20.244.233]) by hub.freebsd.org (Postfix) with ESMTP id 487C237C1A3 for ; Thu, 13 Jul 2000 08:56:24 -0700 (PDT) (envelope-from lplist@q.closedsrc.org) Received: from localhost (lplist@localhost) by q.closedsrc.org (8.10.2/8.10.2) with ESMTP id e6DFstk96258; Thu, 13 Jul 2000 08:54:55 -0700 (PDT) (envelope-from lplist@q.closedsrc.org) Date: Thu, 13 Jul 2000 08:54:55 -0700 (PDT) From: Linh Pham To: Carl Strickler Cc: "'Edhi Nugroho'" , "'freebsd-questions@freebsd.org'" Subject: RE: Changing NIC Configuration In-Reply-To: <01BFECA5.CFA94840.cstrickl@ifta.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Were you able to change the NIC configuration of the card using /stand/sysinstall (as I mentioned in my past e-mail)? Normally any NIC changes under sysinstall should be reflected in /etc/rc.conf /etc/defaults/rc.conf only contains the bear defaults and you should be making changes in /etc/rc.conf the fxp interface isn't coming up when you do a ``ifconfig -a''? // Linh Pham // // Proud supporter of FreeBSD and OpenBSD // FreeBSD - http://www.freebsd.org // OpenBSD - http://www.openbsd.org /* "Oregon, n.: Eighty billion gallons of water with no place to go on Saturday night." */ On Thu, 13 Jul 2000, Carl Strickler wrote: > 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 netmask>, 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 > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message