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?
/var/log
? – Jakuje Dec 26 '16 at 11:32sshd
is starting before the WiFi connection is established, and thus only listens on wired connection (if any). – ridgy Dec 26 '16 at 11:37ssh
when runningsystemctl status sshd
. The logs related tosshd
should be in/var/log/syslog
and/var/log/auth.log
. – Jakuje Dec 26 '16 at 11:43192.168.2.150
). – Ionică Bizău Dec 26 '16 at 13:44