mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: Neeraj Pal <neerajpal09@gmail.com>, barebox@lists.infradead.org
Subject: Re: network configuration setup - dhcp
Date: Tue, 13 Apr 2021 21:07:05 +0200	[thread overview]
Message-ID: <acf0a309-ab9c-c082-ccc1-358216a68232@pengutronix.de> (raw)
In-Reply-To: <CANi4_RVykfmmyPAcDbBAz2O134kB8d7h0nzPr7H1o92jWBe6Ow@mail.gmail.com>

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

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


  reply	other threads:[~2021-04-13 19:12 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-13 17:07 Neeraj Pal
2021-04-13 19:07 ` Ahmad Fatoum [this message]
2021-04-16 17:58   ` Neeraj Pal
2021-04-16 18:07     ` Neeraj Pal
2021-04-17  4:41       ` Neeraj Pal
2021-04-19  7:46         ` Ahmad Fatoum
2021-04-19 18:09           ` Neeraj Pal
2021-04-19 19:14             ` Ahmad Fatoum
2021-04-20 18:27               ` Neeraj Pal
     [not found]                 ` <CANi4_RWFjaaHpJCbY7SXpZyYsAr=saTW1UCrLbS+QQr2Z_ZKFQ@mail.gmail.com>
2021-04-21 11:33                   ` Ahmad Fatoum
2021-04-21 18:44                     ` Neeraj Pal

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=acf0a309-ab9c-c082-ccc1-358216a68232@pengutronix.de \
    --to=a.fatoum@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=neerajpal09@gmail.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