[OpenWrt-Devel] "ubus call network.interface dump" doesnt report the ip of tun0 interface, despite being there. Bug?
alberto fuentes
pajaro at gmail.com
Tue Nov 15 12:17:32 EST 2016
Should i open a bug?
tun0 interface created and ip assigned by openvpn
root at router:~# ifconfig tun0
tun0 Link encap:UNSPEC HWaddr
00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:10.19.3.33 P-t-P:10.19.3.1 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:7 errors:0 dropped:0 overruns:0 frame:0
TX packets:7 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:492 (492.0 B) TX bytes:412 (412.0 B)
root at router:~# /etc/init.d/dropbear start
interface tun0 has no physdev or physdev has no suitable ip
root at router:~# ubus call network.interface dump
[...]
{
"interface": "tun0",
"up": true,
"pending": false,
"available": true,
"autostart": true,
"dynamic": false,
"uptime": 20815,
"l3_device": "tun0",
"proto": "none",
"device": "tun0",
"metric": 0,
"delegation": true,
"ipv4-address": [
],
"ipv6-address": [
],
"ipv6-prefix": [
],
"ipv6-prefix-assignment": [
],
"route": [
],
"dns-server": [
],
"dns-search": [
],
"inactive": {
"ipv4-address": [
],
"ipv6-address": [
],
"route": [
],
"dns-server": [
],
"dns-search": [
]
},
"data": {
}
},
[...]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20161115/ed6ce288/attachment.htm>
-------------- next part --------------
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list