From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <vitaly_kushneriuk@yahoo.com> X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-14) on finch.gentoo.org X-Spam-Level: *** X-Spam-Status: No, score=3.1 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DMARC_REJECT,FORGED_YAHOO_RCVD,FREEMAIL_FROM,MAILING_LIST_MULTI, RDNS_NONE,SPOOFED_FREEMAIL_NO_RDNS autolearn=no autolearn_force=no version=4.0.0 Received: from uranus.u235.eyep.net (unknown [194.90.113.98]) by chiba.3jane.net (Postfix) with SMTP id 1191E2019FD1 for <gentoo-dev@gentoo.org>; Tue, 19 Mar 2002 07:10:56 -0600 (CST) Received: (qmail 20912 invoked by uid 1000); 19 Mar 2002 13:07:06 -0000 Subject: Re: [gentoo-dev] pcmcia-cs Instructions From: Vitaly Kushneriuk <vitaly_kushneriuk@yahoo.com> To: Gentoo-dev <gentoo-dev@gentoo.org> In-Reply-To: <20020319125555.GD30937@littlethulu.craigthulu.com> References: <3C96CBD5.8010408@cc.gatech.edu> <20020319125555.GD30937@littlethulu.craigthulu.com> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Evolution/1.0.2 Date: 19 Mar 2002 15:07:06 +0200 Message-Id: <1016543226.20710.2.camel@uranus.u235.eyep.net> Mime-Version: 1.0 Sender: gentoo-dev-admin@gentoo.org Errors-To: gentoo-dev-admin@gentoo.org X-BeenThere: gentoo-dev@gentoo.org X-Mailman-Version: 2.0.6 Precedence: bulk Reply-To: gentoo-dev@gentoo.org List-Help: <mailto:gentoo-dev-request@gentoo.org?subject=help> List-Post: <mailto:gentoo-dev@gentoo.org> List-Subscribe: <http://lists.gentoo.org/mailman/listinfo/gentoo-dev>, <mailto:gentoo-dev-request@gentoo.org?subject=subscribe> List-Id: Gentoo Linux developer list <gentoo-dev.gentoo.org> List-Unsubscribe: <http://lists.gentoo.org/mailman/listinfo/gentoo-dev>, <mailto:gentoo-dev-request@gentoo.org?subject=unsubscribe> List-Archive: <http://lists.gentoo.org/pipermail/gentoo-dev/> X-Archives-Salt: cae80bbf-449b-431c-b8f0-7b4720f4a8f1 X-Archives-Hash: ea812f495f4bca8381598889282f426b On Tue, 2002-03-19 at 14:55, Craig M. Reece wrote: > On Tue, Mar 19, 2002 at 12:25:41AM -0500, Chad M. Huneycutt spoke thusly: > snippage... > > > > To configure PCMCIA network card, you have to edit /etc/pcmcia/network.opts > > to configure your network settings. *Do not* use Gentoo's > > /etc/init.d/net.eth0 startup script to start interfaces that you want > > cardmgr to manage. > > > snippage... > > Does this mean that we should leave net.eth0 out of the rc-update process > and just use pcmcia? Do things that depend on net still work then? Do you > know if this will work with wireless cards as well? That might not be cleanest/best way to do it, but that's what I use: 1) in net.eth0 I renamed "start" to "up", and "Stop" to "down" and added new start() that just calls up and stop() that just calls down, and opts="start stop restart up down". 2)I replaced content of the /etc/pcmcia/network with the following: ----------------------------------- #! /bin/sh # action=$1 device=$2 case "${action:?}" in "start" | "resume" ) /etc/init.d/net.$2 up ;; "stop") /sbin/ifconfig $2 down ;; esac ----------------------------------- Home this helps. /Vitaly