Linux version doesn't open

by Krush206 @, Monday, May 21, 2018, 01:09 (207 days ago)
edited by Krush206, Monday, May 21, 2018, 01:39

I have installed Wirelends on my laptop with Linux Mint 18.3, everything was fine during installation, no errors. But for some reason, Wirelends won't open, whenever I click the Wirelends application it does nothing, what's wrong with it?

UPDATE: I have just checked that when using a terminal, Wirelends command doesn't come up when I press TAB to auto-complete; I had to manually enter 'wirelends' command, in normal privileges mode it says 'Permission denied' and with gksudo/gksu it doesn't do/shows anything, with sudo it shows a error message 'wirelends: relocation error: wirelends: symbol_ZNK8wxWindow7IsShownEv, version WXU_3.0 not defined in file libwx_gtk2u_core-3.0.so.0 with link time reference'

Linux version doesn't open

by kreso, Monday, May 21, 2018, 05:22 (206 days ago) @ Krush206

Ok, seems like problem with dependencies. I will install Linux Mint and try it out. We usually test with Ubuntu.

How about 'conlends' (console version), does that work?

Kreso

Linux version doesn't open

by kreso, Monday, May 21, 2018, 05:23 (206 days ago) @ kreso

Which edition of Mint do you use (Cinnamon/Mate/Xfce/KDE)? It could be important for test.

Kreso

Linux version doesn't open

by kreso, Monday, May 21, 2018, 11:06 (206 days ago) @ kreso

Hi.

If I compile it on Mint, it works ok. Here's binaries compiled on it

http://www.wirelends.com/download/temp/wirelends.bz2

so please replace original one with this one and try it out.

Kreso

Linux version doesn't open

by Krush206 @, Monday, May 21, 2018, 18:13 (206 days ago) @ kreso

CLI version works fine; the one you provided me earlier doesn't work though, it returns a fail message 'cannot execute binary file: Exec format error'

I haven't mentioned but I'm using 32 bits architecture, not 64 bits. Maybe this is why it's failing?

Linux version doesn't open

by kreso, Monday, May 21, 2018, 18:25 (206 days ago) @ Krush206

Yes, 32bit makes a difference.

Let me reinstall 32bit Mint.

Kreso

Linux version doesn't open

by kreso, Monday, May 21, 2018, 19:23 (206 days ago) @ Krush206

How about this one?

http://www.wirelends.com/download/temp/wirelends_32bit.bz2

Kreso

Linux version doesn't open

by Krush206 @, Monday, May 21, 2018, 19:53 (206 days ago) @ kreso

Thanks, it works now. Although, it looks like the VPN adapter can't be set up; server mode works but it doesn't open the VPN adapter, client mode doesn't work, it returns a fail message 'Failed to open VPN adapter', tried with sudo but still no luck

Linux version doesn't open

by kreso, Monday, May 21, 2018, 20:10 (206 days ago) @ Krush206

Good point. Does it help if you do first

sudo ip tuntap add mode tap

Kreso

Linux version doesn't open

by Krush206 @, Monday, May 21, 2018, 20:46 (206 days ago) @ kreso

It partially works, it doesn't return the fail message anymore but pinging the IPs doesn't work; I always leave 'Allow access to my PC' ticked, nothing else, Windows still tries to route all traffic through the VPN even when only this option is enabled, even after quitting the app it still keeps the wrong routing rule, the only way to fix it is by disabling the WOD adapter. Connection from Linux to Windows fails, it crashes the connection on Windows returning a message 'Connection lost. Will retry' and 'Trying blindly to establish link'

Linux version doesn't open

by kreso, Monday, May 21, 2018, 20:49 (206 days ago) @ Krush206

All traffic is always routed, it's just question on what's filtered on remote side - as server-side precaution for what can't be access and what can.

Can you ping remote side? If you enable to access all, can you ping *anything* through remote?

Kreso

Linux version doesn't open

by Krush206 @, Monday, May 21, 2018, 21:10 (206 days ago) @ kreso

It's possible to ping the remote side if Im using Windows as client and Linux as server but Linux as client crashes the connection if Windows is the server, the same happens on Android, it crashes Windows' server. There is no given local IP on client Windows, the local IP given on client Windows is the same on Linux's server, except Linux binds a gateway which I found only by using 'route print' command on Windows, this is the only pingable remote IP. Also, Android as server only works for the client side, Android doesn't set up the VPN when the client established the connection, the VPN is only set up when it's client mode

Linux version doesn't open

by kreso, Tuesday, May 22, 2018, 09:53 (205 days ago) @ Krush206

Thanks for noticing all of this. I was able to duplicate linux->Windows problem, will go into investigating it.

One thing could be important, when you say remote side 'crashes' (crash is a bad word, I always think app has got access violation). When connection is made, I'm always VERY INTERESTED if it was UDP or TCP (should be seen in lower-left corner), especially when it doesn't work. Can you check that?

Thanks,
Kreso

Linux version doesn't open

by Krush206 @, Tuesday, May 22, 2018, 12:39 (205 days ago) @ kreso

