--- pcmcia-cs-3.2.8/etc/network.opts +++ pcmcia-cs-3.2.8/etc/network.opts @@ -8,7 +8,7 @@ # case "$ADDRESS" in *,*,*,*) - INFO="Sample private network setup" + INFO="Sample network setup using ifup" # Use this to override the interface name -- see 'man nameif' NAMEIF="" # Transceiver selection, for some cards -- see 'man ifport' @@ -21,11 +21,11 @@ DHCP_HOSTNAME="" # Host's IP address, netmask, network address, broadcast address IPADDR="" - NETMASK="255.255.255.0" - NETWORK="10.0.1.0" - BROADCAST="10.0.1.255" + NETMASK="" + NETWORK="" + BROADCAST="" # Gateway address for static routing - GATEWAY="10.0.1.1" + GATEWAY="" # Things to add to /etc/resolv.conf for this interface DOMAIN="" SEARCH="" @@ -40,9 +40,9 @@ IPX_FRAME="" IPX_NETNUM="" # Extra stuff to do after setting up the interface - start_fn () { return; } + start_fn () { /sbin/ifup $DEVICE; } # Extra stuff to do before shutting down the interface - stop_fn () { return; } + stop_fn () { /sbin/ifdown $DEVICE; } # Card eject policy options NO_CHECK=n NO_FUSER=n