[Q] OpenVPN Problems - Galaxy S III Themes and Apps

Hi, I can´t find tun for openVPN
I´m at stock kernel (3.0.15-671647) and ALF2...
I have only found next tun.ko compatible kernels:
Android: 4.0.4
Kernel: 3.0.8-Semaphore_ICS_1.2.2s (3.9)
Android: 4.0.4
Kernel: 2.6.35.7-perf-CL945787 (cm_cooper-eng 4.0.4 IMM76I eng.maclaw.20120512.163413 test-keys)
Android: 4.0.4
Kernel: 3.1.10-subZero-1.2 (IMM76D)

Is nobody here who can help me?

Now I have a custom Kernel who involves tun.
But when I start openVPN i become a failure:
linux ifconfig failed could not execute external program
What´s the problem.
Can anybody help me?

Had the same problem here - make sure busybox is installed to /system/xbin (not /system/bin). I just used Busybox from the market, and set the path.

intellirat said:
Had the same problem here - make sure busybox is installed to /system/xbin (not /system/bin). I just used Busybox from the market, and set the path.
Click to expand...
Click to collapse
Ok. Nice to here I'm not alone with this problem
Anybody here, were runs the OpenVPN setting without troubles?
Gesendet von meinem GT-I9300 mit Tapatalk 2

Notronic said:
linux ifconfig failed could not execute external program
Click to expand...
Click to collapse
Same thing here, with the stock kernel

look for "openVPN für Android" in the playstore. openvpn works like a charm even without root.

intellirat said:
Had the same problem here - make sure busybox is installed to /system/xbin (not /system/bin). I just used Busybox from the market, and set the path.
Click to expand...
Click to collapse
Thanks, that fixed it. I'm on stock rom, just rooted. But I'm using tap not tun.

intellirat said:
Had the same problem here - make sure busybox is installed to /system/xbin (not /system/bin). I just used Busybox from the market, and set the path.
Click to expand...
Click to collapse
Have you activated tun option? In openVPN settings?
Edit: Ok, now it's running fine.
Gesendet von meinem GT-I9300 mit Tapatalk 2

Another question. Need you accept applications running as root in Droid wall? Only openVPN should get a IP table accept. No other root application. Is this possible?
Gesendet von meinem GT-I9300 mit Tapatalk 2

intellirat said:
Had the same problem here - make sure busybox is installed to /system/xbin (not /system/bin). I just used Busybox from the market, and set the path.
Click to expand...
Click to collapse
Use "open VPN installer" from googleplay to correct this. set it tp /system/xbin and not ../bin or .../bb

Related

CIFS.ko for stock 4.0.4 [updated for IMM76I]

