You are not logged in.

#1 2023-04-26 14:43:31

gabtram
Member
Registered: 2023-04-11
Posts: 52

Network down after updating system and downloading font [Solved]

Hi to all,

here Gab.
I have a little probem.
I run

pacman -Syu font-terminus

.
The font was intalled and i updated the vconsole.conf file

Then i ran pacman to installa other pacakge, i start to install xorg server to enable a gui and i receive a generic "Coulkd not resolve host"
The network was up until 30 minutes ago.
It' strange cause if i try to run

networkmanager

nothing happens.

Sorry but i'm a newbe of Arch, thanks!

Gabriele

EDIT: read the thread network go down cause linux kernel was bad booted. Restore fstab

Last edited by gabtram (2023-04-27 10:11:07)

Offline

#2 2023-04-26 15:18:04

seth
Member
Registered: 2012-09-03
Posts: 49,980

Re: Network down after updating system and downloading font [Solved]

if i try to run [nonsense] nothing happens.

Isn't much of a surprise, are you using NetworkManager at all?


ping -c1 8.8.8.8
ping -c1 google.com
ip a
ip r
find /etc/systemd -type l -exec test -f {} \; -print

Offline

#3 2023-04-26 23:02:36

gabtram
Member
Registered: 2023-04-11
Posts: 52

Re: Network down after updating system and downloading font [Solved]

seth wrote:

if i try to run [nonsense] nothing happens.

Isn't much of a surprise, are you using NetworkManager at all?

Thanks for your help. Maybe i didn't explain well. There isn't nonsense.
I installed arch 10 days ago following wiki step by step. When i first install Arch it works immedaitaley after i put the cable in. So honestly i don't go deep to understand how network works and what demon start.
I'm starting with the early steps.



ping -c1 8.8.8.8

Network is unreachable

ping -c1 google.com

Temporary failure in name resolution

ip a

1: lo: <LOOPBACK,UP;LOWER_UP> mtu 65536 qdisc noqueue state Unkonwn group defalut qlen 1000 link/loopack 00:00:00:00:00:00: brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preffered _lft forever
inet6 :: 1/128 scope host
valid_lft forever preffered _lft forever

ip r

nothing

find /etc/systemd -type l -exec test -f {} \; -print

/etc/systemd/user/sockets.target.wants/p11-kit-server.socket
/etc/systemd/system/dbus-org.freedesktop.nm-dispatcher.service
/etc/systemd/system/getty.target.wants/getty@tty1.service
/etc/systemd/system/network.-online.target.wants/NetworkManager-wait-online.service
/etc/systemd/system/multi.user.target.wants/NetworkManager.service
/etc/systemd/system/multi.user.target.wants/remote-fs.target

I hope i reported all well. I can't understand what happens after launched pacam -Syu for updates
Thanks so much for your suggestions!

Last edited by gabtram (2023-04-26 23:04:06)

Offline

#4 2023-04-26 23:04:44

seth
Member
Registered: 2012-09-03
Posts: 49,980

Re: Network down after updating system and downloading font [Solved]

There's no network device.
Yo forgot to mount the boot partition before updating.

uname -a
pacman -Qs linux

The versions will likely fall apart.

Edit:

There isn't nonsense.

It's actually multilayered nonsense.
There's no "networkmanager" binary and you cannot start /usr/bin/NetworkManager as ordinary user and you're supposed to start/enable the system service anyway.

Last edited by seth (2023-04-26 23:07:07)

Offline

#5 2023-04-27 08:38:44

gabtram
Member
Registered: 2023-04-11
Posts: 52

Re: Network down after updating system and downloading font [Solved]

seth wrote:

There's no network device.
Yo forgot to mount the boot partition before updating.

The versions will likely fall apart.

Hi Seth,
thanks for you response, but as i said before, i'm starting to understand now something.
I installed the boot partition and it loads each time i start arch, don't understand why you said  i don't mount it before updating.

Anyway this is the output

uname -a

Linux arch***** 6.2.10-arch1 #1 SMP PREEMPT_DYNAMIC date and hour +000 x86_64 GNU/Linux

pacman -Qs linux

local/archlinux keyring
local/base 3-1
local/efibootmgr 18-2
local/filesystem 2023.01.31-1
local/iptables 1:1.89-1
local/keyutils 1.6.3-1
local/kmod 30-3
local/libcap-ng 0.8 3-1
local/linux 6.2.12arch1-1
local/linux-api-headers 6.1 9-1
local/linux-firmware 20230210.bf4115c-1
local/linux-firmware-whence 20230210.bf4115c-1
local/pacman-mirrorlist 20230410-1
local/util-linux 2.38. 1-3
local/util-linux-libs 2.38. 1-3

Edit:

There isn't nonsense.

It's actually multilayered nonsense.
There's no "networkmanager" binary and you cannot start /usr/bin/NetworkManager as ordinary user and you're supposed to start/enable the system service anyway.

Ok thank you for the explanation. But really i'd like to understand something:
I had a working arch linux s.o until yesterday with network manager working.
I launched with root

pacman -Syu terminus-font