You're welcome, I can't really tell which protocol it uses when the connection is made, when I say it crashes I mean it breaks the hive's connection on Windows but the app remains stable. Im not able to tell which protocol it uses because it breaks the connection while it's trying to establish link, so it doesn't even successfully establish it

Linux version doesn't open

by kreso, Tuesday, May 22, 2018, 13:43 (205 days ago) @ Krush206

Yes, we were able to duplicate this hive disconnection on remote.

Looking into it.

Kreso

Linux version doesn't open

by kreso, Tuesday, May 22, 2018, 19:28 (205 days ago) @ Krush206

Ok, server disconnection should be fixed now (one you mentioned as 'crash'), which leads that linux->windows works for me in my tests.

This was server-side issue, no need to update clients.

How about for you? Does it work?

Kreso

Linux version doesn't open

by Krush206 @, Tuesday, May 22, 2018, 20:54 (205 days ago) @ kreso

I will check it as soon as I can; I tried to run the binary you provided me in one of your posts on Salix OS 14.2.1 XFCE 32 bits and it returned a very similar error of the original Wirelends version on Linux Mint, this is what the output shows 'error while loading shared libraries: libwx_gtk2u_adv-3.0.so.0: cannot open shared object file: No such file or directory'

Linux version doesn't open

by Krush206 @, Wednesday, May 23, 2018, 02:44 (204 days ago) @ kreso
edited by Krush206, Wednesday, May 23, 2018, 03:04

I checked the connection again on Windows as server and Linux as client, the issue is fixed

UPDATE: There is a new issue related to the hive server, sometimes, when I open the app, it doesn't successfully connect to the hive server, it takes about 10 seconds and then it returns a timeout. Seems to be only on Windows, I didn't notice this issue on Linux

Linux version doesn't open

by Krush206 @, Wednesday, May 23, 2018, 02:52 (204 days ago) @ kreso

There is another issue on Android's version. When the connection has established either in client or server mode, there is no way to disconnect it, it doesn't shows a 'Disconnect' button on Android

Linux version doesn't open

by kreso, Wednesday, May 23, 2018, 09:59 (204 days ago) @ Krush206

Hmm. Why not? It does when I try it. How can I duplicate it?

How do you know you're connected?

Kreso

Linux version doesn't open

by Krush206 @, Wednesday, May 23, 2018, 15:36 (204 days ago) @ kreso

Hmm. Why not? It does when I try it. How can I duplicate it?

How do you know you're connected?

Kreso

Not sure why, my device is an ASUS Zenfone Go Live DTV, kernel version is 3.4.0. The only way to check whether I'm connected or not is by checking the key/vpn icon shown on notification bar

Linux version doesn't open

by kreso, Thursday, May 24, 2018, 11:29 (203 days ago) @ Krush206

Hi.

WHatever I tried I can't duplicate it. It may be important - what version of Android OS do you have?

Kreso

Linux version doesn't open

by Krush206 @, Thursday, May 24, 2018, 13:08 (203 days ago) @ kreso

5.1.1

Linux version doesn't open

by kreso, Thursday, May 24, 2018, 13:33 (203 days ago) @ Krush206

Hm. In 5.1. simulator works ok.

If we get a chance to get a hold of actual such phone we'll check it out.

Kreso

Linux version doesn't open

by Krush206 @, Thursday, May 24, 2018, 19:31 (203 days ago) @ kreso

Hm. In 5.1. simulator works ok.

If we get a chance to get a hold of actual such phone we'll check it out.

Kreso

Would you mind if I send you a screenshot? (I will upload the screenshot)

Linux version doesn't open

by kreso, Thursday, May 24, 2018, 19:55 (203 days ago) @ Krush206

Not sure. Perhaps I notice something obvious, it will not hurt to see it.

Kreso

Linux version doesn't open

by Krush206 @, Thursday, May 24, 2018, 23:05 (203 days ago) @ kreso

Not sure. Perhaps I notice something obvious, it will not hurt to see it.

Kreso

Found a workaround for the 'No disconnect button' issue on Android. I had to simply force close the app to fix it. Looks like it's an issue with the app being ran on background, sometimes it glitches and doesn't shows up the IDs I added as favorites

By the way, it would be great if Wirelends had that setting from Wippien 'Disconnect adapter on exit', when I quit the app while it's using WOD's adapter, it doesn't clears up the routes' rules it has created, thus leading to a non working internet, I have to disable the adapter to clear up the routing rules it has created. TAP doesn't have this issue because it automatically "disconnects" after quitting the app

Linux version doesn't open

by kreso, Friday, May 25, 2018, 05:49 (202 days ago) @ Krush206

Ah, this could be problem with instances of the app. If you close it and re-open, sometimes I notice like new instance has been run.

It's at this point known bug, and we're trying to fix it.

Kreso

Linux version doesn't open

by Krush206 @, Monday, May 21, 2018, 13:41 (206 days ago) @ kreso

MATE edition

Linux version doesn't open

by Krush206 @, Monday, May 21, 2018, 13:45 (206 days ago) @ kreso

I will check if it works and return you the result