cifs.ko / smb mount support? - Streak 5 General

does anyone have a clue how to enable cifs / network mount on the streak? someone made the .ko for 360, it would rock to have it on 407 as well.

Related

[q] cisco vpn for galaxy tab

HI,
Somebody now of a VPN client compatible with cisco Altiga concetrator ?
I need to connect the tab to our corporate network, and we use the standard cisco vpn client on PC, any similar software for the Galaxy tab ?
It appears that int VPN client that comes with the Tab is missing a level of authentication needed for a Concentrator. I'm currently looking through everything I would need to get openVPN up and running on the Tab, but it's not going to be a straightforward process. If I have any success, I'll update here.
Perion said:
It appears that int VPN client that comes with the Tab is missing a level of authentication needed for a Concentrator. I'm currently looking through everything I would need to get openVPN up and running on the Tab, but it's not going to be a straightforward process. If I have any success, I'll update here.
Click to expand...
Click to collapse
any luck on this? I am having the same issues connectiong to Cisco IPSec VPN
It works with some tweaking. Look here
http://forum.xda-developers.com/showthread.php?t=820909
Sent from my GT-P1000 using XDA App
I have successfully connected by Tab to Cisco VPN appliances using the VPN Connections app and the tun.ko module from the thread linked to in post #4. The only real issue I've seen with this setup is that when you disconnect the VPN tunnel it leaves the IP stack (possibly just the DNS config) in a confused state and you need to bounce your networking to get it back straight.
I am having the same issues connectiong to Cisco IPSec VPN
I connect to our cisco vpn using tun.ko file and vpn connections as well.
Have not had any issues with ip stack our dns being left in a confused state...
I will post a write up of what I did if I get time later... But basically it was:
Root
Install busybox
Copy tun.ko to system/lib/modules/tun.ko
Install vpn connections
Enter ipsec gateway,ipsec id,ipsec pwd,uname,usrrpwd
Done.
Same procedure worked on my droid one (with a different tun.ko)
Sent from my SCH-I800 using XDA App
jkhouw1 said:
I connect to our cisco vpn using tun.ko file and vpn connections as well.
Have not had any issues with ip stack our dns being left in a confused state...
I will post a write up of what I did if I get time later... But basically it was:
Root
Install busybox
Copy tun.ko to system/lib/modules/tun.ko
Install vpn connections
Enter ipsec gateway,ipsec id,ipsec pwd,uname,usrrpwd
Done.
Same procedure worked on my droid one (with a different tun.ko)
Sent from my SCH-I800 using XDA App
Click to expand...
Click to collapse
I rooted my phone (z4root)
installed busybox
Got tun.ko but there's no "modules" folder in system/lib + the system folder is sort of write protected (I can't create new directories and all)
(I used Astro file manager)
I created the modules subfolder
You need to mount /system as rw.. I use root explorer instead of astro and it has a nice feature built in to mount rw ro I didnt see in astro
You can do it from terminal as well
#su
#mount -o remount,rw -t rfs /dev/block/st19 /system
Then when done remount as ro
#mount -o remount,ro -t rfs /dev/block/st19 /system
Sent from my SCH-I800 using XDA App
Still no clue
First off, I'd like to appreciate your help.
The issue still exists! Using root explorer I created the directory and placed the file (tun.ko) in it but I still get the same error message after setting my VPN connection up (Server hung up. Unable to connect to the server due to firewall. Try again?)
Any idea?
BTW, how and where can I use/download the terminal?
Thanks in advance
jkhouw1 said:
I created the modules subfolder
You need to mount /system as rw.. I use root explorer instead of astro and it has a nice feature built in to mount rw ro I didnt see in astro
You can do it from terminal as well
#su
#mount -o remount,rw -t rfs /dev/block/st19 /system
Then when done remount as ro
#mount -o remount,ro -t rfs /dev/block/st19 /system
Sent from my SCH-I800 using XDA App
Click to expand...
Click to collapse
This really helps. I am able to copy the tun.ko to that folder. Hopefully it will be loaded automatically next time when I reboot. Before I have to manually run the command every time I reboot.
insmod tun.ko
Hi,
I've got Galaxy Tab and I have done the tun.ko and the busybox, and the insmod, and link for ifconfig and route.. lsmod shows tun.
my vpnc connects, says connected and stays connected.. But I cannot reach anything int he vpn network.. if I do "ip link show"... kind of like doing ifconfig -a on linux, I can see the tun interface, but it's down.
openvpn by the woy, works ok... I can connect and routing works.. Any help would be great.
Thanks,

Auto-mounting CIFS Shares

I couldn't find any threads on this, sorry if it's been asked before.
I can mount CIFS/NFS shares fine through CIFS Manager, but it doesn't auto-mount those shares on boot.
I'm trying to find a way to do this on boot. I can't find any sort of fstab from looking around that I could use for this.
I find some information that suggested that you can run script commands on boot if they're located at /data/local/userinit.sh So I attempted to put the mount commands in there.
userinit.sh said:
#!/system/bin/sh
mount -t cifs //192.168.1.147/comics /mnt/cifs/comics -o user="joe"
mount -t cifs "//192.168.1.147/collen's movies" /mnt/cifs/avis -o user="joe"
Click to expand...
Click to collapse
(yeah, I know "collen" is misspelled, but it is on the share)
both those commands *will* mount when I do them from terminal after creating the /mnt/cifs/comics and /mnt/cifs/avis directories... For some reason though, they get removed on each boot... so I suspect that maybe that's preventing the script from mounting them?
Anyone know of a way to do this?
You might try adding:
mkdir -p /mnt/cifs/comics
mkdir -p /mnt/cifs/avis
to the script before the mount commands, to make sure the mount points are there after a reboot. It might also be that the userinit.sh script is not being run as the superuser, which may be necessary for the mount command to work.
Actually, it occurs to me that I'm a bit of an idiot for thinking this would work...
I doubt it would have a wifi connection when any boot scripts get ran... so a CIFS mount shouldn't work at that point anyway.

Use a NAs as a storage for ROMs

Hi.
My nvidia shield is great and run a lot of emulator very well.
On my home I have a NAS with all roms from n64, psx, psp, dreamcast, nds,etc.
I would like to play this game without having to copy it to my sdcard or memory card.
My router is very fast so I think if there was a way to mount my NAS as a standard folder on my Shield it will do the job.
Do you guys know if it is possible to 'mount' a SAMBA or FTP or NFS on my shield as a folder?
In that way I will configure my emulators to find the roms in this mounted folder.
thanks
Hi
I found the solution with NFS Shares!
Now I can play all my roms from SAS without using my sdcard to copy files.
And small roms files(up to 10MB I can play outside home with internet) I am so happy with this solution now
It is like GRID but for emulation.
Follow the tutorial:
0 - You need a rooted android, superSU 1.9.3, busybox.
1- setup a NFS share ( I am using a 4T external HD on my router with OpenWRT firmware with the NFS package).
2- follow this guide:
mad_ady said:
Here's my recepie for mounting NFS shares on my Galaxy S3, running NeatRom 2.8 (Derived from SlimKat 2.8) and with Boeffla-Kernel:
Code:
#remount the root filesystem rw so that we can create the mountpoint
/sbin/busybox mount -o remount,rw /
#create the mountpoint
/sbin/busybox mkdir -p /mnt/nfs/Download
#make the mountpoint world readable so that all user apps can access it
/sbin/busybox chmod 777 /mnt/nfs
/sbin/busybox chmod 777 /mnt/nfs/Download
#remount / as ro
/sbin/busybox mount -o remount,ro /
#mount the actual NFS share (on 192.168.1.1:/overlay/Storage
su --mount-master -c "/system/xbin/mount -o nolock,ro,hard,intr -t nfs 192.168.1.1:/overlay/Storage on /mnt/nfs/Download"
#check that it was mounted
mount | grep /mnt/nfs/Download
Using this method (and having world readable permissions on my shared files) I am able to access the files both with a root explorer (ES File Manager) and with non-root apps (MXPlayer, QuickPic). Without running the chmod on the created folders I am only able to access them with a root explorer.
Let me know if you need additional help, and a million thanks to @brotbuexe for pointing out the mount-master trick (I was actually looking into injecting commands into adb before finding out of this switch).
Click to expand...
Click to collapse
3 - done
ricardo85x said:
Hi
I found the solution with NFS Shares!
Now I can play all my roms from SAS without using my sdcard to copy files.
And small roms files(up to 10MB I can play outside home with internet) I am so happy with this solution now
It is like GRID but for emulation.
Follow the tutorial:
0 - You need a rooted android, superSU 1.9.3, busybox.
1- setup a NFS share ( I am using a 4T external HD on my router with OpenWRT firmware with the NFS package).
2- follow this guide:
3 - done
Click to expand...
Click to collapse
Thanks man i need that, i will try it at my home and let you know if i can do it or i need help thanks again :good:
would this require a kernel that supports CIFS or would it work nativly?, might try it on my Shield TV,
DarkShadowSwE said:
would this require a kernel that supports CIFS or would it work nativly?, might try it on my Shield TV,
Click to expand...
Click to collapse
Hi, have you had any luck on the Shield TV?
I am struggling, I think mountmanager or cifsmanager require the cifs.ko file, those modules.
ahoque1 said:
Hi, have you had any luck on the Shield TV?
I am struggling, I think mountmanager or cifsmanager require the cifs.ko file, those modules.
Click to expand...
Click to collapse
Here is my guide for the shield tv, haven't tested the post above for my note yet tho, xD
https://forums.geforce.com/default/...nt-a-network-share-into-the-filesystem-root-/

How to mount Nvidia Shield TV shares in Linux?

Does anyone here know how to mount the Shield (Pro) network file system in Linux? I know it can be done in Windows, but I'm curious to know if it's possible in Linux as well. This is usually done with a command, like "mount -t cifs -o user=myself //192.168.1.104/shield_dir /mnt/local_shield".
Anyone know if it'll work?

Automount CIFS or NFS share with write access?

Hi there,
few days ago I got a NVidia Shield (model 2017) and to use it as media player with Kodi (seems to work perfect), and also for a little bit of retrogaming.
Retro Gaming will be started from Kodi (with Advanced Emulator Launcher) and the games are stored on my NAS.
So at least I need a mount link from the "internal storage" to my NAS.
I tried several methods (cifsmanager, manual mount from console) but I got only read access to my NAS.
If I create a source inside of Kodi to my storage it is working (also with write access), but then I can't use retrogaming with external emulators.
So my idea is to automount a share (doesn't matter if CIFS or NFS) during boot sequence..
Does anyone has an idea how to do this?
My Shield is rooted, so in my mind the basics are there
Thanks for your help
OK, after some more searching I found a solution with cifs
Maybe someone needs it too
- Shield must be rooted
- Install patched cifsmanager -> Link
- Install busybox
On console try
mkdir /data/media/0/mounts
chown 777 /data/media/0/mounts
su --mount-master -c busybox mount -o username=xxx,password=xxx,rw,noperm,iocharset=utf8 -t cifs << CIFS share - example //192.168.99.6/public/shield >> /data/media/0/mounts
For automount at system boot "Rom Toolbox" is perfect, as you can define scripts, which will be executed at boot.
Shadow128 said:
OK, after some more searching I found a solution with cifs
Maybe someone needs it too
- Shield must be rooted
- Install patched cifsmanager -> Link
- Install busybox
On console try
mkdir /data/media/0/mounts
chown 777 /data/media/0/mounts
su --mount-master -c busybox mount -o username=xxx,password=xxx,rw,noperm,iocharset=utf8 -t cifs << CIFS share - example //192.168.99.6/public/shield >> /data/media/0/mounts
For automount at system boot "Rom Toolbox" is perfect, as you can define scripts, which will be executed at boot.
Click to expand...
Click to collapse
Hi, no idea if you're reading this after such a long time.
The patched cifs manager in the link says it needs supersu. My shield is rooted using magisk, with busybox as a magisk module. Do you think this can also work with magisk? I don't want to mess sth. up.
Second question is: Mounting smb shares this way, will they show up as "hdds" on the Shield? I mean can the mounts be used by all other apps?

Categories

Resources