How to renew eth0 settings without doing a reset

Uwe Kleine-König u.kleine-koenig at pengutronix.de
Thu Jan 26 12:14:39 PST 2017


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/  |



More information about the barebox mailing list