LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Arch
User Name
Password
Arch This Forum is for the discussion of Arch Linux.

Notices


Reply
  Search this Thread
Old 01-23-2023, 08:44 PM   #1
Procenko
Member
 
Registered: May 2022
Posts: 144

Rep: Reputation: 1
Question No network connection after installing new system


Use this guide for installation

https://wiki.archlinux.org/title/ins...t-installation

After rebooting to new system no network connection
"ip a" say that link is present(enp3s0: <broadcast,multicast,up,lower_up>)but ping say that "temporary failure in name resolution"

no network manager, no dhcpd, cant install anything

how manually configure network?

please help

ps wiered network cable via router

Last edited by Procenko; 01-23-2023 at 09:00 PM.
 
Old 01-23-2023, 08:56 PM   #2
Procenko
Member
 
Registered: May 2022
Posts: 144

Original Poster
Rep: Reputation: 1
try make this solution, no luck
https://www.tecmint.com/resolve-temp...me-resolution/
 
Old 01-23-2023, 09:09 PM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,742

Rep: Reputation: 5923Reputation: 5923Reputation: 5923Reputation: 5923Reputation: 5923Reputation: 5923Reputation: 5923Reputation: 5923Reputation: 5923Reputation: 5923Reputation: 5923
Assign an IP address for your network device like.
ip a add 192.168.1.200/24 dev enp3s0

Add route that points to your router's LAN address
ip route add 192.168.1.0/24 via 192.168.1.1

Change the network and router IP address to match your network.
 
1 members found this post helpful.
Old 01-23-2023, 09:25 PM   #4
Procenko
Member
 
Registered: May 2022
Posts: 144

Original Poster
Rep: Reputation: 1
thank you!

>ip a add 192.168.1.200/24 dev enp3s0
applied

>ip route add 192.168.1.0/24 via 192.168.1.1
Error: Invalid prefix for given prefix length.
 
Old 01-23-2023, 09:35 PM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,742

Rep: Reputation: 5923Reputation: 5923Reputation: 5923Reputation: 5923Reputation: 5923Reputation: 5923Reputation: 5923Reputation: 5923Reputation: 5923Reputation: 5923Reputation: 5923
Oops,

ip route add default via 192.168.0.1

Make sure you change the addresses to match your network.

Last edited by michaelk; 01-23-2023 at 09:40 PM.
 
1 members found this post helpful.
Old 01-23-2023, 09:38 PM   #6
Procenko
Member
 
Registered: May 2022
Posts: 144

Original Poster
Rep: Reputation: 1
change for my network, same, sorry

>ip a add 192.168.0.200/24 dev enp3s0
applied

>ip route add 192.168.0.1/24 via 192.168.0.1
Error: Invalid prefix for given prefix length.
 
Old 01-23-2023, 09:40 PM   #7
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,742

Rep: Reputation: 5923Reputation: 5923Reputation: 5923Reputation: 5923Reputation: 5923Reputation: 5923Reputation: 5923Reputation: 5923Reputation: 5923Reputation: 5923Reputation: 5923
Check post 5 for correct syntax.
 
1 members found this post helpful.
Old 01-23-2023, 09:42 PM   #8
Procenko
Member
 
Registered: May 2022
Posts: 144

Original Poster
Rep: Reputation: 1
>ip route add default via 192.168.0.1
Error: Nexthop has invalid gateway.
 
Old 01-23-2023, 09:45 PM   #9
Procenko
Member
 
Registered: May 2022
Posts: 144

Original Poster
Rep: Reputation: 1
Bingo!
link down/up - ping working!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Network Manager Wifi connection always gets recognized as new device in public network dosensuppe Linux - Networking 2 01-05-2023 05:32 PM
[SOLVED] network connection fails after installing Arch linux. porphyry5 Linux - Networking 12 12-16-2019 12:03 PM
Long Delay After Entering Username via SSH after PC lost network connection meng2000 Linux - Server 3 10-17-2017 02:23 AM
[SOLVED] Network eth0 activated upon boot in ifcfg-eth0; but no network connection after login TomRaaijmakers Linux - Networking 1 06-17-2010 08:29 AM
passwd.new, shadow.new, group.new and gshadow.new after upgrade to slackware 12.1 rhermsen Slackware 6 11-08-2008 04:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Arch

All times are GMT -5. The time now is 12:02 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration