Dirtbag's Blog

Arch linux wont let me ssh in until user logs into the console

[ link: archlinuxssh | tags: Arch linux ssh | updated: Fri, 17 Apr 2020 12:04:41 -0400 ]

So there I was, installing Arch Linux on my Gigabyte Brick computer like a good sysadmin and noticed that I could not ping or ssh to the server after it was booted up.

But my network connectivity worked before after I had set it up initially!! WTF?! So I logged into the console and checked and yeah, it had network connectivity and I could NOW ssh to the box.. Hrmmm.. It turns out that the default install of Arch that I did ended up putting the following line into my connection file at
/etc/NetworkManager/system-connections/dirtbags_wifi

 permissions=user:dirtbag:;

So, it looks like the wifi connection is tied to the users permissions and therefore it wont work till the user logs in.. I have NEVER had a linux box behave this way. Truly Bizarre. Anyway, to fix it, just change the line to be

 permissions=

and reboot the server an things should be better after it boots.

-db

Like this article? Buy me a beer!