397 |
config_bridge_devices ${iface} add |
config_bridge_devices ${iface} add |
398 |
fi |
fi |
399 |
|
|
|
# activate the interface |
|
|
ifconfig "${iface}" up |
|
|
|
|
400 |
# now configure wireless_extensions |
# now configure wireless_extensions |
401 |
[ -x /usr/sbin/iwconfig ] && setup_wireless_extensions "${iface}" |
[ -x /usr/sbin/iwconfig ] && setup_wireless_extensions "${iface}" |
402 |
|
|
403 |
echo -e ${COLOREDSTAR}"Bringing up interface ${COLBLUE}${iface}${COLDEFAULT} ..." |
echo -e ${COLOREDSTAR}"Bringing up interface ${COLBLUE}${iface}${COLDEFAULT} ..." |
404 |
|
|
405 |
|
# activate the interface |
406 |
|
ifconfig "${iface}" up |
407 |
|
|
408 |
# setup static or dhcp |
# setup static or dhcp |
409 |
case ${NETWORKING} in |
case ${NETWORKING} in |
410 |
dhcp|DHCP) |
dhcp|DHCP) |