You are not logged in.

#1 2020-10-18 12:59:29

quantumz
Member
Registered: 2019-10-26
Posts: 5

No internet connection after install

I was finishing my install - added new user and had to get the 'sudo' package to give it rights. But when I tried to install i get -

error: failed retrieving file core.db.... Could not resolve host: mirrors....

on all my mirrorlists. I addded new ones they still dont work. When I ping google.com i get "Temporary failure in name resolution". Everything was working great before I rebooted. I was installing packages no problem.

cat /etc/hostname
jordanarch

no spaces I check multiple times

cat /etc/hosts
# Static table lookup for hostnames.
# See hosts(5) for details.
127.0.0.1    localhost
::1            localhost
127.0.1.1    jordanarch.localdomain    jordanarch

the ::1 line is correct i just cant make it aligne in here, There are 2 tabs between 1 and localhost on that line and 1 tab everywhere else

ip link

1: lo...
2: enp0s20f0u1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
      link/ether 9c:....
3: wlp2s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
      link/ether f4:....

This is a laptop i am dual booting it. I have internet on windows.I had internet when installing arch i was using wired, but now I dont have wired or wifi on arch. I havnt done set up the wireless yet anyway.

Offline

#2 2020-10-18 13:02:55

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,619

Re: No internet connection after install

You haven't done any setup of anything at all. See the network configuration page in the wiki.

Online

#3 2020-10-18 13:18:35

quantumz
Member
Registered: 2019-10-26
Posts: 5

Re: No internet connection after install

it wants me to install packages which is impossible. Thigs like netctl dhcp

Offline

#4 2020-10-18 13:25:38

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,982

Re: No internet connection after install

How did you install archlinux / which guide did you follow ?

A workaround is to boot the installation iso, mount the root of your install and use pacmans --root option to install the needed packages on your system.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#5 2020-10-18 15:38:30

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,619

Re: No internet connection after install

systemd-networkd will already be there, you can use that for wired.

Online

#6 2020-10-18 20:28:18

teckk
Member
Registered: 2013-02-21
Posts: 519

Re: No internet connection after install

Or you can bring the interface up manually. Like any linux/BSD box.

ip link set enp0s20f0u1 up

ip address add 192.168.0.2/24 broadcast + dev enp0s20f0u1

ip route add default via 192.168.0.1 dev enp0s20f0u1

Put a DNS in /etc/resolv.conf if there isn't one there.

Offline

#7 2020-10-24 19:18:19

flyingscorpio
Member
Registered: 2020-06-04
Posts: 34

Re: No internet connection after install

The network packages are meant to be installed during the pacstrap step, when you install base and the kernel, or after arch-chrooting but before rebooting.

Offline

Board footer

Powered by FluxBB