Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Feb 2002 23:30:06 +0800
From:      "shancecgol S Yorgen" <shancecgol@edsamail.com.ph>
To:        "freebsd-questions" <freebsd-questions@freebsd.org>
Subject:   Re: how to configure 2 lancards...
Message-ID:  <20020203152051.55F5537B417@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help
    Thanx for the quick reply, im familiar w/ the PORT
and IRQ but im absolutely new to memory address(iomem),
and the last lines...

    f ep0 0
    f ep1 0
 
should the trailing number of latter(f ep1 0) line be 1
instead of zero? what does that mean anyway?

is it really strictly necessary tp specify the iomem of
the 2 lancards, or will they work just by specifying 
the PORT and IRQ only.

Really appreciate your help!!!



Best Reagrds,

-shancecgol
>
>
>> I setup my freebsd yeterday w/ 1 ISA 3com 3c509 lan card, when i did an
>ifconfig i saw that the device name "ep0" was there w/ my assigned
>ip_address. No, problem there, but now i want this box to act as a gateway,
>so i installed a new lan card, still the same, an ISA 3com 3c509. I booted
>my system and i cant directly configure my 2nd nic through
>>
>> "ifconfig ep1 192.168.2.1 netmask 255.255.255.0... up",
>> now i went to recompile my kernel and search of the nic, and saw an
>entry...:
>>
>>     #ISA ETHERNET NICs.
>>     device          ep
>>
>> im not sure how to configure the kernel to detect my 2nd lancard, should
>put..
>>
>>     #ISA ETHERNET NICs.
>>     device          ep0
>>     device          ep1     at isa?  port 0x300 irq 9
>>
>> ... is this right?
>
>You could do it that way (making sure to put in the port and irq for ep0 as
>well), but that requires a kernel compile.
>
>The easiest way is to edit /boot/kernel.conf and add these lines:
>
>en ep0
>po ep0 0x320
>ir ep0 10
>iom ep0 0xd0000
>f ep0 0
>
>en ep1
>po ep1 0x300
>ir ep1 9
>iom ep1 0xd8000
>f ep1 0
>
>Of course, replace the configuration entries for port (po), IRQ (ir), and
>memory address (iom) for both ep0 and ep1 that are relavant on your system.
>
>Then, reboot and the kernel loader should use these values and both cards
>should be detected.
>
>--
>Matt Emmerton


__________________________________
www.edsamail.com

__________________________________
www.edsamail.com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020203152051.55F5537B417>