deluge-vpn icon indicating copy to clipboard operation
deluge-vpn copied to clipboard

getnetmask issue

Open kehator opened this issue 6 years ago • 1 comments

I was trying to use this on the latest Raspbian (Kernel version:4.14). I have a problem with 'getnetmask' function. [ $a -le $PREFIX ] this is calling 'unary operator expected', so I've found out about this -le and I was trying to make it right, but no mather what I do, it's always coming with some other error.. like integer expected.. command not found.. or even file not found..

Is this because I'm trying to use it on Raspberry Pi, or maybe this is fixable?

kehator avatar Oct 12 '18 13:10 kehator

Hi

Can you print the values of IP and PREFIX? Add statements in the beiginning of getnetmask:

echo "IP: $IP"
echo "PREFIX: $PREFIX"

bendikro avatar Oct 15 '18 08:10 bendikro