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

/etc/pcmcia/network.opts


柴田(ひ)@福岡です。

# 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.
#
echo $ADDRESS

case "$ADDRESS" in
*,0,*,*)
# 有線LANカード用:スロット0
    # Transceiver selection, for some cards -- see 'man ifport'
    IF_PORT="eth0"
    # Use BOOTP? [y/n]
    BOOTP="n"
    # Use DHCP? [y/n]
    DHCP="n"
    # Host's IP address, netmask, network address, broadcast address
    IPADDR="192.168.0.123"
    NETMASK="255.255.255.0"
    NETWORK="192.168.0.0"
    BROADCAST="192.168.0.255"
   # Gateway address for static routing
    GATEWAY="192.168.0.8"
    # Things to add to /etc/resolv.conf for this interface
    DOMAIN="luky.org"
    SEARCH="luky.org"
    DNS_1="192.168.0.8"
    DNS_2="202.214.38.224"
    DNS_3="202.246.252.65"
    # NFS mounts, should be listed in /etc/fstab
    MOUNTS=""
    # For IPX interfaces, the frame type and network number
    IPX_FRAME=""
    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; }
    ;;

*,1,*,*)
# 無線LANカード用:スロット1
    # Transceiver selection, for some cards -- see 'man ifport'
    IF_PORT="eth1"
    # Use BOOTP? [y/n]
    BOOTP="n"
    # Use DHCP? [y/n]
    DHCP="n"
    # Host's IP address, netmask, network address, broadcast address
    IPADDR="192.168.1.123"
    NETMASK="255.255.255.0"
    NETWORK="192.168.1.0"
    BROADCAST="192.168.1.255"
    # Gateway address for static routing
    GATEWAY="192.168.1.8"
    # Things to add to /etc/resolv.conf for this interface
    DOMAIN="luky.org"
    SEARCH="luky.org"
    DNS_1="192.168.1.8"
    DNS_2="202.246.252.65"
    # NFS mounts, should be listed in /etc/fstab
    MOUNTS=""
    # For IPX interfaces, the frame type and network number
    IPX_FRAME=""
    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


 WWWWW  shibata@xxxxxxxx,shibata@xxxxxxxxxxxxxxxxxxxxx
 |O-O|  柴田 尚明@福岡市 まだ「ひげ」はえてます
0(mmm)0 P-mail:070-5419-3233
   ~    http://his.luky.org/ last update:1999.11.28
Linux users 九州 -> http://www.luky.org/  IRC: #luky

$B$3$N>pJs$,$"$J$?$NC5$7$F$$?$b$N$+$I$&$+A*Br$7$F$/$@$5$!#(B
yes/$B$^$5$K$3$l$@!*(B   no/$B0c$&$J$!(B   part/$B0lIt8+$D$+$C$?(B   try/$B$3$l$G;n$7$F$_$k(B

$B$"$J$?$,C5$7$F$$?>pJs$O$I$N$h$&$J$3$H$+!"$4<+M3$K5-F~2<$5$!#FC$K!V$^$5$K$3$l$@!*!W$H8@$&>l9g$O5-F~$r$*4j$$7$^$9!#(B
$BNc(B:$B!VJ#?t$N%^%7%s$+$i(BCATV$B7PM3$G(Bipmasquerade$B$rMxMQ$7$F(BWeb$B$r;2>H$7$?$>l9g$N@_Dj$K$D$$F!W(B
References: