[Q] Can I get some CIFS help? 'cause i'm lost - G Tablet General

I'm seriously confused about CIFS...
I'm new to Android, so i'm not sure what tools to use to accomplish certain tasks.
Here's my drama, I'm running TNT lite 3.1.4, i can see the CIFS.co file in the system folders, I set cifs up to use insmod and pointed it at the right path.
I can set up the share but no matter what i do i get a message that says "mounting has failed with an error Mount: no such device".
My shares are hosted on win7 x64 machines and a few Server 2008R2 boxes. If i use ES File Explorer i can see all drives (C$, etc) and explicitly naemd shares (Videos, Documents) but i can only successfully access explicitly named shares (with correct UID/PWD)
The same shares (User, Video, etc) accessed via CIFS yeilds that above error message...
I'm out of ideas. I believe others have this working...any thoughts?
-C

Darkeyce said:
I'm seriously confused about CIFS...
I'm new to Android, so i'm not sure what tools to use to accomplish certain tasks.
Here's my drama, I'm running TNT lite 3.1.4, i can see the CIFS.co file in the system folders, I set cifs up to use insmod and pointed it at the right path.
I can set up the share but no matter what i do i get a message that says "mounting has failed with an error Mount: no such device".
My shares are hosted on win7 x64 machines and a few Server 2008R2 boxes. If i use ES File Explorer i can see all drives (C$, etc) and explicitly naemd shares (Videos, Documents) but i can only successfully access explicitly named shares (with correct UID/PWD)
The same shares (User, Video, etc) accessed via CIFS yeilds that above error message...
I'm out of ideas. I believe others have this working...any thoughts?
-C
Click to expand...
Click to collapse
As much as things change around here I may be wrong but I don't think Roebeet put the Cifs kernel into TnTLite. I think that is one of the things he left for the user to patch. There is a Cifs kernel patch for TnTLite in one of these threads that will likely fix what you have going on.. It acts just like that when it is not there... You are using something like CIFS manager to set things up right?

The CIFS module doesn't work with the default TnT kernel - I added it just so the user had it available to them in case they added a customized kernel that could use it.
You should consider it unusable OOTB.

In case you search and don't find it....
http://forum.xda-developers.com/showthread.php?t=889088

Sprdtyf350 said:
In case you search and don't find it....
http://forum.xda-developers.com/showthread.php?t=889088
Click to expand...
Click to collapse
Sprdtyf350 said:
As much as things change around here I may be wrong but I don't think Roebeet put the Cifs kernel into TnTLite. I think that is one of the things he left for the user to patch. There is a Cifs kernel patch for TnTLite in one of these threads that will likely fix what you have going on.. It acts just like that when it is not there... You are using something like CIFS manager to set things up right?
Click to expand...
Click to collapse
I feel kinda dumb now...i saw the thread with the patch but assumed it was only for full STOCK TNT, then when i saw the CIFS.KO file in the TNTlite folders i thought it was active.
I'll try the 3389 CIFS patch on TNT lite (which is what i think is being suggested) and i should be good to go.
thanks all.

Darkeyce said:
I feel kinda dumb now...i saw the thread with the patch but assumed it was only for full STOCK TNT, then when i saw the CIFS.KO file in the TNTlite folders i thought it was active.
I'll try the 3389 CIFS patch on TNT lite (which is what i think is being suggested) and i should be good to go.
thanks all.
Click to expand...
Click to collapse
Yep.. The latest TnTLite is built from 3389 so the TnT patch will do the trick...

The kernel I posted for TnTL has CIFS built in, thus the kernel module roebeet include is not required. Grab CIFSManager and use UMASK=0755 as the option.
]

vsc said:
The kernel I posted for TnTL has CIFS built in, thus the kernel module roebeet include is not required. Grab CIFSManager and use UMASK=0755 as the option.
]
Click to expand...
Click to collapse
Is that the same as this one?
http://forum.xda-developers.com/showthread.php?t=889088
I don't want to lead anyone on a goose chase if there is a specific TnTLite build... If it is in the middle of the big thread then maybe you could put it somewhere more obvious maybe? I seem to remember post 195 from somewhere?

