Hi there,

On 3/9/21 1:27 PM, jchludzinski via lists.yoctoproject.org wrote:
Where do I assign a static IP address to my sole network interface?

That depends on whether or not you are using a network manager and if so which one.

You haven't told us much about your board and it's network interfaces and how you built your system.

I tried using the Linux boot parameters (in extlinux.conf):

*LABEL Arria10 SOCDK SDMMC*
*    KERNEL ../zImage*
*    FDT ../socfpga_arria10_phead.dtb*
*    APPEND root=/dev/mmcblk0p2 rw rootwait earlyprintk console=ttyS0,115200n8 ip=192.168.0.101:255.255.255.0:eth0*
Then I tried editing: /etc/network/interfaces
*iface eth0 inet static *
*address 192.168.0.101*
*netmask 255.255.255.0*
Both failed. Where do I go?

To start, do you have the driver required for your network interface? You can use ifconfig -a to see if your network interface is detected by the kernel. You should also look at the kernel log if the network interface is configured.

:rjs




--
Rudolf J Streif
CEO/CTO ibeeto
+1.855.442.3386 x700

Attachment: OpenPGP_0x8D8CA82927339B75.asc
Description: application/pgp-keys

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#52637): https://lists.yoctoproject.org/g/yocto/message/52637
Mute This Topic: https://lists.yoctoproject.org/mt/81212608/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to