You are not logged in.

#1 2021-01-30 19:41:54

vimodeeverything
Member
Registered: 2021-01-30
Posts: 28

[SOLVED] Wifi doesn't work after install

Hi,
I've gone through the Arch installation and removed my usb drive to boot into the OS for the first time, and a problem occurred where I can't use my wifi.
Trying to use pacman results in

error: failed to commit transaction (invalid url for server)

And trying to ping any website (for example google.com) gives me:

ping: google.com: Temporary failure in name resolution

I have networkmanager installed and enabled.
If i try to connect via the ethernet port, everything seems to work fine.
I installed iwd using ethernet and i can connect to my wifi normally using iwctl.
These problems are occuring even tho I'm connected to my wifi network.
If anyone has any idea what could cause this, please help.

Last edited by vimodeeverything (2021-01-31 12:28:58)

Offline

#2 2021-01-30 19:49:08

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: [SOLVED] Wifi doesn't work after install

First off, use iwd or networkmanager. Not both.

Once you figured that out, tell us exactly what you did to configure the connection. And DNS, in the case of iwd.

Offline

#3 2021-01-30 20:13:18

vimodeeverything
Member
Registered: 2021-01-30
Posts: 28

Re: [SOLVED] Wifi doesn't work after install

I followed the wiki:

- created a /etc/hostname file and wrote a hostname in it( Arch ).

- edited the etc/hosts file:

127.0.0.1    localhost
::1                localhost
127.0.1.1     Arch.localdomain           Arch

I installed Arch successfully a few days ago in a vm and everything worked fine. Although, i used wpa_supplicant instead od iwctl to connect to wifi.

Offline

#4 2021-01-30 20:21:00

lucasgdo
Member
Registered: 2021-01-30
Posts: 9

Re: [SOLVED] Wifi doesn't work after install

If you plan on using NetworkManager, you can use nmcli to connect to networks: https://wiki.archlinux.org/index.php/Ne … i_examples

Offline

#5 2021-01-31 12:26:30

vimodeeverything
Member
Registered: 2021-01-30
Posts: 28

Re: [SOLVED] Wifi doesn't work after install

Thanks, that makes things easier.
I've managed to resolve the issue by adding nameserver and my ip in /etc/resolv.conf

Offline

Board footer

Powered by FluxBB