bedrocklinux / bedrocklinux-userland

This tracks development for the things such as scripts and (defaults for) config files for Bedrock Linux
https://bedrocklinux.org
GNU General Public License v2.0
603 stars 64 forks source link

Networking on Arch #166

Closed sosudo closed 4 years ago

sosudo commented 4 years ago

When I "boot" into Arch through the Bedrock Bootloader, everything seems to work fine. I start gnome and everything's great. Gnome says it's connected to the internet, so I open Firefox and type in a random link. Firefox says it's not connected to the internet. This happens in Chrome, Web, and Chromium as well. Plus, when I type in Sudo pacman -Sy, it gets errors due to a missing internet connection. Is there a way to resolve this?

paradigm commented 4 years ago
sosudo commented 4 years ago

I installed it via brl fetch. Ubuntu provides chrome and chromium. Arch provides gnome, Firefox, and Web. Ping responds with a network is unreachable error. The last bit responds with a bunch of resolve.conf lines.

paradigm commented 4 years ago

Given:

I suspect you just don't have your Arch init doing any networking setup. The only counter point here is Gnome indicating it is connected to the internet. I don't know enough about Gnome to understand why this would be the case when ping disagrees.

Try setting up Arch's networking.

sosudo commented 4 years ago

I actually figured it out! First I had to activate Network Manager by sudo NetworkManager Then I followed the steps in this link - https://www.digitalocean.com/community/questions/how-to-resolve-temporary-failure-in-name-resolution-issue

paradigm commented 4 years ago

Nicely done :)

SeerLite commented 4 years ago

Hey @Imperial-Industries, just wanted to chime in and say that in Arch, there's a specific systemd service file that manages NetworkManager. Running sudo NetworkManager may work, but is not the way it's supposed to be run under Arch as you'd be missing out on journal logs and daemon management.

A quick summary: Use systemctl start NetworkManager to start NetworkManager, and systemctl enable NetworkManager in case you want to have it started on boot.

See this section on how to use systemctl from the ArchWiki for more information.

sosudo commented 4 years ago

Oh ok. Thank you!