Re: FC2 Ethernet and Wireless settings

From: Kevin Wang (rightsock_at_gmail.com)
Date: 08/17/04

  • Next message: Kevin Wang: "Re: FC2 groupadd error: unable to lock group file"
    Date: Mon, 16 Aug 2004 16:24:05 -0700
    To: For users of Fedora Core releases <fedora-list@redhat.com>
    
    

    <gripe>
    and this is where the original pcmcia insert scripts win over the dumb
    scripts that exist today...
    </gripe>

    but back to the original problem: how to configure two different
    network cards even though they both end up being eth0?

    You're on the right path. You basically have to implement card
    detection all on your own. fun, isn't it?

       - kevin

    On Sun, 15 Aug 2004 10:34:14 +0800, Ow Mun Heng <ow.mun.heng@wdc.com> wrote:
    > On Wed, 2004-08-11 at 21:57, Scot L. Harris wrote:
    > > On Wed, 2004-08-11 at 00:18, Peter Smith wrote:
    > > I think there is way to configure different network profiles and then
    > > select which one you want to use. Have not done this myself but I found
    > > this which may get you going the right direction.
    > >
    > > http://www.linuxgazette.com/book/view/1754
    > (I'm replying this before I read the above link so, sorry if this is
    > duplicated)
    >
    > This is how I do it when I switch from using a pcmcia network to a
    > pcmcia wireless. Since my dell has only 1 slot, I need to configure it
    > to various different settings. (since both wants to be called eth1)
    >
    > user $ cat /etc/sysconfig/network-scripts/ifcfg-eth1
    > # Please read /usr/share/doc/initscripts-*/sysconfig.txt
    > # for the documentation of these parameters.
    > DEVICE=eth1
    > case `ifconfig eth1 | sed -ne 's/.*HWaddr *\([^ ]*\) */\1/p'` in
    > 00:60:08:B1:1C:03)
    > . eth-3com;;
    >
    > 00:09:5B:0E:0B:D1)
    > . eth-netgear;;
    >
    > *) echo "Unknown MAC address. Please update ifcfg-eth1"
    >
    > esac
    >
    > [ -n "$USERDEVICENAME" ] && echo $DEVICE > /tmp/$USERDEVICENAME
    >
    > IPV6INIT=no
    > ONBOOT=no
    > USERCTL=yes
    > PEERDNS=yes
    > TYPE=Ethernet
    > DEVICE=eth1
    > BOOTPROTO=dhcp
    >
    > user $ cat /etc/sysconfig/network-scripts/eth-3com
    > # Please read /usr/share/doc/initscripts-*/sysconfig.txt
    > # for the documentation of these parameters.
    > USERDEVICENAME=eth-3com
    > USERCTL=yes
    > PEERDNS=yes
    > ONBOOT=no
    > #BOOTPROTO=none
    > BOOTPROTO=dhcp
    > TYPE=Ethernet
    > #IPADDR=10.0.0.1
    > DEVICE=eth1
    > HWADDR=00:60:08:b1:1c:03
    > BOOTPROTO=none
    > NETMASK=255.255.255
    >
    > cat /etc/sysconfig/network-scripts/eth-netgear
    > # Please read /usr/share/doc/initscripts-*/sysconfig.txt
    > # for the documentation of these parameters.
    > USERDEVICENAME=eth-netgear
    > USERCTL=yes
    > PEERDNS=yes
    > GATEWAY=
    > ONBOOT=no
    > TYPE=Wireless
    > DHCP_HOSTNAME=
    > IPADDR=
    > DEVICE=eth1
    > HWADDR=00:09:5b:0e:0b:d1
    > BOOTPROTO=dhcp
    > DOMAIN=
    > NETMASK=
    > ESSID=
    > CHANNEL=1
    > MODE=Managed
    > KEY=
    > RATE=2Mb/s
    >
    >
    > --
    > Ow Mun Heng
    > Fedora GNU/Linux Core 2 on D600 1.4Ghz CPU kernel
    > 2.6.7-2.jul1-interactive
    > Neuromancer 07:29:54 up 1:36, 6 users, load average: 1.65, 1.60, 1.82
    >
    >
    >
    >
    > --
    > fedora-list mailing list
    > fedora-list@redhat.com
    > To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    >

    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: Kevin Wang: "Re: FC2 groupadd error: unable to lock group file"

    Relevant Pages

    • Re: Network Card SMC2635W (ADM8211 Chipset) Setup
      ... The wireless card *always* shows up as eth0. ... # Note also that this script will work only with the original Pcmcia ... # and not with the default Red Hat scripts. ...
      (Fedora)
    • Service Control on Boot
      ... When my Ubuntu 6.0.6.1 machine boots up - I see a line saying the PCMCIA ... Is it safe to remove scripts that seem unnecesary from the ... Some stuff (like Sessions) ...
      (Ubuntu)
    • Re: PCMCIA, NetGeard WG511T
      ... > I am trying to find a good documentation on how to ... > configure the pcmcia and my external wifi card.. ... To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org ...
      (Debian-User)