[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debian-users:16372] Re: LAN 設定について ( Home & Office )



矢吹です。
すいません。誤記があるので
s/PCMCI-CSA/PCMCIA-CS/

これだけだと悲しすぎるので、/etc/pcmcia/network.optの例も
載せておきます。

======================================================
# Network adapter configuration
#
# The address format is "scheme,socket,instance,hwaddr".
#
# Note: the "network address" here is NOT the same as the IP address.
# See the Networking HOWTO.  In short, the network address is the IP
# address masked by the netmask.
#
case "$ADDRESS" in
work,*,*,*)
    # Transceiver selection, for cards that need it -- see 'man ifport'
    IF_PORT=""
    # Use BOOTP [y/n]
    BOOTP="n"
    # Use DHCPC [y/n] (in the dhcpcd package.)
    DHCPC="n"
    # IP address
    IPADDR="192.168.0.20"
    # Netmask
    NETMASK="255.255.255.0"
    # Network address
    NETWORK="192.168.0.0"
    # Broadcast address
    BROADCAST="192.168.0.255"
    # Gateway address
    GATEWAY="192.168.0.1"
    # Local domain name
    DOMAIN=""
    # Search list for host lookup
    SEARCH=""
    # The nameserver IP addresses specified here complement the
    # nameservers already defined in /etc/resolv.conf.  These nameservers
    # will be added to /etc/resolv.conf automatically when the PCMCIA
    # network connection is established and removed from this file when
    # the connection is broken.
    # Nameserver #1
    DNS_1="202.216.224.67"
    # Nameserver #2
    DNS_2="202.216.224.66"
    # Nameserver #3
    DNS_3=""
    # NFS mounts, should be listed in /etc/fstab
    MOUNTS=""
    # For IPX interfaces, the frame type (i.e., 802.2)
    IPX_FRAME=""
    # For IPX interfaces, the network number
    IPX_NETNUM=""
    # Extra stuff to do after setting up the interface
    start_fn () { return; }
    # Extra stuff to do before shutting down the interface
    stop_fn () { return; }
    ;;
home,*,*,* | default,*,*,*)
    # Transceiver selection, for cards that need it -- see 'man ifport'
    IF_PORT=""
    # Use BOOTP [y/n]
    BOOTP="n"
    # Use DHCPC [y/n] (in the dhcpcd package.)
    DHCPC="n"
    # IP address
    IPADDR="192.168.1.2"
    # Netmask
    NETMASK="255.255.255.0"
    # Network address
    NETWORK="192.168.1.0"
    # Broadcast address
    BROADCAST="192.168.1.255"
    # Gateway address
    GATEWAY="192.168.1.1"
    # Local domain name
    DOMAIN=""
    # Search list for host lookup
    SEARCH=""
    # The nameserver IP addresses specified here complement the
    # nameservers already defined in /etc/resolv.conf.  These nameservers
    # will be added to /etc/resolv.conf automatically when the PCMCIA
    # network connection is established and removed from this file when
    # the connection is broken.
    # Nameserver #1
    DNS_1="202.216.224.67"
    # Nameserver #2
    DNS_2="202.216.224.66"
    # Nameserver #3
    DNS_3=""
    # NFS mounts, should be listed in /etc/fstab
    MOUNTS=""
    # For IPX interfaces, the frame type (i.e., 802.2)
    IPX_FRAME=""
    # For IPX interfaces, the network number
    IPX_NETNUM=""
    # Extra stuff to do after setting up the interface
    start_fn () { return; }
    # Extra stuff to do before shutting down the interface
    stop_fn () { return; }
    ;;
esac
====+====+====+====+====+====+====+====+====+====+====+====+====+====+
yabuki yukiharu (矢吹幸治)                      I use Debian GNU/Linux
Email: yabuki@xxxxxxxxxxxxxxx/クレクレタコラは好きクレクレタコだはイヤ
PGP Key fingerprint = 61 37 23 F7 C2 DD 8C 5E  31 76 68 3E AD C7 53 F4
====+====+====+====+====+====+====+====+====+====+====+====+====+====+