Re: [casper] Set static IP on RFSoC4x2

2024-11-19 Thread Liju Philip
Hi José,

Recently I got it to work on a different board. I used serial communication
and set static IP on the board.
A micro-USB cable between the board and a Windows laptop, with
Tera-Term, baud 115200, 8 data bits.
Here's the documentation:
https://casper-toolflow.readthedocs.io/projects/tutorials/en/latest/tutorials/rfsoc/tut_getting_started.html#platform-processor-system-setup

You could give this a try if you already haven't. Hope this helps.

cheers,
--Liju




On Fri, Nov 15, 2024 at 8:50 AM Jose Vargas  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].
> To view this discussion visit
> https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/8fcb5867-6606-491a-b577-d953d2febc9en%40lists.berkeley.edu
> 
> .
>

-- 
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/CA%2BrQCpZbf0%2BTJu6cgmn0B1sioE%3DT-1r3Yr57wVRra_YOeRk6Vw%40mail.gmail.com.


Re: [casper] Set static IP on RFSoC4x2

2024-11-15 Thread Mitchell Burnett
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  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] 
> .
> To view this discussion visit 
> https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/8fcb5867-6606-491a-b577-d953d2febc9en%40lists.berkeley.edu
>  
> .

-- 
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.