Results 1 to 11 of 11
  1. #1
    nadlabak's Avatar
    offline Developer
    Join Date
    Feb 2010
    Location
    Praha
    Posts
    86
    Thanks
    3
    Thanked 79 Times in 34 Posts
    Downloads
    14
    Uploads
    0

    cifs - samba mount (e.g. for direct playback of shared multimedia files over wi-fi)

    Compiled from Motorola kernel sources.
    Allows to mount a samba (windows) share, so you can e.g. play avi movies directly from a remote shared folder over wi-fi using e.g. RockPlayer.

    Samba mount - cifs.ko for Milestone | android.doshaska.net
    Last edited by nadlabak; 06-28-2010 at 04:12 PM.

  2. The Following User Says Thank You to nadlabak For This Useful Post:

    biji (06-30-2010)

  3. #2
    offline So I Hear You Can Mod
    Join Date
    Feb 2007
    Posts
    119
    Thanks
    10
    Thanked 14 Times in 8 Posts
    Downloads
    13
    Uploads
    0
    Little explanation required please , if I understand this right , this will mount a folder on your pc so it can be accessed via your phone or the therway around ? but then you say we need an application in order to stream the movie so I m a bit confused here . For Example Esexplorer will give me access to my (already existing ) samba share and once in them I can click on a file and it will play it

  4. #3
    nadlabak's Avatar
    offline Developer
    Join Date
    Feb 2010
    Location
    Praha
    Posts
    86
    Thanks
    3
    Thanked 79 Times in 34 Posts
    Downloads
    14
    Uploads
    0
    When you click on a movie file located on a samba share in ES Explorer, it will be first downloaded to a temp folder on your SD card and only then played by the selected movie player. That means waiting...
    The RockPLayer is only an example, it does not support streaming from samba share by itself. I mentioned it only because it's the first Xvid capable player with smooth fullscreen scaling that works very good on Milestone.
    When you mount a samba share using this cifs kernel module then for any aplication there is no difference between the local files on the SD card and the files on the mounted samba share - all seem to be like local files and any player can play them directly.
    Last edited by nadlabak; 06-28-2010 at 02:15 PM.

  5. The Following User Says Thank You to nadlabak For This Useful Post:

    DAGr8 (06-28-2010)

  6. #4
    offline So I Hear You Can Mod
    Join Date
    Feb 2007
    Posts
    119
    Thanks
    10
    Thanked 14 Times in 8 Posts
    Downloads
    13
    Uploads
    0
    # insmod /system/lib/modules/cifs.ko
    insmod /system/lib/modules/cifs.ko
    # mount -t cifs //192.168.0.101/MEDIA-PC/ /sdcard/samba
    mount -t cifs //192.168.0.101/MEDIA-PC/ /sdcard/samba
    mount: Invalid argument
    # mount -t cifs //192.168.0.101/MEDIA-PC/ /sdcard/samba -o username=guest
    mount -t cifs //192.168.0.101/MEDIA-PC/ /sdcard/samba -o username=guest
    Usage: mount [-r] [-w] [-o options] [-t type] device directory
    # mount -t cifs //192.168.0.101/MEDIA-PC/ /sdcard/samba -o username=guest passwo
    rd=guest
    mount -t cifs //192.168.0.101/MEDIA-PC/ /sdcard/samba -o username=guest password
    =guest
    Usage: mount [-r] [-w] [-o options] [-t type] device directory
    #

    ....

  7. #5
    nadlabak's Avatar
    offline Developer
    Join Date
    Feb 2010
    Location
    Praha
    Posts
    86
    Thanks
    3
    Thanked 79 Times in 34 Posts
    Downloads
    14
    Uploads
    0
    The folder /sdcard/samba must exist before mount - you have to create it first.

    Try
    Code:
    mount -t cifs //192.168.0.101/MEDIA-PC /sdcard/samba -o username=guest
    (not /MEDIA-PC/ but /MEDIA-PC)
    Last edited by nadlabak; 06-29-2010 at 11:15 AM.

  8. #6
    offline So I Hear You Can Mod
    Join Date
    Sep 2007
    Posts
    206
    Thanks
    38
    Thanked 12 Times in 10 Posts
    Downloads
    28
    Uploads
    0
    fantastic!
    is seeking supported while playing movie?
    i love my [ razr2 V8 ]

  9. #7
    nadlabak's Avatar
    offline Developer
    Join Date
    Feb 2010
    Location
    Praha
    Posts
    86
    Thanks
    3
    Thanked 79 Times in 34 Posts
    Downloads
    14
    Uploads
    0
    Yes, of course, the seeking works as well as on local files on SD card.

  10. #8
    nadlabak's Avatar
    offline Developer
    Join Date
    Feb 2010
    Location
    Praha
    Posts
    86
    Thanks
    3
    Thanked 79 Times in 34 Posts
    Downloads
    14
    Uploads
    0
    Please note - you need to use busybox mount.

  11. #9
    offline Developer
    Join Date
    Apr 2010
    Posts
    407
    Thanks
    20
    Thanked 236 Times in 59 Posts
    Downloads
    7
    Uploads
    0
    i would say that "Files" from motorola is much cooler, if you're a newbie to this.. its part of MotoFrenzy/MotoBlur mods for now..

    ill try to make it an external "update-nosign" so it can be added to 2.1 and other images too..

    but for us nerds, a module is also nice to have, so you can work with in in the background..

  12. #10
    offline Of Mice and Modders
    Join Date
    May 2008
    Posts
    54
    Thanks
    21
    Thanked 5 Times in 5 Posts
    Downloads
    23
    Uploads
    0
    Short Question: How do i install Busybox?

    No, not over the OpenRecovery Menu, or?

    # busybox mount -t cifs -o username=guest //192.168.220.100/Videos /sdcard/samba
    mount: mounting //192.168.220.100/Videos on /sdcard/samba failed: Permission denied
    #


    why? oO


    # id
    uid=0(root) gid=0(root)
    # chown root:root /system/bin/busybox
    No such user 'root:root'
    # chown 0:0 /system/bin/busybox
    No such user '0:0'
    # busybox
    BusyBox v1.16.1 (2010-04-27 21:12:31 CEDT) multi-call binary.
    Copyright (C) 1998-2009 Erik Andersen, Rob Landley, Denys Vlasenko
    and others. Licensed under GPLv2.
    See source distribution for full notice.

    Usage: busybox [function] [arguments]...
    or: function [arguments]...

    BusyBox is a multi-call binary that combines many common Unix
    utilities into a single executable. Most people will create a
    link to busybox for each function they wish to use and BusyBox
    will act like whatever it was invoked as.

    Currently defined functions:
    [, [[, acpid, addgroup, adduser, adjtimex, ar, arp, arping, ash, awk,
    basename, beep, blkid, brctl, bunzip2, bzcat, bzip2, cal, cat, catv,
    chat, chattr, chgrp, chmod, chown, chpasswd, chpst, chroot, chrt, chvt,
    cksum, clear, cmp, comm, cp, cpio, crond, crontab, cryptpw, cttyhack,
    cut, date, dc, dd, deallocvt, delgroup, deluser, depmod, devmem, df,
    dhcprelay, diff, dirname, dmesg, dnsd, dnsdomainname, dos2unix, du,
    dumpkmap, dumpleases, echo, ed, egrep, eject, env, envdir, envuidgid,
    ether-wake, expand, expr, fakeidentd, false, fbset, fbsplash, fdflush,
    fdformat, fdisk, fgrep, find, findfs, flash_eraseall, flash_lock,
    flash_unlock, flashcp, fold, free, freeramdisk, fsck, fsck.minix,
    fsync, ftpd, ftpget, ftpput, fuser, getopt, getty, grep, gunzip, gzip,
    halt, hd, hdparm, head, hexdump, hostid, hostname, httpd, hush,
    hwclock, id, ifconfig, ifdown, ifenslave, ifplugd, ifup, inetd, init,
    inotifyd, insmod, install, ionice, ip, ipaddr, ipcalc, ipcrm, ipcs,
    iplink, iproute, iprule, iptunnel, kbd_mode, kill, killall, killall5,
    klogd, last, length, less, linux32, linux64, linuxrc, ln, loadfont,
    loadkmap, logger, login, logname, logread, losetup, lpd, lpq, lpr, ls,
    lsattr, lsmod, lspci, lsusb, lzmacat, lzop, lzopcat, makedevs,
    makemime, md5sum, mdev, mesg, microcom, mkdir, mkdosfs, mke2fs, mkfifo,
    mkfs.ext2, mkfs.minix, mkfs.vfat, mknod, mkpasswd, mkswap, mktemp,
    modprobe, more, mount, mountpoint, msh, mt, mv, nameif, nc, netstat,
    nice, nmeter, nohup, nslookup, ntpd, od, openvt, passwd, patch, pgrep,
    pidof, ping, ping6, pipe_progress, pivot_root, pkill, popmaildir,
    poweroff, printenv, printf, ps, pscan, pwd, raidautorun, rdate, rdev,
    readahead, readlink, readprofile, realpath, reboot, reformime, renice,
    reset, resize, rm, rmdir, rmmod, route, rpm, rpm2cpio, rtcwake,
    run-parts, runlevel, runsv, runsvdir, rx, script, scriptreplay, sed,
    sendmail, seq, setarch, setconsole, setfont, setkeycodes, setlogcons,
    setsid, setuidgid, sh, sha1sum, sha256sum, sha512sum, showkey,
    slattach, sleep, softlimit, sort, split, start-stop-daemon, stat,
    strings, stty, su, sulogin, sum, sv, svlogd, swapoff, swapon,
    switch_root, sync, sysctl, syslogd, tac, tail, tar, taskset, tcpsvd,
    tee, telnet, telnetd, test, tftp, tftpd, time, timeout, top, touch, tr,
    traceroute, traceroute6, true, tty, ttysize, tunctl, tune2fs, udhcpc,
    udhcpd, udpsvd, umount, uname, uncompress, unexpand, uniq, unix2dos,
    unlzma, unlzop, unzip, uptime, usleep, uudecode, uuencode, vconfig, vi,
    vlock, volname, wall, watch, watchdog, wc, wget, which, who, whoami,
    xargs, yes, zcat, zcip

    #

    edit:

    Works now.

    Have the Update over OpenRecovery installed, also this Update: Files - app (from Droid2/Milestone2)

    module manually installed and then works. Why? i dont know
    Last edited by Protector; 09-16-2010 at 04:14 AM. Reason: Automerged Doublepost

  13. #11
    offline Of Mice and Modders
    Join Date
    May 2008
    Posts
    54
    Thanks
    21
    Thanked 5 Times in 5 Posts
    Downloads
    23
    Uploads
    0
    Okay, next.

    Gives a way to load cifs.ko automatically by booting?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •