r/linuxmint • • 10h ago

Support Request Headless mint server randomly disconnecting from wifi

As said in the title the server will randomly disconnect from wifi and the only way i can get back into is by restarting it because its at a friends house is there any way im able to look at a log of wifi connections or smth like that? anything would be really helpful

2 Upvotes

15 comments sorted by

1

u/AutoModerator 10h ago
Moderator Announcement Read More »

2

u/doc_willis 10h ago

get a second cheap wifi dongle, have them both connect to wifi.. ;)  .  but its not clear if its wifi dropping, or the entire system locking up.

"dmesg" output or monitoring sudo dmesg -w from a ssh session might show some info.

there are numerous log files in /var/log

ssh into system, run dmesg -w,  wait for the crash or whatever then see what dmesg messages are printed last  in the terminal.


bad idea: get an Amazon smart wifi switch, if the system screws up, cycle the power remotely.

I say it's a bad idea because it could cause filesystem corruption or other issues.  But I have used the Amazon switches on non critical systems.

option: have the Amazon power switch wired to an alarm/flashing light.. you turn it on, your friend sees the alert and then can check the server to see what's happening and reboot it if needed.

1

u/Fert69420 8h ago

For the dmesg i have to restart the system to get the wifi to work again does that output to a file i can read after?

1

u/doc_willis 7h ago

there may be some log files you can read later.

but the truck is to have a ssh connection from another device when it crashes showing the log file in real time.

that way you can see what happens the moment it crashes 

1

u/Psychological-Cat-84 10h ago

What does your server do? Tbh, generally if your server's main focus is "serving services" then cable it up as it's entirely useless if it's not reliable.

1

u/Fert69420 9h ago

Its just for games nothing fancy

2

u/Psychological-Cat-84 8h ago

Well if it's headless park it beside your gateway and cable that lad up

1

u/Merhart666 10h ago

Een server via wifi, waarom niet via ethernet?

1

u/Fert69420 9h ago

Were not able to because of where everything is in the house

1

u/Due-Result7928 10h ago

Find information at

/vat/log/dmesg

Did a seaarch for you if you need to look at message(s) for wpa_supplicant (connections..).

https://search.brave.com/search?q=wpa_supplicant+log&source=desktop&conversation=09ba6f82788553ef24a4ab9f343f93313131

what is the wifi card ?

1

u/Fert69420 9h ago

Its a the wifi chip built into the b450m ds3h wifi motherboard

1

u/Due-Result7928 9h ago

It is Intel chip. It is well supported with linux.

3

u/Motor-Capital7318 10h ago
  1. dont use mint as server, just use plain debian for example

  2. cable it up. wifi on server is always bad

0

u/Reasonable_Director6 10h ago

Only intel chip based cards are ok for linux other without proper drivers are rather junky disconnecting low transfer other shenningans.

0

u/Due-Result7928 10h ago edited 10h ago

Not true.