Page 1 of 2
Can't find IP address
Posted: 05 Nov 2021, 10:22
by Purecade
I tried to modify the static IP address of the Raspberry Pi. After the modification, I can still use it and find the IP address. However, after a week, I can no longer find the IP address and cannot log in with SSH. My two The modules are all like this: RevPi Core3 and RevPi Connect+, is there a way to solve them.
Steps to modify static IP address:
1、Input command:sudo nano /etc/dhcpcd.conf
2、Add content in dhcpcd.conf:
interface eth0
static ip_address=192.168.1.100/24
static routers=192.168.1.1
static domain_name_servers=192.168.1.1
Re: Can't find IP address
Posted: 10 Nov 2021, 11:01
by dirk
Hello with interest I read your description of the problem.
I can understand the steps you have taken.
Probably you just forgot one letter
Shouldn't it say "interface eth0"?
Re: Can't find IP address
Posted: 11 Nov 2021, 08:14
by Purecade
dirk wrote: ↑10 Nov 2021, 11:01
Hello with interest I read your description of the problem.
I can understand the steps you have taken.
Probably you just forgot one letter
Shouldn't it say "interface eth0"?
Hello,This may be accidentally deleted when I took the screenshot, but I can be sure that I wrote "interface eth0"
Re: Can't find IP address
Posted: 15 Nov 2021, 14:34
by Salma Benamor
Hello Cade,
please reset to factory defaults vis this link:
https://kunbus-gmbh.atlassian.net/servi ... /836468748
Best regards.
Re: Can't find IP address
Posted: 16 Nov 2021, 10:17
by Purecade
Hello,
I know that resetting the system can solve the problem, but my project must have a static IP address. The same setting still causes me to find the IP address. I have tried to reset the system, but if I set a static IP address, I still cannot find the IP address.Do you know any other way, thanks you.
Re: Can't find IP address
Posted: 16 Nov 2021, 12:20
by nicolaiB
Hi Purecade,
which image version do you run (cat /etc/revpi/image-release)? Is there any error message in the logs after the connection is lost (reboot and check with jourctl -u dhcpcd)?
Nicolai
Re: Can't find IP address
Posted: 16 Nov 2021, 13:36
by Purecade
nicolaiB wrote: ↑16 Nov 2021, 12:20
Hi Purecade,
which image version do you run (cat /etc/revpi/image-release)? Is there any error message in the logs after the connection is lost (reboot and check with jourctl -u dhcpcd)?
Nicolai
Hi Nicolai,
I run buster imager.I want to connect my RevPi Core 3,but I can't do SSH login.And my Mirco USB port is broken and I cannot reset the system.For my RecvPi Connect, I fixed the Ethernet port A, but I can't find the IP address for both interfaces. I am very troubled.
Purecade
Re: Can't find IP address
Posted: 16 Nov 2021, 13:56
by nicolaiB
Hu Purecase,
so you basicaly have two problems:
Purecade wrote: ↑16 Nov 2021, 13:36
I want to connect my RevPi Core 3,but I can't do SSH login.And my Mirco USB port is broken and I cannot reset the system
Does the local login via an attached HDMI monitor work?
Purecade wrote: ↑16 Nov 2021, 13:36
For my RecvPi Connect, I fixed the Ethernet port A, but I can't find the IP address for both interfaces. I am very troubled.
What do you mean with "fixed the Ethernet port"? What did you try to configure the ip addresses (please share complete configuration file)?
Nicolai
Re: Can't find IP address
Posted: 16 Nov 2021, 14:20
by Purecade
nicolaiB wrote: ↑16 Nov 2021, 13:56
Hu Purecase,
so you basicaly have two problems:
Purecade wrote: ↑16 Nov 2021, 13:36
I want to connect my RevPi Core 3,but I can't do SSH login.And my Mirco USB port is broken and I cannot reset the system
Does the local login via an attached HDMI monitor work?
Purecade wrote: ↑16 Nov 2021, 13:36
For my RecvPi Connect, I fixed the Ethernet port A, but I can't find the IP address for both interfaces. I am very troubled.
What do you mean with "fixed the Ethernet port"? What did you try to configure the ip addresses (please share complete configuration file)?
Nicolai
Purecade wrote: ↑16 Nov 2021, 13:36
Does the local login via an attached HDMI monitor work?
Yeah,I try it.But I can’t enter the desktop, and I get stuck in the process of entering.It shows:[Failed]Failed to start File system Check on Root Device.
Purecade wrote: ↑16 Nov 2021, 13:36
What do you mean with "fixed the Ethernet port"? What did you try to configure the ip addresses (please share complete configuration file)?
Sorry,Maybe my expression is inaccurate.I mean to set a static IP address.
Re: Can't find IP address
Posted: 17 Nov 2021, 02:33
by Purecade
nicolaiB wrote: ↑16 Nov 2021, 13:56
Hu Purecase,
so you basicaly have two problems:
Purecade wrote: ↑16 Nov 2021, 13:36
I want to connect my RevPi Core 3,but I can't do SSH login.And my Mirco USB port is broken and I cannot reset the system
Does the local login via an attached HDMI monitor work?
Purecade wrote: ↑16 Nov 2021, 13:36
For my RecvPi Connect, I fixed the Ethernet port A, but I can't find the IP address for both interfaces. I am very troubled.
What do you mean with "fixed the Ethernet port"? What did you try to configure the ip addresses (please share complete configuration file)?
Nicolai
Purecade wrote: ↑16 Nov 2021, 13:36
I modified dhcpcd.conf,Add content in dhcpcd.conf:
interface eth0
static ip_address=192.168.1.100/24
static routers=192.168.1.1
static domain_name_servers=192.168.1.1