bjones1 / NIST-UAS-3.2

1 stars 0 forks source link

Ethernet not getting an address #2

Closed bjones1 closed 2 years ago

bjones1 commented 2 years ago

Hi Terese,

We have run into an issue with the image provided.

We followed the instructions. We used Rufus-3.17 to create a partition on a 64 GB SD card with the image you provided. This was inserted into the Raspberry Pi 4 (2 GB RAM) and booted up. We logged in with the user ID and password provided in the readme. Once the iperf3 servers were set up, we conducted the data tests using the Pi’s WiFi network first to make sure that was working. This was done using an Ubuntu laptop connected to the Pi network using the command ‘iperf3 -c 192.168.3.1 -p 5201. This worked.

Next, we tried to do the same data test using a spare WiFi router (Tp-Link AC1900) connected to the Pi’s Ethernet port and the other end connected to the WiFi’s ethernet port. The WiFi router was setup with DHCP enabled. The laptop was then connected to the router via WiFi (and this can be seen on the router’s settings page). However, the Raspberry Pi does not seem to recognize an ethernet connection. When we check “ifconfig”, the eth0 port shows no IP address and the LED light is not flashing to show a connection between the router and the Pi. We have also tried creating a dhcp.conf file to give the Pi a Static IP but permission was denied.

Is there any guidance your team can give us?

Thanks,

Jared

bjones1 commented 2 years ago

​We have also tried creating a dhcp.conf file to give the Pi a Static IP but permission was denied.

​The fix for this is to use sudo and the correct name: sudo pico /etc/​dhcpcd.conf would allow edits to that file.​ Obviously, there's more going on we need to address as well.