connman——Advanced configuration interface
来源:互联网 发布:魔兽世界数据库修改 编辑:程序博客网 时间:2024/06/17 00:01
Configuration basics
网络默认的配置方法是自动的,或者是类似DHCP那样的。基本上所有情况下,自动配置都能很好的实现其功能,但是如果出现以外,我们可以使用connman的以太网与IP的手动配置功能。Configuration interface
每一个网络服务都有两个properties。一个代表目前有效配置,另一个允许用户手动配置。例如:IPv4的配置名字分别叫做"IPv4" 和 "IPv4.Configuration".
[ /profile/default/wifi_001122334455_42696720696e204a6170616e_managed_psk ] Type = wifi Name = Big in Japan Mode = managed Strength = 82 Security = rsn Favorite = true State = ready IPv4.Configuration = { Method=dhcp } IPv4 = { Netmask=255.255.255.0 Method=dhcp Address=192.168.1.198 }这是一个WIFI的例子,该WIFI已经链接到了一个网络服务。配置方法是DHCP,并且目前的IP是192.168.1.198。
IPv4是只读的,并且当这个接口的IP改变的时候会产生PropertyChanged信号。而IPv4.Configuration属性是可读写的。比如一个静态的IP配置会像如下这样:
service.SetProperty("IPv4.Configuration", { "Method": "manual", "Address": "192.168.1.100", "Netmask": "255.255.255.0" })
这个配置本身是一个包含了很多域的集合。但是不是所有的域需要显示出来。很多种组合是有效的。
比如,"Method"域有很多有效设置,比如:"off", "fixed", "manual" 和 "dhcp"。"fixed"是不能由用户程序设置的,它是一个内部的值,有一些3G的数据卡会用到它。"manual"方法允许静态IP配置。"dhcp"属于自动配置类型。
- connman——Advanced configuration interface
- connman——Connman configuration file format
- Advanced Configuration and Power Interface
- 【我所认知的BIOS】—>Advanced Configuration and Power Interface原理(硬件部分)
- 【我所认知的BIOS】—> Advanced Configuration and Power Interface 原理(软件部分)
- 【我所认知的BIOS】—> Advanced Configuration and Power Interface 原理(实践部分)
- ACPI<Advanced Configuration and Power Interface >
- Nginx Load Balancing — Advanced Configuration
- ACPI---高级配置和电源管理接口(Advanced Configuration and Power Management Interface)
- Oracle ASM Advanced Tranning 1 —— Configuration of Devices for ASM
- 16.3 Advanced Configuration
- Android Studio advanced configuration
- Android Studio advanced configuration
- Android Studio advanced configuration
- Android Studio advanced configuration
- Android Studio advanced configuration
- linux bond interface configuration
- AdvancED Flash Interface Design (Advanced Design)
- Commons Daemon 之 procrun
- Ubuntu 下设定websphere开机自启动[我自己写的]--抄我的请注明
- TransparentBlt
- “不允许对64位应用程序进行修改”的解决方法
- 再谈平移图像 简单却足以说明原理
- connman——Advanced configuration interface
- Just do it
- 分享一个别人写的sqlite3使用总结的例子
- Flex程序启动事件的顺序initialize、creationComplete、applicationComplete(转)
- jQuery中运用正则表达式验证输入是否有特殊字符
- 工科文化
- Tiny Heroes:道高一尺,魔高一丈
- android sdk 编译--如何将源代码加入android.jar,以及make原理
- 创建为ClickOnce清单签名的.pfx格式数字证书