Ranjan Maitra:
> On Fri, 17 Apr 2020 15:21:49 +0200 Jan Ceuleers <[email protected]>
> wrote:
>
> > On 17/04/2020 15:08, Ranjan Maitra wrote:
> > > Btw, for me, when ifconfig is DOWN, I do not get a down.
> >
> > ifconfig -a fixes that.
> >
>
> Sorry, but not for me:
>
> When down:
>
> $ifconfig -a xxxx | egrep 'UP|DOWN'
> xxxx : error fetching interface information: Device not found
>
>
> When up:
>
> $ifconfig -a xxxx | egrep 'UP|DOWN'
> xxxx: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST> mtu 1406
You need to do:
ifconfig name-of-the-vpn-interface | egrep 'UP|DOWN'
For example:
ifconfig tun0 | egrep 'UP|DOWN'
if your VPN interface is called tun0.
Wietse