0

If i connect my Beaglebone Black, which runs on Angstrom, to my computer via ethernet cable, It obtains an IP address, which starts with 169.254.xxx.xxx, for communication purposes. And I can communicate with it using TCP protocols. I can see that IP address when I use "ifconfig" command in terminal. But If it runs on Android, it doesn't obtain an IP address. Since there isn't "ifconfig" command in Android terminal, I'm using "netcfg" to see IP information and it shows that Beaglebone doesn't have an IP address. I need to somehow "force" my Beaglebone Black to obtain an IP address (like 169.254.xxx.xxx). How can I fix that?

0

I found the solution. I can give a static IP to my Beaglebone via shell scripts (or adb):

ifconfig eth0 up 169.254.13.13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.