My work laptop will only connect directly through VPN to work. So when I am in a hotel or anywhere that wants me to log I or accept terms and conditions I cant use the wireless connection. My project is an RPi with two network cards, one connected to the hotel/whatever wireless service and the other broadcasting as a hotspot that I connect the work computer to. Route between the two wireless connections, power the RPi from the 1amp USB connection on the laptop PSU and I have a very compact solution.
Got it all working on my home wireless and any wireless that needs a password but hotels don't and I cant find the setting to put into Interfaces that lets me connect to a security free WiFi.
Cant use wpa_supplicant as that really messes up the routing between the two cards, would love to work out how to use it but that's a phase 2!
Found the answer. You have to use the wireless command rather than wpa. The following works and I can now use the RPi to route my work PC connected to the RPi hotspot to the hotel network. Could also be used to connect multiple devices to a single wireless network.