Subversion Repositories configs

Rev

Rev 3 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3 Rev 8
Line 31... Line 31...
31
#    FRAG: Fragmentation threshold to split packets.  Usually not specified.
31
#    FRAG: Fragmentation threshold to split packets.  Usually not specified.
32
#    SPYIPS: List of IP addresses to "spy" on for link performance stats.
32
#    SPYIPS: List of IP addresses to "spy" on for link performance stats.
33
#    IWCONFIG: Extra parameters to pass directly to IWCONFIG
33
#    IWCONFIG: Extra parameters to pass directly to IWCONFIG
34
#    SECURITYMODE: Security mode, e.g: 'open' or 'restricted'
34
#    SECURITYMODE: Security mode, e.g: 'open' or 'restricted'
35
#    IWPRIV: Extra parameters to pass directly to IWPRIV
35
#    IWPRIV: Extra parameters to pass directly to IWPRIV
-
 
36
#    WOWLAN: Enable wowlan (any, disconnect, magic-packet,...)
36
 
37
 
37
# Only meant to be called from ifup.
38
# Only meant to be called from ifup.
38
 
39
 
39
# Mode need to be first : some settings apply only in a specific mode !
40
# Mode need to be first : some settings apply only in a specific mode !
40
if [ -n "$MODE" ] ; then
41
if [ -n "$MODE" ] ; then
Line 94... Line 95...
94
	iwspy $DEVICE + $IP
95
	iwspy $DEVICE + $IP
95
    done
96
    done
96
fi
97
fi
97
if [ -n "$IWPRIV" ] ; then
98
if [ -n "$IWPRIV" ] ; then
98
    iwpriv $DEVICE $IWPRIV
99
    iwpriv $DEVICE $IWPRIV
-
 
100
fi
-
 
101
if [ -n "$WOWLAN" ] ; then
-
 
102
    PHYDEVICE=phy_wireless_device $DEVICE
-
 
103
    iw phy $PHYDEVICE wowlan enable ${WOWLAN}
99
fi
104
fi
100
 
105
 
101
# ESSID need to be last : most device re-perform the scanning/discovery
106
# ESSID need to be last : most device re-perform the scanning/discovery
102
# when this is set, and things like encryption keys are better be
107
# when this is set, and things like encryption keys are better be
103
# defined if we want to discover the right set of APs/nodes.
108
# defined if we want to discover the right set of APs/nodes.