thn i set the fotn for the bash. After this i lost my network, but i use arch witouht problem. Now i'm studying the best way to configure arch for music. And i took my time to do better. So please encourage new user smile
I use ubuntu server and centos for webdeveloping but never fight with deep configuration  in a prod or test environment.

Thank you!

Offline

#6 2023-04-27 08:53:13

seth
Member
Registered: 2012-09-03
Posts: 49,980

Re: Network down after updating system and downloading font [Solved]

You're booting 6.2.10 but the installed kernel is 6.2.12

cat /proc/cmdline
cat /etc/fstab
lsblk -f

Offline

#7 2023-04-27 09:04:29

gabtram
Member
Registered: 2023-04-11
Posts: 52

Re: Network down after updating system and downloading font [Solved]

seth wrote:

You're booting 6.2.10 but the installed kernel is 6.2.12

cat /proc/cmdline

BOOT_IMAGE=/vmlinuz-linux root=UUID=98....ecc rw loglevel=3 quiet

cat /etc/fstab

/dev/sda3
UUID=something                                / ext4 rw,realtime 0 1
/dev/sda2
UUID=something                                none swap defalut 0 0
/dev/sda1
UUID=something                                / vfat rw,realtime,fmask=0022,dmnask=0022,codepage=437,iocharset=ascii,shgortname=mixed,utf8,errors=remount-ro 0 1

lsblk -f

sda                                           FSAVAIL FSUSE% Mountpoints
sda1 vfat FAT32 UUID
sda2 swap 1 UUID                                                   [SWAP]
sda3 ext4 1.0 UUID                  440.1G            0%   /

Offline

#8 2023-04-27 09:09:45

seth
Member
Registered: 2012-09-03
Posts: 49,980

Re: Network down after updating system and downloading font [Solved]

You're booting from a boot partition, but it's not mouted - likely sda1 is misdirected into / instead of /boot.

Please link a screenshot to a picture of the output in doubt, you imprecise interpretation of the data prevents certainty, but you probably want to mount sda1 into /boot and reinstall the kernel.

Offline

#9 2023-04-27 09:24:16

gabtram
Member
Registered: 2023-04-11
Posts: 52

Re: Network down after updating system and downloading font [Solved]

seth wrote:

You're booting from a boot partition, but it's not mouted - likely sda1 is misdirected into / instead of /boot.

Please link a screenshot to a picture of the output in doubt, you imprecise interpretation of the data prevents certainty, but you probably want to mount sda1 into /boot and reinstall the kernel.

Ok i remember.
Boot don't start and i asked help here: https://bbs.archlinux.org/viewtopic.php?id=285009.
After v1del help it booted then proabily after update old configuration was restored.

https://imgur.com/a/uzDTJtc

Last edited by gabtram (2023-04-27 09:25:48)

Offline

#10 2023-04-27 09:29:22

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,425

Re: Network down after updating system and downloading font [Solved]

You need to fix your fstab so that the last line mounts the FAT partition to /boot instead of /. for the immediate fix, follow the same steps I outlined in the other thread, then fix your fstab.

Offline

#11 2023-04-27 09:55:57

gabtram
Member
Registered: 2023-04-11
Posts: 52

Re: Network down after updating system and downloading font [Solved]

V1del wrote:

You need to fix your fstab so that the last line mounts the FAT partition to /boot instead of /. for the immediate fix, follow the same steps I outlined in the other thread, then fix your fstab.

Hi and thanks so much for your patience.
So i rerun the procedure with usb pen and reinstalled kernel.

Now at the lkast line of the /dev/sda1/
UUID=... i will change wth /boot ok?

But to understand what happend after last update? The kernel restored the previuos fstab so i lost my kernel or what?
I'd like to understand how to think and find the right way
I shall not run pacman -Syu?

Last edited by gabtram (2023-04-27 09:58:11)

Offline

#12 2023-04-27 10:45:02

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,425

Re: Network down after updating system and downloading font [Solved]

Your problem is that your /boot partition was never properly mounted and thus the kernel image when it needs to get updated (when the kernel updates) doesn't land on the proper partition. Your last line needs to read

UUID=something      /boot vfat ...

(note the bold part the only thing you need to change is add boot to the /) you absolutely should run pacman -Syu but your /etc/fstab has always been wrong.

Last edited by V1del (2023-04-27 10:45:52)

Offline

#13 2023-04-27 12:00:39

gabtram
Member
Registered: 2023-04-11
Posts: 52

Re: Network down after updating system and downloading font [Solved]

Ok!!
Thanks, now i understand.
I correct it.
My aim is to create a good music envirnoment in arch and i'm thinking to distruibte an iso of my arch when i will finish my configurations.

Great!
Bye

Offline

#14 2023-04-27 14:02:51

seth
Member
Registered: 2012-09-03
Posts: 49,980

Re: Network down after updating system and downloading font [Solved]

i'm thinking to distruibte an iso of my arch when i will finish my configurations.

You may want to get a bit more safe on the basics before you expose others to your efforts.

Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

Board footer

Powered by FluxBB