-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

For a product I'm working on (http://beagleboard.org/bone) that is very
webserver heavy we want to ship the following network config:

eth0 (proper RJ45 jack): use dhcp is connected, integrate into existing network
usb0 (mini usb, RNDIS): static IP, dhcp server to allow people to access the
webservices on the board when there's no RJ45 ethernet.

The first part is easy with connman, it does that out of the box. The second
part isn't. In a past far, far away you could drop a 'eth0.conf' file in
/var/lib/connman with some options and it would work. That doesn't work
anymore :(

I briefly talked with Marcel on IRC and pointed me to the config format docs
and mentioned the tethering option as well. I could figure out the config
format, but not how to get it to apply to usb0 when it comes up. For the
first production run we're using a udev rule to ifconfig usb0 and start udhcpd.

My question: how do I configure connman with a config file to configure
usb0? I need this to be a config file since the filesystem will end up on a
master SD card that will get cloned for each board we ship.

And to make it worse usb0 uses random MAC addresses by default.

If static isn't the way to go I'll switch to tethering mode if that does
what I need.

regards,

Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: GPGTools - http://gpgtools.org

iEYEARECAAYFAk7GKS4ACgkQMkyGM64RGpHukACfXYRRHdxSvAhkmVer6P/KBET8
AfUAoIfKQP7cuLANOvrO3pO584hyQhmm
=OnPy
-----END PGP SIGNATURE-----

_______________________________________________
connman mailing list
[email protected]
http://lists.connman.net/listinfo/connman

Reply via email to