#compiled new cifs.ko, md4.ko, nls_utf8.ko for the new
IMM76I build
kernel number
3.0.8-gda6252b
attachment "cifs_gda6252b.zip"
------------------------------------------------------------------
hi there, i have compiled modules for CIFS to work on the stock 4.0.4 kernel.
kernel number must match "3.0.8-g034fec9"
in the attached zip,
here are the list of files.
cifs.ko
md4.ko
#above 2 are required to have it work
#here are native language support.
nls_utf8.ko
nls_cp932.ko
nls_cp936.ko
nls_cp950.ko
#above cp9xx are support for chinese characters.
nls_euc-jp.ko
#above is support for japanese letters.
thank you.
additional notes.
apparently you do not need any other native language support apart from utf8
the trick is, during the mounting process, you will need to specify the "iocharset=utf8" under options.
eg
"mount //192.168.15.123/a /home/b/c -t cifs -o username=d,password=e,uid=f,gid=g,iocharset=utf8"
for cifs manager, just put "iocharset=utf8" under the Options, and you should be able to see all different charsets.
do remember you will need to load the nls_utf8.ko
once you have the module install,
you can use cifs manager to manage your mounts.
(you can also set cifs manager to load this module for you).
Thanks, I'll give it a try later today.
soloxp said:
Thanks, I'll give it a try later today.
Click to expand...
Click to collapse
make sure that you have the correct stock kernel.
must match "3.0.8-g034fec9" else insmod will fail.
if anyone of you are running other version of kernel, i can try compile if for you as well, but let me know your kernel version.
do note, i have not tried compiling for other version, it might and might not work.
qwerp_ said:
must match "3.0.8-g034fec9" else insmod will fail.
if anyone of you are running other version of kernel, i can try compile if for you as well, but let me know your kernel version.
Click to expand...
Click to collapse
I've got the ICS 4.0.4 OTA update (IMM76D) to my Nexus S and it says "kernel 3.0.8-g6656123".
Any chance of getting a build for this one?
http :// dl.dropbox.com/u/11754796/imm74d.png
chrkad said:
I've got the ICS 4.0.4 OTA update (IMM76D) to my Nexus S and it says "kernel 3.0.8-g6656123".
Any chance of getting a build for this one?
http :// dl.dropbox.com/u/11754796/imm74d.png
Click to expand...
Click to collapse
here you go.
give it a try.
for stock Nexus S kernel "3.0.8-g6656123"
files included are
cifs.ko
md4.ko
nls_utf8.ko
Samba (CIFS) kernel modules for ICS 4.0.4 (IMM76D) kernel 3.0.8-g6656123.
qwerp_ said:
give it a try.
for stock Nexus S kernel "3.0.8-g6656123"
Click to expand...
Click to collapse
Thanks!
I confirm these work great on ICS 4.0.4 with "kernel 3.0.8-g6656123"
Awesome!
On my galaxy Nexus stock doestn work cifs manager said cannot access a needed shared library
Noob question, what is CIFS?
Enviado do meu Galaxy Nexus usando o Tapatalk
Guto ViP said:
Noob question, what is CIFS?
Click to expand...
Click to collapse
Common Internet File System, is another name for SMB (Server Message Block) also known as Samba. It's most commonly used in Microsoft Windows networks for providing shared network access to files, printers and other services.
These modules allows you to mount a shared directory from your windows computer, on your phone.
I use it to watch movies and play Mp3 on my phone, which is stored on my (windows) media server.
aplatas said:
On my galaxy Nexus stock doestn work cifs manager said cannot access a needed shared library
Click to expand...
Click to collapse
this is the shared library cifs manager is complaining about.
hence you need to download and insmod it.
note. you will need to be rooted to do this.
qwerp_ said:
this is the shared library cifs manager is complaining about.
hence you need to download and insmod it.
note. you will need to be rooted to do this.
Click to expand...
Click to collapse
I am root, now the module is loaded but When i mount cifs manager said the error No such file or directory this is extrange because On my old Nexus S works
aplatas said:
I am root, now the module is loaded but When i mount cifs manager said the error No such file or directory this is extrange because On my old Nexus S works
Click to expand...
Click to collapse
did you load both
cifs.ko and md4.ko
?
both is required to have it work.
qwerp_ said:
did you load both
cifs.ko and md4.ko
?
both is required to have it work.
Click to expand...
Click to collapse
Thanks, the problem it was that the md4.ko it wasn't loaded
qwerp_ said:
did you load both
cifs.ko and md4.ko
?
both is required to have it work.
Click to expand...
Click to collapse
thanks, works well.
Any idea how to get CIFS running on Galaxy Nexus 4.1.1?
funkdified said:
Any idea how to get CIFS running on Galaxy Nexus 4.1.1?
Click to expand...
Click to collapse
In case you didn't see [OP] created a new thread for 4.1.1 here
qwerp_ said:
make sure that you have the correct stock kernel.
must match "3.0.8-g034fec9" else insmod will fail.
if anyone of you are running other version of kernel, i can try compile if for you as well, but let me know your kernel version.
do note, i have not tried compiling for other version, it might and might not work.
Click to expand...
Click to collapse
Hello,
could you compile it for the kernel version 2.6.34.
( I have a Zenithink ZT 280 C91 with ICS 4.0.3)
regards
-janez
cifs help
Hi,
hoping you can help me out. i have an android tv box that id love to get cifs running on so i can use mount manager and download direct to my nas disk. could you possibly compile these modules for the following kernel???
$ cat /proc/versionLinux version 3.0.8 ([email protected]) (gcc version 4.5.1 (Sourcery G++ Lite 2010.09-50)
) #8 PREEMPT Wed Sep 12 11:07:28 CST 2012
[email protected]:/ $
Thanks in advance for your help!!!

