mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Ian Abbott <abbotti@mev.co.uk>
To: Haris Papadopoulos <haris@amberbox.com>, barebox@lists.infradead.org
Subject: Re: How to renew eth0 settings without doing a reset
Date: Wed, 25 Jan 2017 18:34:02 +0000	[thread overview]
Message-ID: <5ef12c77-a100-e7ae-f47b-438af3776941@mev.co.uk> (raw)
In-Reply-To: <CACmkAZGnw=pCsaRQ9RRa2kBoUEDbEHzV6QJpii6Q+e25VrW02Q@mail.gmail.com>

On 25/01/17 14:53, 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?

Have you tried the ifup command's -f option to force it to reconfigure 
the interface?

I'm not sure when that option was added to barebox.

-- 
-=( Ian Abbott @ MEV Ltd.    E-mail: <abbotti@mev.co.uk> )=-
-=(                          Web: http://www.mev.co.uk/  )=-

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

  reply	other threads:[~2017-01-25 18:34 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 [this message]
2017-01-26 20:14 ` Uwe Kleine-König

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=5ef12c77-a100-e7ae-f47b-438af3776941@mev.co.uk \
    --to=abbotti@mev.co.uk \
    --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