Hi Jose,

To change to a static IP requires updating the network interfaces configuration 
file at `/etc/network/interfaces.d/eth0`. That file should have an example of a 
static ip configuration that is commented out. First connect to the board using 
its dhcp address, or via a serial connection from the onboard micro USB port.

In that file configuration file, change the dhcp configuration: 

```
auto eth0
iface eth0 inet dhcp
```
to a static IP configuration:

```
auto eth0
iface eth0 inet static
address 192.168.2.100
netmask 255.255.255.0
```

The address and netmask would need to be adjusted for your desired static 
configuration.

Hope this helps,
Mitch

> On Nov 15, 2024, at 6:50 AM, Jose Vargas <[email protected]> wrote:
> 
> Hello everyone,
> 
> I am currently trying to fixing the IP address of my RFSoC4x2, but the board 
> is configured by default to use DHCP to receive automatically an IP address.
> 
> Is there a way to assign manually a static IP address and boot the board with 
> that?
> 
> Best regards,
> José Vargas
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "[email protected]" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] 
> <mailto:[email protected]>.
> To view this discussion visit 
> https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/8fcb5867-6606-491a-b577-d953d2febc9en%40lists.berkeley.edu
>  
> <https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/8fcb5867-6606-491a-b577-d953d2febc9en%40lists.berkeley.edu?utm_medium=email&utm_source=footer>.

-- 
You received this message because you are subscribed to the Google Groups 
"[email protected]" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/5DD0DDAA-0D6A-4BA5-AB3A-9257D65FE331%40gmail.com.

Reply via email to