RE: new ethernetcard

2002-12-08 Thread Charles Pelletier
easy enuff..
you add the second card into rc.conf, but you also need to make sure that
freebsd recognizes the card...do a dmesg|more to make sure.

ifconfig dc0 1.1.4.1 netmask 255.255.255.0
ifconfig_ed0=DHCP

the first card listed is my second card, used for the internal network..that
is the line you need to pay attention to. you must set its IP and netmask.
the second card is the primary card, the one originally in my system when i
installed fbsd for the first time.


Charles Pelletier
Tech. Coordinator
St Luke's School
Irving, TX

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of dick hoogendijk
 Sent: Saturday, December 07, 2002 5:12 PM
 To: freebsd-questions
 Subject: new ethernetcard


 When installing fbsd4.7 I had one ethernetcard in my machine. Now I want
 to put in another. In which file can I control the name and ip of this
 new card for booting. I looked into loader.conf and rc.conf but can't
 find how the card is checked or controled.

 So, which file do I need to update after the installation of the new
 card?

 --
 dick -- http://www.nagual.st/ -- PGP/GnuPG key: F86289CE
 ++ Running FreeBSD 4.7 ++ Debian GNU/Linux (Woody)

 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



new ethernetcard

2002-12-07 Thread dick hoogendijk
When installing fbsd4.7 I had one ethernetcard in my machine. Now I want
to put in another. In which file can I control the name and ip of this
new card for booting. I looked into loader.conf and rc.conf but can't
find how the card is checked or controled.

So, which file do I need to update after the installation of the new
card?

-- 
dick -- http://www.nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 4.7 ++ Debian GNU/Linux (Woody)

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: new ethernetcard

2002-12-07 Thread Jens Rehsack
dick hoogendijk wrote:

When installing fbsd4.7 I had one ethernetcard in my machine. Now I want
to put in another. In which file can I control the name and ip of this
new card for booting. I looked into loader.conf and rc.conf but can't
find how the card is checked or controled.

So, which file do I need to update after the installation of the new
card?


Add a line like
'ifconfig_{dev-name}=inet 10.0.0.1 netmask 255.255.255.0'
to your /etc/rc.conf and read rc.conf(5) carefully.

Best Regards
Jens
--
L i  W W W  i Jens Rehsack
LW W W
L i   W   W W   W   i  nnnLiWing IT-Services
L iW W   W Wi  n  n  g   g
  i W W i  n  n  g   gFriesenstraße 2
  06112 Halle
 g
 g   g
Tel.:  +49 - 3 45 - 5 17 05 91ggg e-Mail: [EMAIL PROTECTED]
Fax:   +49 - 3 45 - 5 17 05 92http://www.liwing.de/



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message