You are not logged in.

#1 2024-04-07 23:08:28

mrdudebro1
Member
Registered: 2022-04-25
Posts: 25

[Solved] Networking: just getting started

Hi all,

I'm trying to configure networking on my fresh arch linux install and i'm honestly confused by this article. https://wiki.archlinux.org/title/Network_configuration

I've added a manual IP address that matches my internal network of 192.168.0.0/24 but I can't seem to get to the internet. Can't ping anything. Not sure where to start.

Thanks

Last edited by mrdudebro1 (2024-04-08 01:11:23)

Offline

#2 2024-04-07 23:56:13

dakota
Member
Registered: 2016-05-20
Posts: 280

Re: [Solved] Networking: just getting started

Wired or wireless?

Have you installed any software to manage your network connection?

Please start by posting the results of

ip a
ip r
ping -c1 _gateway
ping -c1 8.8.8.8

"Before Enlightenment chop wood, carry water. After Enlightenment chop wood, carry water." -- Zen proverb

Offline

#3 2024-04-08 00:03:41

mrdudebro1
Member
Registered: 2022-04-25
Posts: 25

Re: [Solved] Networking: just getting started

dakota wrote:

Wired or wireless?

Have you installed any software to manage your network connection?

Please start by posting the results of

ip a
ip r
ping -c1 _gateway
ping -c1 8.8.8.8

It is a wired connection. Maybe my mistake was not installing the network software in the live environment *doh*. I can reboot and arch-chroot and install some network stuff i guess.

Here is an image with the output of those commands.

https://cdn.discordapp.com/attachments/ … 1841e72ae&

Offline

#4 2024-04-08 00:04:51

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

Re: [Solved] Networking: just getting started

How did you add that IP?

Offline

#5 2024-04-08 00:17:13

mrdudebro1
Member
Registered: 2022-04-25
Posts: 25

Re: [Solved] Networking: just getting started

Scimmia wrote:

How did you add that IP?

ip addr add 192.168.0.2/24 dev eno1

Last edited by mrdudebro1 (2024-04-08 00:17:30)

Offline

#6 2024-04-08 00:19:44

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

Re: [Solved] Networking: just getting started

So you're following the instructions for using iproute2? You seem to have missed the last part of that about setting up the routing table, you have no default route

ETA, make sure you set up DNS as well, likely just a static entry in resolv.conf.

Also note that this is temporary stuff, it won't set it up on boot.

Last edited by Scimmia (2024-04-08 00:22:20)

Offline

#7 2024-04-08 00:52:39

mrdudebro1
Member
Registered: 2022-04-25
Posts: 25

Re: [Solved] Networking: just getting started

Scimmia wrote:

So you're following the instructions for using iproute2? You seem to have missed the last part of that about setting up the routing table, you have no default route

ETA, make sure you set up DNS as well, likely just a static entry in resolv.conf.

Also note that this is temporary stuff, it won't set it up on boot.


https://cdn.discordapp.com/attachments/ … 758bb2f0b&

Update ^^ includes what my resolv.conf file looks like.

I've set up systemd to keep the networking information before. Just not sure where i'm stuck before that.

Offline

#8 2024-04-08 00:55:09

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

Re: [Solved] Networking: just getting started

The default route needs to go to your gateway, not to the local machine.

Offline

#9 2024-04-08 01:11:09

mrdudebro1
Member
Registered: 2022-04-25
Posts: 25

Re: [Solved] Networking: just getting started

Scimmia wrote:

The default route needs to go to your gateway, not to the local machine.

solved smile

Offline

Board footer

Powered by FluxBB