Skip to contentSkip to conversation

DHCP at boot

U-Boot Paul MARCHAND 2 participants 2 messages Jun 21, 2015 – Jun 22, 2015

lore
Share & tools
lore
#0 lore raw

Hello

I've got a banana pi since few days.
It's based on a Sunxi u boot but i'm using the Mainline u-boot.

I'm using debian and i don't find how to get a working connection at boot.

I need to have an IP at boot who permit me to connect over SSH and unlock a LUKS Volume.

I got a EFIKA MX and there is a boot.script in /boot but with the banana pi I only have a boot.scr file.

How can I get a working connection with DHCP at boot ?

Now I only have :

Quoted 7 lines

IP-Config: eth0 hardware address 02:c4:06:82:13:47 mtu 1500 DHCP Please unlock disk mmcblk0p5_crypt:
IP-Config: no response after 2 secs - giving up
IP-Config: eth0 hardware address 02:c4:06:82:13:47 mtu 1500 DHCP
IP-Config: no response after 3 secs - giving up
IP-Config: no response after 16 secs - giving up /scripts/init-premount/dropbear: line 32: ipconfig: not found

Thanks in advance

Paul.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150621/0b47fb5d/attachment.sig>

#1 lore raw

Dear Paul,

Quoted 3 lines · In message <[email protected]> you wrote:

Now I only have :

Quoted 1 line

IP-Config: eth0 hardware address 02:c4:06:82:13:47 mtu 1500 DHCP

...

Quoted 4 lines
Quoted 4 lines

IP-Config: no response after 2 secs - giving up
IP-Config: eth0 hardware address 02:c4:06:82:13:47 mtu 1500 DHCP
IP-Config: no response after 3 secs - giving up
IP-Config: no response after 16 secs - giving up

Here the Linux Kernel (not U-Boot - you are actually off topic on this list) is telling you that it is trying to aut-configure the board's IP address using DHCP, but it is not getting any responses from your DHCP server.

Do you actually have a DHCP server running?

Oh, and BTW: it seems you are not using a valid MAC address?

Best regards,

Wolfgang Denk

Signature · 5 lines
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
While money can't buy happiness, it certainly lets  you  choose  your
own form of misery.