I'm playingwith an Angstrom console image on my rev. A5B (brand new) BeagleBone Black. I just compiled the Angstrom image this morning, it looks like it is a 3.8.13 kernel. I've searched for instructions on using "connman" in Angstrom. How do I use connman to set up a static ip address for the Beaglebone?
Put another way, what is the accepted way to set up a static IP on an Angstrom distribution?
I'm playingwith an Angstrom console image on my rev. A5B (brand new)
BeagleBone Black. I just compiled the Angstrom image this morning, it looks
like it is a 3.8.13 kernel. I've searched for instructions on using
"connman" in Angstrom. How do I use connman to set up a static ip address
for the Beaglebone?
Pretty sure the info in this blog post still applies:
Yes this works just great. I had to install the connman-tests package, then follow the rest of the blog post to set the IP address I wanted. Then I set the host name in /etc/hosts. Then I made sure my forward and reverse zone files on the name server are correct, and that dhcpd isn't giving out the static address for fun. I rebooted the Beaglebone Black and now I have a lovely new member of the network.
Note, connman will make your desired IP address effective immediately upon issuing `set-ipv4-method [..]'. This means that if you originally ssh'd into the root account under a different IP address that was assigned to the ethernet, such as through dhcp, you will lose your ssh connection. You can reconnect using the new ip address you gave connman.
For example suppose you ssh'ed in to the beaglebone using the ethernet IP address that dhcp originally gave it of 192.168.1.2. And you used connman's `set-ipv4-method' to set a static IP address of 192.168.1.176. The static IP becomes effective immediately and the ssh connection to 192.168.1.2 is dropped. To continue work you need to ssh to 192.168.1.176.
Thank you very much for your help.
When yo say you “just compiled Angstrom image”, how exactly, and where did you find directions for this. I’m pulling my hair out…
Any help would be greatly appreciated.
I’m presuming that you’re already following the instructions here (replacing beagleboard with beaglebone if you’re on BBB)
Also, here are a couple of other threads on building and some issues: