Multiple RealTect adaptors

2003-12-03 Thread Peter Rosa
Dear list,

I have created small server with 2 Eth RealTec adaptors.
After boot, one is properly configured, second has no IP address, and I can
not finish the setup.

The failure apear right after recompiling the world and kernel. I have only
ran make world; make kernel.
Is there something I forgot to do? E.g. to recreate everything in /dev? And
how to do it?

Please help me ASAP, I have to finish it this night.

Peter Rosa

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Multiple RealTect adaptors

2003-12-03 Thread Peter Rosa
Dear list,

I already have found MAKEDEV all in /dev folder. Started, finished, no
progress. The card is physically OK.

While trying to reconfigure eth card via
ifconfig rl0 create inet 192.168.1.11 netmask 255.255.255.0

it returns err: SIOCIFCREATE: Invalid agrument.

What do I do wrong? And how could I make the card work ?

Peter

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Multiple RealTect adaptors

2003-12-03 Thread Olaf Hoyer
On Wed, 3 Dec 2003, Peter Rosa wrote:

 Dear list,

 I already have found MAKEDEV all in /dev folder. Started, finished, no
 progress. The card is physically OK.

 While trying to reconfigure eth card via
 ifconfig rl0 create inet 192.168.1.11 netmask 255.255.255.0

 it returns err: SIOCIFCREATE: Invalid agrument.

 What do I do wrong? And how could I make the card work ?

Hi!

Well, as the output states, your arguments to ifconfig are incorrect.

to check if the card is recognized:

dmesg |grep rl0

when it appears, do a:

ifconfig -a

to see, if a rl0 interface is there.

to simply configure it, do:

ifconfig rl0  192.168.1.11 netmask 255.255.255.0


shall be sufficient.

To make it permanent during bootup, insert in /etc/rc.conf:

ifconfig_rl0=inet 192.168.1.11 netmask 255.255.255.0


HTH
Olaf

-- 
Olaf Hoyer[EMAIL PROTECTED]
Fuerchterliche Erlebniss geben zu raten,
ob der, welcher sie erlebt, nicht etwas Fuerchterliches ist.
(Nietzsche, Jenseits von Gut und Boese)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Multiple RealTect adaptors

2003-12-03 Thread Peter Rosa
Hello again,

of course, everything was there:
dmesg - YES
ifconfig - YES
rc.conf - YES

But, whenever the machine boots, ifconfig returns:
rl0: flags 8843 snip mtu 1500
 inet 192.168.1.11 netmask snip
 ether snip
 media snip
 status: active
rl1: flags 8843 snip mtu 1500
 ether snip
 media snip
 status: no carrier

Both have the same flags. Second has no IP/MSK/BCAST.

ifconfig rl1  192.168.1.12 netmask 255.255.255.0 always returns
config: ioctl (SIOCIFADDR): File exists

What could be wrong ?

It is the same when I xchange both cards/use another PCI slots.

Peter


 
- Original Message - 
From: Olaf Hoyer [EMAIL PROTECTED]
To: Peter Rosa [EMAIL PROTECTED]
Cc: FreeBSD Questions [EMAIL PROTECTED]
Sent: Wednesday, December 03, 2003 6:16 PM
Subject: Re: Multiple RealTect adaptors


 On Wed, 3 Dec 2003, Peter Rosa wrote:
 
  Dear list,
 
  I already have found MAKEDEV all in /dev folder. Started, finished, no
  progress. The card is physically OK.
 
  While trying to reconfigure eth card via
  ifconfig rl0 create inet 192.168.1.11 netmask 255.255.255.0
 
  it returns err: SIOCIFCREATE: Invalid agrument.
 
  What do I do wrong? And how could I make the card work ?
 
 Hi!
 
 Well, as the output states, your arguments to ifconfig are incorrect.
 
 to check if the card is recognized:
 
 dmesg |grep rl0
 
 when it appears, do a:
 
 ifconfig -a
 
 to see, if a rl0 interface is there.
 
 to simply configure it, do:
 
 ifconfig rl0  192.168.1.11 netmask 255.255.255.0
 
 
 shall be sufficient.
 
 To make it permanent during bootup, insert in /etc/rc.conf:
 
 ifconfig_rl0=inet 192.168.1.11 netmask 255.255.255.0
 
 
 HTH
 Olaf
 
 -- 
 Olaf Hoyer[EMAIL PROTECTED]
 Fuerchterliche Erlebniss geben zu raten,
 ob der, welcher sie erlebt, nicht etwas Fuerchterliches ist.
 (Nietzsche, Jenseits von Gut und Boese)
 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Multiple RealTect adaptors

