network configuration setup - dhcp

Ahmad Fatoum a.fatoum at pengutronix.de
Tue Apr 13 20:07:05 BST 2021


Hi,

On 13.04.21 19:07, Neeraj Pal wrote:
> Hi all,
> 
> I read the readme but not able to configure the barebox DHCP network.
> Tried setting up some environment variables like nameserver,
> server.ip, etc but not successful.

There is more documentation besides the README. For networking see
https://barebox.org/doc/latest/user/networking.html

> I have compiled and executed the barebox binary with or without root
> (through sudo) on Ubuntu 20.04 focal LTS
> 
> I was thinking to configure manually in the sdcard just like uboot
> setup then check for the network but still, this work is in progress.
> 
> Could someone please point in the correct direction where I just
> configure the DHCP and it will automatically load the network?
> So, that I can start using NFS.

The default barebox boot target is to net boot. It'll try to get
a DHCP address and then load some predefined files over TFTP
(If it fails, it'll tell you which ones).

If that didn't work, you'll need to tell more about your setup?
What board are you using barebox on?

Part of the question reads like you are using it while Linux is
running (sandbox) and some other like you'd run it directly as
bootloader. Also what kind of errors do you get, can you copy them here?

Cheers,
Ahmad

> 
> 
> thanks,
> Neeraj
> 
> _______________________________________________
> barebox mailing list
> barebox at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list