Gentoo Archives: gentoo-user-ru

From: marlboro <retaw@××××××.ru>
To: gentoo-user-ru@l.g.o
Subject: Re: [gentoo-user-ru] net.example
Date: Wed, 01 Feb 2012 17:15:56
Message-Id: 4F297323.7080300@ufamts.ru
In Reply to: Re: [gentoo-user-ru] net.example by Taz
1 01.02.2012 23:07, Taz пишет:
2 > кардинальное решение - простыню сюда сувать.
3 > хоть на пастебину бы кинул :)
4 >
5 > On Wed, Feb 1, 2012 at 9:05 PM, marlboro <retaw@××××××.ru> wrote:
6 >
7 >> 01.02.2012 23:00, Anton Ananich пишет:
8 >>> Здравствуйте!
9 >>>
10 >>> У меня пропал файл /etc/conf.d/net.example (возможно давно, я просто не
11 >> заметил)
12 >>> Откуда его можно скачать?
13 >>>
14 >>> Спасибо,
15 >>> Антон
16 >>
17 >> # For link bonding/trunking emerge net-misc/ifenslave
18 >>
19 >> # To bond interfaces together
20 >> #slaves_bond0="eth0 eth1 eth2"
21 >> #config_bond0=( "null" ) # You may not want to assign an IP the the bond
22 >>
23 >> # If any of the slaves require extra configuration - for example wireless
24 >> or
25 >> # ppp devices - we need to depend function on the bonded interfaces
26 >> #RC_NEED_bond0="net.eth0 net.eth1"
27 >>
28 >>
29 >>
30 >> #-----------------------------------------------------------------------------
31 >> # Classical IP over ATM
32 >> # For CLIP support emerge net-dialup/linux-atm
33 >>
34 >> # Ensure that you have /etc/atmsigd.conf setup correctly
35 >> # Now setup each clip interface like so
36 >> #clip_atm0=( "peer_ip [if.]vpi.vci [opts]" ... )
37 >> # where "peer_ip" is the IP address of a PVC peer (in case of an ATM
38 >> connection
39 >> # with your ISP, your only peer is usually the ISP gateway closest to
40 >> you),
41 >> # "if" is the number of the ATM interface which will carry the PVC,
42 >> "vpi.vci"
43 >> # is the ATM VC address, and "opts" may optionally specify VC
44 >> parameters like
45 >> # qos, pcr, and the like (see "atmarp -s" for further reference).
46 >> Please also
47 >> # note quoting: it is meant to distinguish the VCs you want to create.
48 >> You may,
49 >> # in example, create an atm0 interface to more peers, like this:
50 >> #clip_atm0=( "1.1.1.254 0.8.35" "1.1.1.253 1.8.35" )
51 >>
52 >> # By default, the PVC will use the LLC/SNAP encapsulation. If you
53 >> rather need a
54 >> # null encapsulation (aka "VC mode"), please add the keyword "null" to
55 >> opts.
56 >>
57 >>
58 >>
59 >> #-----------------------------------------------------------------------------
60 >> # PPP
61 >> # For PPP support, emerge net-dialup/ppp
62 >> # PPP is used for most dialup connections, including ADSL.
63 >> # The older ADSL module is documented below, but you are encouraged to try
64 >> # this module first.
65 >> #
66 >> # You need to create the PPP net script yourself. Make it like so
67 >> #ln -s net.lo /etc/init.d/net.ppp0
68 >> #
69 >> # We have to instruct ppp0 to actually use ppp
70 >> #config_ppp0=( "ppp" )
71 >> #
72 >> # Each PPP interface requires an interface to use as a "Link"
73 >> #link_ppp0="/dev/ttyS0" # Most PPP links will use a serial
74 >> port
75 >> #link_ppp0="eth0" # PPPoE requires an ethernet
76 >> interface
77 >> #link_ppp0="[itf.]vpi.vci" # PPPoA requires the ATM VC's
78 >> address
79 >> #link_ppp0="/dev/null" # ISDN links should have this
80 >> #link_ppp0="pty 'your_link_command'" # PPP links over ssh, rsh, etc
81 >> #
82 >> # Here you should specify what pppd plugins you want to use
83 >> # Available plugins are: pppoe, pppoa, capi, dhcpc, minconn, radius,
84 >> # radattr, radrealms and winbind
85 >> #plugins_ppp0=(
86 >> # "pppoe" # Required plugin for PPPoE
87 >> # "pppoa vc-encaps" # Required plugin for PPPoA with
88 >> an option
89 >> # "capi" # Required plugin for ISDN
90 >> #)
91 >> #
92 >> # PPP requires at least a username. You can optionally set a password
93 >> here too
94 >> # If you don't, then it will use the password specified in
95 >> /etc/ppp/*-secrets
96 >> # against the specified username
97 >> #username_ppp0='user'
98 >> #password_ppp0='password'
99 >> # NOTE: You can set a blank password like so
100 >> #password_ppp0=
101 >> #
102 >> # The PPP daemon has many options you can specify - although there are many
103 >> # and may seem daunting, it is recommended that you read the pppd man page
104 >> # before enabling any of them
105 >> #pppd_ppp0=(
106 >> # "maxfail 0" # WARNING: It's not recommended you use this
107 >> # # if you don't specify maxfail then we assume 0
108 >> # "updetach" # If not set, "/etc/init.d/net.ppp0 start" will
109 >> return
110 >> # # immediately, without waiting the link to come up
111 >> # # for the first time.
112 >> # # Do not use it for dial-on-demand links!
113 >> # "debug" # Enables syslog debugging
114 >> # "noauth" # Do not require the peer to authenticate itself
115 >> # "defaultroute" # Make this PPP interface the default route
116 >> # "usepeerdns" # Use the DNS settings provided by PPP
117 >> #
118 >> # On demand options
119 >> # "demand" # Enable dial on demand
120 >> # "idle 30" # Link goes down after 30 seconds of
121 >> inactivity
122 >> # "10.112.112.112:10.112.112.113" # Phony IP addresses
123 >> # "ipcp-accept-remote" # Accept the peers idea of remote address
124 >> # "ipcp-accept-local" # Accept the peers idea of local address
125 >> # "holdoff 3" # Wait 3 seconds after link dies before re-starting
126 >> #
127 >> # Dead peer detection
128 >> # "lcp-echo-interval 15" # Send a LCP echo every 15 seconds
129 >> # "lcp-echo-failure 3" # Make peer dead after 3 consective
130 >> # # echo-requests
131 >> #
132 >> # Compression options - use these to completely disable compression
133 >> # noaccomp noccp nobsdcomp nodeflate nopcomp novj novjccomp
134 >> #
135 >> # Dial-up settings
136 >> # "lock" # Lock serial port
137 >> # "115200" # Set the serial port baud rate
138 >> # "modem crtscts" # Enable hardware flow control
139 >> # "192.168.0.1:192.168.0.2" # Local and remote IP addresses
140 >> #)
141 >> #
142 >> # Dial-up PPP users need to specify at least one telephone number
143 >> #phone_number_ppp0=( "12345689" ) # Maximum 2 phone numbers are supported
144 >> # They will also need a chat script - here's a good one
145 >> #chat_ppp0=(
146 >> # 'ABORT' 'BUSY'
147 >> # 'ABORT' 'ERROR'
148 >> # 'ABORT' 'NO ANSWER'
149 >> # 'ABORT' 'NO CARRIER'
150 >> # 'ABORT' 'NO DIALTONE'
151 >> # 'ABORT' 'Invalid Login'
152 >> # 'ABORT' 'Login incorrect'
153 >> # 'TIMEOUT' '5'
154 >> # '' 'ATZ'
155 >> # 'OK' 'AT' # Put your modem initialization string here
156 >> # 'OK' 'ATDT\T'
157 >> # 'TIMEOUT' '60'
158 >> # 'CONNECT' ''
159 >> # 'TIMEOUT' '5'
160 >> # '~--' ''
161 >> #)
162 >>
163 >> # If the link require extra configuration - for example wireless or
164 >> # RFC 268 bridge - we need to depend on the bridge so they get
165 >> # configured correctly.
166 >> #RC_NEED_ppp0="net.nas0"
167 >>
168 >> #WARNING: if MTU of the PPP interface is less than 1500 and you use this
169 >> #machine as a router, you should add the following rule to your firewall
170 >> #
171 >> #iptables -I FORWARD 1 -p tcp --tcp-flags SYN,RST SYN -j TCPMSS
172 >> --clamp-mss-to-pmtu
173 >>
174 >>
175 >> #-----------------------------------------------------------------------------
176 >> # ADSL
177 >> # For ADSL support, emerge net-dialup/rp-pppoe
178 >> # WARNING: This ADSL module is being deprecated in favour of the PPP module
179 >> # above.
180 >> # You should make the following settings and also put your
181 >> # username/password information in /etc/ppp/pap-secrets
182 >>
183 >> # Configure the interface to use ADSL
184 >> #config_eth0=( "adsl" )
185 >>
186 >> # You probably won't need to edit /etc/ppp/pppoe.conf if you set this
187 >> #adsl_user_eth0="my-adsl-username"
188 >>
189 >>
190 >> #-----------------------------------------------------------------------------
191 >> # ISDN
192 >> # For ISDN support, emerge net-dialup/isdn4k-utils
193 >> # You should make the following settings and also put your
194 >> # username/password information in /etc/ppp/pap-secrets
195 >>
196 >> # Configure the interface to use ISDN
197 >> #config_ippp0=( "dhcp" )
198 >> # It's important to specify dhcp if you need it!
199 >> #config_ippp0=( "192.168.0.1/24" )
200 >> # Otherwise, you can use a static IP
201 >>
202 >> # NOTE: The interface name must be either ippp or isdn followed by a number
203 >>
204 >> # You may need this option to set the default route
205 >> #ipppd_eth0="defaultroute"
206 >>
207 >>
208 >> #-----------------------------------------------------------------------------
209 >> # MAC changer
210 >> # To set a specific MAC address
211 >> #mac_eth0="00:11:22:33:44:55"
212 >>
213 >> # For changing MAC addresses using the below, emerge
214 >> net-analyzer/macchanger
215 >> # - to randomize the last 3 bytes only
216 >> #mac_eth0="random-ending"
217 >> # - to randomize between the same physical type of connection (e.g. fibre,
218 >> # copper, wireless) , all vendors
219 >> #mac_eth0="random-samekind"
220 >> # - to randomize between any physical type of connection (e.g. fibre,
221 >> copper,
222 >> # wireless) , all vendors
223 >> #mac_eth0="random-anykind"
224 >> # - full randomization - WARNING: some MAC addresses generated by this
225 >> may NOT
226 >> # act as expected
227 >> #mac_eth0="random-full"
228 >> # custom - passes all parameters directly to net-analyzer/macchanger
229 >> #mac_eth0="some custom set of parameters"
230 >>
231 >> # You can also set other options based on the MAC address of your
232 >> network card
233 >> # Handy if you use different docking stations with laptops
234 >> #config_001122334455=( "dhcp" )
235 >>
236 >>
237 >> #-----------------------------------------------------------------------------
238 >> # TUN/TAP
239 >> # For TUN/TAP support emerge net-misc/openvpn or
240 >> sys-apps/usermode-utilities
241 >> #
242 >> # You must specify if we're a tun or tap device. Then you can give it any
243 >> # name you like - such as vpn
244 >> #tuntap_vpn="tun"
245 >> #config_vpn=( "192.168.0.1/24")
246 >>
247 >> # Or stick wit the generic names - like tap0
248 >> #tuntap_tap0="tap"
249 >> #config_tap0=( "192.168.0.1/24")
250 >>
251 >> # For passing custom options to tunctl use something like the following.
252 >> This
253 >> # example sets the owner to adm
254 >> #tunctl_tun1="-u adm"
255 >> # When using openvpn, there are no options
256 >>
257 >>
258 >> #-----------------------------------------------------------------------------
259 >> # Bridging (802.1d)
260 >> # For bridging support emerge net-misc/bridge-utils
261 >>
262 >> # To add ports to bridge br0
263 >> #bridge_br0="eth0 eth1"
264 >> # or dynamically add them when the interface comes up
265 >> #bridge_add_eth0="br0"
266 >> #bridge_add_eth1="br0"
267 >>
268 >> # You need to configure the ports to null values so dhcp does not get
269 >> started
270 >> #config_eth0=( "null" )
271 >> #config_eth1=( "null" )
272 >>
273 >> # Finally give the bridge an address - dhcp or a static IP
274 >> #config_br0=( "dhcp" ) # may not work when adding ports dynamically
275 >> #config_br0=( "192.168.0.1/24" )
276 >>
277 >> # If any of the ports require extra configuration - for example wireless or
278 >> # ppp devices - we need to depend on them like so.
279 >> #RC_NEED_br0="net.eth0 net.eth1"
280 >>
281 >> # Below is an example of configuring the bridge
282 >> # Consult "man brctl" for more details
283 >> #brctl_br0=( "setfd 0" "sethello 0" "stp off" )
284 >>
285 >>
286 >> #-----------------------------------------------------------------------------
287 >> # RFC 2684 Bridge Support
288 >> # For RFC 2684 bridge support emerge net-misc/br2684ctl
289 >>
290 >> # Interface names have to be of the form nas0, nas1, nas2, etc.
291 >> # You have to specify a VPI and VCI for the interface like so
292 >> #br2684ctl_nas0="-a 0.38" # UK VPI and VCI
293 >>
294 >> # You may want to configure the encapsulation method as well by adding
295 >> the -e
296 >> # option to the command above (may need to be before the -a command)
297 >> # -e 0 # LLC (default)
298 >> # -e 1 # VC mux
299 >>
300 >> # Then you can configure the interface as normal
301 >> #config_nas0=( "192.168.0.1/24" )
302 >>
303 >>
304 >> #-----------------------------------------------------------------------------
305 >> # Tunnelling
306 >> # WARNING: For tunnelling it is highly recommended that you
307 >> # emerge sys-apps/iproute2
308 >> #
309 >> # For GRE tunnels
310 >> #iptunnel_vpn0="mode gre remote 207.170.82.1 key 0xffffffff ttl 255"
311 >>
312 >> # For IPIP tunnels
313 >> #iptunnel_vpn0="mode ipip remote 207.170.82.2 ttl 255"
314 >>
315 >> # To configure the interface
316 >> #config_vpn0=( "192.168.0.2 pointopoint 192.168.1.2" ) # ifconfig style
317 >> #config_vpn0=( "192.168.0.2 peer 192.168.1.1" ) # iproute2 style
318 >>
319 >> # 6to4 Tunnels allow IPv6 to work over IPv4 addresses, provided you
320 >> # have a non-private address configured on an interface.
321 >> # link_6to4="eth0" # Interface to base it's addresses on
322 >> # config_6to4=( "ip6to4" )
323 >> # You may want to depend on eth0 like so
324 >> #RC_NEED_6to4="net.eth0"
325 >> # To ensure that eth0 is configured before 6to4. Of course, the tunnel
326 >> could be
327 >> # any name and this also works for any configured interface.
328 >> # NOTE: If you're not using iproute2 then your 6to4 tunnel has to be called
329 >> # sit0 - otherwise use a different name like 6to4 in the example above.
330 >>
331 >>
332 >>
333 >> #-----------------------------------------------------------------------------
334 >> # System
335 >> # For configuring system specifics such as domain, dns, ntp and nis servers
336 >> # It's rare that you would need todo this, but you can anyway.
337 >> # This is most benefit to wireless users who don't use DHCP so they can
338 >> change
339 >> # their configs based on ESSID. See wireless.example for more details
340 >>
341 >> # To use dns settings such as these, dns_servers_eth0 must be set!
342 >> # If you omit the _eth0 suffix, then it applies to all interfaces unless
343 >> # overridden by the interface suffix.
344 >> #dns_domain_eth0="your.domain"
345 >> #dns_servers_eth0="192.168.0.2 192.168.0.3"
346 >> #dns_search_eth0="this.domain that.domain"
347 >> #dns_options_eth0=( "timeout 1" "rotate" )
348 >> #dns_sortlist_eth0="130.155.160.0/255.255.240.0 130.155.0.0"
349 >> # See the man page for resolv.conf for details about the options and
350 >> sortlist
351 >> # directives
352 >>
353 >> #ntp_servers_eth0="192.168.0.2 192.168.0.3"
354 >>
355 >> #nis_domain_eth0="domain"
356 >> #nis_servers_eth0="192.168.0.2 192.168.0.3"
357 >>
358 >> # NOTE: Setting any of these will stamp on the files in question. So if you
359 >> # don't specify dns_servers but you do specify dns_domain then no
360 >> nameservers
361 >> # will be listed in /etc/resolv.conf even if there were any there to start
362 >> # with.
363 >> # If this is an issue for you then maybe you should look into a resolv.conf
364 >> # manager like resolvconf-gentoo to manage this file for you. All packages
365 >> # that baselayout supports use resolvconf-gentoo if installed.
366 >>
367 >>
368 >> #-----------------------------------------------------------------------------
369 >> # Cable in/out detection
370 >> # Sometimes the cable is in, others it's out. Obviously you don't want to
371 >> # restart net.eth0 every time when you plug it in either.
372 >> #
373 >> # netplug is a package that detects this and requires no extra
374 >> configuration
375 >> # on your part.
376 >> # emerge sys-apps/netplug
377 >> # or
378 >> # emerge sys-apps/ifplugd
379 >> # and you're done :)
380 >>
381 >> # By default we don't wait for netplug/ifplugd to configure the interface.
382 >> # If you would like it to wait so that other services now that network is
383 >> up
384 >> # then you can specify a timeout here.
385 >> #plug_timeout="10"
386 >> # A value of 0 means wait forever.
387 >>
388 >> # If you don't want to use netplug on a specific interface but you have it
389 >> # installed, you can disable it for that interface via the modules
390 >> statement
391 >> #modules_eth0=( "!netplug" )
392 >> # You can do the same for ifplugd
393 >> #
394 >> # You can disable them both with the generic plug
395 >> #modules_eth0=( "!plug" )
396 >>
397 >> # To use specific ifplugd options, fex specifying wireless mode
398 >> #ifplugd_eth0="--api-mode=wlan"
399 >> # man ifplugd for more options
400 >>
401 >>
402 >> ##############################################################################
403 >> # ADVANCED CONFIGURATION
404 >> #
405 >> # Four functions can be defined which will be called surrounding the
406 >> # start/stop operations. The functions are called with the interface
407 >> # name first so that one function can control multiple adapters. An
408 >> extra two
409 >> # functions can be defined when an interface fails to start or stop.
410 >> #
411 >> # The return values for the preup and predown functions should be 0
412 >> # (success) to indicate that configuration or deconfiguration of the
413 >> # interface can continue. If preup returns a non-zero value, then
414 >> # interface configuration will be aborted. If predown returns a
415 >> # non-zero value, then the interface will not be allowed to continue
416 >> # deconfiguration.
417 >> #
418 >> # The return values for the postup, postdown, failup and faildown
419 >> functions are
420 >> # ignored since there's nothing to do if they indicate failure.
421 >> #
422 >> # ${IFACE} is set to the interface being brought up/down
423 >> # ${IFVAR} is ${IFACE} converted to variable name bash allows
424 >>
425 >> #preup() {
426 >> # # Test for link on the interface prior to bringing it up. This
427 >> # # only works on some network adapters and requires the mii-diag
428 >> # # package to be installed.
429 >> # if mii-tool "${IFACE}" 2> /dev/null | grep -q 'no link'; then
430 >> # ewarn "No link on ${IFACE}, aborting configuration"
431 >> # return 1
432 >> # fi
433 >> #
434 >> # # Test for link on the interface prior to bringing it up. This
435 >> # # only works on some network adapters and requires the ethtool
436 >> # # package to be installed.
437 >> # if ethtool "${IFACE}" | grep -q 'Link detected: no'; then
438 >> # ewarn "No link on ${IFACE}, aborting configuration"
439 >> # return 1
440 >> # fi
441 >> #
442 >> #
443 >> # # Remember to return 0 on success
444 >> # return 0
445 >> #}
446 >>
447 >> #predown() {
448 >> # # The default in the script is to test for NFS root and disallow
449 >> # # downing interfaces in that case. Note that if you specify a
450 >> # # predown() function you will override that logic. Here it is, in
451 >> # # case you still want it...
452 >> # if is_net_fs /; then
453 >> # eerror "root filesystem is network mounted -- can't stop
454 >> ${IFACE}"
455 >> # return 1
456 >> # fi
457 >> #
458 >> # # Remember to return 0 on success
459 >> # return 0
460 >> #}
461 >>
462 >> #postup() {
463 >> # # This function could be used, for example, to register with a
464 >> # # dynamic DNS service. Another possibility would be to
465 >> # # send/receive mail once the interface is brought up.
466 >>
467 >> # # Here is an example that allows the use of iproute rules
468 >> # # which have been configured using the rules_eth0 variable.
469 >> # #rules_eth0=(
470 >> # # "from 24.80.102.112/32 to 192.168.1.0/24 table localnet
471 >> priority 100"
472 >> # # "from 216.113.223.51/32 to 192.168.1.0/24 table localnet
473 >> priority 100"
474 >> # #)
475 >> # local x="rules_${IFVAR}[@]"
476 >> # local -a rules=( "${!x}" )
477 >> # if [[ -n ${rules} ]] ; then
478 >> # einfo "Adding IP policy routing rules"
479 >> # eindent
480 >> # # Ensure that the kernel supports policy routing
481 >> # if ! ip rule list | grep -q "^" ; then
482 >> # eerror "You need to enable IP Policy Routing
483 >> (CONFIG_IP_MULTIPLE_TABLES)"
484 >> # eerror "in your kernel to use ip rules"
485 >> # else
486 >> # for x in "${rules[@]}" ; do
487 >> # ebegin "${x}"
488 >> # ip rule add ${x}
489 >> # eend $?
490 >> # done
491 >> # fi
492 >> # eoutdent
493 >> # # Flush the cache
494 >> # ip route flush cache dev "${IFACE}"
495 >> # fi
496 >>
497 >> #}
498 >>
499 >> #postdown() {
500 >> # # Enable Wake-On-LAN for every interface except for lo
501 >> # # Probably a good idea to set RC_DOWN_INTERFACE="no" in
502 >> /etc/conf.d/rc
503 >> # # as well ;)
504 >> # [[ ${IFACE} != "lo" ]] && ethtool -s "${IFACE}" wol g
505 >>
506 >> # Automatically erase any ip rules created in the example postup
507 >> above
508 >> # if interface_exists "${IFACE}" ; then
509 >> # # Remove any rules for this interface
510 >> # local rule
511 >> # ip rule list | grep " iif ${IFACE}[ ]*" | {
512 >> # while read rule ; do
513 >> # rule="${rule#*:}"
514 >> # ip rule del ${rule}
515 >> # done
516 >> # }
517 >> # # Flush the route cache
518 >> # ip route flush cache dev "${IFACE}"
519 >> # fi
520 >>
521 >> # # Return 0 always
522 >> # return 0
523 >> #}
524 >>
525 >> #failup() {
526 >> # # This function is mostly here for completeness... I haven't
527 >> # # thought of anything nifty to do with it yet ;-)
528 >> #}
529 >>
530 >> #faildown() {
531 >> # # This function is mostly here for completeness... I haven't
532 >> # # thought of anything nifty to do with it yet ;-)
533 >> #}
534 >>
535 >>
536 >> ##############################################################################
537 >> # FORCING MODULES
538 >> # The Big Fat Warning :- If you use module forcing do not complain to us or
539 >> # file bugs about it not working!
540 >> #
541 >> # Loading modules is a slow affair - we have to check each one for the
542 >> following
543 >> # 1) Code sanity
544 >> # 2) Has the required package been emerged?
545 >> # 3) Has it modified anything?
546 >> # 4) Have all the dependant modules been loaded?
547 >>
548 >> # Then we have to strip out the conflicting modules based on user
549 >> preference
550 >> # and default configuration and sort them into the correct order.
551 >> # Finally we check the end result for dependencies.
552 >>
553 >> # This, of course, takes valuable CPU time so we provide module forcing as
554 >> a
555 >> # means to speed things up. We still do *some* checking but not much.
556 >>
557 >> # It is essential that you force modules in the correct order and supply
558 >> all
559 >> # the modules you need. You must always supply an interface module - we
560 >> # supply ifconfig or iproute2.
561 >>
562 >> # The Big Fat Warning :- If you use module forcing do not complain to us or
563 >> # file bugs about it not working!
564 >>
565 >> # Now that we've warned you twice, here's how to do it
566 >> #modules_force=( "ifconfig" )
567 >> #modules_force=( "iproute2" "dhcpcd" )
568 >>
569 >> # We can also apply this to a specific interface
570 >> #modules_force_eth1=( "iproute2" )
571 >>
572 >> # The below will not work
573 >> #modules_force=( "dhcpcd" )
574 >> # No interface (ifconfig/iproute2)
575 >> #modules_force=( "ifconfig" "essidnet" "iwconfig" )
576 >> # Although it will not crash, essidnet will not work as it has to come
577 >> after
578 >> # iwconfig
579 >> #modules_force=( "iproute2" "ifconfig" )
580 >> # The interface will be setup twice which will cause problems
581 >>
582 >>
583 >
584 Я как то сразу не подумал))))