All of lore.kernel.org
 help / color / mirror / Atom feed
From: "jchludzinski" <jchludzinski@vivaldi.net>
To: Yocto <yocto@lists.yoctoproject.org>
Subject: Assign IP address at boot time
Date: Tue, 09 Mar 2021 16:27:56 -0500	[thread overview]
Message-ID: <5f0f65cc3e08a66871af9e3012c4f642@vivaldi.net> (raw)

[-- Attachment #1: Type: text/plain, Size: 493 bytes --]

Where do I assign a static IP address to my sole network interface?

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?

[-- Attachment #2: Type: text/html, Size: 1584 bytes --]

             reply	other threads:[~2021-03-09 21:28 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-09 21:27 jchludzinski [this message]
2021-03-10  0:45 ` [yocto] Assign IP address at boot time Rudolf J Streif
2021-03-10  7:34   ` jchludzinski
2021-03-10 16:02     ` Rudolf J Streif
2021-03-10 19:31       ` jchludzinski
2021-03-10 19:51         ` Rudolf J Streif
2021-03-10 21:32           ` jchludzinski
2021-03-10 23:50             ` Rudolf J Streif
2021-03-11 18:12               ` jchludzinski
2021-03-11 22:42                 ` Rudolf J Streif
2021-03-12  5:37                 ` Chen Qi
2021-03-10  9:39 ` Zoran

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5f0f65cc3e08a66871af9e3012c4f642@vivaldi.net \
    --to=jchludzinski@vivaldi.net \
    --cc=yocto@lists.yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.