[q] cisco vpn for galaxy tab - Galaxy Tab General

HI,
Somebody now of a VPN client compatible with cisco Altiga concetrator ?
I need to connect the tab to our corporate network, and we use the standard cisco vpn client on PC, any similar software for the Galaxy tab ?

It appears that int VPN client that comes with the Tab is missing a level of authentication needed for a Concentrator. I'm currently looking through everything I would need to get openVPN up and running on the Tab, but it's not going to be a straightforward process. If I have any success, I'll update here.

Perion said:
It appears that int VPN client that comes with the Tab is missing a level of authentication needed for a Concentrator. I'm currently looking through everything I would need to get openVPN up and running on the Tab, but it's not going to be a straightforward process. If I have any success, I'll update here.
Click to expand...
Click to collapse
any luck on this? I am having the same issues connectiong to Cisco IPSec VPN

It works with some tweaking. Look here
http://forum.xda-developers.com/showthread.php?t=820909
Sent from my GT-P1000 using XDA App

I have successfully connected by Tab to Cisco VPN appliances using the VPN Connections app and the tun.ko module from the thread linked to in post #4. The only real issue I've seen with this setup is that when you disconnect the VPN tunnel it leaves the IP stack (possibly just the DNS config) in a confused state and you need to bounce your networking to get it back straight.

I am having the same issues connectiong to Cisco IPSec VPN

I connect to our cisco vpn using tun.ko file and vpn connections as well.
Have not had any issues with ip stack our dns being left in a confused state...
I will post a write up of what I did if I get time later... But basically it was:
Root
Install busybox
Copy tun.ko to system/lib/modules/tun.ko
Install vpn connections
Enter ipsec gateway,ipsec id,ipsec pwd,uname,usrrpwd
Done.
Same procedure worked on my droid one (with a different tun.ko)
Sent from my SCH-I800 using XDA App

jkhouw1 said:
I connect to our cisco vpn using tun.ko file and vpn connections as well.
Have not had any issues with ip stack our dns being left in a confused state...
I will post a write up of what I did if I get time later... But basically it was:
Root
Install busybox
Copy tun.ko to system/lib/modules/tun.ko
Install vpn connections
Enter ipsec gateway,ipsec id,ipsec pwd,uname,usrrpwd
Done.
Same procedure worked on my droid one (with a different tun.ko)
Sent from my SCH-I800 using XDA App
Click to expand...
Click to collapse
I rooted my phone (z4root)
installed busybox
Got tun.ko but there's no "modules" folder in system/lib + the system folder is sort of write protected (I can't create new directories and all)
(I used Astro file manager)

I created the modules subfolder
You need to mount /system as rw.. I use root explorer instead of astro and it has a nice feature built in to mount rw ro I didnt see in astro
You can do it from terminal as well
#su
#mount -o remount,rw -t rfs /dev/block/st19 /system
Then when done remount as ro
#mount -o remount,ro -t rfs /dev/block/st19 /system
Sent from my SCH-I800 using XDA App

Still no clue
First off, I'd like to appreciate your help.
The issue still exists! Using root explorer I created the directory and placed the file (tun.ko) in it but I still get the same error message after setting my VPN connection up (Server hung up. Unable to connect to the server due to firewall. Try again?)
Any idea?
BTW, how and where can I use/download the terminal?
Thanks in advance
jkhouw1 said:
I created the modules subfolder
You need to mount /system as rw.. I use root explorer instead of astro and it has a nice feature built in to mount rw ro I didnt see in astro
You can do it from terminal as well
#su
#mount -o remount,rw -t rfs /dev/block/st19 /system
Then when done remount as ro
#mount -o remount,ro -t rfs /dev/block/st19 /system
Sent from my SCH-I800 using XDA App
Click to expand...
Click to collapse

This really helps. I am able to copy the tun.ko to that folder. Hopefully it will be loaded automatically next time when I reboot. Before I have to manually run the command every time I reboot.
insmod tun.ko

Hi,
I've got Galaxy Tab and I have done the tun.ko and the busybox, and the insmod, and link for ifconfig and route.. lsmod shows tun.
my vpnc connects, says connected and stays connected.. But I cannot reach anything int he vpn network.. if I do "ip link show"... kind of like doing ifconfig -a on linux, I can see the tun interface, but it's down.
openvpn by the woy, works ok... I can connect and routing works.. Any help would be great.
Thanks,

