<div dir="ltr">  Hi Alberto,<div><br></div><div>  I have the same issue and I'm using OpenVPN ... take a look:</div><div><br></div><div><div>root@oi-eng-03:~# ip addr show dev tun0</div><div>5: tun0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UNKNOWN group default qlen 100</div><div>    link/none </div><div>    inet 10.100.15.198 peer <a href="http://10.100.15.199/32">10.100.15.199/32</a> scope global tun0</div><div>       valid_lft forever preferred_lft forever</div><div>root@oi-eng-03:~# </div><div>root@oi-eng-03:~# </div><div>root@oi-eng-03:~# uci show network.vpn</div><div>network.vpn=interface</div><div>network.vpn.ifname='tun0'</div><div>network.vpn.proto='none'</div><div>root@oi-eng-03:~# </div><div>root@oi-eng-03:~# </div><div>root@oi-eng-03:~# ubus call network.interface.vpn status</div><div>{</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">       </span>"up": true,</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">  </span>"pending": false,</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">    </span>"available": true,</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">   </span>"autostart": true,</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">   </span>"dynamic": false,</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">    </span>"uptime": 191392,</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">    </span>"l3_device": "tun0",</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">       </span>"proto": "none",</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">   </span>"device": "tun0",</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">  </span>"metric": 0,</div><div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>"delegation": true,</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">  </span>"ipv4-address": [</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">            </span></div><div><span class="gmail-Apple-tab-span" style="white-space:pre">       </span>],</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">     </span>"ipv6-address": [</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">            </span></div><div><span class="gmail-Apple-tab-span" style="white-space:pre">       </span>],</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">     </span>"ipv6-prefix": [</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">             </span></div><div><span class="gmail-Apple-tab-span" style="white-space:pre">       </span>],</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">     </span>"ipv6-prefix-assignment": [</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">          </span></div><div><span class="gmail-Apple-tab-span" style="white-space:pre">       </span>],</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">     </span>"route": [</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">           </span></div><div><span class="gmail-Apple-tab-span" style="white-space:pre">       </span>],</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">     </span>"dns-server": [</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">              </span></div><div><span class="gmail-Apple-tab-span" style="white-space:pre">       </span>],</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">     </span>"dns-search": [</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">              </span></div><div><span class="gmail-Apple-tab-span" style="white-space:pre">       </span>],</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">     </span>"inactive": {</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">                </span>"ipv4-address": [</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">                    </span></div><div><span class="gmail-Apple-tab-span" style="white-space:pre">               </span>],</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">             </span>"ipv6-address": [</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">                    </span></div><div><span class="gmail-Apple-tab-span" style="white-space:pre">               </span>],</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">             </span>"route": [</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">                   </span></div><div><span class="gmail-Apple-tab-span" style="white-space:pre">               </span>],</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">             </span>"dns-server": [</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">                      </span></div><div><span class="gmail-Apple-tab-span" style="white-space:pre">               </span>],</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">             </span>"dns-search": [</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">                      </span></div><div><span class="gmail-Apple-tab-span" style="white-space:pre">               </span>]</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">      </span>},</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">     </span>"data": {</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">            </span></div><div><span class="gmail-Apple-tab-span" style="white-space:pre">       </span>}</div><div>}</div></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-11-15 15:17 GMT-02:00 alberto fuentes <span dir="ltr"><<a href="mailto:pajaro@gmail.com" target="_blank">pajaro@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Should i open a bug?<br><br>tun0 interface created and ip assigned by openvpn<br><br>root@router:~# ifconfig tun0<br>tun0      Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-<wbr>00-00-00-00-00-00  <br>          inet addr:10.19.3.33  P-t-P:10.19.3.1  Mask:255.255.255.255<br>          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1<br>          RX packets:7 errors:0 dropped:0 overruns:0 frame:0<br>          TX packets:7 errors:0 dropped:0 overruns:0 carrier:0<br>          collisions:0 txqueuelen:100 <br>          RX bytes:492 (492.0 B)  TX bytes:412 (412.0 B)<br><br>root@router:~# /etc/init.d/dropbear start<br>interface tun0 has no physdev or physdev has no suitable ip<br><br>root@router:~# ubus call network.interface dump<br>[...]<br>        {<br>            "interface": "tun0",<br>            "up": true,<br>            "pending": false,<br>            "available": true,<br>            "autostart": true,<br>            "dynamic": false,<br>            "uptime": 20815,<br>            "l3_device": "tun0",<br>            "proto": "none",<br>            "device": "tun0",<br>            "metric": 0,<br>            "delegation": true,<br>            "ipv4-address": [<br>                <br>            ],<br>            "ipv6-address": [<br>                <br>            ],<br>            "ipv6-prefix": [<br>                <br>            ],<br>            "ipv6-prefix-assignment": [<br>                <br>            ],<br>            "route": [<br>                <br>            ],<br>            "dns-server": [<br>                <br>            ],<br>            "dns-search": [<br>                <br>            ],<br>            "inactive": {<br>                "ipv4-address": [<br>                    <br>                ],<br>                "ipv6-address": [<br>                    <br>                ],<br>                "route": [<br>                    <br>                ],<br>                "dns-server": [<br>                    <br>                ],<br>                "dns-search": [<br>                    <br>                ]<br>            },<br>            "data": {<br>                <br>            }<br>        },<br>[...]</div>
<br>______________________________<wbr>_________________<br>
openwrt-devel mailing list<br>
<a href="mailto:openwrt-devel@lists.openwrt.org">openwrt-devel@lists.openwrt.<wbr>org</a><br>
<a href="https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel" rel="noreferrer" target="_blank">https://lists.openwrt.org/cgi-<wbr>bin/mailman/listinfo/openwrt-<wbr>devel</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Ronaldo Afonso<br><div>11 9 5252 0484</div><div><a href="http://www.ronaldoafonso.com.br" target="_blank">www.ronaldoafonso.com.br</a></div></div></div>
</div>