Hi Mike,

On pe, 2014-07-04 at 13:45 -0400, Mike Purvis wrote:
> Hey all,
> 
> I have a platform where I'd like an ethernet port to come up with a static
> IP, much as it does with /etc/network/interfaces containing:
> 
> auto p5p1
> iface p5p1 inet static
>   address 192.168.54.1
>   netmask 255.255.255.0
> 
> This is essential so that a user can set a static IP on their laptop, and
> then SSH into the device in order to configure the wireless, etc.
> 
> However, it doesn't seem possible to do this under connman— without a wire
> connected to the ethernet port, no wired services are shown, so I have no
> opportunity to do:
> 
> connmanctl config <service> --ipv4 ...
> 
> Is there a way to do this which I'm not seeing?

Yes, there is limited workaround so you can create a .config file that
setups the ethernet port automatically when it comes up. See
doc/config-format.txt in connman sources for details. Note that a
service becomes immutable if provisioned via .config file so user is
only able to tweak very limited settings for the service in this case.

>  Alternatively, can connman
> be set up to ignore my ethernet port and manage only the wifi?

Yes, you can start connman with -I command line option to ignore some
network interfaces.

> 
> I apologize for the elementary question— the best docs I've been able to
> find are those on the Arch Linux wiki:
> https://wiki.archlinux.org/index.php/Connman
> 
> I'm using connman v1.15, via the Ubuntu 14.04 deb package.

Please upgrade connman if possible, we have fixed lot of nasty bugs
after 1.15.


Cheers,
Jukka


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

Reply via email to