dajhorn / SoftEtherVPN

Debian and Ubuntu packaging overlay for SoftEther
Other
12 stars 2 forks source link

Check: EnumDir Failed #2

Open ak5 opened 10 years ago

ak5 commented 10 years ago

Hi,

Thanks for creating this package. Sadly, the check function show the install is broken though. This is on Ubuntu Trusty 14.04.

Output of check in vpncmd

VPN Tools>check
Check command - Check whether SoftEther VPN Operation is Possible
---------------------------------------------------
SoftEther VPN Operation Environment Check Tool

Copyright (c) SoftEther VPN Project.
All Rights Reserved.

If this operation environment check tool is run on a system and that system passes, it is most likely that SoftEther VPN software can operate on that system. This check may take a while. Please wait...

Checking 'Kernel System'... 
              Pass
Checking 'Memory Operation System'... 
              Pass
Checking 'ANSI / Unicode string processing system'... 
              Pass
Checking 'File system'... 
EnumDir Failed.
              Fail
Checking 'Thread processing system'... 
              Pass
Checking 'Network system'... 
              Pass

Some checks failed. Please check the operation environment of this system. If SoftEther VPN Server / Bridge were to be executed on this system, troubles may occur.

The command completed successfully.

Anyone else?

I can't seem to connect to a server via either bridge (seems a little undocumented from Linux cli) or client (both Linux and Windows GUI). It could be because of this, but frankly, I don't know.

dajhorn commented 10 years ago

Thanks for creating this package.

Welcome.

Sadly, the check function show the install is broken though.

I can reproduce this bug; thanks for reporting it.

There are several bugs like this, many in the Server Status dialog, so this is probably a cosmetic issue.

I can't seem to connect to a server via either bridge

IP addresses on a bridged interface are inaccessible to VPN clients and don't behave like you might expect. This is why the SoftEther documentation recommends having two physical ethernet interfaces in a computer that is doing L2 bridging: One to run the bridge, and one to run services.

dajhorn commented 10 years ago

This error is spurious and happening at:

Because this variable is incorrect for managed installations:

At first glance, disabling the test or changing it to use something like argv[0] seems like a proper solution.