Related

tun.ko needed

Hello, anyone compiled a tun.ko module for the arc kernel yet? This is needed in order to use openVPN. I got my bootloader unlocked, phone rooted, busybox installed, and now am just waiting on a tun.ko file to get things rolling
Once I get toolchain environment setup on my Mac this should be easily done. Will see if I can find time tomorrow.
Sent from my R800i using XDA Premium App
I have one for Japanese version of arc, which was built against so-01c_gingerbread_3.0.D.2.79.tar.gz, working fine though, I guess the kernel version is different for you?
moperi said:
I have one for Japanese version of arc, which was built against so-01c_gingerbread_3.0.D.2.79.tar.gz, working fine though, I guess the kernel version is different for you?
Click to expand...
Click to collapse
May be easy modified to work, if you can upload it?
Sent from my R800i using XDA Premium App
http://www.megaupload.com/?d=94XITOV3
HTH,
http://www.megaupload.com/?d=94XITOV3
HTH,
Ok I will have a look at it
Sent from my R800i using XDA Premium App
OK, tested this tun.ko. You should be good to go, and use it.
To use:
adb push tun.ko /sdcard/
adb shell
$ su
# mount -o rw,remount -t yaffs2 /dev/block/mtdblock0 /system
# cp /sdcard/tun.ko /system/lib/modules/
# chmod 644 /system/lib/modules/tun.ko
# rm/sdcard/tun.ko
# sync
# exit
$ exit
Thanks for all your help, got everything installed right (I think) but still can't get a tunnel working... Does the xperia arc kernel support tun? Either that or I have still got something wrong here...
paxophile said:
Thanks for all your help, got everything installed right (I think) but still can't get a tunnel working... Does the xperia arc kernel support tun? Either that or I have still got something wrong here...
Click to expand...
Click to collapse
It works. But openvpn has some issues. You need the static version. Google for openvpn-static.
You also need busybox in system/xbin and a symlink from system/xbin/bb to system/xbin.
Google again will help you.
Sent from my R800i using XDA Premium App
I have installed OpenVPN Installer and OpenVPN Settings from the market and created symlinks of ifconfig and route from busybox at /system/xbin/bb. it works except DNS settings. need to go to the preference by long-pressing the configuration and check on "Use VPN DNS Server" and add an IP address at "VPN DNS Server" explicitly.

[Q] How do i Install Openvpn on Lenged?

Hi,
I tried for hours but cannot get OpenVPN to run or install.
I have the Blayo 0.8.4 Rom installed and know that
ifconfig is in
/system/xbin/ifconfig
and tun.ko is located in
/system/lib/modules/tun.ko
When i run the OpenVPN installer from the market it asks me where to put the files and asks for Superuser permission - but when the app wants to do the copying the phone hangs and does a reboot.
The OpenVPN Library File i used is from here (Sorry its German):
http://www.android-hilfe.de/anleitungen-fuer-motorola-milestone/28392-how-openvpn-auf-dem-milestone.html#post321528
So can anybody help me to get OpenVPN running?
I sadly cannot use the preinstalled VPN methods, because my University Wlan only supports Cisco-VPN or OpenVPN Method.
I thought it might be the problem that OpenVPN installer cannot write to the system Partition -- so i opend a local Terminal in ConnectBot and typed
aufs --enable
But there i get the Message:
Enabling Read-Write /system overlay
/data/local/dosysoverlay: Permission denied
Please reboot your phone for changes to take effect
But after a reboot the OpenVPN installer still doesn't work...
I hope someone has a idea or solution to my problem!
Thanks a lot!
Try enabling system overlay via Terminal Emulator or ADB.
Sent from my HTC Legend using XDA Premium App
You need to su to gain root privileges before executing aufs. Or use adb shell which already has root privileges.
Sent from my HTC Legend
Thanks a lot BlaYo!
I opened a local Session in ConnectBot
then i typed
su (I had to allow SuperUser Access!)
aufs --enable
And it worked!
Its me again -- the installation of OpenVPN works, but i cannot open a connection.
When i try to open the the Connection it asks for username and password,
But then it says:
cannot load ca cert /sdcard/openvpn/RRZE-ca.crt path (null)
I searched with google and found that maybe it is a permission problem, but
su
chmod 555 RRZE-ca.crt
still didn't help
chmod 777 RRZE-ca.crt
also didn't help...
i also edited the config File to
...
ca //sdcard/openvpn/RRZE-ca.crt
...
or:
ca /sdcard/openvpn/RRZE-ca.crt
or ca RRZE-ca.crt
it's alsways the same :-(
The Config files for my university's OpenVPN is here:
RRZE-ca.crt
RRZE-full-tunnel.ovpn
I appreciate every help or idea you might help!
Rename it to ca.crt and edit config file accordingly.

