Connman cannot be used in production of beaglebone wireless systems

317 views
Skip to first unread message

maxmike

unread,
Jan 5, 2018, 5:01:21 PM1/5/18
to BeagleBoard
In Jessie we have connman - and it causes severe problems if you try to build a number 
of identical embedded systems, connman will assign a new service name to each processor.
So the settings directory has to be handcrafted separately for each. Even if you have a static
ip which is the same in all of them.
I have been unable to find a reliable way to get back to the /etc/network/interfaces paradigm.

Can somebody help? I'm unexpectedly against the wall.

Robert Nelson

unread,
Jan 5, 2018, 5:15:07 PM1/5/18
to Beagle Board, Mike Schuler
Are you talking about the eth0 name that get's auto-generated?

That would be systemd, we force "net.ifnames=0" on the cmdline to fix this..

debian@beaglebone:~$ sudo ifconfig -a eth0
eth0: flags=-28605<UP,BROADCAST,RUNNING,MULTICAST,DYNAMIC> mtu 1500
inet 192.168.0.132 netmask 255.255.255.0 broadcast 192.168.0.255
inet6 fe80::5265:83ff:feca:9234 prefixlen 64 scopeid 0x20<link>
ether 50:65:83:ca:92:34 txqueuelen 1000 (Ethernet)
RX packets 1636 bytes 256963 (250.9 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 91 bytes 12117 (11.8 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 189

Or something else?, just "sudo apt remove connman --purge"...

Regards,

--
Robert Nelson
https://rcn-ee.com/
Message has been deleted

maxmike

unread,
Jan 5, 2018, 5:32:51 PM1/5/18
to BeagleBoard
Can't remove connman as the service will stop and ssh is dead. There might be a way to do things after disabling connman service but I don't know what to do.

On Friday, January 5, 2018 at 2:28:10 PM UTC-8, maxmike wrote:
No - I'm trying to use wifi as wlan0; every load of a flash OS image fails to allow connects because the auto-generated connman service name on the new machine is different.
The result is a different /var/lib/connman/* directory name.
Fortunately at least wlan0 is constant or I could never do dynamic changes to the static ip settings in the field.
I am using a single static ip across all processors.

David Goodenough

unread,
Jan 5, 2018, 6:02:54 PM1/5/18
to beagl...@googlegroups.com

If you stop using conman, you can use /etc/network/interfaces, and that will give you a script you can use to configure all your network connections. If you use:-

 

man interfaces

 

it will tell you how to do it.

 

David

--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/b9158ac6-9e29-4c52-bd8d-e577eb5679d3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



Reply all
Reply to author
Forward
Message has been deleted
0 new messages