Related

[Q] cifs on Vegan-Tab 5.1

Hi,
I am dying to get connected to my NAS server which has all my video/music.
Does anyone know how to make CifsManager work on Vegan-Tab 5.1?
I tried to mount my NAS share but CifsManager kept saying "Cannot access a needed share library". (is it the cifs.ko?)
Vegan-Tab 5.1 listed:
* CIFS support (allows mounting shared folders over a network) – search CIFS in the android market for apps
Does that mean I have cifs.ko in kernal already? If not, how can I get it?
Thanks in advance.
http://forum.xda-developers.com/showthread.php?t=895825
This kernel definitely has cifs support
chuugokujin said:
Hi,
I am dying to get connected to my NAS server which has all my video/music.
Does anyone know how to make CifsManager work on Vegan-Tab 5.1?
I tried to mount my NAS share but CifsManager kept saying "Cannot access a needed share library". (is it the cifs.ko?)
Vegan-Tab 5.1 listed:
* CIFS support (allows mounting shared folders over a network) – search CIFS in the android market for apps
Does that mean I have cifs.ko in kernal already? If not, how can I get it?
Thanks in advance.
Click to expand...
Click to collapse
I thought it was compiled into the kernel packaged with Vegan 5.1 beta. Is it possible you flashed an alternate kernel/boot image that doesn't have CIFS support?
If in doubt, maybe try flashing Clemsyn's kernel, where I know it's baked in.
It's in pershoot's kernel but I think CIFS support is modular there, which means you need to install the modules as well if you use that kernel.
thebadfrog said:
http://forum.xda-developers.com/showthread.php?t=895825
This kernel definitely has cifs support
Click to expand...
Click to collapse
Yes, it does. I am using it at home on Windows 7 PC's.
I concur. The default kernel for Vegan has CIFS support. I use it + Rockplayer to stream all kinds of movies and videos to my tablet.

[Q] Howto mount NFS

