Skip to main content
Topic: Ethernet and WIFI stopped working after reboot (Read 759 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Ethernet and WIFI stopped working after reboot

Hi,
I am new to artix and linux in general. I have had a good time debugging and most issues I have been able to work out on my own. This is the first one I think I need some help on. Earlier today I was trying to change my hostname; on the command line it looks like [user@hostname ~]$. I fiddled around for a bit and it wasnt updating so I decided to reboot the machine. It had been a couple days since the last reboot and in the time between I had downloaded connman-gtk to get a wifi connection (I had solely been using ethernet before then). I also had done a system update and upgrade using pacman. I think these would be the relevant details effecting my strange issue. After the reboot, the hostname did change, however, when I tried openning my browser, it said another session with my old hostname was open, so I changed the files back to their original states and restarted the computer. Upon both restarts, my desktop screensaver was gone, and my ethernet wasnt connecting. I tried using connman-gtk to get the wifi connected, but the gui interface was blank. I know the cable and the network arent the issues because they have both been tested with other devices. The next thing I was going to try was reinstalling from scratch, however it would suck to loose files, and it would be even worse if now the operating system was gone and the ethernet and wifi still wouldn't connect. I tried searching for wifi related packaged I had installed, using pacman -F wifi, however, it returns that the databases for system, world, and galaxy do not exist. I cant download them because the hosts aren't resolving. If I can provide any more information let me know. I use the runit version of artix. Thank you for your time and any possible help. If I cant figure this out tomorrow I will just try to reinstall artix .

Re: Ethernet and WIFI stopped working after reboot

Reply #1
After probably 3 or more hours of troubleshooting, I think I got it figured out. I dont want to reboot my computer incase it screws something up, but I made my IP static, then I went into dhcpcd.conf and added interface, static ip_address, static routers, static domain_name_servers.
When I was done, I did sudo dhcpcd -N to refresh the interface. I do not know yet if this all contributed to a success, or if only parts of it did. However, I am so glad to have my network back.

 

Re: Ethernet and WIFI stopped working after reboot

Reply #2
Generally you shouldn't need to resort to static connections unless there is no dhcp server or you want to use one. There are various places the hostname can be set, and it might get picked up temporarily by some other apps and stored for that boot.
See:
https://wiki.artixlinux.org/Main/Installation#Configure_the_base_system
Also something like:
Code: [Select]
$ cd /etc
# grep -rH "your old/new hostname"
# grep -riH "hostname"
might give some ideas where to investigate / edit further.