I'm using danalo1979's all in one EP4D posted here: http://forum.xda-developers.com/showthread.php?t=1365376
Currently using the debloated version, but have also used bloated. Either way, it uses the 4.0.0 version of IMoseyON's kernel.
Is it possible to add a CIFS module or something so that I can use CIFSManager and mount a share from my home server? I realize it'd only really work when at home on the local network, but it would still be quite useful.
Thanks.
Yes. If you can get VPN working, which currently is nearly completey worthless on the Charge (it won't pass VPN traffic even on EP4D) then CIFS would be completely sick as hell no matter where you werre.
Anyways, here is how I do it it. There are other ways to do this. This particular way is cool because it allows a simple way to restore CIFS's settings when you change ROMs or wipe, etc.
This is assuming you are using IMO 4.0 kernel and that you have root.
Have fun! Let me know if you have success or need help.
1. Go to Terminal Emulator and type "su", then "cifs enable"
2. Install Busybox 1.18.2
3. Copy cifs.ko and slow-work.ko modules into a folder called "cifs" on the SD card (these can be put anywhere, I just prefer the SD card because its fast and easy)
4. Install CIFS Manager
5. In CIFS Manager settings, check "Loads cifs module" and "Load via Insmod" checkboxes
6. In CIFS Manager settings, type "/sdcard/cifs/slow-work.ko:/sdcard/cifs/cifs.ko" into the the "Path to cifs.ko[:<modpath>]*" field.
7. In CIFS Manager, create a new share and enter the fields- example with computer IP address of 192.168.1.100 with network share called "share" and computer username and password "user" and "password" respectively.:
Share Path:
192.168.1.100/share
Mount Point:
/mnt/sdcard/convert
Username:
user
Password:
password
8. Save Share and restart phone
9. In CIFS Manager, click on a share to mount it
10. Profit!
Note that there is a module in /system/modules called bcm4329.ko that Imoseyon added to the kernel. I don't actually recall where I got my cifs.ko and slow-work.ko modules, but they were advertised for Froyo, possibly for the Galaxy S phone. I would be happy to provide the files if anyone is interested.
Note that the slow-work.ko module likely must be typed into the field first in Step 6.
Major cool. Thanks.
I'm searching for the cifs.ko and slow-work.ko modules now. When I find versions that work I'll go ahead and post them here. However, since you already have working versions it'd be great if you went ahead and posted them in case I can't find ones that work.
Actually, I just turned used the "CIFS enable" command as SU in terminal emulator and I'm now able to use CIFS Manager to mount stuff. I'm now trying to get Mount Manager to work as it appears to be able to automatically mount and unmount when you connect to a wireless network.
As you say, a working VPN solution would tie all this up in a nice bow....
Thanks again.
Interesting, I'm curious how you got it to mount without the modules. I recall getting "No Such Device" when mounting indicating the the kernel doesn't support it unless I point to the slow-work.ko and cifs.ko modules.
Can you describe what you did you get it working without using the modules?
Thanks
The ones I use:
http://www.megaupload.com/?d=IFOUQS9T
The GB ones that I haven't really used:
http://www.megaupload.com/?d=456718D0
By the way, PPTP works fine on ICS. I tested it on the Galaxy Nexus. I don't know about CIFS support on the Galaxy Nexus though.
Absolutely nothing.
I'm using danalo1979's easy all in one odin. I simply opened a terminal emulator, typed SU and then typed "CIFS enable". Upon a reboot I was able to access the share using CIFSManger. Still haven't messed with Mount Manager to automate the remounts.
Related
CIFS Manager says it's not installed if I try and run it from the apps screen with VEGAn-Tab Beta 5. However, if I run it from Market it runs. Any ideas?
Also, how do I get it to connect to anything? I did a search for CIFS.KO with root explorer (once with CIFS and another with CIFS.KO) as the search term. The only thing that shows up is CifsManager and it's correndponding dirs. I thought CIFS was part of VEGA-N.
BTW - newbie here so I'm trying to remember my Liniux stuff from years ago.
gksmith said:
CIFS Manager says it's not installed if I try and run it from the apps screen with VEGAn-Tab Beta 5. However, if I run it from Market it runs. Any ideas?
Also, how do I get it to connect to anything? I did a search for CIFS.KO with root explorer (once with CIFS and another with CIFS.KO) as the search term. The only thing that shows up is CifsManager and it's correndponding dirs. I thought CIFS was part of VEGA-N.
BTW - newbie here so I'm trying to remember my Liniux stuff from years ago.
Click to expand...
Click to collapse
You need to run it from a different launcher. Something like Launcherpro. It does not like the stock launcher...
You set up the shares from the cifs manager app. ipaddress/sharename....
I tried but I know I not doing it right. If you say we set up everything in CIFS Manager, does that mean we don't need to do anything at all with my computer?
xmr405o said:
I tried but I know I not doing it right. If you say we set up everything in CIFS Manager, does that mean we don't need to do anything at all with my computer?
Click to expand...
Click to collapse
Only thing you need on your PC is the folder you want to use be shared and accessible on your network.
Super Newb alert.
Thank you for your response. I think it's the way I'm inputting the details in CIF Manager. I think I got far as my IP address but I'm not sure if I'm putting the right share path. The mount point should point to the folder I created on my internal sd card, right?
Also, Username and password - Do I need to fill that out?
xmr405o said:
Super Newb alert.
Thank you for your response. I think it's the way I'm inputting the details in CIF Manager. I think I got far as my IP address but I'm not sure if I'm putting the right share path. The mount point should point to the folder I created on my internal sd card, right?
Also, Username and password - Do I need to fill that out?
Click to expand...
Click to collapse
You need a user name and password if that is how the shared folder on your PC is setup. Pretty much if you need a password to get into your computer, you need it for the shares.
Set up the mount point something like this but use your computers IP and folder name.... 192.168.0.109/share
The other part depends on what rom you are using. Stock TnT, vegaN, which one? Not all of them have CIFS built into them. TnT, and TnTLite require a kernel patch that is located in the forum. vegaN should already have it.
xmr405o said:
Super Newb alert.
The mount point should point to the folder I created on my internal sd card, right?
Click to expand...
Click to collapse
I just noticed what you wrote.. The shared folder is on your PC, not on your tablet.. If you leave everything at default in cifs manager it will create a cifs folder under /mnt/cifs in a file manager. The shared folder on your pc will show up inside this folder.
Once you have the share setup on cifs manager you need to tap on the name and see if you get a little green indicator. That is mounting the share. You won't see your folders until you do.
Has anyone got the Cisco Any Connect for Rooted Devices App to work on the TF??? I keep getting the "This device does not meet minimum requirements to run this software (TunTap driver could not be located)" error. Anyone find a workaround?
I'd root my TF in a sec if it will work. I've been trying to get this to work on my D2G but it also doesn't have a TunTap driver. I found tun.ko in one of the forums but have to had the chance to see how one might install it. I know some custom ROMs have it included.
works fine rooted prime + clemsyn 16
It seems that it is not able to load the tun.ko if it is present as a module. I had to use insmod /system/lib/modules/tun.ko to make it work. I have a stock kernel with just added tun.ko module.
Woah, didn't know this came out...thanks. Will give it a shot.
Edit: Appears to work fine, but I need get get my ASA license.
Awesome! Finally!
The app installs fine but when you try to connect is when you get that error. @ljs_cz, does the stock 3.1 come with the tun.ko module? If not where can I find one? I found a post with a module but its for 3.0.
Totally wasn't aware this existed. Works flawlessly on my TF running prime and clemsyn. This combined with RemoteRDP means I don't need to carry round my laptop when I'm on call!
Thank you OP, life-changer.
For those who are on stock 3.1 root, copy tun.ko to /system/lib/modules and
install it from a terminal, command "insmod tun.ko".
Check with command lsmod, you should see tun.ko loaded.
Install cisco anyconnect for rooted device and you are set.
Note, you will need to load tun.ko again after a reboot.
tun.ko, http://db.tt/ad4m1qB
Sent from my Transformer TF101 using Tapatalk
Thanks ill give that a try!!!
Ok its works great but when i restart the device the module isn't installed anymore and i have to insmod again. Any way to keep is installed after device boots???
help
gpmg762 said:
For those who are on stock 3.1 root, copy tun.ko to /system/lib/modules and
install it from a terminal, command "insmod tun.ko".
Check with command lsmod, you should see tun.ko loaded.
Install cisco anyconnect for rooted device and you are set.
Note, you will need to load tun.ko again after a reboot.
tun.ko,
Sent from my Transformer TF101 using Tapatalk
Click to expand...
Click to collapse
i tried copying the tun.ko to /system/lib/modules but i got Permission Denied.
Is there another way to make this work?
I am rooted with build model 8.4.4.11
You need to mount the /system as RW before you can copy it. I am not sure of the ADB command, but you can do it through total commander (file manager) which is how I did it.
is it possible that you could give me a step by step guide as to how to accomplish this? i am trying but seem to be failing.
Bump, I could also use some help with ssretz's problem.
hmm..on ICS, tried your solution anyway. copied the file over to the location you specified, but when i run the command in the terminal it says no such file or directory.
Edit...i ran su -c insmod /system/xxx/xxx/tun.ko
i ran su earlier, but not on the same line.
that seems to register it. will test later.
still failing to copy files
Hi,
im running the TF PRIME 2 with ICS 4
im trying all of the suggested aboe and still failing to copy a file to the system/library/modules folder
any help?
i think it's a permission issue, my device IS rooted and i CAN copy files to the other SD folders
zipper9 said:
Hi,
im running the TF PRIME 2 with ICS 4
im trying all of the suggested aboe and still failing to copy a file to the system/library/modules folder
any help?
i think it's a permission issue, my device IS rooted and i CAN copy files to the other SD folders
Click to expand...
Click to collapse
I've done it via command line (you must mount the system directory in RW mode) using multiple iteration of the proper switches until it finally worked, but if you're struggling, just spend a couple bucks to buy Root Explorer. The aggravation you'll save will be well worth it.
Root Explorer has a button that will eliminate the command line instructions necessary to mount the system directory in RW mode and return it to R only, along with allowing you a simple copy/paste interface to move the files.
connects but does not route over tunnel with CM9/Megatron 1.0.1
Current system with issue: Megatron 1.0.1 with stock kernel.
Details:
I am able to connect using Rooted anyconnect, and I see my route table getting updated but when I try to access a resource on the vpn network it can not reach. I am not able to ping, ssh, rdc to any resource thru the tunnel. Local lan resources such as my own computer work fine or internet resources
I see the following interfaces get created after I connect:
-csctun0
-droptun0
My route table displays updated routes after vpn connects showing to use the iface of the cscotun0 for the resources that need to be routed thru. (192.*, 10.*, etc)
Funny thing is that I am able to use the stock 4.0 ICS and/or older honeycomb releases and it works fine. It's just with Megatron 1.0.1 or any CM9 rom. I tried using update-cm-9-20120329-NIGHTLY-tf101-signed.zip, still a nogo. Leads me to believe could be related to the CM9 trunk.
The logs between stock and CM9 flavored roms look the same on anyconnect. Nothing glaring.
lsmod doesn't show the tun module in as I believe now tun is compiled directly in the kernel (can someone confirm this?) (Running lsmod with stock doesn't show tun, nor in CM9/Megatron).
I love me some cyanogen and really like ricardopvz work especially the quick apps, but I need my vpn working for production support as its nice to work off the tablet when I am not near a computer.
Any help or direction will be greatly appreciated. Thanks in advance.
Confirmed that my problem only exists with CM9/Megatron roms
AOKP and stock based roms work fine. Any one else have this issue?
Sent from my Incredible 2 using XDA
If so, please let me know what I need to do?
I have cifs.ko in system/lib/modules but the app has not been working since 3.2 update.
Just answering myself in case someone has the same question.
it seems multiple module loading is not working right in the CIFSmanager.
i needed to load cifs.ko and nls_utf8.ko together before mounting my network drives
before Cifsmanager can handle this automatically, but now on honeycomb 3.2, it seems nls_utf8.ko is not getting load
after I loaded that file manually via terminal, all network drives can be mounted.
Could you share the steps?
Thanks.
huzz said:
Could you share the steps?
Thanks.
Click to expand...
Click to collapse
share the steps to get nls_utf8.ko loaded?
cifsmanager still seems to load cifs.ko fine automatically.
to load nls_utf8.ko before mounting any network drives:
1. Open up a terminal app
2. type: su root (then hit enter)
3. type: insmod /system/lib/modules/nls_utf8.ko
You don't need to do this if you don't have foreign characters in the files on your network drives (cifs.ko by itself will do)
Ok, so the latest temp-root has gone well, and things still work okay, which is a great improvement, and much kudos to the devs for this.
However, CIFs Manager seems to not work, and I like to watch stuff over my network - and I'm pretty sure it's something very simple to do with SymLinks and stuff, as to how it works.
"Mounting the share has failed with an error
mount: mounting //10.1.100.10/Films on /mnt/cifs/Films failed: No such device"
Same settings work fine on my Desire, so I know the network's good, must be something to do with where it's looking, or trying to work, and the symlinks etc. in the temp-root.
However, I haven't a clue where to start - maybe someone can help out?
Maybe you start with reading the CifsManager FAQs?
regards
Most Frequently Asked Questions:
Q: When trying to mount a share I only get an error message saying something like...
"Error running exec().Command: [su]"
A: Most probably your device is not properly rooted or the su command is missing.
"No such device".
A: Your current kernel or rom lacks the necessary CIFS support. Try to find a matching kernel module (cifs.ko) or use a rom with explicit CIFS support.
"mounting <yourshare> on <yourmountpoint> failed: No such file or directory"
A: Your "Mount Point" simply does not exist and CifsManager is not able to automatically create it for you. As automatic Mount Point creation is not done with su rights, CifsManager can only create Mount Points in directories with permissions 777 or on your SD-Card.
Q: I have installed CifsManager but launching the app fails with something like "Application not installed on your phone"
A: This is not a problem caused by CifsManager but a bug in your ROMs launcher. Look for an updated version of your launcher.
Q: I mounted my favorite share successfully but files with special characters are not displayed correctly.
A: Try to use a kernel with explicit UTF-8 support or try to find/load the kernel module nls_utf8.ko.
Click to expand...
Click to collapse
f3d0r said:
Maybe you start with reading the CifsManager FAQs?
regards
Click to expand...
Click to collapse
fed0r,
Great information there - thank you so much. I'll double-check the permissions, but I was sure I'd already altered the mount point to 777. If that doesn't work, I'll try using a mount point on SD too.
I never even thought that the issue could be something so simple - thanks agaiN!
I thought he was indicating:
A: Your current kernel or rom lacks the necessary CIFS support. Try to find a matching kernel module (cifs.ko) or use a rom with explicit CIFS support.
Yes, on reading it the second time over, that seems to be what is indicated. I actually had an error combining #2 and #3.
Ah well, back to waiting for S-OFF so I can flash a ROM with the right kernel, because I haven't got a clue when it comes to Kernel type things!!
So, Stock Sensation ROMs do NOT have CIFS support. Tested.
hi,
how can get or compiled cifs.ko and md4.ko modules for 10.4.4.16 JB ?
ali.jabbar said:
hi,
how can get or compiled cifs.ko and md4.ko modules for 10.4.4.16 JB ?
Click to expand...
Click to collapse
I'm interested in this as well.
+1
Sent from my Asus Eee Pad Transformer Infinity TF700T
ali.jabbar said:
hi,
how can get or compiled cifs.ko and md4.ko modules for 10.4.4.16 JB ?
Click to expand...
Click to collapse
You can use the attached modules. I tested them with CifsManager on 10.4.4.16 JB and they worked for me...
MarioGirotti said:
You can use the attached modules. I tested them with CifsManager on 10.4.4.16 JB and the worked for me...
Click to expand...
Click to collapse
thank you .
MarioGirotti said:
You can use the attached modules. I tested them with CifsManager on 10.4.4.16 JB and the worked for me...
Click to expand...
Click to collapse
They work fine here, too. But it took a while to figure out how to enable it.
For other people, the steps I took was as follows (all quotes are for clarification purposes only and should not be entered in settings):
1) Download the files above.
2) Unpack them to your internal SD card
3) Use a root file explorer to copy both the extracted files to "/system/lib/modules" (remember to enable R/W access to system partition and to disable it afterwards)
4) Download and install CIFS Manager.
5) Run it and allow it to gain root access
6) Go to CIFS Manager's settings and enable the following options:
7) Enable "Load cifs module"
8) Enable "Load via insmod"
9) Edit the option "Path to cifs.ko[:<modpath>]" to say "/system/lib/modules/cifs.ko:/system/lib/modules/md4.ko"
10) Disable "Load cifs module"
11) Enable "Load cifs module"
12) Go back to main screen of CIFS Manager
13) Pull up the menu and select "About..."
14) Click on "Modules..." and verify that both cifs and md4 are listed as "Live".
You might be able to use another directory to load the modules from - that, I haven't tried.
When you need to create a new link:
1) Run your root file explorer and create the link directory in /mnt/cifs/<MountName>
2) Then run CIFS Manager, pop up its menu and "Add new share"
3) Enter the value "<ServerIP>/<ShareName>" in option "Share path"
4) Enter the directory you created in step 1 above
5) Enter your user credentials in the "Username" and "Password" fields
6) Press "Save Share"
The share should now be listed in your list of shares. Click on the share you want to mount and it should be mounted at the specified mount point.
Thanks
MarioGirotti said:
You can use the attached modules. I tested them with CifsManager on 10.4.4.16 JB and they worked for me...
Click to expand...
Click to collapse
Thank you, works great.
You are now my hero of the week.
---------- Post added at 07:44 PM ---------- Previous post was at 07:38 PM ----------
ali.jabbar said:
thank you .
Click to expand...
Click to collapse
Say thank you AND give him a "Thanks" please. (by pressing the Thanks button)
mp1405 said:
Thank you, works great.
You are now my hero of the week.
---------- Post added at 07:44 PM ---------- Previous post was at 07:38 PM ----------
Say thank you AND give him a "Thanks" please. (by pressing the Thanks button)
Click to expand...
Click to collapse
Or dont say thanks just hit the button. The reason there is a thank you button is because threads get too full of thank you posts, people couldnt see useful content because of the spam.
Leaving all that behind, someone mind explaining what all this is about? What are CIFS modules?
pileot said:
Or dont say thanks just hit the button. The reason there is a thank you button is because threads get too full of thank you posts, people couldnt see useful content because of the spam.
Leaving all that behind, someone mind explaining what all this is about? What are CIFS modules?
Click to expand...
Click to collapse
Cifs (Common Internet File System) support is needed to mount Windows or Samba shares under Android.
If Cifs support is not compiled as feature into your the kernel you can load Cifs support later at any time if you have a kernel module available for cifs support. Since Asus did not delivere Cifs support with their kernel we have compiled the corresponding kernel module from the original kernel sources
Sent from my ASUS Transformer Pad TF700T using xda app-developers app
HeartWare42 said:
9) Edit the option "Path to cifs.ko[:<modpath>]" to say "/system/lib/modules/cifs.ko:/system/lib/modules/md4.mo"
Click to expand...
Click to collapse
Might want to edit that last to .ko not .mo
Still thanks a ton. This issue was buggin the hell out of me.
It would be great if somebody could post a compiled nls_utf8.ko
Thanks'
Jack Daniel's said:
It would be great if somebody could post a compiled nls_utf8.ko
Thanks'
Click to expand...
Click to collapse
nls_utf8 support is included already in the kernel:
CONFIG_NLS_UTF8=y
Anyhow I compiled it again as module (see attachment). At least the module was loadable on my side
It's working yay.
But horribly slow
On par with Es explorer. Unusable for watching videos.
1.5-3 Mbit,a few peaks at 5Mbit.
Using the same router for downloads from the net, gives me sustained 10Mbit (my net
connection speed).
Could you recommend another way to access my shares?
kosmarnik said:
It's working yay.
But horribly slow
On par with Es explorer. Unusable for watching videos.
1.5-3 Mbit,a few peaks at 5Mbit.
Using the same router for downloads from the net, gives me sustained 10Mbit (my net
connection speed).
Could you recommend another way to access my shares?
Click to expand...
Click to collapse
Mount the volume with the options 'noatime,nodiratime' That may help. It did for me for at least browsing my volumes (expected) but not sure if it will help for streaming. Anyway, give it a go. If your using cifs manager there is a options box to enter them in. or you can make it part of hte mount command if your doing it that way manually.
calisro said:
Mount the volume with the options 'noatime,nodiratime'
Click to expand...
Click to collapse
Or just noatime, since nodiratime is implicit.
briankb said:
Or just noatime, since nodiratime is implicit.
Click to expand...
Click to collapse
on normal linux yes... on busybox I'm not sure so I add both. can't hurt but your probably right.
Works also for Clean Rom
It might be obvious for the experts, but in case that other noobs like me are reading here and are afraid to ask : the cifs module works also perfectly with Clean ROM 2.5.5.
HeartWare42 said:
They work fine here, too. But it took a while to figure out how to enable it.
For other people, the steps I took was as follows (all quotes are for clarification purposes only and should not be entered in settings):
1) Download the files above
2) Unpack them to your internal SD card
3) Use a root file explorer to copy both the extracted files to "/system/lib/modules" (remember to enable R/W access to system partition and to disable it afterwards)
4) Download and install (removed)
5) Run it and allow it to gain root access
6) Go to CIFS Manager's settings and enable the following options:
7) Enable "Load cifs module"
8) Enable "Load via insmod"
9) Edit the option "Path to cifs.ko[:<modpath>]" to say "/system/lib/modules/cifs.ko:/system/lib/modules/md4.ko"
10) Disable "Load cifs module"
11) Enable "Load cifs module"
12) Go back to main screen of CIFS Manager
13) Pull up the menu and select "About..."
14) Click on "Modules..." and verify that both cifs and md4 are listed as "Live".
You might be able to use another directory to load the modules from - that, I haven't tried.
When you need to create a new link:
1) Run your root file explorer and create the link directory in /mnt/cifs/<MountName>
2) Then run CIFS Manager, pop up its menu and "Add new share"
3) Enter the value "<ServerIP>/<ShareName>" in option "Share path"
4) Enter the directory you created in step 1 above
5) Enter your user credentials in the "Username" and "Password" fields
6) Press "Save Share"
The share should now be listed in your list of shares. Click on the share you want to mount and it should be mounted at the specified mount point.
Click to expand...
Click to collapse
Brilliant. Working on a stock 4.1.1. And I went through hell to get there, rooted, unlocked, bricked by using the wrong cifs (put me into a reboot loop I couldn't escape from), debricked, gave up for a week, started looking again today and was trying to figure out if I needed a tweaked ROM, kernel, or both - then I found your post and it turns out I had covered everything I needed to, I just didn't have some of the details right.
I don't really have a use for this but knowing it could work and that the only constraint to such cool technology was my lack of understanding, was not an acceptable situation. In other words thanks for resolving my latest OCD obsession
Many roms and kernels have cifs built in now I know I used this excellent guide to build it into cleanrom inheritance.
Hello, is there please somebody, who succesfully compiled CIFS and MD4 modules for JB 4.2.1?
I've tried, but all I was able to produce using different toolchain versions was either "uncompatible exec format" message, or instant reboot.
Which toolchain version should I use for compiling for JB4.2.1?
Thanks
Sent from my Asus TF700 using TapatalkHD