Hello,
I'm trying to activate a wireguard VPN on my shield tube.
The goal is to take that device with us on holiday and use the VPN to connect to our home and NAS.
Now: firewall setup is functioning, tested with PC and android smartphone.
However, when I try to use that same config on my shield tube, I just cannot get a working connection.
Parameters are the same:
* 'external' wifi connection (on router from our provider)
* config file copied
Any ideas what I could try to get it working / analyze what's going on?
(logcat reader seems unavailable?)
Kind regards,
Jan
Related
Hello All!
I have a problem:
- need to connect to VPN through WIFI.
I'm running WM5 AKU3.5 Rom, UNI \ Qtek 9000.
With the built-in VPN client I CAN connect to VPN, but the first request to internet (via browser or Messaging send-receive) - drops my VPN connection, as it described here in the forum (Networking).
I tried 3-rd party software so far:
1. BlueFire VPN - just can't connect.
2. Antha VPN - just doesn't work.
Any solution so far?
Did anybody succeed with it?
Thank you very much for your answers!
_________________________________
* crosposted and more details in: http://forum.xda-developers.com/showthread.php?p=1685027#post1685027
** Let me describe in more detail:
In my case- this is a public WIFI internet provider, which has a wifi coverage in the city: GoldenWiFi.
Wifi is open PPTP. I need to type in a login \ pass on the web page I get, to start using the internet in current wifi session.
The ALTERNATIVE way to conect to internet - is to establish a VPN connection over the wifi.
I can successfully do in on the laptop, but not with my UNI.
WM5 has some bugs in PPTP implementation and there are problems connecting to VPN servers other than Microsoft ISA. I've spend couple of hours trying to connect my universal to poptop (linux pptp server which is quite popular) and it was imposible using mschap-v2 (which is required for security reasons). WinXP stations are connecting fine to the same VPN server. Poptop is included in many linux embedded devices (access points, wireless routers) and I think that this is your problem.
What version of bluefire did u use, I tried a nwe one which didn't work, but I got an old trial version that still works (most of the time)
Bonusbartus said:
What version of bluefire did u use, I tried a nwe one which didn't work, but I got an old trial version that still works (most of the time)
Click to expand...
Click to collapse
Hello!
I used v. 2.7.2.558
Thank you for your reply.
I use anthaVPN-7.5-STD-Cisco-wm2005.exe, and in "settings/connections/advanced" selected both networks to be "work network".
Everything works fine.
I sent u a pm about bluefire
I'm not certain if this is a kernel, ROM or software issue. I am running Fresh ROM 1.0.1 with the Netarchy 3.7.5 kernel, I have enabled the JIT compiler, and I have purchased the Xtralogic Remote Desktop Client version 1.14.0 and also use ES File Explorer for FTP/Samba.
I am able to authenticate and connect to our corporate VPN server. Once connected, I AM able to ping both from within the network to my device, and from adb-shell on my device to devices on the network. DNS resolution is working as expected over the VPN; search domains are setup properly.
However, upon establishing a connection (UDP or TCP) to any device on the remote network, my VPN connection dies (server side -- the android client still reads as connected). No bytes are received from the client anymore (per the corporate vpn software). I've tried this with RDP (UDP), SMB (UDP) and FTP (TCP). All three had the same result; upon initiating the socket, the VPN connection comes to a halt.
I know this worked when I was stock rooted.. and have only tried it again recently for a business trip in which RDP access to some remote servers would be a great big help. My changes are listed above: Fresh Rom 1.0.1, Netarchy 3.7.5 kernel, JIT enabled.
LogCat provides plenty of output for the VPN connection, but there is NOTHING logged when the "disconnect" occurs.
Any ideas?!
I received a response from the software vendor:
I received other reports about problem with VPN on Android. Unfortunately I don't have any solution to this problem. It is not RDP client specific, it looks like it is triggered by certain amount of network traffic. You will get the same result if you try to browse Internet on the phone when connect over VPN.
Click to expand...
Click to collapse
So, I ask if anyone can confirm or deny from their own device?
I know how to do this in Windows and Linux, but not really sure how to go about it on Android...4.0.4 to be exact.
What I'm trying to accomplish is to have both active, with the 3G/4G handling internet-based activities and the Wifi handling local network access.
Why? Basically my home internet is horrible however I have some services/shares on my LAN that I want to access on my phone. And I can't switch between them, not an option. Because many times I'm wanting to take a picture from my file server (Accessed over Wifi) and then upload it to Flickr (Accessed over 3G/4G).
In Windows it's setting the gateway metric, and I would set the connection with the internet with the lower metric while the LAN-only connection gets a higher one.
I'm not aware of any way to do this on any Android - I would imagine it requires a heavily modded ROM.
You could of course tether a Windows or Linux computer on your network to the Android and implement gateway metrics from that end, in order to copy photos from the LAN server to the Internet via cellular.
cmstlist said:
I'm not aware of any way to do this on any Android - I would imagine it requires a heavily modded ROM.
You could of course tether a Windows or Linux computer on your network to the Android and implement gateway metrics from that end, in order to copy photos from the LAN server to the Internet via cellular.
Click to expand...
Click to collapse
I'm agreeing with him ^
|
Ask Cyanogen, if he could do such a thing, afterall, he has been hacking/modding Android since it's inital release. If anyone can help you, it's him... Sorry dude.
While I've never tried it, you might want to try setting up a DHCP reservation on your LAN that DOES NOT provide a gateway. This should allow Internet access using your egress connection while still allowing local LAN access-at least this is how it works for most computers that are multihomed.
Hello everyone!
I successfully manged to get a USB-Ethernet Dongle working on my note 2.
However I am experiencing a strange issue:
When I had first set up the ethernet functionality, everything was working fine.
(Most apps could Not access the internet though, but some such as browser or vlc-player could).
Some days passed by during which I did not use the ethernet functionality but accessed several wifi networks
Now the issue:
if I want to use ethernet at my home network again everything seems fine first.
I can connect via ethernet, retrieve an ip adress using "dhcpcd eth0" and even issue commands like "traceroute www .google. de"
The output of "ip addr show" and "ip route show" also indicates that eth0 interface was assigned a ip-adress and also the correct default gateway has been defined
however if I want to use the browser to browse the web no connection can be established...
same with VLC-Player.
so network commands via terminal work but there's no internet connection within apps.
The strange thing is:
if I now access my home network via wifi first, turn wifi off and use ethernet again everything works as expected (especially the browser is working again..?!)
I'm wondering what I'm missing here:
Do I miss something during setting up the ethernet interface?
note that I also set the "net.dns1" and "net.dns2" property for primary and secondary DNS Server...
But why is ethernet only working if I firstly connect to the same network via wifi?
I assume that while connecting to the network via wifi some additional properties are set.
I'd very appreciate any explanation/suggestion on this matter.
thanks in advance!
Regards!
BennyKay said:
Hello everyone!
I successfully manged to get a USB-Ethernet Dongle working on my note 2.
However I am experiencing a strange issue:
When I had first set up the ethernet functionality, everything was working fine.
(Most apps could Not access the internet though, but some such as browser or vlc-player could).
Some days passed by during which I did not use the ethernet functionality but accessed several wifi networks
Now the issue:
if I want to use ethernet at my home network again everything seems fine first.
I can connect via ethernet, retrieve an ip adress using "dhcpcd eth0" and even issue commands like "traceroute www .google. de"
The output of "ip addr show" and "ip route show" also indicates that eth0 interface was assigned a ip-adress and also the correct default gateway has been defined
however if I want to use the browser to browse the web no connection can be established...
same with VLC-Player.
so network commands via terminal work but there's no internet connection within apps.
The strange thing is:
if I now access my home network via wifi first, turn wifi off and use ethernet again everything works as expected (especially the browser is working again..?!)
I'm wondering what I'm missing here:
Do I miss something during setting up the ethernet interface?
note that I also set the "net.dns1" and "net.dns2" property for primary and secondary DNS Server...
But why is ethernet only working if I firstly connect to the same network via wifi?
I assume that while connecting to the network via wifi some additional properties are set.
I'd very appreciate any explanation/suggestion on this matter.
thanks in advance!
Regards!
Click to expand...
Click to collapse
There is something on these forums called "reverse tether" look it up, it has something that can fix this with IP tables and force the phone to think that it is connected to Wifi
Great, thank you!
I did not know about this possibility!
Especially the xposed module looks promising.
It might help to get more apps to reconize the active internet connection.
I'll give it a try!
however I still have no clue why the ethernet interface only seems to work correctly if I first connect the phone via wifi to the network.
The browser will recognize the connection when I do the following:
1.1>turn wifi on and connect to my network
1.2>turn wifi off again
2.1>connect the ethernet USB Dongle
2.2>set up eth0 interface
3>web browser works
Note that I only turn wifi on for step 1.1 and 1.2. When using the ethernet connection wifi is already turned off and the browser still works.
I read that the browser uses some low-level functionality and bypasses the Android framework which is why it can use network connections even though android "thinks" no network is available.
But if I skip the first 2 steps even the web browser won't work.
I think it's quite strange behavior which I cannot explain. Maybe a configuration problem which is solved when setting up a wifi connection prior?
Maybe I'll have to dig a bit deeper into how networking in android works.
Hi, can you share your settings and how did you managed to connect through ethernet? Which rom and kernel you used?
Sent from my GT-N7100 using Tapatalk
chandoliasnikos said:
Hi, can you share your settings and how did you managed to connect through ethernet? Which rom and kernel you used?
Sent from my GT-N7100 using Tapatalk
Click to expand...
Click to collapse
Hello!
I am using PhoeniX ROM v16.7 along with the AGNI PureStock Kernel v.3.9.3.
It is the kernel that enables the ethernet functionality.
However ethernet support depends on the chipset of the ethernet adapter you are going to use.
Mine has an ASIX AX88772 chipset. I am not sure what kind of chipsets are supported by this kernel.
If the kernel does not support your chipset you will have to compile the driver yourself and insert it as a kernel-module.
I cannot post any links (due to restrictions for new members) but you will find a lot about this topic if you search for: note 2 ethernet kernel module
I do not really understand what you mean by settings:
If you have ethernet up and running you can type in terminal:
Code:
netcfg
You will then see a list of all network interfaces along with the eth0 interface.
To set up the eth0 interface using dhcp you can issue:
Code:
dhcpcd eth0
For manual configuration you will need:
Code:
ifconfig eth0 IP_ADDRESS_YOU_WANT_TO_ASSINGN netmask YOUR_SUBNETMASK
route add default gateway IP_ADDRESS_OF_YOUR_GW dev eth0
setprop net.dns1 IP_OF_YOUR_DNS_SERVER
I am not sure if I do something wrong during configuration, because eth0 interface will only work in apps like the browser if I connect to my network via wifi first (see the my first posts for detailed explanation).
I can turn my wifi off afterwards and use ethernet instead but for configuration I need to start wifi first.
I am not sure why - I still could not figure out the problem...
Is there any way for the fire TV to connect to it? My university uses it, and I was wondering if I could connect, but the access point is not showing up
Can´t look now because I´m not at home but wasn´t there a setting for a manual AP setup where you could enter the SSID by yourself?
Some organizations may keep a second network available for legacy devices like printers, XBoxes, and older machines. You can check with your university's tech support to see how you can add your device to the list of allowed access for that network.
This isn't a guarantee that this network exists for you, but most enterprise and even some residential-grade equipment have this capability.
Otherwise, you might be able to find a router or range extender that can understand and connect to WPA2-Enterprise to work around this. In a pinch, an old laptop with two wifi cards or a wifi Ethernet port should suffice.
Or you may want to scrap wifi and run an Ethernet cable to your dorm's jack or personal switch.
Related topics found through Googling, but no further help:
https://www.reddit.com/r/cordcutters/comments/2sv1ov/best_option_for_college_wifi/
https://www.reddit.com/r/fireTV/comments/2mydhh/fire_tv_stick_can_you_use_a_wireless_network_that/
Thanks the responses, but neither of them works well for me. there is a secondary unsecured wifi network, but it is just too slow to use, especially for streaming videos. I sideloaded a wifi APK onto it, and the networks DO show up, but there is no way to enter the login information (you need both a username and password.) Anyone know of an app that can do that?