Thank you for the fixes! Amount of ram is now detected correctly.
But still info() fails on that router-client. According to routing table 'server' is accessible through interface tun0. But tun interfaces do not have MAC address, therefore info() fails with "ERROR: Empty MAC". Please check the output:
ip link show dev tun0
6: tun0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN mode DEFAULT group default qlen 100
link/none
maybe we should use
MAC=`ip a|awk '/ether/{print $2;exit}'`
as a fallback? Anyway, client is uniquely identified with any of the MACs it has.
Hi, Alkis, you're welcome!
Thank you for the fixes! Amount of ram is now detected correctly.
But still info() fails on that router-client. According to routing table 'server' is accessible through interface tun0. But tun interfaces do not have MAC address, therefore info() fails with "ERROR: Empty MAC". Please check the output: MULTICAST, NOARP,UP, LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN mode DEFAULT group default qlen 100
ip link show dev tun0
6: tun0: <POINTOPOINT,
link/none
maybe we should use
MAC=`ip a|awk '/ether/{print $2;exit}'`
as a fallback? Anyway, client is uniquely identified with any of the MACs it has.