From: "Rudolf J Streif" <rudolf.streif@ibeeto.com>
To: jchludzinski@vivaldi.net, Yocto <yocto@lists.yoctoproject.org>
Subject: Re: [yocto] Assign IP address at boot time
Date: Tue, 9 Mar 2021 16:45:00 -0800 [thread overview]
Message-ID: <5bce46d6-e995-ea21-9162-5d15b95afa29@ibeeto.com> (raw)
In-Reply-To: <5f0f65cc3e08a66871af9e3012c4f642@vivaldi.net>
[-- Attachment #1.1.1.1: Type: text/plain, Size: 1136 bytes --]
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 #1.1.1.2: Type: text/html, Size: 3087 bytes --]
[-- Attachment #1.1.2: OpenPGP_0x8D8CA82927339B75.asc --]
[-- Type: application/pgp-keys, Size: 1717 bytes --]
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 505 bytes --]
next prev parent reply other threads:[~2021-03-10 0:45 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-09 21:27 Assign IP address at boot time jchludzinski
2021-03-10 0:45 ` Rudolf J Streif [this message]
2021-03-10 7:34 ` [yocto] " 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=5bce46d6-e995-ea21-9162-5d15b95afa29@ibeeto.com \
--to=rudolf.streif@ibeeto.com \
--cc=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.