mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: "Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>
To: Haris Papadopoulos <haris@amberbox.com>
Cc: barebox@lists.infradead.org
Subject: Re: How to renew eth0 settings without doing a reset
Date: Thu, 26 Jan 2017 21:14:39 +0100	[thread overview]
Message-ID: <20170126201439.jmep3cybbl33s342@pengutronix.de> (raw)
In-Reply-To: <CACmkAZGnw=pCsaRQ9RRa2kBoUEDbEHzV6QJpii6Q+e25VrW02Q@mail.gmail.com>

On Wed, Jan 25, 2017 at 02:53:54PM +0000, Haris Papadopoulos wrote:
> Hi,
> 
> I am trying to configure a static ip address for my barebox.
> 
> I edit the file /env/network/eth0 and then I do saveenv.
> 
> Then I do ifup eth0. There is no ifdown command in barebox.
> 
> I noticed that the only way to make the new ip address effective is to
> reset the board. However, I will be doing this process with a script
> or maybe remotely.
> 
> Therefore, I would like to make the new address effective without a
> reset. How is that possible?

eth0.ipaddress=1.2.3.4

should work

Best regards
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

      parent reply	other threads:[~2017-01-26 20:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-25 14:53 Haris Papadopoulos
2017-01-25 18:34 ` Ian Abbott
2017-01-26 20:14 ` Uwe Kleine-König [this message]

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=20170126201439.jmep3cybbl33s342@pengutronix.de \
    --to=u.kleine-koenig@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=haris@amberbox.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox