View Full Version : How do I access files on the network?
Joyrider
04-05-2007, 10:53 AM
My N800 is connecting to my home Linksys router and I can surf the Net with no problems. There are shared files on the home XP PCs that I want to access on my N800. How do I do that?
I've tried File Manager on the N800 but I don't see any listing of the shared files/media on the other PCs in my home network. Do I need to install another Linux software like Samba? Is there such a software for the N800?
Thanks.
brendan
04-05-2007, 12:38 PM
i think the samba client will work on the n800, though it was written for the 770 and not included in the bora (n800) repositories.
DryLand404
04-05-2007, 01:20 PM
There is a custom build of the OS to provide access. See Maemo.org for the available apps.
Someone else might have an idea for gaining access in another way, possibly you could use IIS to provide WebDAV access, but I wouldn't recommend it, unless your good with configuring your Internet Routers Firewall.
SeRi@lDiE
04-05-2007, 01:46 PM
i think the samba client will work on the n800, though it was written for the 770 and not included in the bora (n800) repositories.
NO DO NOT install the SAMBA client.
It will not work with the N800 others reported a lot of issues trying to uninstall it I heard that not even apt-get will uninstall it.... instead use CIFS http://maemo.org/maemowiki/HowToAccessWindowsCIFS
brendan
04-05-2007, 02:35 PM
eep. didnt know there was such an issue. is there any work on getting samba/samba-client working on the n800? i am running an ssh server and i can scp files around, but i do also have a samba server running for windows clients.
SeRi@lDiE
04-05-2007, 06:05 PM
Why use samba if CIFS is what replaces samba?!?
brendan
04-05-2007, 06:20 PM
packages for fedora/redhat make no distinction between SMB/CIFS. if i remember correctly, they were listed together.
as for the n800, installing a samba-client package (if it were available like it is for the 770) seems a ton easier than the cifs config you linked to earlier
SeRi@lDiE
04-05-2007, 08:31 PM
They are not listed together....
Dont get me wrong cifs is just a enhanced version of smb using the smb protocol.... but...
From Fedora Core 6 FAQ..
# Q: I can't access my Windows network shares anymore! People tell me to use the smbmount command, but it doesn't work!
A: Modern version of Fedora Core use a cool new type of Windows file sharing called "The Common Internet File System" (CIFS). Instead of using "smbmount", try:
mount -t cifs //1.2.3.4/share /mnt/somedirectory
For more information about this, in a terminal you can do:
man mount.cifs
Note that CIFS can't resolve Windows computer names, so you're better off using their IP addresses.
SeRi@lDiE
04-05-2007, 08:42 PM
Again you dont need the samba package to use cifs so give it a try is more simpler than you think... :)
Joyrider
04-06-2007, 01:38 AM
Thanks for pointing me to the wiki re how to Access Windows CIFS. For that I'll need to have Xterm installed. Can soemone point me to the web address where I can tap into the repository for Xterm and other N800 programs? I'm a newbie at Linux and I only have rudimentary knowledge of it from using Ubuntu.
computx
04-06-2007, 01:45 AM
http://downloads.maemo.org/ is a good place to look for apps. Many can be installed very easily if browsing that page on the n800, just click on the green arrow to start the install.
Look in the system section for Osso Xterm.
SeRi@lDiE
04-06-2007, 05:19 AM
Here you go :)
http://maemo.org/maemowiki/ApplicationCatalog2006#head-c590a3897a5b45075a407a7c36319a19dcccc7a8
brendan
04-06-2007, 09:59 AM
so, how does one have the module cifs.ko inserted, as root, and then the mount points mounted as user, in a user friendly manner (i.e. not having to go through sudo gainroot, insmod ..., exit, mount this here, mount that there...
i figure a init script could be written to insmod, with "if not done already" logic, and a shell script that is able to be run from within the GUI. init scripts are run as root by default, i think, so they could be handled without needing sudo. i am not sure if shell scripts can be run from the GUI though.
another idea is to have the sudo issued in a shell script, and the insmod run under the root users context, then exit to the user shell/context and issue the mount commands.
this is a little above my level of expertise, so can any guru's confirm this is doable and/or provide insight to its accomplishment?
heavyt
04-06-2007, 12:05 PM
My N800 is connecting to my home Linksys router and I can surf the Net with no problems. There are shared files on the home XP PCs that I want to access on my N800. How do I do that?
I've tried File Manager on the N800 but I don't see any listing of the shared files/media on the other PCs in my home network. Do I need to install another Linux software like Samba? Is there such a software for the N800?
Thanks.
You my want to try a ftp server on windows XP side, and on N800 use opera to login. I have PureFTPd on my gentoo laptop and use opera on my N800 to browse my files. I can play mp3 files, view pictures, etc that are on my laptop. Google ftp server for XP and you will find all the info you need.
Joyrider
04-07-2007, 12:24 AM
[QUOTE=heavyt;43118]You my want to try a ftp server on windows XP side, and on N800 use opera to login. ....
This seems to be a much more "elegant" and direct method than using CIFS.
SeRi@lDiE
04-07-2007, 01:41 AM
[QUOTE=heavyt;43118]You my want to try a ftp server on windows XP side, and on N800 use opera to login. ....
This seems to be a much more "elegant" and direct method than using CIFS.
Poking another hole in my OS?
Dosent seem that "elegant" to me...
Mhhh No Thank You! ;)
So let me see if I get this right.. You prefer installing a server application in windows, going thru the trouble of setting the permissions and users, risking getting owned.... and it keeps getting longer... Instead of following 3 steps?
1 - Upload cifs
2 - Load cifs.ko "insmod ./cifs.ko" from xterm
3- mount -t cifs //10.10.10.10/dont/be/lazy -o you know the rest :P
(Assuming you have xterm and gainroot.. gainroot can be install from the application manager)
heavyt
04-07-2007, 09:46 AM
[QUOTE=Joyrider;43214]
Poking another hole in my OS?
Dosent seem that "elegant" to me...
Mhhh No Thank You! ;)
So let me see if I get this right.. You prefer installing a server application in windows, going thru the trouble of setting the permissions and users, risking getting owned.... and it keeps getting longer... Instead of following 3 steps?
1 - Upload cifs
2 - Load cifs.ko "insmod ./cifs.ko" from xterm
3- mount -t cifs //10.10.10.10/dont/be/lazy -o you know the rest :P
(Assuming you have xterm and gainroot.. gainroot can be install from the application manager)
If he/she is having a hard time your way then lets show them other options. Lets teach and learn all we can. :)
SeRi@lDiE
04-07-2007, 07:06 PM
Some times I just dont understand :D :rolleyes:
luketoh
04-09-2007, 02:59 PM
Hi,
How long does it take to mount a network share of a Windows XP dir? I tried the CIFS method and it does take a short while. Is this normal?
Luke
luketoh
04-09-2007, 11:02 PM
so, how does one have the module cifs.ko inserted, as root, and then the mount points mounted as user, in a user friendly manner (i.e. not having to go through sudo gainroot, insmod ..., exit, mount this here, mount that there...
i figure a init script could be written to insmod, with "if not done already" logic, and a shell script that is able to be run from within the GUI. init scripts are run as root by default, i think, so they could be handled without needing sudo. i am not sure if shell scripts can be run from the GUI though.
another idea is to have the sudo issued in a shell script, and the insmod run under the root users context, then exit to the user shell/context and issue the mount commands.
this is a little above my level of expertise, so can any guru's confirm this is doable and/or provide insight to its accomplishment?
Hi Brendan,
Did you manage to get this done? I'm new to scripts and stuff, so was having some problem understanding all that. If you have found a more elegant way of doing the insmod and mounting, please let me know how. Thanks!
Luke
james.bottomtooth
05-12-2007, 12:59 PM
i have a Media Center (XBMC) installed on my old Xbox and it's an amazing application. its connected to my home network, and i can just browse to any of the files on the shared drives on any computers connected to the WORKGROUP and play any media... i don't know which exact protocol it uses (but its not UPnP), i don't think it downloads the whole file, just streams it as it goes...
i was wondering if i can achieve that with N800? just point to a file on the shared drives?
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.