Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
groves226
Old
#1  
groves226's Avatar
Senior Member - OP
Thanks Meter 18
Posts: 299
Join Date: Jul 2009
Default [Q] Mounting CIFS / NFS Shares?

Has anyone had any luck mounting a cifs/nfs share?

Sent from my GT-I9000 using xda premium
 
trialdoer
Old
#2  
Junior Member
Thanks Meter 2
Posts: 5
Join Date: Aug 2011
I got cifs working using one of the guides someone posted (I cant post the link yet just google 'How To: Connect TP to network shares') and it was pretty straight forward. The only problem is that I have to mount it each time I restart the device which is more of a hassle than anything else. I had no luck with nfs to mount, but my technical knowledge of that comes from setting up nfs shares with my wdtv player so its very limited.
 
groves226
Old
#3  
groves226's Avatar
Senior Member - OP
Thanks Meter 18
Posts: 299
Join Date: Jul 2009
Did you use uberkernel or f15c? I'll try that search shortly

Sent from my GT-I9000 using xda premium
 
trialdoer
Old
#4  
Junior Member
Thanks Meter 2
Posts: 5
Join Date: Aug 2011
I have the f15c installed.
 
groves226
Old
#5  
groves226's Avatar
Senior Member - OP
Thanks Meter 18
Posts: 299
Join Date: Jul 2009
Default what I did

Here is the link to get the testing kernels in PreWare
http://www.webos-internals.org/wiki/Testing_Feeds

here is the link to do some of the CIFs mounting... I did something different to get the initial mount

http://forums.precentral.net/hp-touc...rk-shares.html

Now for the command line I did the following:
option 1
open WebOS quickinstaller.jar
click tools
select Linux Commandline

option 2
on a windows machine goto C:\Program Files\Palm, Inc\terminal>
run novaterm.bat
in the new window click file, then connect

Now that you are in the command line you can use the mount.cifs command

/usr/sbin/mount.cifs (mount.cifs is executable so run it and it will tell you the usage)


/usr/sbin/mount.cifs //device/share /mnt/yourlocaldirectory -o user=username,password=yourpassword


now this won't persist a reboot, so what you'll have to do is edit the /etc/fstab
I used VI from the shell we opened earlier. If you don't know how to use VI then find VIMTutor on your googlebox and get a quick test run


vi /etc/fstab
add the following
//device/share /mnt/yourlocaldirectory cifs username=username,password=yourpassword _netdev 0 0


Save that and reboot and see what happens.. I'm working on getting this to persist a reboot at the moment.
The Following 2 Users Say Thank You to groves226 For This Useful Post: [ Click to Expand ]
 
fit333
Old
#6  
fit333's Avatar
Senior Member
Thanks Meter 7
Posts: 264
Join Date: Jun 2009
Location: LA/OC-CA-USA
great. thanx. cant wait for update...no persist after reboot yet. THANX
frozen.in.time.3:33
T-mobile random weekly phones tabs pads and roms
 
groves226
Old
#7  
groves226's Avatar
Senior Member - OP
Thanks Meter 18
Posts: 299
Join Date: Jul 2009
That fit333 and flower doesnt show up in the web version for me or when i edit the post... Weird.

Sent from my GT-I9000 using xda premium
 
mrkuji
Old
#8  
Junior Member
Thanks Meter 0
Posts: 2
Join Date: Nov 2008
Quote:
Originally Posted by groves226 View Post

Save that and reboot and see what happens.. I'm working on getting this to persist a reboot at the moment.
perhaps there is a way, once you install bash or sh to run this by adding

#!/bin/bash <- or whever it installs
mount-a
exit 0

to an rc.local file same as on linux ?
 
groves226
Old
#9  
groves226's Avatar
Senior Member - OP
Thanks Meter 18
Posts: 299
Join Date: Jul 2009
I wish, but there is no rc.local, and no cron. One of the guys I work with gave me an idea... I forgot what it is but I won't have free time to try until friday. Any more ideas would be greatly helpful.

Sent from my GT-I9000 using xda premium
 
nks2105
Old
#10  
Senior Member
Thanks Meter 16
Posts: 170
Join Date: Aug 2010
Location: SA,TX
Default streaming from network shares

maybe it's a little bit off topic, let me know...

I tried to play a video from a freshly mounted network share with Touchplayer and it was very laggy. I haven't tried with a local copy yet

I tried to play a song from the network also and the default player wouldn't play

Am I doing something wrong?
Nexus 4 - Stock JB 4.2.1
HTC HD2 / MAGLDR / NexusHD2 ICS v2
HP TouchPad WebOS / CM9

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...