please help(gateway)

General support questions
Post Reply
YOUNES
Posts: 1
Joined: 2021/10/27 08:29:38

please help(gateway)

Post by YOUNES » 2021/10/27 08:50:54

HI everybody
please help me
i want to find my gateway address in centos7
so i command:
# cat /etc/sysconfig/network


so i face with below text:
created by anaconda

so i start to install os-installer
sudo yum install epel-release
sudo yum install snapd
sudo systemctl enable --now snapd.socket
sudo ln -s /var/lib/snapd/snap /snap
sudo snap install easy-installer --beta


but i face with this problem
Buffer 1/0 error on dev loop0, logical block 0 ,asymc page read
cannot install "east-installer" : presistent network error: post

please help to find my geteway

User avatar
TrevorH
Site Admin
Posts: 33191
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: please help(gateway)

Post by TrevorH » 2021/10/27 10:57:38

That has nothing to do with your gateway.
Buffer 1/0 error on dev loop0, logical block 0 ,asymc page read
That's an i/o error on a device called /dev/loop0 which is likely to be a filesystem.

I googled easy-installer and it looks like an Ubuntu package. Installing packages on CentOS is done with dnf or yum.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

User avatar
jlehtone
Posts: 4523
Joined: 2007/12/11 08:17:33
Location: Finland

Re: please help(gateway)

Post by jlehtone » 2021/10/27 11:55:00

Like TrevorH said, your problem is probably not about gateway or network.
Think about it: you did install snapd from EPEL repository -- from net -- successfully.

However, since you did ask X, lets tell X:
* It is quite likely that config is dynamic, from DHCP, and not saved in any file
* The default network configuration service is NetworkManager and a summary you can get with: nmcli
* It is still possible to query kernel with "old tools": ip ro

If you want to use Ubuntu content, then perhaps you should run Ubuntu (on bare metal or as VM) or have it in (podman or singularity) container?

Post Reply