📄 wlan.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.#HOSTNUM=110case "$ADDRESS" inWLAN_AP1,*,*,*) # Transceiver selection, for cards that need it -- see 'man ifport' IF_PORT="" # Use BOOTP [y/n] BOOTP="n" # IP address IPADDR="192.168.201.$HOSTNUM" # Netmask NETMASK="255.255.255.0" # Network address NETWORK="192.168.201.0" # Broadcast address BROADCAST="192.168.201.255" # Gateway address GATEWAY="192.168.201.1" # Local domain name DOMAIN="cc.absoval.com" # Search list for host lookup SEARCH="" # Nameserver #1# DNS_1="204.96.116.2"# DNS_1="192.168.100.20" # Nameserver #2 DNS_2="" # 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; } ;;ZoomAP,*,*,*) # Transceiver selection, for cards that need it -- see 'man ifport' IF_PORT="" # Use BOOTP [y/n] BOOTP="n" # IP address IPADDR="192.168.101.$HOSTNUM" # Netmask NETMASK="255.255.255.0" # Network address NETWORK="192.168.101.0" # Broadcast address BROADCAST="192.168.101.255" # Gateway address GATEWAY="192.168.101.60" # Local domain name DOMAIN="cc.absoval.com" # Search list for host lookup SEARCH="" # Nameserver #1 DNS_1="192.168.100.20" # Nameserver #2 DNS_2="" # 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; } ;;LinuxAP,*,*,*) # Transceiver selection, for cards that need it -- see 'man ifport' IF_PORT="" # Use BOOTP [y/n] BOOTP="n" # IP address IPADDR="192.168.101.$HOSTNUM" # Netmask NETMASK="255.255.255.0" # Network address NETWORK="192.168.101.0" # Broadcast address BROADCAST="192.168.101.255" # Gateway address GATEWAY="192.168.101.60" # Local domain name DOMAIN="cc.absoval.com" # Search list for host lookup SEARCH="" # Nameserver #1 DNS_1="192.168.100.20" # Nameserver #2 DNS_2="" # 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; } ;;NeesusPCAP,*,*,*) # Transceiver selection, for cards that need it -- see 'man ifport' IF_PORT="" # Use BOOTP [y/n] BOOTP="n" # IP address IPADDR="192.168.100.$HOSTNUM" # Netmask NETMASK="255.255.255.0" # Network address NETWORK="192.168.100.0" # Broadcast address BROADCAST="192.168.100.255" # Gateway address GATEWAY="192.168.100.60" # Local domain name DOMAIN="cc.absoval.com" # Search list for host lookup SEARCH="" # Nameserver #1 DNS_1="192.168.100.20" # Nameserver #2 DNS_2="" # 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; } ;;WLAN_AVS,*,*,*) # Transceiver selection, for cards that need it -- see 'man ifport' IF_PORT="" # Use BOOTP [y/n] BOOTP="n" # IP address IPADDR="192.168.101.$HOSTNUM" # Netmask NETMASK="255.255.255.0" # Network address NETWORK="192.168.101.0" # Broadcast address BROADCAST="192.168.101.255" # Gateway address GATEWAY="192.168.101.60" # Local domain name DOMAIN="cc.absoval.com" # Search list for host lookup SEARCH="" # Nameserver #1 DNS_1="192.168.100.20" # Nameserver #2 DNS_2="" # 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; } ;;*,*,*,*) # This one's for an ethernet card # Transceiver selection, for cards that need it -- see 'man ifport' IF_PORT="" # Use BOOTP [y/n] BOOTP="n" # IP address IPADDR="192.168.100.$HOSTNUM" # Netmask NETMASK="255.255.255.0" # Network address NETWORK="192.168.100.0" # Broadcast address BROADCAST="192.168.100.255" # Gateway address GATEWAY="192.168.100.60" # Local domain name DOMAIN="cc.absoval.com" # Search list for host lookup SEARCH="" # Nameserver #1 DNS_1="192.168.100.20" # Nameserver #2 DNS_2="" # 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
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -