# select default interfaces if there is more than one
select_default_interface
dialog --title" IP address assignment "--colors--backtitle"$BACKTITLE"--help-button--help-label"Cancel"--yes-label"DHCP"--no-label"Static"--yesno"\n\Z1DHCP:\Z0 automatic IP asignment by your router or DHCP server\n\n\Z1Static:\Z0 manually fixed IP address" 9 70
dialog --title" Choose Access Point mode for $WIRELESS_ADAPTER "--colors--backtitle"$BACKTITLE"--no-label"Bridge"\
--yes-label"NAT"--yesno"\n\Z1NAT:\Z0 with own DHCP server, out of your primary network\n\n\Z1Bridge:\Z0 wireless clients will use your routers DHCP server" 9 70
response=$?
# dialog --title " Choose Access Point mode for $WIRELESS_ADAPTER " --colors --backtitle "$BACKTITLE" --no-label "Bridge" --yes-label "NAT" --yesno "\n\Z1NAT:\Z0 with own DHCP server, out of your primary network\n\n\Z1Bridge:\Z0 wireless clients will use your routers DHCP server" 9 70
# response=$?
# let's remove bridge for this simple configurator
response=0
# select default interfaces if there is more than one