Join Today
+ Reply to Thread
Results 1 to 5 of 5

Thread: ftp mount

  1. #1
    Join Date
    Sep 2005
    Location
    Seattle, WA, USA
    Posts
    78

    Default ftp mount

    i compiled ftpfs.sf.net and lufs.sf.net hehe...
    the basic plot being to work on mp3 play ability and web cam ability
    well it all looks good except that when i go to run it i get this

    ftp # insmod lufs.o
    lufs.o: unresolved symbol preempt_schedule
    ftp # insmod ftpfs.o
    ftpfs.o: unresolved symbol preempt_schedule
    ftpfs.o:
    Hint: You are trying to load a module without a GPL compatible license
    and it has unresolved symbols. Contact the module supplier for
    assistance, only they can help you.
    ftp #
    can any one figure out where i went wrong??
    i used the ezx cross compiler on the newer of the two linux kernels
    so that i would get the right kernel version and gcc version
    iwmmx and all and 2.4.20 and patching the kernel method when available
    anyway here is what i compiled so far along with the make files
    and the finished utils
    all it lacks is just the right .o's
    Attached Files Attached Files
    anyone know where to find a System 5 manual for my HP 9000 ...

  2. #2

    Default Re: ftp mount

    ftpfs requires fusefs, which I don't think is available on the phone...

  3. #3
    Join Date
    Sep 2005
    Location
    Seattle, WA, USA
    Posts
    78

    Default Re: ftp mount

    fusefs is for ruby and ftpfs is written in c ??
    I think the problem might be a bad kernel option
    i didn't know how to set some of the stuff in the menuconfig
    and the defaults are incomplete
    anyone know where to find a System 5 manual for my HP 9000 ...

  4. #4
    Join Date
    Sep 2005
    Location
    Seattle, WA, USA
    Posts
    78

    Default Re: ftp mount

    fwahahaha
    got the sucker to work
    ok here's the documentation as such
    unzip ftp.zip to your phones home directory
    this should create a dir ftp next to my programs, my ...
    then insmod the .o file
    add ftp dir to your ld_library_path and path just like with bluez
    library is important because it points the programs to the libraries
    which is where the real magic happens

    then use lufsd to mount I have tested it to work partially
    however several of the other programs don't work due to
    not being able to find others
    no matter though lufsd and the libraries should be enough
    although i have a small problem in that on mount it attempts
    to access mtab and mtab~ (which is mtabs lock)

    well the mtab access runs just fine but
    there is no lock file so the program crashes
    the solution of course is a rootfs with a mtab lock that's rw
    another change which would be nice is to have the programs in their
    right directories that way they could find each other
    as it is they aren't so good at that they look in ro directories
    in which you can't put programs

    by the way for those of you who have trouble with a preempt problem
    simular to mine then the secret is an option
    in menuconfig you find it by going general setup
    then uncheck preemptible kernel at the bottom of that screen

    here is a nice script to get you started

    cd /diska/ftp
    mkdir /diska/mnt
    chmod +xX *
    insmod lufs.o
    LD_LIBRARY_PATH=/diska/ftp
    PATH=$PATH:/diska/ftp
    ./lufsd none /diska/mnt -o fs=ftpfs,own_fs,host=ftp.kernel.org
    Attached Files Attached Files
    anyone know where to find a System 5 manual for my HP 9000 ...

  5. #5
    Join Date
    Sep 2005
    Location
    Seattle, WA, USA
    Posts
    78

    Default Re: ftp mount

    New post ... ok really works now ... look at
    http://lufs.sourceforge.net
    for more complete documentation.
    its worth noting that when you unzip to make it executable you should run.

    Code:
    chmod +xX *
    and when you get ready to mount you should run

    Code:
    export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/diska/ftp
    export PATH=$PATH:/diska/ftp
    the mount format that works for me is

    Code:
    lufsmount ftpfs://username:password@ftp.site.com /diska/mnt -o ftpactive
    more documentation is available from the site on arguments and options.
    a note worth making is that as compiled the system supports
    gnutella, ftp, ssh style ftp (sftp), and some other trivial examples.
    another note is that it has trouble
    packet droppings
    connection droppings
    some directories and files may not be browsable for a variety of reasons.
    I think it's because it has trouble following links
    and if you get a stale nfs i think that has to do with dropped conn.
    Attached Files Attached Files
    anyone know where to find a System 5 manual for my HP 9000 ...


 
+ Reply to Thread

Similar Threads

  1. FTP
    By damithdex in forum E6 General Chat
    Replies: 0
    Last Post: 05-09-2007, 03:06 PM
  2. Replies: 3
    Last Post: 04-06-2007, 05:38 PM
  3. Linux Userland File System mount gnutella or ftp to phone
    By tallemd in forum E680i General Chat
    Replies: 1
    Last Post: 10-22-2006, 09:49 PM
  4. FTP Servers
    By ndpndnt16 in forum Moto Media
    Replies: 3
    Last Post: 08-07-2006, 07:09 AM
  5. ftp software...
    By ndpndnt16 in forum Moto Media
    Replies: 6
    Last Post: 01-22-2006, 05:45 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Single Sign On provided by vBSSO

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1