Lines Matching refs:interface
62 # and non-NULL, initially highlight $default interface.
132 # Ask user to select an interface
161 # f_dialog_menu_netdev_edit $interface $ipaddr $netmask $options $dhcp
163 # Allow a user to edit network interface settings. Current values are not
169 local interface="$1" ipaddr="$2" netmask="$3" options="$4" dhcp="$5"
181 f_sprintf prompt "$msg_network_configuration" "$interface"
185 # components of the network interface.
202 if f_device_is_wireless "$interface"; then
203 wlans=$( f_sysrc_get "wlans_$interface" )
215 f_device_is_wireless "$interface" && menu_list="$menu_list
270 "$interface" "${wlans%%[$IFS]*}" ;;
279 "$interface" "$dhcp_status"
293 f_sprintf msg "$msg_scanning_for_dhcp" "$interface"
296 f_quietly ifconfig "$interface" delete
297 f_quietly dhclient "$interface"
302 f_quietly ifconfig "$interface" delete
303 f_quietly dhclient "$interface"
310 f_ifconfig_inet "$interface" ipaddr
311 f_ifconfig_inet6 "$interface" ipaddr6
312 f_ifconfig_netmask "$interface" netmask
322 3\ *) f_dialog_input_ipaddr "$interface" "$ipaddr"
324 4\ *) f_dialog_input_netmask "$interface" "$netmask"
326 5\ *) f_dialog_menu_media_options "$interface" "$options"
332 # Save only if the user changed at least one feature of the interface
339 f_show_info "$msg_saving_network_interface" "$interface"
352 'f_sysrc_set "ifconfig_%s" "%s"' "$interface" "$value"
359 if f_yesno "$msg_bring_interface_up" "$interface"
361 f_show_info "$msg_bring_interface_up" "$interface"
381 "$interface" "$ipaddr" "$netmask" "$options"