I am attempting to ssh into the raspi (armv7) using ethernet from my laptop which is running ubuntu. However, there isn't any ip assigned to eth0 on both my laptop and the pi. When the pi is connected to the ethernet port from the router it is assigned an ip which means that the port is working. I was able to successfully ssh into the pi using wifi but not direct ethernet connection. Here are some of the details from the pi:
$this->bbcode_second_pass_code('', 'ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN group default qlen 1000
link/ether b8:27:eb:bd:fc:dc brd ff:ff:ff:ff:ff:ff
inet6 fe80::ba27:ebff:febd:fcdc/64 scope link
valid_lft forever preferred_lft forever
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether b8:27:eb:e8:a9:89 brd ff:ff:ff:ff:ff:ff
inet 192.168.43.83/24 brd 192.168.43.255 scope global dynamic noprefixroute wlan0
valid_lft 3363sec preferred_lft 2796sec
inet6 fe80::ba27:ebff:fee8:a989/64 scope link
valid_lft forever preferred_lft forever')
$this->bbcode_second_pass_code('', 'route -ne
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
0.0.0.0 192.168.43.1 0.0.0.0 UG 0 0 0 wlan0
192.168.43.0 0.0.0.0 255.255.255.0 U 0 0 0 wlan0')
$this->bbcode_second_pass_code('', 'cat /etc/resolv.conf
# Generated by resolvconf
nameserver 192.168.43.1')
$this->bbcode_second_pass_code('', 'cat /etc/dhcpcd.conf
# A sample configuration for dhcpcd.
# See dhcpcd.conf(5) for details.
# Allow users of this group to interact with dhcpcd via the control socket.
#controlgroup wheel
# Inform the DHCP server of our hostname for DDNS.
hostname
# Use the hardware address of the interface for the Client ID.
#clientid
# or
# Use the same DUID + IAID as set in DHCPv6 for DHCPv4 ClientID as per RFC4361.
# Some non-RFC compliant DHCP servers do not reply with this set.
# In this case, comment out duid and enable clientid above.
duid
# Persist interface configuration when dhcpcd exits.
persistent
# Rapid commit support.
# Safe to enable by default because it requires the equivalent option set
# on the server to actually work.
option rapid_commit
# A list of options to request from the DHCP server.
option domain_name_servers, domain_name, domain_search, host_name
option classless_static_routes
# Respect the network MTU. This is applied to DHCP routes.
option interface_mtu
# Most distributions have NTP support.
#option ntp_servers
# A ServerID is required by RFC2131.
require dhcp_server_identifier
# Generate SLAAC address using the Hardware Address of the interface
#slaac hwaddr
# OR generate Stable Private IPv6 Addresses based from the DUID
slaac private
noipv4ll')