by fsmithred » Wed Jun 19, 2013 12:32 am
It's not a script. You can run some of the commands and look at the output. The idea was to get the necessary information to fill in variables, then use those to create an entry in /etc/network/interfaces, then use ifup to bring up the interface.
Another way would be to get the same information and then use it with ifconfig. That would be a one-shot deal, and you'd have to do it every time. Might be good if you travel and use different networks. Just brainstorming. Ideas are welcome.