From owner-freebsd-mobile Mon Aug 14 18:31:32 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from smtp1.san.rr.com (smtp1.san.rr.com [24.25.195.37]) by hub.freebsd.org (Postfix) with ESMTP id F10E737BB7A for ; Mon, 14 Aug 2000 18:31:22 -0700 (PDT) (envelope-from erich@ucsd.edu) Received: from ucsd.edu ([24.30.147.34]) by smtp1.san.rr.com (Post.Office MTA v3.5.3 release 223 ID# 0-0U10L2S100V35) with ESMTP id com; Mon, 14 Aug 2000 18:31:35 -0700 Message-ID: <39989D50.CC6E88F9@ucsd.edu> Date: Mon, 14 Aug 2000 18:30:56 -0700 From: unsafe at any speed X-Mailer: Mozilla 4.74 [en] (Win95; U) X-Accept-Language: en MIME-Version: 1.0 To: Douglas Cohen Cc: freebsd-mobile@FreeBSD.ORG Subject: Re: How to setup two PCCard Ethernet Adapters under 4.0 Current References: <003c01c00655$2bd9e160$0905a8c0@410wk> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi Doug, I have a similar setup with two 3com 3c589's in a Thinkpad 701. My system is still running FreeBSD 3.4 because it works and I haven't been brave enough to try it with 4.x yet. The first problem you describe doesn't come up in my case because I have one 3c589C and one 3c589D, which have different pccard.conf entries. I have inelegant hacks to get around the second problem you describe through brute force. pccard.conf: ------- # 3Com Etherlink III 3C589B, 3C589C card "3Com Corporation" "3C589" config 0x1 "ep0" ? insert echo 3Com Etherlink III inserted insert /etc/pccard_ether ep0 -link0 link1 insert /etc/start_if.ep0 remove echo 3Com Etherlink III removed remove /sbin/ifconfig ep0 delete # 3Com Etherlink III 3C589D card "3Com Corporation" "3C589D" config 0x1 "ep1" ? insert echo 3Com Etherlink III inserted insert /etc/pccard_ether ep1 insert /sbin/ifconfig ep1 inet 192.168.1.1 insert /usr/local/sbin/dhcps ep1 remove echo 3Com Etherlink III removed remove /sbin/ifconfig ep1 delete ------ start_if.ep0 has lines to start a dhcp client and natd on ep0. rc.conf says, pccard_enable="YES" pccard_ifconfig="NO" hope this helps, eric Eric Hedstrom erich@ucsd.edu Douglas Cohen wrote: > > Perhaps what I want to do isn't possible, but I thought I'd ask here anyway > just to be sure (I posted the message below to freebsd-questions twice and > no one had an answer). Thank you for any help you can provide. > ----- > I'm having trouble getting two 3Com PCCard Ethernet adapters to function at > the same time in my Toshiba Satellite Pro 400 CS. Either card works fine if > they are alone in the computer, but when they are both in during startup, > only the first card is configured and the system indicates that there are no > resources available for the second card. The startup messages look like > this: > > May 24 08:42:35 nsy /kernel: pccard: card inserted, slot 0 > May 24 08:42:35 nsy /kernel: pccard: card inserted, slot 1 > May 24 08:42:40 nsy sshd[179]: Listener created on port 22. > May 24 08:42:40 nsy sshd[180]: Daemon is running. > May 24 08:42:42 nsy /kernel: ep0: <3Com Etherlink III 3C589> at port > 0x240-0x24f irq 5 slot 0 on pccard0 > May 24 08:42:42 nsy /kernel: ep0: Ethernet address 00:10:4b:a0:54:ed > May 24 08:42:42 nsy /kernel: ep0: supplying EUI64: 00:10:4b:ff:fe:a0:54:ed > May 24 08:42:42 nsy pccard:ep0: 3Com Etherlink III inserted > May 24 08:42:42 nsy /kernel: ep0: starting DAD for > fe80:000a::0210:4bff:fea0:54ed > May 24 08:42:43 nsy /kernel: ep0: DAD complete for > fe80:000a::0210:4bff:fea0:54ed - no duplicates found > May 24 08:42:47 nsy pccardd[46]: No free configuration for card 3Com > May 24 08:42:47 nsy pccardd[46]: pccardd started > > There seems to be two problems: > > 1 - How to have FreeBSD allocate resources to both PCCards? (There are > plenty of resources available, especially as the motherboard sound, lpt and > com ports have all been disabled in system setup.) > > 2 - Once the second Ethernet card is working, how is it configured for > TCP/IP? The lines used in the /etc/rc.conf file don't indicate how they can > be applied to a specific Ethernet adapter (in this case it would be ep0 and > ep1). Here are the relevant lines from /etc/rc.conf: > > pccard_ifconfig="inet xxx.xxx.xxx.xxx netmask 255.255.255.0" > pccard_enable="YES" > pccardd_flags="-i 5 -i 11" > pccard_mem="DEFAULT" > > Thank you for your help! > > Best, > Doug > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-mobile" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message