I'm looking for NFS support on my SGT (Network file system, NOT the game...).
Tab has been rooted, running Paul's MoDaCo kernel & rom (amazing BTW), busybox and what not.
At home I'm running Ubuntu workstations and servers and know my way around linux.
However, I can't figure out how to mount my Tab to my NFS shares.
I've tried CIFS manager, ES filemanager and Mount manager, all without success. It seems to me I might be missing the correct modules. So the question is; is NFS supported in the first place? And if so, what am I overlooking?
(and could someone please post in the Modaco Kernel thread, as I don't have permission to post in dev-threads untill I spam at least 10 posts...)
[EDIT 2011-02-01]
Paul has indicated he might include NFS support in R4 of his kernel, no support in R3.
Hi
Editing post as I saw you are already on MoDaco's ROM.
Not sure about NFS but you mentioned Ubuntu..meaning you should have no trouble getting your samba server running.
With samba and MoDaCo custom Kernel you just need to pull down its "kernel modules.zip" It's a separate file containing the cifs.ko module.
Use CIFS manager (download from market) and specify where you extracted the module to (/sdcard/cifs or anywhere you want to place it).
Once cifs manager is able to load the cifs.ko module, you should be able to mount the shares
@bullyfrog Using the smb server and the cifs.ko modules is an alternative indeed, and for the time being a suitable workaround. Thank you for this tip. However, it's not what I was hoping on...
BTW NFS support will be included in next kernel, so hopefully by that time I've figured it out and will post as a Howto...

where is rsync

Hi all - I'm totally new to android but have got tnt lite 4.2.5 onto
my new gtablet. That is great.
But the first thing I want is to be able to control the gtablet
from my desktop.
So I've got the terminal emulator and sshdroid running. I can
ssh into the gtablet.
But I cannot find rsync on the gtablet. I've searched around and
it appears it ought to be in busybox.
Is that right? If it is, where is the rsync executable?
Or, how do you get rsync onto the gtablet?
Thanks in advance, any advice appreciated.
(Oh, and is there a full bash shell somewhere for the gtablet?)
try "busybox rsync" - my GTablet is in its usual semi-bricked state, at the moment. Either it will work or it will say "Applet not found".
For Busybox, you have to add the softlinks for these tools in advance. Rsync may not be one of the ones we add in our scripts to add the softlink.
thanks for the reply.
I just get the "applet not found" message.
do you know if there is standalone rsync for android that
will run on the gtablet?
great work on tnt lite BTW
albright said:
thanks for the reply.
I just get the "applet not found" message.
do you know if there is standalone rsync for android that
will run on the gtablet?
great work on tnt lite BTW
Click to expand...
Click to collapse
tmk, no (I just tested on TNT Lite 4.3.0 btw). A newer busybox might have it - mine is a few months old, I think.
For backups, I usually use an "adb pull", so I never really considered an rsync. I could see how that could come in handy if the device isn't tethered to your PC, however.
EDIT: quick google - a newer version of cm might have a busybox with rsync, or maybe a separate rync. If you find one, give me a shout and I'll add it to future mods I create. Thanks!
For backups, I usually use an "adb pull", so I never really considered an rsync. I could see how that could come in handy if the device isn't tethered to your PC, however.
Click to expand...
Click to collapse
yes - you can set a script to backup (or whatever) over the network
a newer version of cm might have a busybox with rsync,
or maybe a separate rync
Click to expand...
Click to collapse
pardon my ignorance, but by "cm" do you mean clockworkmod?
Would clockworkmod replace tnt lite or can they co-exist (as you can
see I really know nothing about all this - got my gtab yesterday!)
albright said:
yes - you can set a script to backup (or whatever) over the network
pardon my ignorance, but by "cm" do you mean clockworkmod?
Would clockworkmod replace tnt lite or can they co-exist (as you can
see I really know nothing about all this - got my gtab yesterday!)
Click to expand...
Click to collapse
cm = cyanogenmod, sorry about that. Too many acronyms.
Cyanogenmod is an AOSP-based ROM that supports many devices. You'll see a few ports in the Development section.

[Q] Tun/tap driver for infuse sgh 1997

Hello!
I'm very new to the android os and owner of an infuse (android 2.2.1, kernel version: 2.6.32.9, froyo.uckd5) since a couple of weeks.
Honestly I feel a bit lost because I'm looking for a tun.ko module for this device and as far as I can see there isn't, at least for the production rom. All the tun.ko I found are compiled for kernel different from mine.
I really need openvpn and now I'm wondering if I should:
1) keep looking
2) figure out how to compile a tun.ko on my linux machine for the arm7 architecture
3) look at some modified rom with the module built in
Do you have any suggestion?
Thank you
Cheers
dventurin said:
Hello!
I'm very new to the android os and owner of an infuse (android 2.2.1, kernel version: 2.6.32.9, froyo.uckd5) since a couple of weeks.
Honestly I feel a bit lost because I'm looking for a tun.ko module for this device and as far as I can see there isn't, at least for the production rom. All the tun.ko I found are compiled for kernel different from mine.
I really need openvpn and now I'm wondering if I should:
1) keep looking
2) figure out how to compile a tun.ko on my linux machine for the arm7 architecture
3) look at some modified rom with the module built in
Do you have any suggestion?
Thank you
Cheers
Click to expand...
Click to collapse
3) As far as I can tell, all of the alternative kernels have this module. The Infused ROM contains the Voodoo kernel, but I believe you can run the Voodoo or Infusion kernels on the stock ROM.
ok I see.
Could you suggest to me a starting point to deal with the custom roms?
I'm have a good experience with linux since years but not enough on smart phones and android in general.
For instance, is there an official website for Infused ROM?
Any tip is welcome.
Thank you!
@dventurin - I had the same issue. I have the Infused rom installed and it has the same issue. I installed SL4A and wrote my own scripts, the app is what's broke everything works at the CLI. I then used Tasker but I think you can do it with Gscripts as well build my own shortcuts. As for where to find the Infused ROM look in the Dev section here. There a several ROM's available but I've only used Infused.
@3GBeyotch
were did you get the Infused rom? Is there an official website with documentation? Honestly I don't feel comfortable when I have to use stuff found on a forum: how can I trust them?
dventurin said:
were did you get the Infused rom? Is there an official website with documentation? Honestly I don't feel comfortable when I have to use stuff found on a forum: how can I trust them?
Click to expand...
Click to collapse
If you want the Infused ROM, head over to the "Infuse 4G Android Development" forum....
http://forum.xda-developers.com/forumdisplay.php?f=1161
From there, you will want to look at 2 threads....
1. You need to root your device first. Check out the very first thread (entitled: [How To] Root the Samsung Infuse 4G) shows how to root your device.....
http://forum.xda-developers.com/showthread.php?t=1082247
(the second link under SOURCE: has a video tutorial)
Side note: When downloading Superoneclick, make sure to get the one that has the drivers included. Also, make sure your external SD card is unmounted!
======================
2. Next, you'll need to install the Infused ROM. Look at the thread (entitled: [ROM] Infused v1.5.0 - (06/18/11) - Faster and smoother than ever!), which has the instructions, etc, for installing the Infused ROM.....
http://forum.xda-developers.com/showthread.php?t=1105413
You basically need to root your device first, then install the Infused ROM.
As far as feeling comfortable with using the sources from the forum, you have nothing to worry about. In regards to the Infused ROM, gtg465x is the one who developed it. All you have to do is follow the instructions, and if you feel uncomfortable about doing one of the steps, ask someone here!
I've had the Infused ROM installed now for a few weeks, and I have not been disappointed! Hope this helps.
Open VPN on Infused ROM tun.ko problems?
Greetings! This discussion is about what I am trying to solve, so I decided to post here. I have searched and read other threads, but can not figure out a solution. I am a noob in this.
Anyway, I also would like to make OpenVPN working on my Samsung Infuse.
I have rooted it, installed the Infused ROM Version 1.5.3 (awesme!)
About Phone gives me the following info:
Firmware version 2.2.1
Baseband version i997UCKE3
Kernel version 2.6.32.9
Build number Infused v1.5.3
No the problem. I have openvpn installed with OpenVPN Installer. My config, key, certificate files are in /sdcard/openvpn folder. Everything seems okay.
When I try to connect to my router at home, however, the tun.ko module would not load. It gives an error. I even tried to load it manually from the Terminal Emulator (insmod /system/lib/modules/tun.ko) It gives me an error still. The module file is in the folder.
What am I doing wrong? Has anyone been able to make openvpn work on the Infused ROM?
I had the same problem on the original AT&T ROM, but that one did not have the tun.ko at all, so it was understandable.
I would appreciate any suggestions.
Thank you in advance.
iovchinn said:
Greetings! This discussion is about what I am trying to solve, so I decided to post here. I have searched and read other threads, but can not figure out a solution. I am a noob in this.
Anyway, I also would like to make OpenVPN working on my Samsung Infuse.
I have rooted it, installed the Infused ROM Version 1.5.3 (awesme!)
About Phone gives me the following info:
Firmware version 2.2.1
Baseband version i997UCKE3
Kernel version 2.6.32.9
Build number Infused v1.5.3
No the problem. I have openvpn installed with OpenVPN Installer. My config, key, certificate files are in /sdcard/openvpn folder. Everything seems okay.
When I try to connect to my router at home, however, the tun.ko module would not load. It gives an error. I even tried to load it manually from the Terminal Emulator (insmod /system/lib/modules/tun.ko) It gives me an error still. The module file is in the folder.
What am I doing wrong? Has anyone been able to make openvpn work on the Infused ROM?
I had the same problem on the original AT&T ROM, but that one did not have the tun.ko at all, so it was understandable.
I would appreciate any suggestions.
Thank you in advance.
Click to expand...
Click to collapse
What's the error?
Entropy512 said:
What's the error?
Click to expand...
Click to collapse
OpenVPN Settings gives the following error: "FATAL: Cannot allocate tun/tap dev dynamically".
When I run "insmod /system/lib/modules/tun.ko" it gives me: "Failed (Exec format error)
Again, thank you for your response.
iovchinn said:
OpenVPN Settings gives the following error: "FATAL: Cannot allocate tun/tap dev dynamically".
When I run "insmod /system/lib/modules/tun.ko" it gives me: "Failed (Exec format error)
Again, thank you for your response.
Click to expand...
Click to collapse
out of curiosity, is there also a tun.ko in /lib/modules in addition to /system/lib/modules?
Entropy512 said:
out of curiosity, is there also a tun.ko in /lib/modules in addition to /system/lib/modules?
Click to expand...
Click to collapse
Man, my hat is off!
Indeed, there is one in /lib/modules and it did work when I tried to load it, instead of the one in /system/lib/modules/. Any idea, why the other one did not work? Not that it matters now.
Also, your signature says that you run Cyanogen Mod with Infuse. My understanding was that Infuse was not yet supported. Is it easy to install it? Any published instructions?
Again, thanks a bunch for the tip.
iovchinn said:
Man, my hat is off!
Indeed, there is one in /lib/modules and it did work when I tried to load it, instead of the one in /system/lib/modules/. Any idea, why the other one did not work? Not that it matters now.
Also, your signature says that you run Cyanogen Mod with Infuse. My understanding was that Infuse was not yet supported. Is it easy to install it? Any published instructions?
Again, thanks a bunch for the tip.
Click to expand...
Click to collapse
My guess is in your previous attempts to add a tun.ko module, you stuck one in /system/lib, or maybe gtg accidentally included some "cruft" in /system/lib that shouldn't be there.
As to CM7 - Right now it's a source-only unofficial build, links to the git repo are in the Development section. There are occasionally binary releases floating around, however not anywhere on these forums. Good things come to those who expand their horizons and do research.
Entropy512 said:
My guess is in your previous attempts to add a tun.ko module, you stuck one in /system/lib, or maybe gtg accidentally included some "cruft" in /system/lib that shouldn't be there.
As to CM7 - Right now it's a source-only unofficial build, links to the git repo are in the Development section. There are occasionally binary releases floating around, however not anywhere on these forums. Good things come to those who expand their horizons and do research.
Click to expand...
Click to collapse
It seems, you are right. /system/lib/modules/ has only one file in it and it is tun.ko. That one did not load. Must be some left-overs from previous reincarnation. The one in /lib/modules/ has lots of different *.ko files and tun.ko among them. This one loads just fine.
Again, thank you very much for your help.
Entropy512 said:
My guess is in your previous attempts to add a tun.ko module, you stuck one in /system/lib, or maybe gtg accidentally included some "cruft" in /system/lib that shouldn't be there.
As to CM7 - Right now it's a source-only unofficial build, links to the git repo are in the Development section. There are occasionally binary releases floating around, however not anywhere on these forums. Good things come to those who expand their horizons and do research.
Click to expand...
Click to collapse
By the way. Perhaps, I can get a bit more help with this. My joy was short-lived. My Infuse connects to my Tomato - no problem. However, it does not force traffic to the VPN tunnel. It is still using whatever service I connect: Wi-Fi, or Cell Provider's.
Any hints on how to fix it? I tried the "Fix HTC Routes" option in "OpenVPN Settings." No luck.
I would appreciate some help.
iovchinn said:
By the way. Perhaps, I can get a bit more help with this. My joy was short-lived. My Infuse connects to my Tomato - no problem. However, it does not force traffic to the VPN tunnel. It is still using whatever service I connect: Wi-Fi, or Cell Provider's.
Any hints on how to fix it? I tried the "Fix HTC Routes" option in "OpenVPN Settings." No luck.
I would appreciate some help.
Click to expand...
Click to collapse
Unfortunately someone else will have to help you there - I haven't used VPN functions on my phone.
iovchinn said:
By the way. Perhaps, I can get a bit more help with this. My joy was short-lived. My Infuse connects to my Tomato - no problem. However, it does not force traffic to the VPN tunnel. It is still using whatever service I connect: Wi-Fi, or Cell Provider's.
Any hints on how to fix it? I tried the "Fix HTC Routes" option in "OpenVPN Settings." No luck.
I would appreciate some help.
Click to expand...
Click to collapse
Having the same problem, am able to connect to openVPN running on ddwrt but the phone isn't directing traffic through it. Anyone have any ideas?