[Modules][Xperia P]CIFS Module for SXP

here are cfis module for xperia p (to access windows shares)
What for?
Can i use with xperia s?
Sent from my LT26i using xda premium
sebastien207 said:
What for?
Click to expand...
Click to collapse
it says in the OP to access windows shares
it's probably fair to say if you don't know, you probably don't need
neghelliregna said:
Can i use with xperia s?
Sent from my LT26i using xda premium
Click to expand...
Click to collapse
doomlord allready made one for S ;-)
Gesendet von meinem LT22i
Thanks for your contribution .
inteks said:
here are cfis module for xperia p (to access windows shares)
Click to expand...
Click to collapse
When trying to mount, I get an error insmod: init_module '/system/lib/module/cifs.ko' failed (Exec format error)
I suppose it is not working on stock kernel?
EDIT: sorry, I realized the date of thread now, these probably won't work on ICS
Sorry, where shall I copy cifs.ko and slow-work.ko?
I don't have /system/lib/module but only /system/lib/modules/3.0.8+
Edit: I have copied cifs.ko and slow-work.ko to /system/lib/modules
permissions
owner root: RWX
group root: R-X
Global: R-X
Share path: DELL
Mount Point: /mnt/cifs/DELL
Username/Password: filled
Load cifs module: CHECKED
Load via insnmod: UNCHECKED (CHECKED doesnot work either, what's insnmod??)
mount: No such device (((
Code:
[email protected]:/ # insmod /system/lib/modules/cifs.ko
insmod /system/lib/modules/cifs.ko
insmod: init_module '/system/lib/modules/cifs.ko' failed (Exec format error)
255|[email protected]:/ #
someone should move this Xperia P subforums

cifs module for JB4.1.1 -g6fb96c9

(require root to work).
i have created cifs module for the new 4.1.1 kernel
3.0.31-g6fb96c9
use this in conjunction with cifs manager
the md5sum of file is
b9efd28e550bef8c89fe9bada3640561
both
md4.ko and cifs.ko must be loaded to work.
as for the native language support (nls_utf8.ko), its down to yourself.
to use it,
under cifsmanager (when creating a new share)
set options "iocharset=utf8"
Working great here, thanks!
any chance of compiling a version for kernel 3.0.31-ge8de0e2. thanks in advance.
Gonzalo1987 said:
Someone knows how compile it for 3.0.31-gd5a18e0 ??
Click to expand...
Click to collapse
I found them here http://zxvf.homeip.net/
Problem of empty folder =(...
Waiting for a solution xD!!
Thanks you in advance!
qwerp_ said:
(require root to work).
i have created cifs module for the new 4.1.1 kernel
3.0.31-g6fb96c9
use this in conjunction with
the md5sum of file is
b9efd28e550bef8c89fe9bada3640561
both
md4.ko and cifs.ko must be loaded to work.
as for the native language support (nls_utf8.ko), its down to yourself.
to use it,
under cifsmanager (when creating a new share)
set options "iocharset=utf8"
Click to expand...
Click to collapse
Any idea how to get CIFS running on Galaxy Nexus 4.2.2 with utf8?
Thanks.
My kernel and probably many others have cifs built in.
Sent from my Galaxy Nexus using Tapatalk 2

/etc/init.d support in AK Purity kernel?

I'm using the AK Purity kernel 0.30 along with Andorid 4.2.2 stock. I've notice a file named 99zipalign in /system/etc/init.d/ so I've supposed that this kernel supports init.d. I've placed a custom file 00akkern in that folder, for setting the kernel governor at boot time:
Code:
#!/system/bin/sh
# ==============================================================
# CPU settings
# ==============================================================
echo interactivex > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor;
echo 350000 > /sys/devices/system/cpu/cpu0/cpufreq/screen_off_max_freq;
These commands work fine in terminal. Then I've fixed permissions:
Code:
chmod 755 00akkern
But it's not working!
Code:
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
Still getting interactive, that's the default.
Thanks :fingers-crossed:
Why not just use Trickster MOD?
lost_ said:
Why not just use Trickster MOD?
Click to expand...
Click to collapse
I want to learn how this stuff works and because I don't need an app just to tweak two settings...
No one?
supporting init.d scripts or not isn't the kernel thing... it's the ROM thing.
if you are using stock rom (probably the factory image I guess...), you should get rooted your phone and install busybox on rom
after that init.d scripts will work fine
R: /etc/init.d support in AK Purity kernel?
dozingblack said:
supporting init.d scripts or not isn't the kernel thing... it's the ROM thing.
if you are using stock rom (probably the factory image I guess...), you should get rooted your phone and install busybox on rom
after that init.d scripts will work fine
Click to expand...
Click to collapse
Thank you very much! I've asked a question in the AK thread about support for init.d and no one has mentioned the fact that's it's a ROM feature. Yes, I'm stock. Which busybox should I install? Should I configure it for enabling init.d support?
Inviato dal mio Galaxy Nexus con Tapatalk 2
Gremo said:
Which busybox should I install? Should I configure it for enabling init.d support?
Click to expand...
Click to collapse
I'm not remembering precise name of it... maybe Stericson's Busybox in Play Store. Download it and install busybox at /system/xbin folder.
And after that if your device's permission of /system/etc/init.d and scripts file inside of it has set right(755, check it via root explorer or other file explorers that can have root access), one rebooting of nexus will make the scripts start to work
[sorry for my awful english i know mine is quite bad... but i'm learning and practicing it!]
dozingblack said:
I'm not remembering precise name of it... maybe Stericson's Busybox in Play Store. Download it and install busybox at /system/xbin folder.
And after that if your device's permission of /system/etc/init.d and scripts file inside of it has set right(755, check it via root explorer or other file explorers that can have root access), one rebooting of nexus will make the scripts start to work
[sorry for my awful english i know mine is quite bad... but i'm learning and practicing it!]
Click to expand...
Click to collapse
I've ended up installing busybox lmanually (busybox --install -s /system/xbin). Busybox commands works fine, but my init.d script still doesn't work! Any idea?
Permissions of /system/etc:
Code:
drwxr-xr-x root root 2013-03-09 22:14 init.d
Inside /system/etc/init.d:
Code:
-rwxr-xr-x root shell 1425 2008-08-01 14:00 99zipalign
-rwxr-xr-x root shell 317 2013-03-09 16:47 99akkernel
init.d is fully working into kernel.
Have you launch script with scriptmanager before put into init.d folder?
Do you have any errors?
anarkia1976 said:
init.d is fully working into kernel.
Have you launch script with scriptmanager before put into init.d folder?
Do you have any errors?
Click to expand...
Click to collapse
Thank you for helping anarkia! You were right: there was a problem with the file (line endings). I've edited it using vi and now the governor part works. The only think that does not work is setting the screen_off_max_freq.
When i boot i get interactivex and 700000 (wrong). After manually executing sh 99akkernel i get the correct values: interactivex and 350000
Is there any restriction about screen_off_max_freq that I don't know?
You can try to add "sleep x" command before screen off.

[TOOL/APP] Busy Box 1.24

I noticed how difficult it was to get busybox installed on my nexus 9. So, I decided to compile busybox and I went with version 1.24 instead of the default 1.22.1. Maybe this will help someone, maybe not. I am currently using it on my nexus 9 and its working great. I am pretty sure you can figure out what to do with the files. Symlinks are included, customize to your needs. Link for download posted below!
WARNING
There is an applet named "su" in the symlinks folder under bin. DO NOT INSTALL THIS. IT WILL OVERWRITE YOUR SU BINARY AND YOU WILL LOSE ROOT.
*****************************************
https://drive.google.com/file/d/0B4SWkDc6OnebWUdCOTRqVW5hbEU/view?usp=sharing - Link to busybox (arm)
https://drive.google.com/file/d/0B4SWkDc6OnebVHFDVjU2R21DUVU/view?usp=sharing - Link to busybox (arm64)
thanks man!
USBhost said:
thanks man!
Click to expand...
Click to collapse
Hey, no problem! Hope it works for you well.

Categories

Resources