Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: Internet does not work after reboot (Read 450 times) previous topic - next topic
0 Members and 3 Guests are viewing this topic.

Internet does not work after reboot

I just installed artix (runit) using the command line. I do not currently have internet access. When I use the ping command (ping 9.9.9.9), it responds with "ping: connect: Network is unreachable". I am connecting to the internet over usb (android phone tethering). When I type "ip link", it lists lo, eth0, and wlan0. My /etc/resolv.conf is empty and is generated by dhcpcd. It was previously generated by connman, but I am unsure how to get connman to generate it again. I am unsure what to try next.


Re: Internet does not work after reboot

Reply #2
 /etc/resolv.conf will not help if pinging IP addresses, that should normally respond, don't respond.  /etc/resolv.conf is related to domain names not ip address's

Posting the full output of of commands, rather than just a summary, might help others diagnose. What is the output of
Code: [Select]
ip addr show

Re: Internet does not work after reboot

Reply #3

 Think you have to start dhcpcd service. Enabling that will write necessary things into resolve.conf file.

 If that doesn't work try to edit etc/dhcpcd.conf file to match your router/gateway and some other necessary things dns and so on.

 When you uninstall conman everything related to networking rely on dhcpcd.

 You can try the hard way
Code: [Select]
# dhclient eth0
to connect to the internet, substitute eth0 with your interface. You need to be root to do this one.




Re: Internet does not work after reboot

Reply #4
If you did a base install you can boot up with the iso again, connect to the internet in the iso os and largely proceed as before to mount your new os but without redoing what you have already done, and basestrap more packages over to your install if you find you missed out something you need the first time, like firmware, Connman, whatever. You can also do the base install procedure using an iso with a desktop if that makes things easier. You can chroot in too and install packages with pacman -U but that can be a bit tedious if there are lots of deps.

Re: Internet does not work after reboot

Reply #5
I just figured out that it was an issue with my phone that I was able to resolve, not anything to do with the system. Thank you all for making an effort to help, I am very sorry to have wasted your time.

Re: Internet does not work after reboot

Reply #6
Great to hear you have got things working!  :D