Unable To Turn on Wi-Fi

I'm having an issue with wi-fi. I'm running Andromadus Audacity 2. Yesterday I ran into an issue where my phone was randomly rebooting. I decided to reflash the rom and when I did so I could no longer connect to Wi-Fi. I can turn Wi-Fi on but it will immediately turn back off. In settings it will only say turning wi-fi on and hang up there.
I don't think that the issue is the router since my wife's G2 and other devices we have in the house still work fine on wi-fi.
Also it's not the rom because I have superwiped and reinstalled, then tried installing cm7, and ilwt. The issue persists on each rom. I have superwiped each time before installing.
I am really at a loss for what to do, I didn't change any settings on the phone and regardless, I don't know what I could have changed that would have carried over through flashing a new rom. I would appreciate any ideas on what to do.
ETA - I have changed the radio and the kernel and still no luck.
Check
Sent from my HTC Vision using XDA
Sorry accidental send, check the /etc/wifi/wpa*.conf permissions and ownership. This happened to me when that file was off.
Sent from my HTC Vision using XDA
A_Elizondo said:
Sorry accidental send, check the /etc/wifi/wpa*.conf permissions and ownership. This happened to me when that file was off.
Sent from my HTC Vision using XDA
Click to expand...
Click to collapse
When you say off do you mean it was absent?
When I got to /etc/wifi/ there is a file named wpa_supplicant.conf, it is the only file in the folder
the text file says:
update_config=1
ctrl_interface=wlan0
eapol_version=1
ap_scan=1
fast_reauth=1
mbrentrowe said:
When you say off do you mean it was absent?
When I got to /etc/wifi/ there is a file named wpa_supplicant.conf, it is the only file in the folder
the text file says:
update_config=1
ctrl_interface=wlan0
eapol_version=1
ap_scan=1
fast_reauth=1
Click to expand...
Click to collapse
Sorry my English is not as great as I wished it would be, this is what happens when I try to use "slang". When I say off I mean not correct. That is the correct file "wpa_supplicant.conf"
/etc/wifi/wpa_supplicant.conf --> needs rw-r--r--
/system/bin/wpa_supplicant --> needs rwxr-xr-x
I just checked my files and they are both owned by root and all works well so I guess its not an issue that wifi does not own them.
A_Elizondo said:
Sorry my English is not as great as I wished it would be, this is what happens when I try to use "slang". When I say off I mean not correct. That is the correct file "wpa_supplicant.conf"
/etc/wifi/wpa_supplicant.conf --> needs rw-r--r--
/system/bin/wpa_supplicant --> needs rwxr-xr-x
I just checked my files and they are both owned by root and all works well so I guess its not an issue that wifi does not own them.
Click to expand...
Click to collapse
Sorry I just misunderstood.
I checked both files and they had the same permissions that you wrote out.
mbrentrowe said:
Sorry I just misunderstood.
I checked both files and they had the same permissions that you wrote out.
Click to expand...
Click to collapse
Not sure if this helps but this is what's under my /etc/wifi/wpa_supplicant.conf file
update_config=1
ctrl_interface=eth0
eapol_version=1
ap_scan=1
fast_reauth=1
Notice my ctrl_interface=eth0 (thats a zero) I'd test that out see if it fixes it, if not then I'd download another rom and extract both /etc/wifi/wpa_supplicant.conf and /system/bin/wpa_supplicant files from it and replace yours. Again verify permissions are correct.
A_Elizondo said:
Not sure if this helps but this is what's under my /etc/wifi/wpa_supplicant.conf file
update_config=1
ctrl_interface=eth0
eapol_version=1
ap_scan=1
fast_reauth=1
Notice my ctrl_interface=eth0 (thats a zero) I'd test that out see if it fixes it, if not then I'd download another rom and extract both /etc/wifi/wpa_supplicant.conf and /system/bin/wpa_supplicant files from it and replace yours. Again verify permissions are correct.
Click to expand...
Click to collapse
Hey I'm on lunch now, in that file it says for ctrl_interface=wlan0. I am using es file explorer, it won't let me change it there but I think I read somewhere I can create a text file saying what I want it to and place it in the folder. Not sure if that will work.
As for the other roms, wifi doesn't work on any rom that I use.
mbrentrowe said:
Hey I'm on lunch now, in that file it says for ctrl_interface=wlan0. I am using es file explorer, it won't let me change it there but I think I read somewhere I can create a text file saying what I want it to and place it in the folder. Not sure if that will work.
As for the other roms, wifi doesn't work on any rom that I use.
Click to expand...
Click to collapse
You can replace the file using a terminal emulator here are the steps
Open terminal emulator and log in as super user by typing the following
su
Make the System Partition have read/write access by typing the following
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
Now you can modify the file using es file explorer
When complete make the system partition read only by doing the following
mount -o ro,remount -t yaffs2 /dev/block/mtdblock3 /system
You can also copy and replace the file using adb, not sure how familiar you are with that but the above should work.
A_Elizondo said:
You can replace the file using a terminal emulator here are the steps
Open terminal emulator and log in as super user by typing the following
su
Make the System Partition have read/write access by typing the following
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
Now you can modify the file using es file explorer
When complete make the system partition read only by doing the following
mount -o ro,remount -t yaffs2 /dev/block/mtdblock3 /system
You can also copy and replace the file using adb, not sure how familiar you are with that but the above should work.
Click to expand...
Click to collapse
Hmmm, I went into terminal emulator and did just as you said. This is what it says after I pasted in what you wrote to give me read/write access:
Usage: mount [-r] [-w] [-o options] [-t type] device directory
After I did that it still won't let me change that file.
Sorry you are correct that command only works in adb do this instead of the above command
mount -o remount,rw /system
then when you are done do this instead of the other read only command
mount -o remount,r /system
A_Elizondo said:
Sorry you are correct that command only works in adb do this instead of the above command
mount -o remount,rw /system
then when you are done do this instead of the other read only command
mount -o remount,r /system
Click to expand...
Click to collapse
Thanks I will try it, but I'm becoming more convinced this is a hardware issue.
I was on the phone today and the phone froze and I had to pull the battery. When I restarted the phone Wi-Fi was working for the first time in a week. While it was working I checked that file and it said the same exact thing. The phone then froze again (I think it was my fault because in the excitement of having Wi-Fi again I tried to update all of my apps and other things I can't do on the crappy 2g data I have at home) when I turned it back on Wi-Fi was no longer working.
So now I'm thinking that this has to be hardware. I will give your method a try.
Yea I think you are correct especially since you tried different roms. If you have warranty just unroot it and return it else keep posting here about the status and a will find a work around eventually
Sent from my HTC Vision using XDA
Well I finally switched back to ilwt and my wifi isn't working all of the time but it has worked for a few hours each day since I flashed it. Whereas on andromadus it didn't work at all for two months. Still haven't figured out what happened but at least I get to keep my G2. Although I'll probably move on the first time they put the note on sale later this year. Thanks aeliizondo for trying to help me!
Sent from my HTC Vision using XDA

Use a NAs as a storage for ROMs

Hi.
My nvidia shield is great and run a lot of emulator very well.
On my home I have a NAS with all roms from n64, psx, psp, dreamcast, nds,etc.
I would like to play this game without having to copy it to my sdcard or memory card.
My router is very fast so I think if there was a way to mount my NAS as a standard folder on my Shield it will do the job.
Do you guys know if it is possible to 'mount' a SAMBA or FTP or NFS on my shield as a folder?
In that way I will configure my emulators to find the roms in this mounted folder.
thanks
Hi
I found the solution with NFS Shares!
Now I can play all my roms from SAS without using my sdcard to copy files.
And small roms files(up to 10MB I can play outside home with internet) I am so happy with this solution now
It is like GRID but for emulation.
Follow the tutorial:
0 - You need a rooted android, superSU 1.9.3, busybox.
1- setup a NFS share ( I am using a 4T external HD on my router with OpenWRT firmware with the NFS package).
2- follow this guide:
mad_ady said:
Here's my recepie for mounting NFS shares on my Galaxy S3, running NeatRom 2.8 (Derived from SlimKat 2.8) and with Boeffla-Kernel:
Code:
#remount the root filesystem rw so that we can create the mountpoint
/sbin/busybox mount -o remount,rw /
#create the mountpoint
/sbin/busybox mkdir -p /mnt/nfs/Download
#make the mountpoint world readable so that all user apps can access it
/sbin/busybox chmod 777 /mnt/nfs
/sbin/busybox chmod 777 /mnt/nfs/Download
#remount / as ro
/sbin/busybox mount -o remount,ro /
#mount the actual NFS share (on 192.168.1.1:/overlay/Storage
su --mount-master -c "/system/xbin/mount -o nolock,ro,hard,intr -t nfs 192.168.1.1:/overlay/Storage on /mnt/nfs/Download"
#check that it was mounted
mount | grep /mnt/nfs/Download
Using this method (and having world readable permissions on my shared files) I am able to access the files both with a root explorer (ES File Manager) and with non-root apps (MXPlayer, QuickPic). Without running the chmod on the created folders I am only able to access them with a root explorer.
Let me know if you need additional help, and a million thanks to @brotbuexe for pointing out the mount-master trick (I was actually looking into injecting commands into adb before finding out of this switch).
Click to expand...
Click to collapse
3 - done
ricardo85x said:
Hi
I found the solution with NFS Shares!
Now I can play all my roms from SAS without using my sdcard to copy files.
And small roms files(up to 10MB I can play outside home with internet) I am so happy with this solution now
It is like GRID but for emulation.
Follow the tutorial:
0 - You need a rooted android, superSU 1.9.3, busybox.
1- setup a NFS share ( I am using a 4T external HD on my router with OpenWRT firmware with the NFS package).
2- follow this guide:
3 - done
Click to expand...
Click to collapse
Thanks man i need that, i will try it at my home and let you know if i can do it or i need help thanks again :good:
would this require a kernel that supports CIFS or would it work nativly?, might try it on my Shield TV,
DarkShadowSwE said:
would this require a kernel that supports CIFS or would it work nativly?, might try it on my Shield TV,
Click to expand...
Click to collapse
Hi, have you had any luck on the Shield TV?
I am struggling, I think mountmanager or cifsmanager require the cifs.ko file, those modules.
ahoque1 said:
Hi, have you had any luck on the Shield TV?
I am struggling, I think mountmanager or cifsmanager require the cifs.ko file, those modules.
Click to expand...
Click to collapse
Here is my guide for the shield tv, haven't tested the post above for my note yet tho, xD
https://forums.geforce.com/default/...nt-a-network-share-into-the-filesystem-root-/

CIFS app write access

Right, I've got a CIFS network share mounted using the following command:
su --mount-master -c busybox mount -o username=USER,password=PASSWORD,rw,file_mode=0777,dir_mode=0777,sec=ntlm,context=ubject_r:rootfs:s0 -t cifs //10.0.1.1/SHARE /data/media/0/SHARE
It mounts fine and as root I can write to it. However, when attempting to write to this location using an app (nzbget in this case) it gets a permission denied. The only thing I can figure is that the contexts may not be correct.
I've been scouring the internet for hours for an answer with no luck. Anyone have any ideas, or at least able to point me in the right direction?
gumbi2400 said:
It mounts fine and as root I can write to it. However, when attempting to write to this location using an app (nzbget in this case) it gets a permission denied. The only thing I can figure is that the contexts may not be correct.
Click to expand...
Click to collapse
Did you manage to solve this problem?

Categories

Resources