From 50161bef0e27ca235d876b888ae5abcafbec2ac7 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Thu, 29 Nov 2007 11:17:50 +0000 Subject: Allow space separated configs to work for CIDR address styles --- conf.d.BSD/net.example | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) (limited to 'conf.d.BSD') diff --git a/conf.d.BSD/net.example b/conf.d.BSD/net.example index 9dae103..1cd31e6 100644 --- a/conf.d.BSD/net.example +++ b/conf.d.BSD/net.example @@ -40,21 +40,13 @@ # INTERFACE HANDLERS # For a static configuration, use something like this -# (They all do exactly the same thing btw) #config_eth0="192.168.0.2/24" -#config_eth0="192.168.0.2 netmask 255.255.255.0" - -# We can also specify a broadcast -#config_eth0="192.168.0.2/24 brd 192.168.0.255" -#config_eth0="192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255" # If you need more than one address, you can use something like this # NOTE: ifconfig creates an aliased device for each extra IPv4 address # (eth0:1, eth0:2, etc) # iproute2 does not do this as there is no need to -#config_eth0="192.168.0.2/24 -#192.168.0.3/24 -#192.168.0.4/24'" +#config_eth0="192.168.0.2/24 192.168.0.3/24 192.168.0.4/24" # Or you can use sequence expressions #config_eth0="192.168.0.{2..4}/24" FIXME - may not work with baselayout2 # which does the same as above. Be careful though as if you use this and @@ -63,17 +55,14 @@ # You can also use IPv6 addresses # (you should always specify a prefix length with IPv6 here) -#config_eth0="192.168.0.2/24 -#4321:0:1:2:3:4:567:89ab/64 -#4321:0:1:2:3:4:567:89ac/64" +#config_eth0="192.168.0.2/24 4321:0:1:2:3:4:567:89ab/64 4321:0:1:2:3:4:567:89ac/64" # If you wish to keep existing addresses + routing and the interface is up, # you can specify a noop (no operation). If the interface is down or there # are no addresses assigned, then we move onto the next step (default dhcp) # This is useful when configuring your interface with a kernel command line # or similar -#config_eth0="noop -#192.168.0.2/24" +#config_eth0="noop 192.168.0.2/24" # If you don't want ANY address (only useful when calling for advanced stuff) #config_eth0="null" @@ -120,8 +109,7 @@ # Most users will just need to set the following options # key_SSID1="s:yourkeyhere enc open" # s: means a text key # key_SSID2="aaaa-bbbb-cccc-dd" # no s: means a hex key -# preferred_aps="SSID 1 -#SSID 2" +# preferred_aps="SSID1 SSID2" # # Clear? Good. Now configure your wireless network below -- cgit v1.2.3