* [Buildroot] issue with dhcp on buildroot
@ 2015-11-11 8:47 Michael Schweikart
2015-11-11 10:48 ` Arnout Vandecappelle
2015-11-11 11:40 ` Gustavo Zacarias
0 siblings, 2 replies; 5+ messages in thread
From: Michael Schweikart @ 2015-11-11 8:47 UTC (permalink / raw)
To: buildroot
Hi,
i have setup a buildroot environment and build it. I deploy it on device under
test and the systems boots up(Kernel Version 4.3). As soon as the network and
udhcpc (v1.24.1) starts i get the following messages.
Sending discover...
udhcpc: sendto: Invalid argument.
Sending discover...
udhcpc: sendto: Invalid argument.
No lease, failing
If i setup an static ip address i am able to ping the device under test. I try
to ping a IP form the device under test i get the following error.
ping: sendto: Destination address required
Is there anybody out there how can support me?
best regards
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] issue with dhcp on buildroot
2015-11-11 8:47 [Buildroot] issue with dhcp on buildroot Michael Schweikart
@ 2015-11-11 10:48 ` Arnout Vandecappelle
2015-11-11 10:58 ` Michael Schweikart
2015-11-11 11:40 ` Gustavo Zacarias
1 sibling, 1 reply; 5+ messages in thread
From: Arnout Vandecappelle @ 2015-11-11 10:48 UTC (permalink / raw)
To: buildroot
On 11-11-15 09:47, Michael Schweikart wrote:
> Hi,
>
> i have setup a buildroot environment and build it. I deploy it on device under
> test and the systems boots up(Kernel Version 4.3). As soon as the network and
> udhcpc (v1.24.1) starts i get the following messages.
>
> Sending discover...
> udhcpc: sendto: Invalid argument.
> Sending discover...
> udhcpc: sendto: Invalid argument.
> No lease, failing
Is it possible that the Ethernet device doesn't exist yet when udhcpc starts?
When you start it from the command line, does it work?
>
> If i setup an static ip address i am able to ping the device under test. I try
> to ping a IP form the device under test i get the following error.
>
> ping: sendto: Destination address required
So you did the following:
ifconfig eth0 up 192.168.1.1
ping 192.168.1.2
and you get the 'Destination address required' error?
Does ping to the configured address work?
When you wireshark the link, do you see anything coming out?
Regards,
Arnout
>
> Is there anybody out there how can support me?
>
> best regards
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
>
--
Arnout Vandecappelle arnout at mind be
Senior Embedded Software Architect +32-16-286500
Essensium/Mind http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint: 7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] issue with dhcp on buildroot
2015-11-11 10:48 ` Arnout Vandecappelle
@ 2015-11-11 10:58 ` Michael Schweikart
0 siblings, 0 replies; 5+ messages in thread
From: Michael Schweikart @ 2015-11-11 10:58 UTC (permalink / raw)
To: buildroot
Hi,
no if i start it from the command line it is the same behavior.
Yes ping to the configured device works.
best regards
On 11.11.2015 11:48, Arnout Vandecappelle wrote:
> On 11-11-15 09:47, Michael Schweikart wrote:
>> Hi,
>>
>> i have setup a buildroot environment and build it. I deploy it on device under
>> test and the systems boots up(Kernel Version 4.3). As soon as the network and
>> udhcpc (v1.24.1) starts i get the following messages.
>>
>> Sending discover...
>> udhcpc: sendto: Invalid argument.
>> Sending discover...
>> udhcpc: sendto: Invalid argument.
>> No lease, failing
> Is it possible that the Ethernet device doesn't exist yet when udhcpc starts?
>
> When you start it from the command line, does it work?
>
>> If i setup an static ip address i am able to ping the device under test. I try
>> to ping a IP form the device under test i get the following error.
>>
>> ping: sendto: Destination address required
> So you did the following:
>
> ifconfig eth0 up 192.168.1.1
> ping 192.168.1.2
>
> and you get the 'Destination address required' error?
>
> Does ping to the configured address work?
>
> When you wireshark the link, do you see anything coming out?
>
>
> Regards,
> Arnout
>
>> Is there anybody out there how can support me?
>>
>> best regards
>> _______________________________________________
>> buildroot mailing list
>> buildroot at busybox.net
>> http://lists.busybox.net/mailman/listinfo/buildroot
>>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] issue with dhcp on buildroot
2015-11-11 8:47 [Buildroot] issue with dhcp on buildroot Michael Schweikart
2015-11-11 10:48 ` Arnout Vandecappelle
@ 2015-11-11 11:40 ` Gustavo Zacarias
2015-11-11 16:56 ` Michael Schweikart
1 sibling, 1 reply; 5+ messages in thread
From: Gustavo Zacarias @ 2015-11-11 11:40 UTC (permalink / raw)
To: buildroot
On 11/11/15 05:47, Michael Schweikart wrote:
> Hi,
>
> i have setup a buildroot environment and build it. I deploy it on device under
> test and the systems boots up(Kernel Version 4.3). As soon as the network and
> udhcpc (v1.24.1) starts i get the following messages.
>
> Sending discover...
> udhcpc: sendto: Invalid argument.
> Sending discover...
> udhcpc: sendto: Invalid argument.
> No lease, failing
>
> If i setup an static ip address i am able to ping the device under test. I try
> to ping a IP form the device under test i get the following error.
>
> ping: sendto: Destination address required
>
> Is there anybody out there how can support me?
>
> best regards
Hi, by any chance is that x86? (not x86_64)
Because kernel 4.3 and uclibc don't see eye-to-eye and this is one of
the problems i've got when trying that combination.
Switching to some other libc (musl, glibc) has no problem, and any
uclibc variant has this problem.
I guess it's related to the x86 vm86 patches/rework that went into 4.3,
since rolling back to 4.2.x makes the problem go away.
Regards.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] issue with dhcp on buildroot
2015-11-11 11:40 ` Gustavo Zacarias
@ 2015-11-11 16:56 ` Michael Schweikart
0 siblings, 0 replies; 5+ messages in thread
From: Michael Schweikart @ 2015-11-11 16:56 UTC (permalink / raw)
To: buildroot
Hi,
yes you are completely right. The configuration is for a x86. When I
change to the glibc it works.
Many thanks.
best regards
On 11.11.2015 12:40, Gustavo Zacarias wrote:
> On 11/11/15 05:47, Michael Schweikart wrote:
>
>> Hi,
>>
>> i have setup a buildroot environment and build it. I deploy it on
>> device under
>> test and the systems boots up(Kernel Version 4.3). As soon as the
>> network and
>> udhcpc (v1.24.1) starts i get the following messages.
>>
>> Sending discover...
>> udhcpc: sendto: Invalid argument.
>> Sending discover...
>> udhcpc: sendto: Invalid argument.
>> No lease, failing
>>
>> If i setup an static ip address i am able to ping the device under
>> test. I try
>> to ping a IP form the device under test i get the following error.
>>
>> ping: sendto: Destination address required
>>
>> Is there anybody out there how can support me?
>>
>> best regards
>
> Hi, by any chance is that x86? (not x86_64)
> Because kernel 4.3 and uclibc don't see eye-to-eye and this is one of
> the problems i've got when trying that combination.
> Switching to some other libc (musl, glibc) has no problem, and any
> uclibc variant has this problem.
> I guess it's related to the x86 vm86 patches/rework that went into
> 4.3, since rolling back to 4.2.x makes the problem go away.
> Regards.
>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2015-11-11 16:56 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-11 8:47 [Buildroot] issue with dhcp on buildroot Michael Schweikart
2015-11-11 10:48 ` Arnout Vandecappelle
2015-11-11 10:58 ` Michael Schweikart
2015-11-11 11:40 ` Gustavo Zacarias
2015-11-11 16:56 ` Michael Schweikart
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox