Kindle Fire tun.ko - Kindle Fire General

I managed to compile a tun.ko that loads on the fire. I don't really have to time to test establishing a VPN tunnel right now, nor do I know if there is anything else needed to make a VPN work on this device.
I did install the module and tool around a bit to make sure nothing blew up though. It hasn't yet.
Things seem to be coming along so quickly with the ROMs and whatnot, I don't know that there's much of a need for this right now anyway....
Anyone able to test anything with this? As normally goes for this type of stuff, anything you choose to do with the attached file is at your own risk.
Code:
# insmod tun.ko
# lsmod
tun 12481 0 - Live 0xbf13a000
tiwlan_drv 972959 0 - Live 0xbf000000
#
Cheers.

Hi,
I tried this (noob alert)
I placed it in /sdcard/
Using OpenVPN I set the TUN module settings to load module to insmod and path to /sdcard/
I then set load tun kernel module before starting openvpn
Generally on trying to connect I get, wait - auth - get config - reconnecting (due to tls-error)
This happens twice then I get "Fatal error - unable to assign TUN/TAP dev dynamically.
I have a log file if it's of help.

Wish I was somewhere I could play around with this today, but I probably won't be until tomorrow.

FWIW From a read of other people's experiences with tun.ko for other devices I tried it a few locations, /dev/net/tun /dev/tun but the same result each time.

ajq said:
I managed to compile a tun.ko that loads on the fire. I don't really have to time to test establishing a VPN tunnel right now, nor do I know if there is anything else needed to make a VPN work on this device.
I did install the module and tool around a bit to make sure nothing blew up though. It hasn't yet.
Things seem to be coming along so quickly with the ROMs and whatnot, I don't know that there's much of a need for this right now anyway....
Click to expand...
Click to collapse
There is definitely need for this. I'm rooting and will be romming my Kindle Fire, but my wife's Fire will probably stay fairly vanilla, perhaps just with full market enabled. As we are in Australia VPN is essential to have access to Amazon Prime and other services...
Anyone made any progress to working VPN yet? I'm at work so can't play...

Hi, I tested it and failed. tun.ko crashed and system reboot, just after openvpn try to make tun device ;-)
FYI, I use this openvpn binary for test: https://github.com/fries/android-external-openvpn/downloads

Installed OpenVPN from Android Market and configured VPN config files and this compiled tun.ko caused a reboot during the 'get config' phase of the OpenVPN login.

I'm in China and I tried PUFF SSH apk for Android system and it worked!
You can check my ip is USA in the browser.
https://seapuff.com/puff.apk
I post the screenshot images and tutorial in this Chinese forum:
http://bbs.mydoo.cn/thread-54630-1-1.html
I am looking for VPN app for Kindle Fire as well, if someone knows that please don't hesitate telling me, thanks!

fire tun.ko almost
same result as damianarnold. insmod happens, lsmod shows module. openvpn gets almost done, then fire reboots.

bump. need VPN
just tried to share my PC's VPN (HMA pro) using connectify.me which makes a wireless hotspot rather than an adhoc network, but for some reason connectify drops out when the VPN is active, dammit.
VPN on the Fire itself would be so much easier...

mclad said:
bump. need VPN
just tried to share my PC's VPN (HMA pro) using connectify.me which makes a wireless hotspot rather than an adhoc network, but for some reason connectify drops out when the VPN is active, dammit.
VPN on the Fire itself would be so much easier...
Click to expand...
Click to collapse
If unblock.us isn't working for you, wait for the custom kernels and/or ids/cm9, and it wont be an issue.... waiting stinks, but there are some smart folks working on it.... sorry the module didn't work, but all the rest of the von stuff has been left out of the device. Unblocked.us worked for me a good portion of the week I was in the eu.
Sent from my Kindle Fire using xda premium

try it ,it is working on my kindlie fire openvpn !

I just went to Market and grabbed TUN.ko Installer app. The developer's web site says it works for Kindle Fire. I installed it and now the "Rooted AnyConnect" app works. No muss. No fuss.

Astrobrewer said:
I just went to Market and grabbed TUN.ko Installer app. The developer's web site says it works for Kindle Fire. I installed it and now the "Rooted AnyConnect" app works. No muss. No fuss.
Click to expand...
Click to collapse
Hi Could you please describe a little which VPN service you use or even recommend to use to access Amazon prime service?
many thx
regards
Mjay

Not working
Astrobrewer said:
I just went to Market and grabbed TUN.ko Installer app. The developer's web site says it works for Kindle Fire.
Click to expand...
Click to collapse
Unfortunately, this does not work for me. Neither do other tuns attached to the thread. Is there any other alternative?

Tun.Ko is fantastic! Had some issues getting FeatVPN set up with my Kindle Fire but after installing tun.ko everything's working flawlessly. This is awesome.
Installed Tun.ko > Installed/Ran FeatVPN setup > Connect with HideMyAss VPN.
BTW, running @twa_priv's CM10 Jelly Bean ROM.
Thanks for the tip for tun.ko!

what should I do with this " tun.ko" file to run vpn? how can i install it?

Related

[Req] tun.ko for Epic stock kernel (DI18 and EB13)

Hello - I am attempting to connect to a cisco vpn using the instructions here but have run into a "common" problem- I copied a post over on the EVO forum- I have exactly the same problem- could some one help me out to compile a tun.ko that is compatible with the current stock kernel- thanks in advance!!! The instructions are found here
I am attempting to get vpnc (for cisco vpn) working on the epic but have run into a snag getting the tun.ko module loaded. When I attempt to insmod tun.ko I get exec format error and dmesg yields
tun: version magic '2.6.32.9-27220-g328f560 preempt mod_unload ARMv7 ' should be '2.6.29-a2443432 preempt mod_unload ARMv7 '
I found an excellent post (#12) by sjakub at hxxp://forum.xda-developers.com/showthread.php?t=630703&page=2
which describes step by step how to overcome this but unfortunately I have no access to linux in order to attempt this myself.
Would anyone be kind enough to compile the proper file for please?
Thanks very much.
Click to expand...
Click to collapse
jimmyz said:
could some one help me out to compile a tun.ko that is compatible with the current stock kernel
Click to expand...
Click to collapse
Does this work?
Mirror link (does not require forum login):
tun-DI18.zip
Thanks- will try it a soon as I get home!
EDIT: I did not receive any errors with your file- I will report back as soon as I try to connect to VPN!
Sent from my SPH-D700 using XDA App
I was able to insmod it, but my modem is down at home so I can't start my VPN.
I'll be jumping for joy if this works, I beat my head against the wall trying to find a good tun.ko for DI18 a few days back.
And I'm tunneled in. Seems to be working but I'm having trouble getting my traffic to route right so far, but I doubt that's related to the tun.ko.
Thanks a ton!
Hemick said:
And I'm tunneled in. Seems to be working but I'm having trouble getting my traffic to route right so far, but I doubt that's related to the tun.ko.
Thanks a ton!
Click to expand...
Click to collapse
what version of the VPN connections are you using? Could you find it on the market?
mkasick said:
Does this work?
Click to expand...
Click to collapse
Mkasick- thanks again for the tun.ko!!! After some troubleshooting (I needed to append a domain setting) I got it to work!!!!!
Can you please set up a way to donate to you- I would like to buy you a beer! I was going to ask for a kernel that automatically loads tun.ko but the vpn_connections apk seems to do it automatically
thanks again for you help!!!!
jimmyz said:
Can you please set up a way to donate to you- I would like to buy you a beer!
Click to expand...
Click to collapse
I appreciate the gratitude. Unfortunately I think it would take me far longer to figure out how to setup donations than it did to compile the module. So, in the meantime, enjoy a beer yourself as a "thanks" to me.
Thank you for this
I have been waiting for this too. Now I need to generate an OpenVPN configuration for our ssl VPN.
I registered just so I could download this module.
I must be doing something wrong because when I try to insmod I get init_module 'tun.ko' failed (Exec format error). I'm at 2.1-update1, 2.6.29, and SPH-D700 ECLAIR.DI18 so guess I'm not holding my mouth right.
flash_c4 said:
I must be doing something wrong because when I try to insmod I get init_module 'tun.ko' failed (Exec format error). I'm at 2.1-update1, 2.6.29, and SPH-D700 ECLAIR.DI18 so guess I'm not holding my mouth right.
Click to expand...
Click to collapse
I decided to try and copy the file over again and this time it worked so something must have happened during the transfer the first time.
How does one "install" this module? I have the Xtreme 1.0.1 kernel and I ran "insmod -v tun.ko" and it seems to stop the FC on the cisco ipsec vpn. But the module does not survive a reboot. I'm guessing I need to recompile it into the kernel? Can someone post some steps on how to do that?
Also, when using the vpn, after hitting connect, it immediately says failed. I'm not sure if that's because I didn't get tun.ko installed correctly, or just bad credential.
you all rock
first time poster, short time lurker...just started flashing my droid a few weeks ago, and am now also playing with an epic.
just wanted to comment on how much i liked this thread, even though i understand, uh, not much of it. you all rock! keep up the open source mentality and for my part i'll keep purchasing/donating for things i enjoy using. And hefting beers for all of you
jimmyz said:
Mkasick- thanks again for the tun.ko!!! After some troubleshooting (I needed to append a domain setting) I got it to work!!!!!
Can you please set up a way to donate to you- I would like to buy you a beer! I was going to ask for a kernel that automatically loads tun.ko but the vpn_connections apk seems to do it automatically
thanks again for you help!!!!
Click to expand...
Click to collapse
droid is currently running UD 2.0 with Chevy 1.25 low voltage kernel - fast and awesome!! quadrant in the 1100s
epic currently using syndicate fully loaded 1.0.2 but also tried and liked the froyo betas... quadrant = 1207
Kernel module
Having the tun.ko file alone might not work. For example, I have a Desire HD. I extracted the kernel config from /proc/config.gz and saw that the TUN/TAP module was not even included in the kernel as a module (M). Correct me if I'm wrong but if the kernel isn't even compiled for support for a module, the module will not load even if you try to load the tun.ko module using insmod/modprobe. Your kernel either needs to have the module selected as (M) or (Y) - if you want it buit-in.
Therefore, I had to:
(1) grab the Desire HD sources from http://developer.htc.com
(2) extract the config for that kernel from /proc/config.gz
(3) Also get hold of the android ndk compiler for x-platform compilation for the arm architecture.
(4) compile the kernel sources using that config file in (2) but also with support for tun.ko as a module (m). You can do this with the command 'make menuconfig' in the kernel sources dir. The kernel sources I grabbed from the url above from htc seemed to have a few files missing. One of them was the ntrig.c file, which I got from the main android kernel sources instead.
(5) Once I got them compiled, this generated the kernel as bZimage a few modules (including tun.ko).
(6) For me the next issue was to get the kernel on my device because unless you have a bootloader than ignores signatures on the kernel, you won't be able to upload your new kernel.
(7) I flashed my bootloader to clockworkmod. Used this guide: http://forum.xda-developers.com/showthread.php?t=805327
(8) once i unlocked the bootloader I issued a 'fastboot flash zimage zImage' (my compiled version of the kernel)
(9) Uploaded the tun.ko too and did an insmod to loads tun.ko and it worked.
rcboosted said:
How does one "install" this module?
Click to expand...
Click to collapse
You don't, you have to "insmod" it on every reboot.
rcboosted said:
I'm guessing I need to recompile it into the kernel?
Click to expand...
Click to collapse
You can compile a kernel with the tun driver built-in, so you don't need to rely on an external module. But it's tougher to keep up with kernel updates that way. Ask in the thread of your favorite kernel where to obtain the source and instructions for compiling it.
shakeup said:
Correct me if I'm wrong but if the kernel isn't even compiled for support for a module, the module will not load even if you try to load the tun.ko module using insmod/modprobe. Your kernel either needs to have the module selected as (M) or (Y) - if you want it buit-in.
Click to expand...
Click to collapse
That's not the case. The kernel does need to be compiled with general module support, but this will always be the case since the Epic uses a fair number of proprietary driver modules.
Setting a particular driver to be compiled as a module (=m) in the kernel config simply means the module, and any of its dependencies, are built alongside the kernel. The kernel itself is the same in either case, unless the module requires a kernel option/driver that can't be compiled as a module, which is rare these days, but was more common in Linux 2.4 and earlier.
In any event, the tun.ko posted here does work with stock DI18.
Edit: There is an issue when you try to compile a driver module that requires an option to be enabled in a different driver that's built-in to the kernel you're using but is currently disabled. I can't think of a good example of such at the moment, but I think I have ran into it in the past.
It's obvious I'm no linux or android expert by any means. I have no clue how to compile a kernel or recompile a module. So all this talk about recompiling is way over my head.
I'm just trying to connect to a IPSec vpn server using vpnc client (http://code.google.com/p/get-a-robot-vpnc/). Currently running Epic Experience rom and the latest Xtreme kernel. Everytime I tried to connect, it fails immediately. I've verified my credentials are correct, so I don't know what else I can do except wait for CM 6 to come out for the Epic.
rcboosted said:
Everytime I tried to connect, it fails immediately.
Click to expand...
Click to collapse
I'm not familiar with that particular program, but you can get a better idea of what's going wrong with a logcat dump.
For example, your credentials might be correct, but your phone might still have difficulty resolving the server, negotiating the connection, etc.
Thanks for the help. I tried logcat and the authentication part seems to be ok, this is what happens after the authentication:
D/VPN_Connections(29594): done interacting with vpnc
D/VPN_Connections(29594): process stderr:
D/VPN_Connections(29594): Read vpnc process line as null
D/VPN_Connections(29594): Attempt to read vpnc process id did not return anything
D/VPN_Connections(29594): process had died, return as failed connection
It doesn't tell me much, but maybe it means something to you.
rcboosted said:
It's obvious I'm no linux or android expert by any means. I have no clue how to compile a kernel or recompile a module. So all this talk about recompiling is way over my head.
I'm just trying to connect to a IPSec vpn server using vpnc client (http:/9/code.google.com/p/get-a-robot-vpnc/). Currently running Epic Experience rom and the latest Xtreme kernel. Everytime I tried to connect, it fails immediately. I've verified my credentials are correct, so I don't know what else I can do except wait for CM 6 to come out for the Epic.
Click to expand...
Click to collapse
I would guess you need a tun.ko specifically for that kernel you are using (Xtreme)- maybe its best to go back to stock- use the tun.ko in this thread and see if you can get it to work?

VPNC Widget working!

Hi,
For those that want to connect their Galaxy Tab 10.1 to a pure IPSEC Cisco VPN server, the latest VPNC Widget (v1.18) in the Android Market now works on the Galaxy Tab 10.1
I've had VPNC Widget working great on my SGS2 for a while, but it when I tried on the my Galaxy Tab 10.1, it only worked after some tweaking that did not survive a reboot. I've been communicating with the app's developer and doing some testing for him. Now, the latest version in the Android Market works great on the Galaxy Tab 10.1 too
To get it working, did the following:
Rooted my Galaxy Tab 10.1
flashed PhantomHacker's StarBurst ROM http://forum.xda-developers.com/showthread.php?t=1197776, although other ROMs should work fine too
flashed pershoot's kernel http://droidbasement.com/db-blog/?p=2357
flashed pershoot's SU/BusyBox/Misc tools http://droidbasement.com/db-blog/?p=1926
downloaded pershoot's lib-2636.4.tar.gz (Kernel Modules) http://droidbasement.com/db-blog/?p=2357
used Root Explorer from Android Market https://market.android.com/details?id=com.speedsoftware.rootexplorer&feature=search_result to extract tun.ko from lib-2636.4.tar.gz
used Root Explorer copy tun.ko to /data/local/modules
used Terminal Emulator from Android Market https://market.android.com/details?id=jackpal.androidterm&feature=search_result and issued the following commands:
su
insmod /data/local/modules/tun.ko
installed latest VPNC Widget from Android Market https://market.android.com/details?id=com.gmail.mjm4456.vpncwidget&feature=search_result
Configured VPNC Widget in Apps
Added VPNC Widget as a widget to home screen - important step
Tap on VPNC Widget in home screen to start/stop VPN client
I'm hoping this will help others who need a Cisco pure IPSEC VPN connection on their Galaxy Tab 10.1.
Cheers,
morkli.
First off, thanks for the post!
However, after going through this I was still unable to get it to work. After trying to connect I took a look at the log and found the following error:
Code:
Error: no access to TUN device!
can't open /dev/net/tun, check that it is either device char 10 200 or (with DevFS) a symlink to ../misc/net/tun (not misc/net/tun): No such file or directory
So I used ADB to check for the 'tun' device and found that there is no /dev/net directory at all. Have I missed something or done something wrong?
Yes, very sorry, I forgot to add a few important steps regarding tun.ko. I've updated my OP above. The changes should get it working for you. You might be able to use ADB instead of Root Explorer and Terminal Emulator if you like.
thanks for the directions
I will give it a try, I can't get anyconnect working
jfl0wers said:
thanks for the directions
I will give it a try, I can't get anyconnect working
Click to expand...
Click to collapse
No problem. Yes, anyconnect won't work with older pure IPSEC Cisco VPN servers that require a group password. Thankfully, VPNC Widget does.
morkli said:
Yes, very sorry, I forgot to add a few important steps regarding tun.ko. I've updated my OP above. The changes should get it working for you. You might be able to use ADB instead of Root Explorer and Terminal Emulator if you like.
Click to expand...
Click to collapse
That was what I was missing It is now working. Thanks so much!
morkli said:
Hi,
I've been communicating with the app's developer and doing some testing for him.
morkli.
Click to expand...
Click to collapse
How did you contact him? I have something different I'd like to him to help me with. I'd like vpnc to connect to an juniper srx.
stupendiousman said:
How did you contact him? I have something different I'd like to him to help me with. I'd like vpnc to connect to an juniper srx.
Click to expand...
Click to collapse
VPNC Widget is designed for connecting to Cisco pure IPSec VPN servers. I doubt that it would be easy to make it work with Juniper's SRX series. Have you tried the Junos Pulse app from the Android Market?
Anyway, the VPNC Widget developer's email address is there in the Android Market. That is how I contacted him.
Hello
Great instructions!
After I've done everything in the manual if there are any vpn connection. The error message I'm hanging on as screnshots.
i hav a 10.1v tab with isi rom 1.02v.
Conan179 said:
Hello
Great instructions!
After I've done everything in the manual if there are any vpn connection. The error message I'm hanging on as screnshots.
i hav a 10.1v tab with isi rom 1.02v.
Click to expand...
Click to collapse
Sorry, don't know about that error. Maybe try contacting the developer of VPNC Widget to see if he can help. His email address is available in the Android Market.
Hi
i have a problem. I rooted my GTP7500 3g Stock Rom with this method. All worked fine.
now i tried this instructions and after applying "pershoot's SU/BusyBox/Misc tools" over my recovery i lost my root access. I cant get su in terminal emulator and also the FileManagerHd says that this is not a rooted device.
After applying the root.zip again i have root and can get it in terminal emulator, but there is no instmod command. The terminal editor says:"sh: instmod: not found".
Any suggestions? Where did i make the mistake?
you hav send the su command in the terminal bevor istmod?
i have it forget.
Greetz Conan
sure i tried
i attached 2 screenshot from my terminal emulator
on the left screnshot hat the terminal dosnt su right,
on the right screnshot, the comand is "instmod /data/local/modules/tun.ko" not "istmod" only!
coole tastartur, wo hast du die her?
On the left side is after flashing "pershoot's SU/BusyBox/Misc tools" no one of my apps get su rights not even my file manager or the rom manager. The superuserapp is there, but no app can gain su.
The screenshot on the right side shows after flashing the root.zip again. All apps can gain su. And there is no instmod. But im not sure if i has instmod aber flashing pershoot's SU/BusyBox/Misc tools. i only type instmod without /data/... because im to lazy. If i type the whole command with /data/.. there is the same error.
I kepp the main conversation english, so others could follow.
Das ist Thumb Keyboard 4.
Ich versuchs morgen weiter mit vpnc, ich hab um 8 Uni und verzieh mich ins bett
I think i has encoutered the problem
used Terminal Emulator from Android Market https://market.android.com/details?i...=search_result and issued the following commands:
su
instmod /data/local/modules/tun.ko
Click to expand...
Click to collapse
Am i right that morkli means the I N S M O D command an not the I N S >T< M O D command.
Because with insmod all turned fine with installing the kernel module and the widget.
Dracultepes said:
I think i has encoutered the problem
Am i right that morkli means the I N S M O D command an not the I N S >T< M O D command.
Because with insmod all turned fine with installing the kernel module and the widget.
Click to expand...
Click to collapse
Sorry everyone, yes "insmod" not "intsmod". A typo. I've fixed the original post.
I still use pershoot's kernel, but something I discovered recently is that VPNC Widget works with the stock kernel, as long as your Tab is rooted. Tun.ko seems to be part of the stock kernel, so no need to insmod anything.
sorry to dig up the dead, but i cant get this working.
I have a LTE tab running liquidspeed beta 6. I am trying to use the Cisco anyconnect client (not the same as used in the OP) I was getting the error that the tun module was missing from /data/local/kernel_modules.
I dled the tun.ko file and placed it in /data/local/modules folder and ran su and then insmod /data/local/modules/tun.ko both commands had no response or errors.
I then said, okay it is looking in /data/local/kernel_modules so i will place it there and run the insmod command to point there.
When i run the anyconnect app, it hangs and reboots my tablet.
Anyone get this working? i need some help as I use VPN for work often.
After trying the vpnc app, i found the same result.
Just to confirm, you're running pershoot's kernel with that liquidspeed beta 6 ROM?
There are two Cisco Annyconnet clients in the market. One for rooted devices and one for Samsung devices. Which one did you try?
I downloaded and installed the one for rooted devices. I don't have anything to try to connect it to, but it did not generate any errors the tun module. I put in a dummy IP address and it attempted to connect to that.

Tun.KO Kernel [email protected]

Trying to use anyconnect and get an error about Tun/Tap driver. On android 3.2 touchwiz. Have found several but every time i do a insmod tun.ko get a error. Is there a tun.ko driver available, if so can you please point me in the right direction. Thanks!
Anyone
Can anyone point me in the right direction please?
Where did you get Android 3.2 for the Galaxy Tab 10.1?
My bad
my bad, 3.1, fat finger syndrome
This might help:
forum.xda-developers.com/showthread.php?t=1262315
U da MAN
morkli thank a million times over, that was it. I have been searching all day, I knew if i came to this forum, I would get the answer and help. Again thank you!!
Glad I could help
sorry to dig up the dead, but i cant get this working.
I have a LTE tab running liquidspeed beta 6. I am trying to use the Cisco anyconnect client (not the same as used in the link above) I was getting the error that the tun module was missing from /data/local/kernel_modules.
I dled the tun.ko file and placed it in /data/local/modules folder and ran su and then insmod /data/local/modules/tun.ko both commands had no response or errors.
I then said, okay it is looking in /data/local/kernel_modules so i will place it there and run the insmod command to point there.
When i run the anyconnect app, it hangs and reboots my tablet.
Anyone get this working? i need some help as I use VPN for work often.
See my post in http://forum.xda-developers.com/showpost.php?p=19007667&postcount=20
Digging this up...
I'm using liquid speed beta 6. Can get connected with AnyConnect, but it reboots when trying to finishes the connection. I've insmod and tried from data/local/modules... And just copies to kernel_modules with same result.
Had anyone done a full anyconnect with a pershoot kernel yet?
iceshrike said:
Digging this up...
I'm using liquid speed beta 6. Can get connected with AnyConnect, but it reboots when trying to finishes the connection. I've insmod and tried from data/local/modules... And just copies to kernel_modules with same result.
Had anyone done a full anyconnect with a pershoot kernel yet?
Click to expand...
Click to collapse
i never got mine working either

CIFS Support With Rooted Stock?

Hello all,
I have hardly posted on this forum because I usually don't need to. My answers are usually answered in some thread or another. I have been lurking for a couple of years now. Thanks to all the XDA users who help out.
I am perfectly satisfied with the Nexus 7 completely stock, with one exception: I want to access windows and linux/samba shares from the tablet over Wifi. I do not want to install a custom ROM to do this. I saw a thread or two that mentioned this briefly, saying there was a kernel that does this, but mostly it is all vague. I found one kernel in the development forum that provides CIFS, but I do not know if that will work with the stock rom if I were to flash it.
Would someone please help me understand this? All I want is to use files on my other computers.
Thanks in advance!
-David
You can access files on a network with ES file explorer.
Sent from my Nexus 7 using XDA Premium HD app
If you want to mount the CIFs shares as local directories then you need to be rooted and the stock ROM will need some additional kernel modules. You don't need a custom ROM in that respect, but you do need to root the device. Cifs Manager, which only works as root anyway, will allow you to load the modules and then manage the mounting/unmounting of the shares.
There's the N7 specific modules in qwerp_'s thread here: http://forum.xda-developers.com/showthread.php?t=1781411. The 10th post of that thread tells you how to add those modules.
There's a Cifs Manager thread here: http://forum.xda-developers.com/showthread.php?t=756158 which details some common problems and set up tips.
thankyousam said:
If you want to mount the CIFs shares as local directories then you need to be rooted and the stock ROM will need some additional kernel modules. You don't need a custom ROM in that respect, but you do need to root the device. Cifs Manager, which only works as root anyway, will allow you to load the modules and then manage the mounting/unmounting of the shares.
There's the N7 specific modules in qwerp_'s thread here: http://forum.xda-developers.com/showthread.php?t=1781411. The 10th post of that thread tells you how to add those modules.
There's a Cifs Manager thread here: http://forum.xda-developers.com/showthread.php?t=756158 which details some common problems and set up tips.
Click to expand...
Click to collapse
Thanks Thankyousam! A little redundant, but thank you. I'll try this out tonight and report back how it went. I appreciate your thoroughness!
-Dave
COMPLETE
hesperaux said:
Thanks Thankyousam! A little redundant, but thank you. I'll try this out tonight and report back how it went. I appreciate your thoroughness!
-Dave
Click to expand...
Click to collapse
Just so everyone knows, I got this to work flawlessly , but I had to go through hell to make sharing on Windows 7 work properly . I'm going to document that here for everyone's benefit.
Before I start, the end result was watching VOB format movies over wifi for 2+ hours with no issues at all. Very pleased with this. You can't do this with a basic SMB browser (because it has to download the file before viewing it).
I followed a lot of tutorials online after my initial attempts at sharing over the network failed. I wanted to do this WITHOUT a HomeGroup and WITH USER SECURITY ENABLED. I didn't want to share everything to Everyone like most tutorials suggest.
It turned out that sharing worked fine, with or without HomeGroup enabled, but only with other Windows 7 machines. This is because Microsoft hates my life and because it doesn't support "legacy" devices by default. The coolest part about all of this is that there is no way to fix this except by editing the registry directly. I will paste the registry fix into this post and also link to the source (Microsoft) just in case the link goes down.
Open: regedit.exe as Administrator
Navigate to: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\MSV1_0
Create: DWORD (32-bit), called "AllowLegacySrvCall"
Set: AllowLegacySrvCall = 1 (binary, hex, or octal, doesn't matter if it's value is 1)
(I am a new user and cannot post links...)
support.microsoft.com/kb/957441
Another important thing: in the Network and Sharing Center, you'll need to edit advanced sharing options and enable 48- and 56-bit encryption support for older protocols (Don't use the 128-bit encryption because it probably won't work with most other devices, like the tablet).
Lastly, in your CIFS mount options (in CIFSManager this is the last input box in the settings) you may need to add domain=WORKGROUP,sec=ntlmv2
This is because the username it logs in with may or may not need to be specified according to the workgroup you are in (or domain, if applicable). The security option tells CIFS.ko to use one of the more recent authentication protocols that Windows 7 requires by default. You can change this default setting in Windows 7, but I think it is better to use the updated authentication method from Android since it appears to be supported.
Hope that helps anyone who is raging about this. I know I did.
If I think of anything else that's important, I will try to update this post. If anyone has any questions about getting this to work, let me know!
Thanks again to all who helped me figure this out. CIFS is wonderful!
-Dave

[Q] NEXUS 10 usb 3g thererig on 4.4.2, is it possible?

I would love to use my internet usb 3g key on my N10 4.4.2 but I do not find any app working, and I think it is a bit strange... I would love to use it without root, but in case I may decide to root my device if it is the only solution.
The question is: is it possible or is it a dream?
Many thanks for any suggestion.
I am doing it now. Use the tce-manta kernel with ppp-widget. It almost worked out the box but I had to tweak DNS. I was pleased with myself. Yes you have to root to make PPP widget work. I have a 4g AT&T Huwai E368 works now on my Win7 laptop and N7 and N10 and via Bluetooth I can share it.
Sent from my Nexus 10 using Tapatalk
---------- Post added at 10:28 PM ---------- Previous post was at 10:25 PM ----------
http://blog.tan-ce.com/android-4-4-kitkat-kernel-for-nexus-10/
And https://play.google.com/store/apps/details?id=de.draisberghof.pppwidget&hl=en
Sent from my Nexus 10 using Tapatalk
it sounds perfect! pppwidget does not work with kitkas, how may I make it works? May you suggets an easy and good guide to root by Ubuntu 12.04?
Many thanks again
t003 said:
it sounds perfect! pppwidget does not work with kitkas, how may I make it works? May you suggets an easy and good guide to root by Ubuntu 12.04?
Many thanks again
Click to expand...
Click to collapse
Yes it does work. I'm telling you. I got it working. I'm running 4.4.2, Kitkat, ppp-widget. The key is to install the tce-manta kernel as it adds compiled modules for the the USB modems, those drivers that N10 Kitkat lacks.
This wasn't difficult, the most time was spent figuring out why it "connected" but also seemed "offline" the reason is ppp-widget on 4.4.x doesn't correctly setup DNS server settings so you can access via IP not host, so the solution is to turn Wifi off before you connect via ppp-widget, or have your Wifi settings static use DNS servers. Other than that, follow what I did and it works "out the box"
root, install tce-manta kernel zip in recovery, install ppp-widget, drag the widget to your screen, accept the root permissions, re-drag it as root permissions approval seems to interfere with the drag, configure ppp-widget with APN settings for your network, plug in your usb modem, accept that ppp-widget should control the usb device..... then see what happens to ppp-widget, mine said modem found and disconnected, then click connect, then it will appear to not work but if you set your DNS settings then it actually works.
ok many many thanks.
I am noob.
I did brick my nexus once, and I did try to do all perfectlyu but menu in guide were different, so, may you suggest how to root (guide for dummies)
and then hoe to flash the manta rom?
t003 said:
ok many many thanks.
I am noob.
I did brick my nexus once, and I did try to do all perfectlyu but menu in guide were different, so, may you suggest how to root (guide for dummies)
and then hoe to flash the manta rom?
Click to expand...
Click to collapse
Well I personally used WUGS NRT, it works easily but the greatest hassle is getting the drivers installed. I've not done this myself but reading all the guides, the best method which seems the simplest is install SuperSU app, let it install custom recovery tool, that then gives you root (I think).
However, personally, for many reasons, the primary one being performance, I'd do the full hog of doing a stock 4.4.2 install, then root. It seems to purge something from earlier installs which causes lags.
My setup: Using Wugs NRT do a unlock (if you've never unlocked, its a one-time need), WUGS NRT stock+unroot 4.4.2, WUGS NRT root and let it install the Koush custom recovery (not the default of TWRP seems buggy to me). Its not a 100% noob myself but that process worked for me, I got a performing stable 4G-online N10 in my hands now. It has only crashed on me once and that was doing Bluetooth tethering playing sharing the 4G connection out to other devices (N7) simulating us all being in a car streaming off the 1 connection. I guess these hacks have their limits!
many thanks, my device is already unlock, I did try to root it, but when I had to install supersu it did not, was not able to open the file and then did brick...
I will follow your suggested guide, it seems the best way.
Did you check opengarden app? They say it works without rood, on 4.4.2 too, (it seems) via bluetooth, but I did try and I had no connection.
thanks again
t003 said:
many thanks, my device is already unlock, I did try to root it, but when I had to install supersu it did not, was not able to open the file and then did brick...
Click to expand...
Click to collapse
I don't recall which exactly it is but one of those "super" somethings you install it, installs custom recovery that then allows you to root. Ask in other forums / different question?
t003 said:
I will follow your suggested guide, it seems the best way.
Click to expand...
Click to collapse
I got a Win7 laptop to work with the WUGS driver install over a year ago when I got my first android - Nexus 7 2012 - and then as it works, just stuck with with WUGS NRT. If starting from scratch now, I'm not sure if it is the best solution, there may be better, but it worked for me so I stuck with it.
t003 said:
Did you check opengarden app? They say it works without rood, on 4.4.2 too, (it seems) via bluetooth, but I did try and I had no connection.
Click to expand...
Click to collapse
No, actually I got all I need working using native Android for bluetooth sharing between 2 devices, and turning into a Wifi hotspot using ES Explorer.
t003 said:
thanks again
Click to expand...
Click to collapse
NP. Good luck. There's always the problem your specific 3G dongle doesn't have driver support, so even if you get to the very end of the change it still might not work, but that will be a driver issue and you can then try to solve driver issues.
That sounds perfect! I will try it as soon as I will root my device.
I did find another possible solution, it is not perfect jet but it is cool: Opengarden app
I did use my mobile via bluetooth to tether my nexus 10 android 4.4.2.
It works quite well, the only problem could be few applications as playgoogle who do not accept bt connection...
It does not require root.
t003 said:
That sounds perfect! I will try it as soon as I will root my device.
I did find another possible solution, it is not perfect jet but it is cool: Opengarden app
I did use my mobile via bluetooth to tether my nexus 10 android 4.4.2.
It works quite well, the only problem could be few applications as playgoogle who do not accept bt connection...
It does not require root.
Click to expand...
Click to collapse
Yes I stumbled on it too a week-ish ago, I also tether my N4 to me N10 and it works perfectly ok for me.
Bluetooth pair both devices
On the phone go into settings, "wireless & networks", "more...", "tethering & portable hotspot", and tick "Bluetooth tethering".
On the tablet, "bluetooth" , select the phone's settings (to the right) and tick "Internet access".
Then it just works!
I just tried Play Store, you're right "no connection", I nosed around and its a DNS issue, and I know the trick to that. You have to do the following in sequence. At some version of Android, if its got any DNS setting from Wifi, it doesn't replace it when using any other kind of data connection. So e.g. if you're on Wifi using a home router chances are it gives itself out as the DNS resolver (say 192.168.1.1), which when tethered to a phone on 4G the 192.168.1.1 is a nonsense address so DNS resolving fails. So you have to a few options. Here's an example which you can do quickly enough at home to demonstrate the fix.
Be on Wifi on tablet
modify your connection to use static and replace DNs with an open DNS server (which is valid from anywhere say 8.8.8.8)
Disable Wifi
Enable Bluetooth
then it should work. I just did and it is working for me, Play Store now working
There are other tricks, there are DNS accelerator apps which solve the issue which I not tried yet.
Bluetooth being lower power has attractions when on battery.

Categories

Resources