Take the 2-minute tour ×
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It's 100% free, no registration required.

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?

share|improve this question

1 Answer 1

up vote 0 down vote accepted

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

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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