Hi Daniel,
Type is missing. See examples in config-format.txt
OK, fixed all errors, both wifi and cellular services are added, but
the WiFi and cellular are still not shown in network interface at
follows:
# connmand -n -d src/config.c
connmand[360]: Connection Manager version 1.35
connmand[360]: Adding configuration wifi
connmand[360]: Adding service configuration wifi
connmand[360]: Adding configuration cellular
connmand[360]: Adding service configuration cellular
connmand[360]: Checking loopback interface settings
connmand[360]: lo {newlink} index 1 address 00:00:00:00:00:00 mtu 65536
connmand[360]: lo {newlink} index 1 operstate 0 <UNKNOWN>
<DOWN>
connmand[360]: Adding interface eth0 [ ethernet ]
[ 1318.264479] Micrel KSZ8081 or KSZ8091 20b4000.ethernet-1:02:
attached PHY driver [Micrel KSZ8081 or KSZ8091]
(mii_bus:phy_addr=20b4000.ethernet-1:02, irq=POLL)
connmand[360]: Adding interface eth1 [ ethernet ]
connmand[360]: sit0 {newlink} index 4 address 00:00:00:00:08:00 mtu 1480
connmand[360]: sit0 {newlink} index 4 operstate 2 <DOWN>
connmand[360]: wwan0 {create} index 5 type 1 <ETHER>
connmand[360]: wwan0 {update} flags 4098 <DOWN>
connmand[360]: wwan0 {newlink} index 5 address AE:9E:88:64:6F:1B mtu 1500
connmand[360]: wwan0 {newlink} index 5 operstate 2 <DOWN>
connmand[360]: Adding interface wwan0 [ cellular ]
connmand[360]: mlan0 {create} index 8 type 1 <ETHER>
connmand[360]: mlan0 {update} flags 36866 <DOWN>
connmand[360]: mlan0 {newlink} index 8 address D4:CA:6E:60:D7:F9 mtu 1500
connmand[360]: mlan0 {newlink} index 8 operstate 2 <DOWN>
connmand[360]: Adding interface mlan0 [ wifi ]
I removed Ethernet cable just in case, no wifi and cellular:
# ifconfig
eth0 Link encap:Ethernet HWaddr 00:04:9F:05:0F:C0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:235 errors:0 dropped:0 overruns:0 frame:0
TX packets:343 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:31217 (30.4 KiB) TX bytes:43427 (42.4 KiB)
eth1 Link encap:Ethernet HWaddr 00:04:9F:05:0F:BF
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:106 errors:0 dropped:0 overruns:0 frame:0
TX packets:106 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:8392 (8.1 KiB) TX bytes:8392 (8.1 KiB)
Anything I could still be missing here?
Thank you.
- jupiter