I have configured a Wifi connection on my Ubuntu Server powered machine, following this answer.
I also configured ssh so I can connect from other machines to this machine when it's running. Everything works fine, but, every time I start the machine, first I have to login, and do:
ifdown ...
ifup ...
The internet connection does work before running these two commands, but accepting SSH connections doesn't work.
After restarting the Wifi connection, I can ssh from my other machines.
How to solve this problem? Why does this appear at all?