Você já tentou criar e executar um script como este:
#/bin/sh
Case (wl) in
networkname = (ip adrs of wl)
gksu networkname
nmcli -Cl networkname
resolv (the ip adr of wl) >>
endl
Case (b43) in
networkname = (ip adrs of b43)
gksu networkname
nmcli -Cl networkname
resolv (the ip adrs of b43)
endl
e pode funcionar bem assim,