Link to home
Start Free TrialLog in
Avatar of Member_2_6492660_1
Member_2_6492660_1Flag for United States of America

asked on

Raspberry PI no IP Address

I have and older model Raspberry PI which used DHCP to obtain its ip address.

I recently moved my data center and powered off all my devices including my Rasberry PI

When I run ifconfig    I only see ipv6 address no ipv4 addess  

eth0 is not configured from what I can tell

I use to be able to ssh in the box   but the device with my dhcp address is not assigned.

Any ideas on how I can setup my network on this device again?
Avatar of Dr. Klahn
Dr. Klahn

Under recent releases of linux, network interfaces have device-unique names such as "enp0s1"  No longer is eth0 the first ethernet interface.  As you might expect this broke, and continues to break, quite a lot of things.  Since you refer to "eth0" in the problem statement I suspect you are seeing some fallout from that.

You could:

a) come forward to a more recent release of linux and embrace the device-unique name scheme
b) apply the eth0 workaround to your existing linux -- but it ain't "just that simple"; see the link below, and if you use a systemd init instead of a SysV init, it's probably too complicated for the average user to attempt
c) troubleshoot the existing system ad-hoc using the device-unique name.

I use a SysV init and found it easiest to leave all my config files as they were and return the ethernet interface to the previous eth0 name.

https://wiki.debian.org/NetworkInterfaceNames
ASKER CERTIFIED SOLUTION
Avatar of noci
noci

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Member_2_6492660_1

ASKER

Yes the PI is on the same vlan as my DHCP servers

No sure about the answers to the device

checking some thing now 
Any clou to the actual problem? So other can benefit as well.