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.
Related
I was trying to make a backup of my build.prop via terminal, but after su, I get a
"cp: not found" error. Anyone else getting this? Anyone know how to fix?
I asked in the permaroot thread but no response... I guess you can just use root explorer to find and copy that file to wherever you wanted to place it?
Eh. I don't want another app that I shouldn't need. I would resort to that for now, but I don't know of a free root explorer app... suggestions?
Try:
Code:
sudo bash
cp
didn't work
From $ that returns "sudo: permission denied"
From # it returns "sudo: not found"
Sent from my T-Mobile G2 using Tapatalk
its not working for me either... i wonder why
Super manager works great is free on market.
sent from MY rooted HTC Vision, not t-mobiles G2
Works fine on mine...
anyone know why we are getting this cp not found error?
EdTeach1680 said:
Super manager works great is free on market.
sent from MY rooted HTC Vision, not t-mobiles G2
Click to expand...
Click to collapse
Great alternative till this gets fixed. Thanks! FYI for others that may use this, you have to enable root permissions in the option menu.
Sent from my T-Mobile G2 using Tapatalk
franky1029 said:
I was trying to make a backup of my build.prop via terminal, but after su, I get a
"cp: not found" error. Anyone else getting this? Anyone know how to fix?
Click to expand...
Click to collapse
figured it out, I installed busybox and it granted me cp access
franky1029 said:
From $ that returns "sudo: permission denied"
From # it returns "sudo: not found"
Sent from my T-Mobile G2 using Tapatalk
Click to expand...
Click to collapse
Once you're at # don't use sudo.
WarBird87 said:
figured it out, I installed busybox and it granted me cp access
Click to expand...
Click to collapse
i downloaded busybox but still no cp
I just rooted my phone using rage instead of visionary from this thread:
http://forum.xda-developers.com/showthread.php?t=834228
I get cp access just fine.
joebobjoe said:
Once you're at # don't use sudo.
Click to expand...
Click to collapse
Just use su to get to #.
ThaGeNeCySt said:
i downloaded busybox but still no cp
Click to expand...
Click to collapse
When you open the app did you install the latest version of busybox?
Download busybox from market then install within the program and you are golden!
Naimand said:
Download busybox from market then install within the program and you are golden!
Click to expand...
Click to collapse
Didn't work for me either. I'm debating unrooting and going the rage way to permaroot.
worked for me after installing busybox
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,
Solved: See post #4
Obviously for those with a modded kernel and broken MAC.
If we knew the real MAC address for the specific device, couldn't we set the module's MAC to our real one?
Or just a MAC spoofer? But more like an un-spoofer..
Im looking for the answer as well...
I have been through every oc kernel so far, only stock/insmod seems to keep the mac addy. This might be the best option until a proper solution is found, if anyone has an idea on how to insmod on startup that would be good.
I also tried ipconfig eth0 hw ether, but got an invalid argument.
tijuanacartel said:
Im looking for the answer as well...
I have been through every oc kernel so far, only stock/insmod seems to keep the mac addy. This might be the best option until a proper solution is found, if anyone has an idea on how to insmod on startup that would be good.
I also tried ipconfig eth0 hw ether, but got an invalid argument.
Click to expand...
Click to collapse
Can't you setup a script that insmod's and set that up to run on startup?
I'm sure there is somewhere in the ROM where a script can be added for it to run on boot, or at least a boot time Android one...
init.rc perhaps?
Okay i found it... there is a file called /bootcomplete.rc that calls
/system/xbin/busybox run-parts /system/etc/init.d
so, on stock kernel with oc-dz.ko:
Code:
# cd /system/etc/
# mkdir init.d
# cd init.d
# echo insmod /system/lib/modules/oc-dz.ko pll2_l_val=74 > overclock
# chmod 0755 overclock
will load the module at boot. wifi mac is correct
Okay I've been using this for most of the day and just had a hard crash on level 99 of robo defence(F7U13!) Looking into it, it seems this kernel module only seems to step up from 700 straight to 1497! I'm disabling it for now.
Apparently cyanogen is quite a lot faster than the stock Sense, even without overclock. As soon as it hits RC2, I'm gonna give it a shot.
tijuanacartel said:
Okay i found it... there is a file called /bootcomplete.rc that calls
/system/xbin/busybox run-parts /system/etc/init.d
so, on stock kernel with oc-dz.ko:
Code:
# cd /system/etc/
# mkdir init.d
# cd init.d
# echo insmod /system/lib/modules/oc-dz.ko pll2_l_val=74 > overclock
# chmod 0755 overclock
will load the module at boot. wifi mac is correct
Click to expand...
Click to collapse
EDIT
Trying from a Terminal I get: "undable to chmod overclock: Read-only file system"
I tryed from ADB and all commands were accepted, file was created and chmod processed, but after reboot the OC module is not loaded
What ROM are your using ??
Obviously you should remount your system partition rw
tijuanacartel said:
Obviously you should remount your system partition rw
Click to expand...
Click to collapse
OMFG I really need to sleep a little
What ROM are you using ?? Have you changed the Kernel ??
at the time i was using stock.. currently using virtuous from rom manager
I've been strugglin with that command line for days, trying to find a way t make it stick from boot (and not typing it from a console), I finaly made it today via updater script (update.zip).
I also included the stock radio module and the stock kernel (rooted) to the package, so it can serve as a "rescue kit" for other users stuck with the MAC WiFi shizz. I shared it @ devs forum.
I'd like to get CIFS working on my Tab 10.1. Has anyone got it working or have the module that will work for me?
Thanks!
muzicman82 said:
I'd like to get CIFS working on my Tab 10.1. Has anyone got it working or have the module that will work for me?
Thanks!
Click to expand...
Click to collapse
i could build this for you.
pull me:
/proc/config.gz
and
a uname -a output.
adb pull /proc/config.gz .
adb shell uname -a > my_uname
pershoot said:
i could build this for you.
pull me:
/proc/config.gz
and
a uname -a output.
adb pull /proc/config.gz .
adb shell uname -a > my_uname
Click to expand...
Click to collapse
Output says uname is not defined? Files are attached (zipped).
Thanks for the help!
I believe all I should have to do once the cifs.ko is built is put it in a folder (such as /system/lib/modules/) and tell CIFS Manager to load it?
muzicman82 said:
Output says uname is not defined? Files are attached (zipped).
Thanks for the help!
I believe all I should have to do once the cifs.ko is built is put it in a folder (such as /system/lib/modules/) and tell CIFS Manager to load it?
Click to expand...
Click to collapse
ah yes thats right. no uname in stock.
could you pls go to system settings or dload an app to get it?
you would put it in /data/local/modules (for ex) and let cifs manager load it in.
pershoot said:
ah yes thats right. no uname in stock.
could you pls go to system settings or dload an app to get it?
you would put it in /data/local/modules (for ex) and let cifs manager load it in.
Click to expand...
Click to collapse
Ok, you lost me.. do I need to set a uname, or is it actually there somewhere just not being reported?
Where would I find it in System Settings?
muzicman82 said:
Ok, you lost me.. do I need to set a uname, or is it actually there somewhere just not being reported?
Where would I find it in System Settings?
Click to expand...
Click to collapse
you cant do a uname. your stock retail does not come with the functionality.
get this to me some other way. either through system settings or even through setcpu (that will report that whole string).
pershoot said:
you cant do a uname. your stock retail does not come with the functionality.
get this to me some other way. either through system settings or even through setcpu (that will report that whole string).
Click to expand...
Click to collapse
Attached is the full output from "Under the Hood" app.
The Settings -> About tablet tab has the following:
Kernel - 2.6.36.3 | [email protected] #1
Build Number - HMJ37.UEKF3 P7510UEKF3
If none of those are it... redirect me.
Thanks!
muzicman82 said:
Attached is the full output from "Under the Hood" app.
The Settings -> About tablet tab has the following:
Kernel - 2.6.36.3 | [email protected] #1
Build Number - HMJ37.UEKF3 P7510UEKF3
If none of those are it... redirect me.
Thanks!
Click to expand...
Click to collapse
install setcpu and go to about, device, and under kernel, paste that whole output for me.
pershoot said:
install setcpu and go to about, device, and under kernel, paste that whole output for me.
Click to expand...
Click to collapse
"Linux version 2.6.36.3 ([email protected]) (gcc version 4.4.3 (GCC)) #1 SMP PREEMPT Mon Jun 6 08:59:10 KST 2011"
try this:
http://droidbasement.com/galaxy/kernels/2636/stock-modules/cifs.zip
unzip it.
adb shell mkdir /data/local/modules
adb push cifs.ko /data/local/modules
adb shell chmod 755 /data/local/modules
adb shell chmod 644 /data/local/modules/cifs.ko
adb shell insmod /data/local/modules/cifs.ko
adb shell dmesg <-- after running this, look at the end of the log, do you see it loaded in?
adb shell lsmod <-- if the above is true, do you see it in memory?
pershoot said:
try this:
http://droidbasement.com/galaxy/kernels/2636/stock-modules/cifs.zip
unzip it.
adb shell mkdir /data/local/modules
adb push cifs.ko /data/local/modules
adb shell chmod 755 /data/local/modules
adb shell chmod 644 /data/local/modules/cifs.ko
adb shell insmod /data/local/modules/cifs.ko
adb shell dmesg <-- after running this, look at the end of the log, do you see it loaded in?
adb shell lsmod <-- if the above is true, do you see it in memory?
Click to expand...
Click to collapse
On:
Code:
adb shell insmod /data/local/modules/cifs.ko
I get:
Code:
insmod: init_module '/data/local/modules/cifs.ko' failed (Operation not permitted)
muzicman82 said:
On:
Code:
adb shell insmod /data/local/modules/cifs.ko
I get:
Code:
insmod: init_module '/data/local/modules/cifs.ko' failed (Operation not permitted)
Click to expand...
Click to collapse
your not allowed to insmod.
youll need root access.
if you have an unlocked bootloader, flash in CWM, then push to your system at the bare minimum, su and superuser, then back to nvlfash and put back your stock recovery.
if you dont have an unlocked bootloader, then youll have to intrusively gain root.
pershoot said:
your not allowed to insmod.
youll need root access.
if you have an unlocked bootloader, flash in CWM, then push to your system at the bare minimum, su and superuser, then back to nvlfash and put back your stock recovery.
if you dont have an unlocked bootloader, then youll have to intrusively gain root.
Click to expand...
Click to collapse
what you can try is get CIFS manager, and load it in via that app. it may take.
try it, and see if it works out.
Finally, site is back up.
Ok, if I use CIFS Manager, tell it to load via insmod and set the correct path, kill the program, launch the program, then the end of dmesg reads:
Code:
<3>[ 160.853751] cifs: version magic '2.6.36.3-58 SMP preempt mod_unload ARMv7 ' should be '2.6.36.3 SMP preempt mod_unload ARMv7 '
If I do lsmod, I get:
Code:
dhd 225862 0 - Live 0xbf000000
Lastly, if I try to mount a SMB share, I get "No such device".
I thought I was already rooted... Or at least the superuser app works. And I am on CWM. Is there a reason to go back to stock?
Ill change the vermagic string in the module.
Ill repost tonight.
if you are using the kernal from pershoot, cifs manager simply will work with the module ... i was told so few days ago and i am using it. now .
see the link below
http://forum.xda-developers.com/showthread.php?t=1141307
Sent from my SHW-M110S using XDA App
rainby said:
if you are using the kernal from pershoot, cifs manager simply will work with the module ... i was told so few days ago and i am using it. now .
see the link below
http://forum.xda-developers.com/showthread.php?t=1141307
Sent from my SHW-M110S using XDA App
Click to expand...
Click to collapse
I'm just on stock kernel. Don't really want to overclock... I like my battery life.
unless i am wrong, i believe after flash the kernel..... if you do not install setcpu and overclock by using it, it runs at 1Ghz.
kernel flash also won't erase whatever installed on the 10.1 ..... just in case you will worry that as i originally did ...
muzicman82 said:
I'm just on stock kernel. Don't really want to overclock... I like my battery life.
Click to expand...
Click to collapse
pershoot said:
Ill change the vermagic string in the module.
Ill repost tonight.
Click to expand...
Click to collapse
try this:
http://droidbasement.com/galaxy/kernels/2636/stock-modules/cifs.zip
rainby said:
unless i am wrong, i believe after flash the kernel..... if you do not install setcpu and overclock by using it, it runs at 1Ghz.
kernel flash also won't erase whatever installed on the 10.1 ..... just in case you will worry that as i originally did ...
Click to expand...
Click to collapse
But you can flash the kernel only on tabs with an unlocked bootloader, isn't it?
So if your bootloader is locked you need cifs.ko for the stock kernel.
after a few hours in Irc with fellow continuiniuumers. i tested a gps fix on locking gps in navigation.
Special thank youz:
Imnuts (for source file and cmds)
Samuelhadams (for proof on test)
Logan302 (adb help)
what you need:
adb installed (and working )
gps.conf: here
in adb enter these cmds:
adb shell mount -o remount,rw /dev/block/stl9 /system
adb push gps.conf /system/etc
adb shell reboot
or
what you need:
any file manager app that mounts the system r/w (read write)
aps.conf on sdcard
copy gps.conf from sdcard and go to /system/etc folder,
click mount r/w button or however you are mounting system r/w
paste
reboot
or
flash via CWM: Here
Gps was broken? With ec07 or ec03?
Sent from my SCH-I400 using XDA App
abby_nitewolf said:
Gps was broken? With ec07 or ec03?
Sent from my SCH-I400 using XDA App
Click to expand...
Click to collapse
There were issues with gps unable to lock after the phone had been on for awhile.
Sent from my SCH-I400 using XDA App
The link is down
trailblazer101 said:
The link is down
Click to expand...
Click to collapse
Do you need it?
trailblazer101 said:
The link is down
Click to expand...
Click to collapse
Updated sorry
Sent from my SCH-I400 using xda premium
my gps was working fine on ec07
Bierce22 said:
my gps was working fine on ec07
Click to expand...
Click to collapse
It seems to be a hit or miss thing. Minw does too. Some people have issues, though.
I'm not here for a long time. I'm here for a good time. To hell with the red wine. Pour me some moonshine. - King George
ADB help
Hey, just a few questions. I'm brand new to ADB tools.
I got my cmd prompt to show me the serial of my device using adb devices. Im sure this means my adb tools are working. Ive only installed SDB tools and platform tools.
Do I need to download the 2.2 tools?
The problem is when I type in the first cmd i get a operation error.
2nd question is how do I get all of your gps.config code into the cmd prompt. Do I place the file somewhere on my computer for it to be recognized in your second cmd step.
Thanks in advanced.
minirome said:
Hey, just a few questions. I'm brand new to ADB tools.
I got my cmd prompt to show me the serial of my device using adb devices. Im sure this means my adb tools are working. Ive only installed SDB tools and platform tools.
Do I need to download the 2.2 tools?
The problem is when I type in the first cmd i get a operation error.
2nd question is how do I get all of your gps.config code into the cmd prompt. Do I place the file somewhere on my computer for it to be recognized in your second cmd step.
Thanks in advanced.
Click to expand...
Click to collapse
You can push manually with a file manager. Its in op also.
Also the GPS. Conf is a file.
Sent from my SCH-I400 using xda premium
Why am I getting the operations error anyways? Should I be working off of tools or platform tools?
Sent from my SCH-I400 using XDA App
Ive tried a lot of different ways to get it to work and I think ive gotten to the point where it might be something else other than my commands. I just get a mountperation not permitted. The following is an example of what I typed. The $ sign was created after I typed in adb shell.
1 "adb shell
2 $mount -o remount,rw /dev/block/stl9 /system
3 mountperation not permitted"
Tell me I did something wrong.
You need to "su" before you try and mount -_-
Sent from my SCH-I400 using xda premium
trailblazer101 said:
You need to "su" before you try and mount -_-
Sent from my SCH-I400 using xda premium
Click to expand...
Click to collapse
I messed around with that for awhile and I think I got a little further. I seem to still get a little stuck after I mount.
1. /android-sdk/platform-tools>adb shell
2. $su
3. #mount -o remount,rw /dev/block/stl9 /system
4. mount -o remount,rw /dev/block/stl9 /system
5. #
On line 4 the cmd prompt just spits that back out at me and it ends up back at # again. How do I know it mounted and how do I begin the pushing process. My gps.conf file is in my platform-tools folder. Thanks!
Throw me a bone. Im so close! I can feel it!
How do I get gps.conf file?
link in OP just takes me to a page with a lot of text-No download.
Right click and click save as or save link as. It should automatically name it as gps.conf
Sent from my SCH-I400 using XDA App
Minirome, are you simply he'll Benton pushing this thing via adb? If not, and you just want to get your gps to work, copy the thing to your sd card, download es file explorer, and cnp the thing to the proper dir
Release your inhibitions, feel the rain on your skin, no one else can feel it for you. only you can let it in - Natasha Bedingfield
Works pissah after renaming and replacing using Root Explorer. Grabs the GPS signal wickid quick!
Peace,
Ray
Txwolf1980 said:
Minirome, are you simply he'll Benton pushing this thing via adb? If not, and you just want to get your gps to work, copy the thing to your sd card, download es file explorer, and cnp the thing to the proper dir
Release your inhibitions, feel the rain on your skin, no one else can feel it for you. only you can let it in - Natasha Bedingfield
Click to expand...
Click to collapse
Haha yes I am pretty bent on using adb. I just wanted to gain some experience with it. I might break down soon...unless someone says something. I think I've made progress.
Sent from my SCH-I400 using XDA App