Login via ssh and do the following:
typeYou will get a list with available networks.
There should be one entry with an asterisk in front. Mine is named "ethernet_e81863506807_cable".This is the entry you need to modify by typing:
Replace the <placeholders> with your desired values.
This should do the trick.
Perfect Exactly what I needed, thanks a lot