On Sun, Jan 23, 2000 at 08:42:01AM -0800, Michael Perry wrote:
> Just out of curiosity...  Has anyone used the scheme stuff to setup a laptop
> to be on two different networks?  I have a few simple scripts that bring

Yes, it is very easy.
Define the scheme in /etc/pcmcia/network.opts, example:

case "$ADDRESS" in
franken,*,*,*)
    # Host's IP address, netmask, network address, broadcast address
    IPADDR="192.168.1.11"
    NETMASK="255.255.255.0"
    NETWORK="192.168.1.0"
    BROADCAST="192.168.1.255"
    # Gateway address for static routing
    GATEWAY="192.168.1.1"
    # Things to add to /etc/resolv.conf for this interface
    DOMAIN="klaus.franken.de"
    SEARCH="klaus.franken.de"
    DNS_1="192.168.1.1"
...

Change the scheme with 'cardctl scheme <newscheme>'
The current scheme is stored in /var/lib/pcmcia/scheme.

-- 

        Klaus Franken, [EMAIL PROTECTED]

------------------------------------------------------------
                   D O N ' T       P A N I C !!!
------------------------------------------------------------
Uptime: Linux 2.2.13, 24 Days,  Hours

Reply via email to