2003-12-03 Thread Mykroft Holmes IV
Peter Rosa wrote:

Hello again,

of course, everything was there:
dmesg - YES
ifconfig - YES
rc.conf - YES
But, whenever the machine boots, ifconfig returns:
rl0: flags 8843 snip mtu 1500
inet 192.168.1.11 netmask snip
ether snip
media snip
status: active
rl1: flags 8843 snip mtu 1500
ether snip
media snip
status: no carrier
Both have the same flags. Second has no IP/MSK/BCAST.

ifconfig rl1  192.168.1.12 netmask 255.255.255.0 always returns
config: ioctl (SIOCIFADDR): File exists
What could be wrong ?

It is the same when I xchange both cards/use another PCI slots.

Peter

 

Try putting the second NIC on a second subnet. IIRC FreeBSD doesn't 
support multiple adaptors on the same network.

Adam

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Multiple RealTect adaptors - SOLVED

2003-12-03 Thread Peter Rosa
Fantastic idea. It solved the problem.

Many thanks and have a nice day.

Peter


- Original Message -
From: Mykroft Holmes IV [EMAIL PROTECTED]
To: Peter Rosa [EMAIL PROTECTED]
Cc: Olaf Hoyer [EMAIL PROTECTED]; FreeBSD Questions
[EMAIL PROTECTED]
Sent: Wednesday, December 03, 2003 6:53 PM
Subject: Re: Multiple RealTect adaptors


 Peter Rosa wrote:

 Hello again,
 
 of course, everything was there:
 dmesg - YES
 ifconfig - YES
 rc.conf - YES
 
 But, whenever the machine boots, ifconfig returns:
 rl0: flags 8843 snip mtu 1500
  inet 192.168.1.11 netmask snip
  ether snip
  media snip
  status: active
 rl1: flags 8843 snip mtu 1500
  ether snip
  media snip
  status: no carrier
 
 Both have the same flags. Second has no IP/MSK/BCAST.
 
 ifconfig rl1  192.168.1.12 netmask 255.255.255.0 always returns
 config: ioctl (SIOCIFADDR): File exists
 
 What could be wrong ?
 
 It is the same when I xchange both cards/use another PCI slots.
 
 Peter
 
 
 
 
 Try putting the second NIC on a second subnet. IIRC FreeBSD doesn't
 support multiple adaptors on the same network.

 Adam


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Multiple RealTect adaptors

2003-12-03 Thread Dave McCammon

--- Peter Rosa [EMAIL PROTECTED] wrote:
 Hello again,
 
 of course, everything was there:
 dmesg - YES
 ifconfig - YES
 rc.conf - YES
 
 But, whenever the machine boots, ifconfig returns:
 rl0: flags 8843 snip mtu 1500
  inet 192.168.1.11 netmask snip
  ether snip
  media snip
  status: active
 rl1: flags 8843 snip mtu 1500
  ether snip
  media snip
  status: no carrier
 
 Both have the same flags. Second has no
 IP/MSK/BCAST.
 
 ifconfig rl1  192.168.1.12 netmask 255.255.255.0
 always returns
 config: ioctl (SIOCIFADDR): File exists
 
 What could be wrong ?
 
 It is the same when I xchange both cards/use another
 PCI slots.
 
 Peter
 
 
I believe it has something to do with the netmask and
the interface rl1 being on the same subnet.
It should work by giving the interface a subnet of 255.255.255.255.

__
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]