[Q] Q: Cifs.ko module for tf101 ICS kernel?

I just installed ICS and it works fine. I never expected it to work as well as it does, but now I can get down to griping about little things that I use that don't yet work
Normally I use CIFS (Common Internet File System, like Samba was before) to access shares on the net. This worked fine on HoneyComb because I built my own kernel modules.
For ICS, I think the source is not yet released for the kernel. I did see that there was a tun.ko and cifs.ko for ICS over in the transformer prime section of XDA, so I tried those out but it appears the tegra 3 kernel is too different for these to work. (although I think the version is the same).
If anyone has seen or has a working cifs.ko module I'd appreciate getting ahold of it (or especially the ICS kernel source code).
Thanks -
I don't know about cifs.ko as I don't use it, but I do use OpenVPN and found out that tun is part of ICS now, you no longer need a separate module.
hachamacha said:
I just installed ICS and it works fine. I never expected it to work as well as it does, but now I can get down to griping about little things that I use that don't yet work
Normally I use CIFS (Common Internet File System, like Samba was before) to access shares on the net. This worked fine on HoneyComb because I built my own kernel modules.
For ICS, I think the source is not yet released for the kernel. I did see that there was a tun.ko and cifs.ko for ICS over in the transformer prime section of XDA, so I tried those out but it appears the tegra 3 kernel is too different for these to work. (although I think the version is the same).
If anyone has seen or has a working cifs.ko module I'd appreciate getting ahold of it (or especially the ICS kernel source code).
Thanks -
Click to expand...
Click to collapse
I didn't have much success with tun and cifs for my purpose which was to wirelessly access the sd card of the phone/tablet vice versa until I used the Samba app fom the market. In combination with Ghost commander and after upgrading to ICS everything was intact. Not sure if this is helpful to you or not. Just throwin it out there.
Thanks both of you -
I realized that tun was there but thanks. As for cifs, I suppose the module isn't really needed except to use certain utils that rely on it, like root explorer.
I found a number of samba/cifs compatible file managers that're fine for me like ES explorer etc.
Those will be fine and I'll look forward to getting kernel source for ICS anyway.
hachamacha said:
Thanks both of you -
I realized that tun was there but thanks. As for cifs, I suppose the module isn't really needed except to use certain utils that rely on it, like root explorer.
Click to expand...
Click to collapse
I've just rooted my TF101 (ICS) so that I could get Junos pulse working with its ssl vpn. Doing a bit of reading I found I needed tun.ko (at least with 3.2). That automatic tun.ko installer from the market reports that tun.ko is installed (compiled into the kernel?)
I can see the tun0 created, with an IP address. But it doesn't work, not a single bit travels the tunnel interface.
I'm officially confused...
Still too few posts under this account name to be able to post links, but have you seen this thread in Dev?
xpad / cifs modules for stock kernel ICS v9.2.1.11
Thanks for that... that confirms tun.ko is built in, which doesn't help me find/fix my problem.
Will keep at it!

Categories

Resources