[Q] tun.ko - Xperia Arc Q&A, Help & Troubleshooting

Hi,
has anybody the tun.ko for .58?
i need it for my vpn connection.
please when anybody have it upload it for my i dont find it.
greats
mericon

I too am looking module tun.ko for the kernel:
DooMKernel v17-FIX2 (FW 4.0.2.A.0.42/.58/.62).
All that was found does not work. : (

@all
guys you can download in market you need rooted busyboxinstalled

migsguerra said:
@all
guys you can download in market you need rooted busyboxinstalled
Click to expand...
Click to collapse
i have message:
"Cannot find a compatible tun module for yuor device! Please try again later..."

Related

[Q] build tun.ko for Defy / Froyo

Hello everybody,
how can I get a working tun.ko for Defy with leaked Froyo?
Kernel is 2.6.32.9-g3c35cd0
Build 3.4.2-117
Any idea?
Regards,
Linki
I also would need it. Or can somebody explain how to build one?
problem solved
Hi,
i found out that the Droid Froyo Image also has the 2.6.32.9 kernel. So the tun.ko found here http : / / w w w.saturnwiki.net/droid_tun_driver/2.6.32.9/tun_alt.ko ( or attached to this message ) work just fine!
valles said:
Hi,
i found out that the Droid Froyo Image also has the 2.6.32.9 kernel. So the tun.ko found here http : / / w w w.saturnwiki.net/droid_tun_driver/2.6.32.9/tun_alt.ko ( or attached to this message ) work just fine!
Click to expand...
Click to collapse
thanks, it worked!
valles said:
Hi,
i found out that the Droid Froyo Image also has the 2.6.32.9 kernel. So the tun.ko found here http : / / w w w.saturnwiki.net/droid_tun_driver/2.6.32.9/tun_alt.ko ( or attached to this message ) work just fine!
Click to expand...
Click to collapse
it worked!
perfect, thank you!
Anyway, is there a possibility to build tun.ko on my own?
Can you please compile tun.ko for kernel 2.6.32.9 on ARM71 which is the platform for latest Galaxy S I9003
can anyone please help me with the steps required to install the tun.ko module?
tsod said:
can anyone please help me with the steps required to install the tun.ko module?
Click to expand...
Click to collapse
Copy the file(tun.ko) to system/lib/modules directory either by pushing via adb or by using file manager/root explorer.
yeah thanks, got it working now with
Code:
adb remount
adb push <file> <dest>
then i had to
Code:
insmod /system/lib/modules/tun.ko
and to disable the comp-lzo in my server.conf
is there a way to load the module automatically on reboot?
If you have bootmenu add a script in init.d
Sent from my MB525 using Tapatalk
With cm7 too
This tun.ko works very well with quarx's cyanogenMod7 v5.1.
terrydaia said:
this tun.ko works very well with quarx's cyanogenmod7 v5.1.
Click to expand...
Click to collapse
ack .
Was hoping against hope this tun.ko would work on my Intercept with Froyo, but alas, I get the same error (insmod: init_module '/system/lib/modules/tun.ko' failed (Exec format error), then in dmesg "tun: version_magic '2.6.32.9 preempt mod_unload ARMv7 ' should be '2.6.32.9 mod_unload ARMv6'... Same as I got from another tun package that was *supposed* to work with this kernel....

[Q] CIFS support module

Hello,
I would like to use cifsmanager apps but I see that our kernel doesn't have the proper module built in.
I just updated the kernel and modules using the latest available in the the kernel build service (following the incremental updates guide):
http://xdandroid.com/wiki/Incremental_Updates
but I'm not able to insmod the module.
I also tried to manually download the cifs.ko module and to load it telling to cifsmanager app where the module is, but I continue to receive the same error, no such device, like if the module isn't loaded correctly.
How can I solve this problem?
Thank you
Why not just use adb...? I don't see the need for CIFS.
If you can figure out how to get CIFS working, we can look about implementing it mainline.
Have you tried insmodding it after cp'ing the .ko file to /lib/modules?
ok thank you,
I tried to load the module using adb, but I think I'm using a wrong file because when I try to load it insmod return me the "invalid module format" output.
I'm using the kernel downloaded here:
http://zimages.googlecode.com/files/htc-msm-linux-20110914_084441-package.tar.bz2
somebody can tell me if is there a module that I can use with this kernel?
thank you
Caio said:
ok thank you,
I tried to load the module using adb, but I think I'm using a wrong file because when I try to load it insmod return me the "invalid module format" output.
I'm using the kernel downloaded here:
http://zimages.googlecode.com/files/htc-msm-linux-20110914_084441-package.tar.bz2
somebody can tell me if is there a module that I can use with this kernel?
thank you
Click to expand...
Click to collapse
Where did you get the module from...? Our kernel is probably not equipped with that module.
Caio,i've sent you a pm,let me know if it works,so i'll maybe push it in the mainline kernel
I downloaded the module on a thread of HTC Diamond's...can someone link me a module that could work with this kernel?
Or is there another way I can use to mount my samba share on my android?
thank you
Caio said:
I downloaded the module on a thread of HTC Diamond's...can someone link me a module that could work with this kernel?
Or is there another way I can use to mount my samba share on my android?
thank you
Click to expand...
Click to collapse
Did you miss helicopter88's PM? He built you a kernel that should have the module built into it...
arrrghhh said:
Did you miss helicopter88's PM? He built you a kernel that should have the module built into it...
Click to expand...
Click to collapse
Failed to boot,pheraps my fault or too much oc..
Later i'll make a stock kernel
Here's the module http://www.mediafire.com/?w6fp94b464cktkc
So you can put it somewhere and insmod it
well, i have the same problem, can anyone solve it?
helicopter88 said:
Here's the module
So you can put it somewhere and insmod it
Click to expand...
Click to collapse
sadly to say that, but the files had been removed
Here's the module..
thanks for your reply, but seems no luck, it just says "invalid module format" when insmod (using the FRX07.1)
ZSaberLv0 said:
thanks for your reply, but seems no luck, it just says "invalid module format" when insmod (using the FRX07.1)
Click to expand...
Click to collapse
Pheraps I should make it from original xdandroid source..
Here's another one
http://www.mediafire.com/file/wsw6tlah3lzp3gs/cifs.ko
helicopter88 said:
Pheraps I should make it from original xdandroid source..
Here's another one
http://www.mediafire.com/file/wsw6tlah3lzp3gs/cifs.ko
Click to expand...
Click to collapse
Didn't you just say it was some simple config flag?
Make use of that "recognized developer" insignia you throw around there and commit something . (Or at least post something to the ML!!)
still doesn't work, shows the same message when insmod or insmod -f
btw, the kernel is modules-2.6.27.46-01356-gd4c73bd.tar.gz, maybe you should build a complete one? (well, i have never played with linux kernel...)
ZSaberLv0 said:
still doesn't work, shows the same message when insmod or insmod -f
btw, the kernel is modules-2.6.27.46-01356-gd4c73bd.tar.gz, maybe you should build a complete one? (well, i have never played with linux kernel...)
Click to expand...
Click to collapse
Assuming his patch is accepted, it will get committed mainline. It's a quite simple change to how the kernel is built.
arrrghhh said:
Assuming his patch is accepted, it will get committed mainline. It's a quite simple change to how the kernel is built.
Click to expand...
Click to collapse
I think phh had an issue with the patch submitted. I have a patch to commit soon so i can look into this. One question i have is how do yall plan to load the module? Does the app insmod it ? or does it expect the module to be built into the kernel?
[ACL] said:
I think phh had an issue with the patch submitted. I have a patch to commit soon so i can look into this. One question i have is how do yall plan to load the module? Does the app insmod it ? or does it expect the module to be built into the kernel?
Click to expand...
Click to collapse
I think people just want the module available in the 'modules`uname-r`.tar.gz' file. That way they at least have the option of insmodding it...(*.user.conf etc) who knows what they want to do with it afterwards - I guess access their phone on a LAN from their PC?
just want to mount my share folder from my PC to Android, so that i can use the shared files online without copy-paste (it'll be quite annoying by copy-paste, especially when you want to edit file, because you must upload it after editing)
in short, same as Caio, just want to use cifsmanager, and it says "no such device"
ZSaberLv0 said:
just want to mount my share folder from my PC to Android, so that i can use the shared files online without copy-paste (it'll be quite annoying by copy-paste, especially when you want to edit file, because you must upload it after editing)
in short, same as Caio, just want to use cifsmanager, and it says "no such device"
Click to expand...
Click to collapse
The fixed patch has been sent to Mailing List,now let's see if it gets approved..

[Q] tun.ko for cowithgun's custom rom

hi, is there anybody here using cowithgun's custom rom that has tun.ko file, can u please give me a link or attach it here, thanks, i cant post on the dev section thats y im posting it here!

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!!!

cifs.ko for N8000 (tested on XXALGA)

Hi there,
I noticed noone seems to have ever bothered building cifs.ko (the Kernel module necessary to access Windows Shares) for
the Galaxy Note 10.1
So I build one. Actually it's two modules md4.ko and cifs.ko (md4.ko has to be loaded first).
I have successfully tested the module on my EU N8000 running XXALGA with CIFSmanager. Streaming a 720p mkv with
MXPlayer just works really nice.
Here you go:
http://www.mediafire.com/?5lteys7tj45zuw7
DISCLAIMER: I am providing these kernel modules as-is. Altough they have been tested by me I take no responsibility whatsoever
if you break or damage your device while installing and/or using the modules. I am also not going to explain the steps necessary to actually
use the module. You should already know how to do it...or at least be smart enough to find out what to do
Enjoy!
maui
Sounds like a very helpful piece of code.
I really think that i could need this, but for me as a non developer... how to use this kernel modules?
Could you build a kernel including this modules for flashing via CWM so anybody can use it?
Best regards,
Gery
Sent from my GT-N8000 using xda app-developers app
It does not work for me: no such device.
I have moved the files to /mnt/sdcard/cifs. I entered " /mnt/sdcard/cifs/md4.ko;insmod /mnt/sdcard/cifs/cifs.ko" in cifs manager
I'm Running GT-N8000 DR.AKRIM_ROM N8000DDALI1_v0.31 4.1.1 12-9-2012
Is jellybean a problem?
They work on 4.0.4 (Hong Kong version - n8000zsali1)!!! Thank you.
I have an non-rooted italian N8000 running the latest stock firmware, and can access all my windows shares using the samba client built in in EsExplorer, no problem for me. What exactly is this module meant to do?
Inviato dal mio GT-N8000 con Tapatalk 2
HowHigh said:
It does not work for me: no such device.
I have moved the files to /mnt/sdcard/cifs. I entered " /mnt/sdcard/cifs/md4.ko;insmod /mnt/sdcard/cifs/cifs.ko" in cifs manager
I'm Running GT-N8000 DR.AKRIM_ROM N8000DDALI1_v0.31 4.1.1 12-9-2012
Is jellybean a problem?
Click to expand...
Click to collapse
Does not work for me as well. I'm running JellyNote beta 1 rom. Could someone please recommend custom rom which is supporting cifs or where would work this modul.
Thanks!
What's the use of this module? I don't understand... I haven't installed the module but can access flawlessly all my windows shares using the samba client of es file exlorer. I can also play any shared media file through such client, using any player installed in my note!
GT-N8000 using Tapatalk
Pls compile for 4.1.1.
Hi,
I compiled the cifs modules for the JB-Kernel. I couldn't test them out as I had no time to update, yet. But I need the cifs-modules so I started with them.
So, if anyone wants to try it out, please go ahead.
This is the first time I've build a kernel for android, just that you know :silly:
Greetings,
Maz
supermaz said:
Hi,
I compiled the cifs modules for the JB-Kernel. I couldn't test them out as I had no time to update, yet. But I need the cifs-modules so I started with them.
So, if anyone wants to try it out, please go ahead.
This is the first time I've build a kernel for android, just that you know :silly:
Greetings,
Maz
Click to expand...
Click to collapse
Compile nls_utf8.ko pls)
Can you say how to compile modules because at start I get error that file not found smc.h
Sent from my GT-N8000 using XDA Premium HD app
It seems like nls_utf8 is already build in the kernel.
If someone tests the cifs modules, it would be great to post here if they work or not.
supermaz said:
It seems like nls_utf8 is already build in the kernel.
If someone tests the cifs modules, it would be great to post here if they work or not.
Click to expand...
Click to collapse
Module works but I need nls_utf8 -no in kernel!!!
Sent from my GT-N8000 using XDA Premium HD app
I've attached the nls_utf8 kernel module. Please check if this helps.
Or do you need the NLS_KOI8_R for Russia?
supermaz said:
I've attached the nls_utf8 kernel module. Please check if this helps.
Or do you need the NLS_KOI8_R for Russia?
Click to expand...
Click to collapse
All works) Thanks)
Can you say how to compile this??
GooG2e said:
All works) Thanks)
Can you say how to compile this??
Click to expand...
Click to collapse
Then hit the Thanks button
To compile you need the android ndk prebuilt environment. I followed the this howto: http://source.android.com/source/building-kernels.html (from Downloading a prebuilt gcc downwards).
Then you need your kernel sources (look at the android dev section here). In the package is a README_Kernel where you can get the make command to build the default config. From there on you just run make menuconfig and make to compile things.
Best regards,
Maz
Please compile for 4.1.2
Sent from my GT-N8000 using XDA Premium HD app
hey man, can you please compile xpad.ko and ff-memless.ko for 4.1.1 ? You would bring a new wave of gamer to the galaxy note 10.1.
thx in regard
GooG2e said:
Please compile for 4.1.2
Sent from my GT-N8000 using XDA Premium HD app
Click to expand...
Click to collapse
+1 i have: init_module '/sdcard/cifs/md4.ko' failed (Exec format error)
Or am i doing smthg wrong?
Hi,
the cifs.ko and md4.ko given lately does not work on 4.1.2 rom.
Is there a compiled module for 4.1.2 ?
come on...
it shouldn't be hard to compile it for someone who has the setup.
If I had the storage capacity on my disk for installing a linux VM, I would do it but I really don't have a setup.

Categories

Resources