You are not logged in.

#1 2021-03-24 12:56:42

Zkarvx
Member
Registered: 2021-03-24
Posts: 6

IP configuration was unavilable

Hello everyone ,
i am new user of arch linux . i was connecting raspberry pi model 3b with my arch laptop via ethernet cable but arch give this error.
error message

Offline

#2 2021-03-24 13:38:57

Ferdinand
Member
From: Norway
Registered: 2020-01-02
Posts: 338

Re: IP configuration was unavilable

I assume your network cable is twisted pair? In which case, if you want to connect the two directly, you need a crossover cable.

It may be easier to use normal network cables and attach both to a switch or hub.

Unless you have a home router or something with DHCP, you must also set IP addresses and subnet masks manually.

If you provide more information it is easier to help.

Offline

#3 2021-03-24 13:59:03

schard
Forum Moderator
From: Hannover
Registered: 2016-05-06
Posts: 2,688
Website

Re: IP configuration was unavilable

Ferdinand wrote:

I assume your network cable is twisted pair? In which case, if you want to connect the two directly, you need a crossover cable.

This hasn't been true for several decades now, thanks to Auto-MDI-X.


Inofficial first vice president of the Rust Evangelism Strike Force

Offline

#4 2021-03-24 14:09:10

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,696

Re: IP configuration was unavilable

Are the link lights on?
Have you assigned a static IP address to each machine?
Are they in the same subnet?
Are you, by chance, running a DHCP server on your Arch box so that you don't need to give the RasPi a static address?
How are you trying to communicate betwixt the two?  ssh?
Can the machines "ping" each other?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#5 2021-03-24 14:12:26

Ferdinand
Member
From: Norway
Registered: 2020-01-02
Posts: 338

Re: IP configuration was unavilable

Haha, I am getting old and rusty yikes
Thank's for correcting me @schard smile
So basically what's needed is to configure IP in both ends, it would seem - based on the "IP configuration unavailable" message.

Edit: Old and slow - ewaller was first smile

Last edited by Ferdinand (2021-03-24 14:13:59)

Offline

#6 2021-03-25 02:28:43

Zkarvx
Member
Registered: 2021-03-24
Posts: 6

Re: IP configuration was unavilable

ewaller wrote:

Are the link lights on?
Have you assigned a static IP address to each machine?
Are they in the same subnet?
Are you, by chance, running a DHCP server on your Arch box so that you don't need to give the RasPi a static address?
How are you trying to communicate betwixt the two?  ssh?
Can the machines "ping" each other?

yeah light is on.
no i haven't added static ip address.

what i have done
1> i have conneted my laptop with my phone's wifi .
2> after that i connected ethernet cable from raspberry pi to arch laptop.

i am not running DHCP server or anything like that.

Offline

#7 2021-03-25 02:29:22

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: IP configuration was unavilable

So where did you expect the IP address to come from?

Offline

#8 2021-03-25 03:27:37

Zkarvx
Member
Registered: 2021-03-24
Posts: 6

Re: IP configuration was unavilable

Scimmia wrote:

So where did you expect the IP address to come from?

my bad . how i do ip configuration then  i never done something like this . Sorry

Offline

#9 2021-03-25 08:14:59

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,546

Re: IP configuration was unavilable

https://wiki.archlinux.org/index.php/Ne … IP_address
What are you trying to do? Do you intend to make the raspi a router or share/forward some internet access etc?

Online

#10 2021-03-25 09:00:23

Zkarvx
Member
Registered: 2021-03-24
Posts: 6

Re: IP configuration was unavilable

seth wrote:

https://wiki.archlinux.org/index.php/Ne … IP_address
What are you trying to do? Do you intend to make the raspi a router or share/forward some internet access etc?

i am trying to make raspberry pi a server.
i have solved "IP configuration was unavilable" error thanks to everyone above but i don't get ssh connection to raspberry pi for that i am going to raspberry fourm.

Offline

#11 2021-03-25 09:03:45

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,546

Re: IP configuration was unavilable

A server for one client only?
If you intend to attach a switch and a bunch of clients, consider running a dhcp server on the raspi as well.

Online

#12 2021-03-25 15:35:00

Zkarvx
Member
Registered: 2021-03-24
Posts: 6

Re: IP configuration was unavilable

seth wrote:

A server for one client only?
If you intend to attach a switch and a bunch of clients, consider running a dhcp server on the raspi as well.

one client currently.
okay i will keep in mind.

Offline

Board footer

Powered by FluxBB