Hi all!
I try since 3 days to connect my Trinity with my XP Pro - no chance
I found no complete "How to do" on this forum and also not on Google.
Could please someone post all the settings on the Trinity ( Computer:, User name:,Password, Domain ) and what to do exactly on the XP Pro.
I have a D-Link Router ( I believe I must open Port 3889 - but it´s hard because there are some strange settings [ destination - source .... ].
Please
Best regards
Gregor
The RDP port is 3389...
what model of dlink router...
Hi!
The model is 624
Gregor
Weatherstation said:
Hi all!
I try since 3 days to connect my Trinity with my XP Pro - no chance
I found no complete "How to do" on this forum and also not on Google.
Could please someone post all the settings on the Trinity ( Computer:, User name:,Password, Domain ) and what to do exactly on the XP Pro.
I have a D-Link Router ( I believe I must open Port 3889 - but it´s hard because there are some strange settings [ destination - source .... ].
Please
Best regards
Gregor
Click to expand...
Click to collapse
me too! I have the same problem, i read with attention this thread!
ok i supposed that u want to says Dlink DI624!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
but if its another model the configuration must be the same...so later i post screenshot...
So i presume that the RDP service on your winXP is active and the SP2 firewall accept RDP entrance connections...i'm right?
P.S. Have u the last Firmware?
@kheops
Last Firmware ? Not till yet - but I can do it - no problem !
The new firmware does not delete my router settings ?
Cheers
Gregor
I must Have two port open:
3389 Both
1789 Both
This works oke.
@janegsm
What means both ??
Source and destination ???
Cheers
Gregor
On my ADSL router:
In/Out port 3389 TCP
In/Out port 1789 TCP
Destination IP adres is my server IP adres
(no source adres)
new firmware
yep the new firmware delete your settings...u can make a backup of the settings?
SO! go in the admin page of your router...
In Advanced / Virtual Server
Name: MyRDP
Private IP: type ipconfig on your RDPcomputer to know its ip adress
Protocol Type: TCP
Private Port: 3389
Public Port: 3389
Schedule: always
verify the rules
In Advanced / Firewalls...
@kheops
Done !
But still my Trinity shows me following message :
Cannot connect. Likely reasons are:
1. Specified computer name or ip does not exist
2.A network error occurred while establishing the connection.
The IP ist only the first line under ipconfig - right ?
( subnet and standardgateway is not relevant ).
Concerning your former post :
- I activated both ticks on my XP Pro : remote support plus remote desktop
I named a remote user - in my case it is "Administrator". XP says that "Administrator" is in use even if its not named but I have named itin the user box. Also I have set a password for "Administrator".
- My XP firewall is not activated because I have a router firewall !
Something wrong till yet ?
Cheers
Gregor
Discard post
Code:
But still my Trinity shows me following message :
Cannot connect. Likely reasons are:
1. Specified computer name or ip does not exist
2.A network error occurred while establishing the connection.
The IP ist only the first line under ipconfig - right ?
( subnet and standardgateway is not relevant ).
If u are on HOME LAN the ip adress is what u can see with ipconfig...
If u are on Internet the ip adress is a pubblic IP that u can see on router...or if u use DynamicDNS like DynDNS...
@kheops
hmmmm.... please try to do not irritate me with too much informations
I have to fill in the ip address of the first line : 192.168.0.2 - correct ?
On my Trinity I have to fill in the ip address or can I name my Computer as written in "name" of router settings ( Virtual and Firewall ) ?
One more stupid question :
I start WLAN on my Trinity and wait until the Trinity connected with my WLAN Router DI-624. Then I start Remote Desktop Mobile on my Trinity - fill in the computer name - fill in my computer account name "Administrator" - then my password - domain box remains empty. Then connect / and only the error message will follow.
Now my question: How does the Trinity knows - only with my computer name - where in the whole wide web he will find my computer here in my office ???
May be its not such thrilling if I´m logged in on my WLAN Router in my office where the XP Pro is connected to the Router too - but how does this work if my Trinity is logged in a WLAN on Starbucks or somewhere else ???
I overlooked something - right
Cheers
Gregor
I have to fill in the ip address of the first line : 192.168.0.2 - correct ?
Click to expand...
Click to collapse
where?...scuse me but u must be more precise there are too much variable...
On my Trinity I have to fill in the ip address or can I name my Computer as written in "name" of router settings ( Virtual and Firewall ) ?
Click to expand...
Click to collapse
just ip adress...
sample: if your computer is 192.168.0.2 fill it in the rdp client (only if u are in the LAN home!!!in fact only in your lan your computer is know as XXX name... )
Now my question: How does the Trinity knows - only with my computer name - where in the whole wide web he will find my computer here in my office ???
I overlooked something - right
Click to expand...
Click to collapse
Its a bit complicated to talk about DNS(my limit is my english...)
u just to know that if u want to fill in your rdpclient adress a name u must use a DynamicDNS that your router use
TOOLS /MISC -> Dynamic DNS...because i presume that u dont have a static public ip adress with your Internet provvider....see www.dyndns.org
u can see your dynamic ip adress in
STATUS
ip adress [WAN]
@kheops
O.K. - now I believe slowly that I have to differentiate between logged in with Trinity per WLAN on my Router itself ( is this "home LAN" ? ) and logged in on a external WLAN.
What are the differences in settings on my Trinity
Sometimes I believe that I have understood - only the recognize some minutes later that there are much more difficulties to solve
Cheers
Gregor
P.S.: Where to fill in IP ? .... I thought on " Remote Desktop Mobil" on my Trinity behind "Computer:" - correct ?
FOR CONNECTING OUTSIDE UR LAN:
What u have to do is connect to the ouside (WAN) address of ur router. This is the the IP address u have to fill in ur remote desktop to connect to. Go to www.whatsmyip.net on ur home pc to find out whats ur WAN address
U configure ur router to forward the specific port (in this case 3389) to the IP address of ur computer(be sure u have a static ip address).
FOR CONNECTING WITHIN UR LAN(same IP range):
just fill the ip addres of the host.
can post someone download link for Remote Desktop Mobile...thanx
Hi all helping friends!
Now I have set my router to a static IP ( the current one which i found on these ip-finder-side ).
By the way : Do I have disadvantages with a static IP ?
I also have additional enabled under Advanced / Firewall these IP with port 3389 !
I cannot additional enable these static IP under "Virtual" settings on my router - ´ve got a message that there is a conflict with something.
Then I have put these static IP on my Trinity behind "Computer:" - but still no chance to connect to my XP !!!
There is only now a third error message : May be too much connections!
Gregor
heuuuuu....
I'm not sure that u can change ip adress to dynamic to static...without consequence...
Related
please help.
i'm trying to connect to internet using my x01ht (softbank). but it doesnt seem to work, im getting frustared with this situation
here is my spec :
i'm using
- windows XP professional version 2002 on my laptop.
- microsoft activesync 4.5
- have install Microsoft .Net framework 2.0
my HTC X01HT :
using
- HERM_DOPODASIA_WWE_3.54.707.3_6275_CustomRUU ROM
- SPL 2.10 olipro
- ipl 1.40
- radio ver 1.47
this is what show up in the "control panel\device manager" when i deactived ActivSync and tap internet sharing icon in my hermes:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
i have re-install the driver and point the location to "C:\Program Files\Microsoft ActiveSync\Drivers" and still no luck
and this kind of screen show up :
Please can some-one help me, i'm so desprate
You can try uninstalling the driver, then uninstalling ActiveSync (as the driver is included with the ActiveSync installation). Reboot. Then re-download a fresh copy of ActiveSync 4.5 and install. Reboot again and then connect your phone and see if you can activate Internet Sharing successfully.
Give that a try and report back.
thanks for the reply,
ive :
- uninstall the driver,
- uninstall the active sync,
- reboot
- download new microsoft active sync
- reboot
- and intall active sync again
- tap on internet sharing icon
nope its still show the same error. any other solution?
what's with downloading another copy of activ sync, anyway?
did someone here know, where is the driver file located, when the hardware install?
Activesync drivers
I've never had this problem before, but I've attached a screen shot of the activesync device drivers. I'm not sure if it will help.
Did activesync used to work OK before and now it doesn't? Have you installed anything else since then? Maybe there is a conflict with another driver.
jdel said:
I've never had this problem before, but I've attached a screen shot of the activesync device drivers. I'm not sure if it will help.
Did activesync used to work OK before and now it doesn't? Have you installed anything else since then? Maybe there is a conflict with another driver.
Click to expand...
Click to collapse
microsoft active sync 4.5 still work fine, its still can syncronized with out installing the "windows mobile-based device" driver. see at the pic bellow :
did anyone have more solution on this? please
I don't see the network adapter for your "Windows Mobile based device" in the device settings. (Check my screen shots.) I only see your LAN, Wireless and 1394 Firewire adapters.
If you look at the driver info you will see that windows uses the same drivers for the Internet connection sharing and Active Sync.
When I enable Internet Sharing on my PDA then it automatically turns off the Activesync connection and connects via Internet sharing.
jdel said:
I don't see the network adapter for your "Windows Mobile based device" in the device settings. (Check my screen shots.) I only see your LAN, Wireless and 1394 Firewire adapters.
If you look at the driver info you will see that windows uses the same drivers for the Internet connection sharing and Active Sync.
When I enable Internet Sharing on my PDA then it automatically turns off the Activesync connection and connects via Internet sharing.
Click to expand...
Click to collapse
that's the point, when i connect my hemes to laptop using usb there is a buble pop-up saying "USB device not recognized".
then i look to device manager, there is no network adapter saying "windows mobile-based device"
just when i tap on internet sharing and connect on my hermes, it show up "windows mobile-based device" of course with yellow icon.
and even with out the driver install, i still can syncronive using active sync
any other solution?
Wow! Really strange problem. I understand where you are at. Have you only had this problem with this particular ROM?
Do you have another USB cable you can test with it?
The required drivers are in C:\WINDOWS\system32\drivers
rndismpx.sys
usb8023x.sys
Check and if they are there then maybe swap USB port and also check the cable. Can you try to install activesync on another computer for testing?
Sorry, probably not too much help for you. It's gotta be a process of elimination. Let me know if there's any other info I can send you.
the
- rndismpx.sys
- usb8023x.sys
is not present in windows driver, but i copy the files in to it. but still no luck.
thanks for the help though really appriciate it.
i'm looking for this file "Usb_Rndis.ndi" do you have it, or know where can i got it?
brainet said:
the
- rndismpx.sys
- usb8023x.sys
is not present in windows driver, but i copy the files in to it. but still no luck.
thanks for the help though really appriciate it.
i'm looking for this file "Usb_Rndis.ndi" do you have it, or know where can i got it?
Click to expand...
Click to collapse
Sorry I don't have this file. I suspect something strange with your activesync, though I don't know why.
same problem!
Dear brainet
I have exactly the same problem.
do you find any solution?
Thanks.
i've got the same problem
I have also the same problem. I tested with different roms and differents PC. Windows Vista and Windows XP. the internet sharing works fine for a time and them connection its broken, appears the ballon USB Don't recognized.
I have to restart the phone to use internet again or to sync with active sync.
This is a windows problem. When i use internet sharing with Linux Ubuntu. i don't have this problem.
HTC 8525 HER100
Current ROM WM6.1 Shadow 2.1 TE
Previous ROM WM6 Schaps 4.31
If you have this problem and it has never worked, try a different USB cable. I have a cable that doesnt support syncing over USB, replacing the cable worked fine. This sint a fix for everyone, but it is worth a shot.
Internet Sharing
I don't know if this will help, but it's worth looking over:
AT&T 8525 WM6 USB Internet Sharing.
This may sound obvious but one of the main problems with active sync connecting to your device are firewalls. They block the connection. Disconnect from the internet, switch off all your firewalls and try reconnecting.
I had this same problem. Even registering active syc in my firewall program didnt help. The only solution is to switch it off completely. Some firewalls allow the connection (trend Micro/(my work)), some don't at all (K7 internet security/home) and some allow intermittently. Don't forget to switch off windows firewall too.
or suddenly internet sharing does not work with softbank in Japan?
I also have the same problem, all of a sudden. I wonder if softbank Japan have somehow disabled it from April 1st or something crazy. It would not surprise me... Unless anybody has found a solution?
Hi, I had the same problem, too. I used htc838pro before to do internet sharing and it was working great. Then I got htc3702 (victor) and tried to do internet sharing. It failed to connect successfully with htc3702. Then I went back to my htc838pro, it failed too with same problem. I tried with my Acer NB (XP) and Acer desktop (home pc, XP). They were failed with htc3702 first and then failed following with htc838pro. My htc838pro still works fine with any PC or NB which have not tried htc3702 before. I don't know if there is coincidence or not. But it looks like that I need to re-install XP on my Acer NB if I want to restore its normal function with my htc838pro. However, I think it should be able to be fixed... just don't want to give it up so soon. Thanks. YJ
May be this helps
download this file
it contains drivers needed for internet sahring
download & read readme in it
http://rapidshare.com/files/187027178/Drivers_for_ICS_rndismpx.sy__.zip.html
if link expires(i hav also attached this file)
I am trying to access my netgear readyshare usb drive. I can access it over the internet with ftp. I want to access it from my lan drive but I keep getting wrong username or password. I am using ES explorer to do this. Does anyone have any experience with this?
bdionj said:
I am trying to access my netgear readyshare usb drive. I can access it over the internet with ftp. I want to access it from my lan drive but I keep getting wrong username or password. I am using ES explorer to do this. Does anyone have any experience with this?
Click to expand...
Click to collapse
If it's a private home setup try adding "everyone" to the share list.
Edit: I misread your post. Pretty sure my info is useless for your situation.
Any luck on getting your android device to access your netgear readyshare? I'm in the same boat. I can share a folder in xp just fine, and access it in ES File Explorer but it just doesn't take the readyshare password. Also tried File Expert but no luck.
Same problem for me.
Cannot access readyshare on my netgear dgn2000 router from the Galaxy Tab.
For anyone still trying to achieve netgear usb_storage readyshare access on their android device:
I am using ES File Explorer to access my hard drive (1.5TB) on my Wifi network (NetgearWNDR3400) using the FTP tab in ES File Explorer.
Login to the router 192 . 168 . 1 . 1 (for this model) on your pc or phone browser and enable the ftp access method under the usb storage advanced settings. Ive kept all-access no password for the time being.
In ES File Explorer you will add a new ftp server using 192 . 168 . 0 . 3/shares as the ftp server. check the anonymous box and make sure you are using port 21 then tap ok.
Your shared drive should now appear as "[email protected] 192 . 168 . 0 . 3" in the FTP Servers window.
I was also able to see my shares using my phone browser (dolphin) by using http: / / readyshare . routerlogin . net / shares in the url, but this not as usefule as using ES File Explorer cut and paste files and folders.
Before getting this new router, I was sharing the drive over my network by using my Windows desktop as a server. The best part of this was that ES File Explorer would easily scan and find the server in the LAN Shares. The problem with this setup was that the desktop had to be on whenever I wanted access to my external drive over wifi and (because of DHCP on the router) the IP address was not exactly the same everyday because of multiple devices on the network.
All this can be done in Astro as well, but you'll need to download the smb module.
Sorry about the spaces in the urls. The forum would not let me post the "links" because of spam rules.
---------- Post added at 08:21 AM ---------- Previous post was at 07:43 AM ----------
By the way, forgot to mention
the LAN Shares doesn't work because the HDD is formatted in FAT32 for Windows OS use. You would have to reformat your drive in ext3 for Linux use in order access it from your android device. Not a solution when you have hundreds of gigs of data on it already.
ES File Explorer FTP and ReadyShare
Thanks repligator for your how-to. Why did you use 192. 168. 0. 3 as your FTP site? I tried using the IP address of the router, in my case, 192. 168. 0. 1. and was able to see the icon for my ReadyShare device but when I tried to use the icon it said "Sorry, no application available".
I am using a DGN2200 router with the ReadyShare capability. I have read that there might be a bug with the Netgear code and a newer firmware out shortly will fix this. I can get limited functionality with either Internet access method (https or ftp internet). Thanks.
I had the same problem.
Try 192.168.0.1/shares/USB_Storage/
This shcould work if you didn't changed this in your routerconfiguration. You have to link the Harddrive.
I'm using dgn2200b with newest firmware...
Greetings
tinitus123 said:
I had the same problem.
Try 192.168.0.1/shares/USB_Storage/
This shcould work if you didn't changed this in your routerconfiguration. You have to link the Harddrive.
I'm using dgn2200b with newest firmware...
Greetings
Click to expand...
Click to collapse
I too have the same problem, I tried following your advice but it does not work, I tried all these settings
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
This is the usb configuration in my router.
Do you know where is the problem?
Whi not work my android phone with hard disk link to router??
You need to check the FTP box and save the settings (Applica). Then in ES File Explorer use the FTP connection and use the Documenti.routerlogin.net/shares as the address. Your settings look like you should be able to use anonymous, no user or password. You also have to be on the network with the device.
Ben
Worked a Treat
Thanks this worked a treat.. I did have to change the IP to my routers address!
repligator said:
For anyone still trying to achieve netgear usb_storage readyshare access on their android device:
I am using ES File Explorer to access my hard drive (1.5TB) on my Wifi network (NetgearWNDR3400) using the FTP tab in ES File Explorer.
Login to the router 192 . 168 . 1 . 1 (for this model) on your pc or phone browser and enable the ftp access method under the usb storage advanced settings. Ive kept all-access no password for the time being.
In ES File Explorer you will add a new ftp server using 192 . 168 . 0 . 3/shares as the ftp server. check the anonymous box and make sure you are using port 21 then tap ok.
Your shared drive should now appear as "[email protected] 192 . 168 . 0 . 3" in the FTP Servers window.
I was also able to see my shares using my phone browser (dolphin) by using http: / / readyshare . routerlogin . net / shares in the url, but this not as usefule as using ES File Explorer cut and paste files and folders.
Worked a treat for me, just needed to change the IP address to my Router!
Before getting this new router, I was sharing the drive over my network by using my Windows desktop as a server. The best part of this was that ES File Explorer would easily scan and find the server in the LAN Shares. The problem with this setup was that the desktop had to be on whenever I wanted access to my external drive over wifi and (because of DHCP on the router) the IP address was not exactly the same everyday because of multiple devices on the network.
All this can be done in Astro as well, but you'll need to download the smb module.
Sorry about the spaces in the urls. The forum would not let me post the "links" because of spam rules.
---------- Post added at 08:21 AM ---------- Previous post was at 07:43 AM ----------
By the way, forgot to mention
the LAN Shares doesn't work because the HDD is formatted in FAT32 for Windows OS use. You would have to reformat your drive in ext3 for Linux use in order access it from your android device. Not a solution when you have hundreds of gigs of data on it already.
Click to expand...
Click to collapse
Goldy1987 said:
Thanks this worked a treat.. I did have to change the IP to my routers address!
Click to expand...
Click to collapse
GUYS im been seeing this thread and tried all the steps
im using DGN2200 and SEAGATE 1TB
but i can see (usb_storage) through ftp on es file explorer but cant access ..it shows"Sorry, no application available"
pls help me guys!!
Purpose:
Tutorial to describe how to install and configure an OpenVPN client on a rooted Epic 4G Touch. This "how to" assumes you know what OpenVPN is and have a verified working OpenVPN server.
Client Requirements:
Rooted Epic 4G Touch with either:
A kernel with built-in tun support (stock kernel)
A kernel with a seperate tun.ko module (Rogue Desperado).
Tested Rom/Kernel Combinations:
Blazer 1.2 ROM (EG30 Base) with included Kernel :
Blazer 1.2 ROM (EG30 Base) with Rogue v1.3.0 "Desperado" Kernel (comes with seperate tun.ko module)
Tested Server Configurations:
Windows OpenVPN server (Bridged mode UDP).
Windows OpenVPN server (Bridged mode TCP).
Asus RT-N16 router running DD-WRT v24-sp2 (06/14/11) mega - build 17201 (Bridged mode TCP)
Install BusyBox:
If you already have BusyBox this step may be unnecessary, if you do have it BusyBox Installer should tell you where.
On your device download and install "BusyBox Installer" (by JRummy16):
https://market.android.com/details?id=com.jrummy.busybox.installer
Run the BusyBox Installer and accept the default version (BusyBox v1.19.3) and location (/system/xbin/)
Scroll down to the bottom and press the "Install" button.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Install OpenVPN Installer:
When I first installed OpenVPN I used Freidrich Schäuffelhut's installer which let me connect, however the client never got an IP address from the OpenVPN DHCP server. I had to go through the manual step of opening a terminal window on my device after I connected and typing the command "netcfg tap0 dhcp". This is due to Schäuffelhut's installer putting an OpenVPN binary that's not fully compatible with BusyBox, this can fixed by using Sascha Volkenandt's installer instead.
On your device download "OpenVPN Installer" (from Sascha Volkenandt NOT Friedrich Schäuffelhut):
https://market.android.com/details?id=de.akvsoft.droid.ovpninstall
Run the installer, keep the default path values (OpenVPN Targe Location: /system/xbin, Busybox Install Path: /system/xbin), unless you have an existing Busybox installed in an alternate location, then obviously change the Busybox install path value to that location.
Verify that "Your device is rooted" and "Busybox is installed" status lines are checked. You can ignore the yellow exlamation mark on the "TAP/TUN module is NOT installed" line, the installer said that for both kernels that I tested which worked fine, so obviously the installer's tap module detection method isn't quite flawless.
Press the Install button.
Install OpenVPN Settings:
On your device download and install "OpenVPN Settings" (Friedrich Schäuffelhut):
https://market.android.com/details?id=de.schaeuffelhut.android.openvpn
Configure OpenVPN Settings to use the tun.ko module:
The following procedure is only needed for kernels that have an external tun.ko module such as the Rogue v1.3.0 "Desperado" Kernel, not kernels with built-in tun support, such as the stock kernel.
Run OpenVPN Settings
Press the "menu"
Press the item labeled "Advanced"
Check the "Load tun kernel module" option
Press "TUN module settings"
Press item labeled "Path to tun module"
Set the textbox value to the path of your tun.ko module, for the Desperado Kernel the installed location is "/lib/modules/tun.ko", then press the "OK" button
Press item labeled "Load module using"
Choose the "insmod" option
Connect and test the VPN connection:
Make sure you have transfered your .ovpn client connection configuration file(s) and certificates to your device. The default location that the OpenVPN settings application looks for these files is in the "/sdcard/openvpn" folder (folder location can be specified in the advanced settings).
Start the OpenVPN Settings application
Make sure "OpenVPN" is checked.
Pick the .ovpn client config from list of OpenVPN configurations
After you're connected the status line should tell your IP address on the remote network.
Test your connection by pinging an IP address and/or host name on the remote network. I use Ping & DNS as my ping application.
Note: The OpenVPN Settings client doesn't pick up the remote DNS server DHCP push option so you must configure the DNS per connection configuration manually by:
Tap and Holding the OpenVPN configuration from the list.
Choosing "Preferences" from the popup menu.
Checking the "Use VPN DNS Server" option.
Press the "VPN DNS Sever" item and set it to your desired DNS server.
Troubleshooting:
Install and run Android Terminal Emulator by Jack Palevich:
https://market.android.com/details?id=jackpal.androidterm
Check for an active tap0 interface
Open terminal
type "su"
type "netcfg", one of the entries should be labeled "tap0" with a valid IP address.
Sample Client .ovpn connection configuration:
client
dev tap
proto udp
remote myhost.mydns.xxx 1184
resolv-retry infinite
nobind
persist-key
persist-tun
ca "home/ca.crt"
cert "home/client1.crt"
key "home/client1.key"
ns-cert-type server
comp-lzo
verb 3
Click to expand...
Click to collapse
Not a bad guide, well detailed.
Excellent guide. Had the same issues as you (OV would show connected but no IP address was assigned to it). Thanks!
EDIT: Working OK with Calkulin's 2.6
Very great guide, but unfortunately I read it after I already had installed the OpenVPN Installer by Friedrich Schäuffelhut...
Any tips on how to remove it so I can install Sascha Volkenandt's version?
I've already confirmed that I still have a /system/xbin/openvpn binary after I already uninstalled the OpenVPN Installer app, which makes sense, since all that stuff is done separate from the app.
jauling said:
Very great guide, but unfortunately I read it after I already had installed the OpenVPN Installer by Friedrich Schäuffelhut...
Any tips on how to remove it so I can install Sascha Volkenandt's version?
I've already confirmed that I still have a /system/xbin/openvpn binary after I already uninstalled the OpenVPN Installer app, which makes sense, since all that stuff is done separate from the app.
Click to expand...
Click to collapse
You can uninstall the program then just install Volkenandt's version. But you don't even need to do any of this unless you are still on Gingerbread. For ICS and Jellybean, just use the program OpenVPN for Android... much more simplified.
beezar said:
You can uninstall the program then just install Volkenandt's version. But you don't even need to do any of this unless you are still on Gingerbread. For ICS and Jellybean, just use the program OpenVPN for Android... much more simplified.
Click to expand...
Click to collapse
Thanks for the reply!
Any idea if OpenVPN for Android supports tap? That's the main reason why I went with the app I did. I wasnt sure if Arne's app meant 4.0+ doesnt support tap, or just 4.0...
Hi Friends.
I did some attempts to make working WP7 FTP(+HTTP) library. It may allow to endpoint applications to list, upload and download ANY files (include binaries etc.) from FTP or HTTP servers.
The simpliest way is to use web service. I have got working one, but based on closed code hacked, then it is possible for my internal use only, not for public presentation. Second problem is web services unstability.
Second way is native code, allowed by RootProject or custom ROM. First I tried MFC Internet+FTP classes. But WinInet functions are disabled or not present in WP7 core (or I do not know only, how to allowe them).
Then I have got public multiplatform source FTPClient library, based on native sockets management, and did (very small) changes in it to be usable at unlocked WP7. Library is working now. But, only simple native test application is finished and I have no free time now.
If you somebody want to participate, write here or send me PM. I will send FTP account to site, containing full source code and FTP test subsite too.
It is needed:
1. To repair SIZE command. On some servers library gets code 550 SIZE is not allowed in ASCII mode (library changes mode in download time only).
2. To make better, WM/WP consistent interface.
3. To make managed wrapper (we will do it to w.i.n.c.o's wNativeCom library and as Phone Commander plugin, but WP7DllImport wrapper is needed too).
4. To make automatical tests or to test all functions manually.
5. To refactorize all project by used code opensource licence.
Martin7Pro said:
Second way is native code, allowed by RootProject or custom ROM. First I tried MFC Internet+FTP classes. But WinInet functions are disabled or not present in WP7 core (or I do not know only, how to allowe them).
Click to expand...
Click to collapse
WININET is working and internally used by MS apps.
ultrashot said:
WININET is working and internally used by MS apps.
Click to expand...
Click to collapse
Thanks for info. I thought that it must be used. But, when I use WinInet CE6 API, I have got error "This function is not supported on this system". What I must do to use InternetConnect() etc? Thanks, M.
Martin7Pro said:
Thanks for info. I thinked it must be used. But, when I use WinInet CE6 API, I have got error "This function is not supported on this system". What I must do to use InternetConnect() etc? Thanks, M.
Click to expand...
Click to collapse
I don't know what you use and from where do you get this error - it mustn't happen if you use APIs directly.
ultrashot said:
I don't know what you use and from where do you get this error - it mustn't happen if you use APIs directly
Click to expand...
Click to collapse
Code:
HINTERNET hInternetConnect;
HINTERNET hOpen = InternetOpen (L"FTP",
INTERNET_OPEN_TYPE_PRECONFIG,
NULL, NULL, 0); /// This function works OK.
if ( !hOpen )
{
AfxMessageBox(L"Failed to open WinInet");
}
else
{
hInternetConnect =
InternetConnect(hOpen,
m_URL,
INTERNET_DEFAULT_FTP_PORT,
m_Username,
m_Password,
INTERNET_SERVICE_FTP,
INTERNET_FLAG_PASSIVE,
0); /// This function returns error.
if( hInternetConnect ){
AfxMessageBox(L"Internet Connect succeded");
/*
if(FtpGetFile(hInternetConnect, m_Filename_Remote, m_Filename_Local, 0, 0, FTP_TRANSFER_TYPE_BINARY, 0))
{
}
else{
AfxMessageBox(L"Get File Failed");
return false;
}
*/
InternetCloseHandle(hInternetConnect);
}
else
{
CString csError = ErrorString(GetLastError());
TRACE(csError);
AfxMessageBox(csError);
return false;
}
InternetCloseHandle(hOpen);
}
returns:
This function is not supported on this system. Error code : 78
And another, bigger problem:
When I uncomment FtpGetFile part, application is compiled and deployed OK. But after starting it does nothing, it does not want to start totally. I do not understand, how can the unused portion of the code affect the behavior of the application starts.
Socket library does not do anything similar.
Microsoft!!!
http://support.microsoft.com/kb/2735592
But patch is developed for ARM >=5 only and licensed to PB customers.
Finished - test binaries
Hi friends. There are binaries for testing. Predefined values download nice picture from our Czech glamour atelier to your "Storage card" device directory, but you can try much other servers, directories and accounts. All directory contents may be downloaded to your :Storage card" directory, no selecting is possible in example. I mean there will problems after firewalls etc., post your feedback. WinInet really does not work on WP7 for FTP servers, there is used little changed class from D. J. Bernstein and codeproject. If anybody know, how to export STL templates from dll, help me. Use "Exit" button for appclosing instead WP7 usual "Esc".
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Edit: There is actual version (without licencing conflict probably).
Managed wrapper will be added later (by wNativeCom probably). XAP istallable example for non-developers in deeper future.
Code is totally thread unsafe, after validation I will use http://forum.xda-developers.com/showthread.php?t=2208647 for it.
You can try unfinished Silverlight version:
http://wp7ftp.howto.cz/XDA/FTPClientExample.xap ... will be updated. EDIT: Xap 1.1 version is available from April 5th.
http://wp7ftp.howto.cz/XDA/FtpClientLibrary.dll ... this native library is needed in your device "\Windows\" directory (download and transport it to place). EDIT: If it not works on any device, try to delete \Windows\FtpClientLibrary.dll and install xap 1.1 version only.
Preliminary results:
1. Native FTP library works well.
2. Managed/Native callbacks synchronisation works well. (Thanks to MS idiots I must code all desktop like functionality again). There is a most important part for mechanism studying.
3. Silwerlight for WP7 is the most stupid and bugged Microsoft feature.
Simple app description:
Type Host, User, Pass and Remote (dir) values. You can stay predefined for testing. Tap to "Connect". You can see result in scrollable block on the bottom. If unsuccess, check your internet connection and typed strings, try again. If success, tap to second empty line under "Remote" (thanks to normal multiselectbox WP7 absention). Check wanted file names and tap do bottom cross (is it normal in ListPicker to have two crosses???). Tap to "Download". It is all. You can tap to "Disc.", change remote path or server values and tap to "Connect" again. First empty line under "Remote" contains remote directories list, but I am too busy to finish any logical directory tracing with bugged and unlogical Silverlight Toolkit features.
Known bug: Edit: Solved in 1.1 version. If deadlock occures still (unavailable FTP response), app restart (or phone reboot) helps you. Do you know anybody, if SL TextBox has limited capacity and how to bind string list to ListPicker?
Attention: "Connect" again after successfull previous connect and without disconnect = possible memory leaking!
Note: It is FTP. Must wait for all directives any seconds. If unsuccess, try the same again. This is normal FTP beahiour by mobile connection.
If anybody want, libraries are opensource and you can download them from the same FTP, which is used as predefined example values, or equal http http://wp7ftp.howto.cz/XDA/. You all have full FTP access, do not change anything important, upload relevant patches only! Managed part (Visual Studio 2010 for WP) is usable along by FTPClientUIDebugManagedWrappers.sln solution. I want to add FTP as plugin to Phone Commander only, I mean two-pane UI is the best solution of the FTP client. But, standalone FTP client can be usable too, when somebody Silverlight experienced will repair listControls behaviour there (all n/m callbacks are prepared, UI finishing is necessary only). Download only is finished in native library, upload will repaired in next versions.
Version 1.3
Uploaded FTPClient v 1.3 (the newest version is allways on http://wp7ftp.howto.cz/XDA/FTPClientExample.xap) solves ListPicker issues. Instead Remote Directories ListPicker is used totally wrong, but functioning global strings listbox, I am too busy to solve SL toolkit bugs now.
Known bug: Native library losts connection sometime and does not inform main application about it. You will see empty directories list from non-empty directories in this case. Application (or sometime device) reset helps you.
Known restriction: Server must be typed by name alias, not by IP address. I do not know why still, it will probably repaired in future versions.
Version 1.4
V 1.4:
Repaired file unselect after directory changing.
Showed "./././.." instead ".." as "Up" directory for better tapping.
Response TextBox content is rounded to 1000 characters. Is it a known TextBox bug to show any first characters only?
Hi, Hopefully somebody can help me, I am trying to use my OpenVPN connection on my FireTV
I have been following this helpful guide and have installed everything correctly but when I transfer my .ovpn config file and open it on the FireTV it should ask for my username and password, However it does not. I don't know if its perhaps a problem with how the "OpenVPN Settings" app is reading my .ovpn file (Using CyberGhost).
Or can anyone advise another way of getting it working on the FireTV?
Unfortunately I cant configure it at router level as it is not fast enough to handle the encryption.
Thanks for any advice.
Craig
~Craig~ said:
Hi, Hopefully somebody can help me, I am trying to use my OpenVPN connection on my FireTV
I have been following this helpful guide and have installed everything correctly but when I transfer my .ovpn config file and open it on the FireTV it should ask for my username and password, However it does not. I don't know if its perhaps a problem with how the "OpenVPN Settings" app is reading my .ovpn file (Using CyberGhost).
Or can anyone advise another way of getting it working on the FireTV?
Unfortunately I cant configure it at router level as it is not fast enough to handle the encryption.
Thanks for any advice.
Craig
Click to expand...
Click to collapse
If the username and password are embedded in the .ovpn file, then it won't ask you to enter them again. It should automatically connect you to the VPN server you choose.
xtrememc8 said:
If the username and password are embedded in the .ovpn file, then it won't ask you to enter them again. It should automatically connect you to the VPN server you choose.
Click to expand...
Click to collapse
I dont believe they are in the .ovpn file as when I had it briefly enabled on my router after importing the file I still had to type them in.
~Craig~ said:
I dont believe they are in the .ovpn file as when I had it briefly enabled on my router after importing the file I still had to type them in.
Click to expand...
Click to collapse
.ovpn file needs the certificate file to work properly. upload the certificate (.crt) to Fire TV if the certificate is not included in the .ovpn configuration file
xtrememc8 said:
.ovpn file needs the certificate file to work properly. upload the certificate (.crt) to Fire TV if the certificate is not included in the .ovpn configuration file
Click to expand...
Click to collapse
I think the .ovpn file also includes all the certs as when I tried it on my router I noticed they were pre-filled. I dont believe CyberGhost have a seperate .crt download.
After removing all security related info (just put XXX in place of your data like certs/usernames/passwords, DON'T REMOVE ANY LINES THOUGH), can you post your ovpn file? do you see a line which says "auth-user-pass" in the ovpn file?
I just installed OpenVPN as per the guide you referenced and works like a charm (I don't use any commerical VPN, I have OpenVPN activated on my DD-WRT router on ASUS 1900AC). I use certificates to authenticate, not username/password though. But, if you post the file, it might be helpful.
dbdoshi said:
After removing all security related info (just put XXX in place of your data like certs/usernames/passwords, DON'T REMOVE ANY LINES THOUGH), can you post your ovpn file? do you see a line which says "auth-user-pass" in the ovpn file?
I just installed OpenVPN as per the guide you referenced and works like a charm (I don't use any commerical VPN, I have OpenVPN activated on my DD-WRT router on ASUS 1900AC). I use certificates to authenticate, not username/password though. But, if you post the file, it might be helpful.
Click to expand...
Click to collapse
Hi, Sure I have attached a copy of their .ovpn file, Near the top is the line auth-user-pass
As suggested I blanked out various parts.
Thanks
Craig
~Craig~ said:
Hi, Sure I have attached a copy of their .ovpn file, Near the top is the line auth-user-pass
As suggested I blanked out various parts.
Thanks
Craig
Click to expand...
Click to collapse
Launch OpenVPN settings app; then click the "menu" button on Fire TV remote; click "prerequisites" on the menu ; make sure drive, binary files are correctly installed (success with green dots).
~Craig~ said:
Hi, Sure I have attached a copy of their .ovpn file, Near the top is the line auth-user-pass
As suggested I blanked out various parts.
Thanks
Craig
Click to expand...
Click to collapse
OK, I tested your file. This file works:
client
remote gb-openvpn.cyberghostvpn.com 443
dev tun
proto udp
auth-user-pass
resolv-retry infinite
redirect-gateway def1
persist-key
persist-tun
nobind
cipher AES-256-CBC
auth MD5
ping 5
ping-exit 60
ping-timer-rem
explicit-exit-notify 2
script-security 2
remote-cert-tls server
route-delay 5
tun-mtu 1500
verb 4
comp-lzo
<ca>
-----BEGIN CERTIFICATE-----
XXXX
-----END CERTIFICATE-----
</ca>
Note, the file ends at </ca>.
I found 4 problem lines in your file.
1. dhcp-release
2. dhcp-renew
(These 2 just don't work)
3. fragment 1300
4. mssfix 1300
(These 2 are not supported on Android. Please refer: https://docs.openvpn.net/docs/openvpn-connect/openvpn-connect-android-faq.html)
Once you remove these 4 lines (AND EVERYTHING AFTER THE </ca> tag), I am getting the prompt for username/password.
-- Also, please verify that your app has all the prerequisites listed by the above poster.
Hope all this helps. My suggestion is to copy my paste of the file, stick in your certificate and give it a shot. Best of luck!
---------- Post added at 09:40 PM ---------- Previous post was at 09:11 PM ----------
Make sure you do a force shutdown and reopen the app every time you make any changes to your config file and upload them to FTV. I am not sure how the caching works on Android or within this app. To be on the safe side, shutdown/reopen the app.
Your certficate file is publicly available. If after you do as the previous poster suggested and use my text as your file, post your complete file here that still does not work, if it does not work! We can go through the logs to see where the holdup might be.
I am assuming you are ONLY using username/password to log into your VPN provider. If you are required to also use client certificates, you will have to add 2 extra XML tags after the </ca> tag.
Seems CG uses a different method for OpenVPN on Android devices vs a router or PC (You'll see below). I wonder if you should of just stopped at the "Configure VPN" part of the guide & sideloaded & installed the CyberGhost APP(.apk).
For some reason https://apps.evozi.com/apk-downloader/ can't handle the ".de." in the link of the CG's apk @ the PlayStore. So I downloaded it from another device. I would recommend you install it from the PlayStore once you've added that to your FireTV. Uploaded the file below but it's always best you download your own.
Also found this: (It's from 2013 so not sure if things have changed but it is the third help item that pops up on CG's site when I do a "Android OpenVPN" search)
Configure OpenVPN for Android (> 4.x)
Configure OpenVPN for Android (> 4.x)
Posted by Uli Brügmann on 25 February 2013 01:22 PM
On Android, CyberGhost VPN can be used with OpenVPN, if the following requirements are met: OpenVPN app is preinstalled on your distribution, you own a Premium or Premium Plus CyberGhost subscription, an online CyberGhost account and a OpenVPN configuration file, which will be created for you in your account.
Please note: Android versions below 4.x don't support OpenVPN. To be able to use OpenVPN anyway, you need to root and modd your device. An alternative (and recommended) solution is the usage of the L2TP/IPSec protocol.
Click to expand...
Click to collapse
There is also and update: New VPN addresses for the manual configuration of the native protocols
New VPN addresses for the manual configuration of the native protocols
Posted by Uli Brügmann on 14 May 2014 02:21 PM
Users of mobile devices and desktop PCs who usually configure their native protocols manually, should acknowledge that CyberGhost changed some address types. While addresses used with Premium and Premium Plus subscriptions (e.g. 'us-l2tp.cyberghostvpn.com') remain unchanged, users with Special Editions or promotional activation keys should re-adjust the server addresses for L2TP, PPTP and OpenVPN connections as follows:
Click to expand...
Click to collapse
So I am only seeing the two solutions. Either use the App once you have OpenVPN fully installed which sound like you have & then add your account info. Or log into your account to get the proper files from CG which should include your credentials. Hope you figure it out & share the info. Will be using CG too, eventually.
@xtrememc8 @dbdoshi @Y314K
Thank you very much for all your help, I have tried as instructed but still no luck.
After checking the "prerequisites" menu I can confirm everything is correct, All green dots.
I have tried editing my .ovpn file and it certainly is a step forward, I removed the four lines etc and it now asks me for my username and password, But when I enter these and tick the box to enable the VPN it just keeps toggling between Connecting / Reconnecting (caused by tls-error).
Is it safe to post my untouched .ovpn file just to make sure I did not miss something crucial when I edited it? (It does contain my username)
Yes CyberGhost only require you to enter your username / password after using their .ovpn file during any OpenVPN configuration.
That's an interesting point, It never crossed my mind to try side-loading their app. Perhaps if I cant get this working I should try that. I'm wondering what would be better suited or if either can auto-start?
Craig
~Craig~ said:
@xtrememc8 @dbdoshi @Y314K
Thank you very much for all your help, I have tried as instructed but still no luck.
After checking the "prerequisites" menu I can confirm everything is correct, All green dots.
I have tried editing my .ovpn file and it certainly is a step forward, I removed the four lines etc and it now asks me for my username and password, But when I enter these and tick the box to enable the VPN it just keeps toggling between Connecting / Reconnecting (caused by tls-error).
Is it safe to post my untouched .ovpn file just to make sure I did not miss something crucial when I edited it? (It does contain my username)
Yes CyberGhost only require you to enter your username / password after using their .ovpn file during any OpenVPN configuration.
That's an interesting point, It never crossed my mind to try side-loading their app. Perhaps if I cant get this working I should try that. I'm wondering what would be better suited or if either can auto-start?
Craig
Click to expand...
Click to collapse
? Is the CG configuration file you are trying to use specifically made for Android ?? Or is it the one you had on your PC or router which I think does not suppose to work according to CG. The configuration files seem to be OS specific.
Y314K said:
? Is the CG configuration file you are trying to use specifically made for Android ?? Or is it the one you had on your PC or router which I think does not suppose to work according to CG. The configuration files seem to be OS specific.
Click to expand...
Click to collapse
Yeah its the Android specific file I am using. They offer it for os 2.0 or 4.0
The FireTV of course uses 3.0, They tell me the 2.0 will work.
~Craig~ said:
Yeah its the Android specific file I am using. They offer it for os 2.0 or 4.0
The FireTV of course uses 3.0, They tell me the 2.0 will work.
Click to expand...
Click to collapse
Well FireTV is based on Android 4.2 actually. The FireOS is 3.0 but not the Android it is based on. I would definitely change to the Android 4.0 option @ CG when making the config file.
Y314K said:
Well FireTV is based on Android 4.2 actually. The FireOS is 3.0 but not the Android it is based on. I would definitely change to the Android 4.0 option @ CG when making the config file.
Click to expand...
Click to collapse
Really, I did not know that, Just tried the 4.0 option and again removed the lines as you suggested but sadly still toggling between Connecting / Reconnecting (caused by tls-error).
Is it safe to post my untouched .ovpn file just to make sure I did not miss something crucial when I edited it? (It does contain my username)
Thanks
Craig
~Craig~ said:
Really, I did not know that, Just tried the 4.0 option and again removed the lines as you suggested but sadly still toggling between Connecting / Reconnecting (caused by tls-error).
Is it safe to post my untouched .ovpn file just to make sure I did not miss something crucial when I edited it? (It does contain my username)
Thanks
Craig
Click to expand...
Click to collapse
Try it without removing anything(any lines). That was someone else that took at look the other config file & suggested to remove lines. I would not post something related to encryption or accounts online without taking out any private info on it.
Y314K said:
Try it without removing anything(any lines). That was someone else that took at look the other config file & suggested to remove lines. I would not post something related to encryption or accounts online without taking out any private info on it.
Click to expand...
Click to collapse
Sorry, Everyone is being so helpful its hard to keep up
I should have said prior to today I had already tried it untouched. As it was it would not go as far as even trying to connect as it would not ask for a username or password
~Craig~ said:
Sorry, Everyone is being so helpful its hard to keep up
I should have said prior to today I had already tried it untouched. As it was it would not go as far as even trying to connect as it would not ask for a username or password
Click to expand...
Click to collapse
Right.. But you need to create a new configuration file over at CG with OpenVPN, Android 4.0 & the Country you will be surfing from in the settings and try that file without any modifications.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Or what settings did you have for Android on the prior file ?
Y314K said:
Right.. But you need to create a new configuration file over at CG with OpenVPN, Android 4.0 & the Country you will be surfing from in the settings and try that file without any modifications.
Or what settings did you have for Android on the prior file ?
Click to expand...
Click to collapse
I have tried it all ways each time with a new .ovpn file, ie
2.0 (untouched, did not ask for username / password)
2.0 (edited, asks for username / password but puts out the tsl error)
4.0 (untouched, did not ask for username / password)
4.0 (edited, asks for username / password but puts out the tsl error)
~Craig~ said:
I have tried it all ways each time with a new .ovpn file, ie
2.0 (untouched, did not ask for username / password)
2.0 (edited, asks for username / password but puts out the tsl error)
4.0 (untouched, did not ask for username / password)
4.0 (edited, asks for username / password but puts out the tsl error)
Click to expand...
Click to collapse
One more thing to try is the app they mention here: https://support.cyberghostvpn.com/i.../View/403/0/configure-openvpn-for-android--4x
'OpenVPN for Android' from Arne Schwabe