08-21-2012, 04:29 PM | #1 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
CIFS. Mounting Networky Shares from da kindlage
cp ko file to your FAT partition somewhere.
/mnt/us/modules/cifs.ko perhaps. create a 'mnt' folder for your new share to be mounted in. [root@kindle modules]# cd; mkdir mnt/cifs cd to the modules dir and insmod the cifs.ko [root@kindle modules]# cd modules; insmod cifs.ko; cd Check it has loaded. [root@kindle modules]# lsmod Spoiler:
Share resolution works via IP or resolved hostname eg. MyBigBox or 192.168.1.x The next mount command arguments are ( in order ) a) Correctly formatted reference to the remote machine and the Shared Folder name as exposed by the donor system. b) Mount location - I went with mnt/us/mnt/cifs (insert recursive recursion jokes here) (insert recursive recursion jokes here) c) Valid username **AND** PASSWORD (null won't cut it) for the box. (if you have a blank p/w then it's hard cheese. make one up) If you can: go login first and be sure you have the creds right for sanities sake. d) Domain of the username/pw - In most small home settings for windows this will be the computer name. my Win voodoo evades me right now but simply typing hostname at the cmd prompt should do you. Okay go put them all together [root@kindle cifs]# mount -t cifs //192.168.1.67/sharedFolder /mnt/us/mnt/cifs -o username=Kay,password=kay,domain=KayMinibox 'no news' is good news, should just silently swallow it (they are flags I believe to make noise) now go check out your awesome new folder stuffed with goodies. Yeah. (so now we would cd /mnt/us/mnt/cifs and ls to list the items) [root@kindle mnt]# cd cifs [root@kindle cifs]# ls Spoiler:
Enjoy. Last edited by twobob; 08-21-2012 at 05:20 PM. Reason: cos that is fly. yeah |
08-21-2012, 04:30 PM | #2 | ||
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
Some handy links.
CIFS, the protocol: http://en.wikipedia.org/wiki/Cifs
Samba server: http://en.wikipedia.org/wiki/Samba_software Linux Kernel: fs/cifs/README, fs/cifs/TODO and fs/cifs/CHANGES man page for mount.cifs (yeah okay its not the newest copy ever. I like the dice, and it always comes first in my Gurgle results... find a better one if the bit rot bothers you) (mount.cifs? what that I hear you cry...) [root@kindle us]# find -name *cifs ./sbin/mount.cifs its a recommended helper application - That I will append once I have tested it is all good. (and a few extra notes) Cheers ----------------------------- [root@kindle sbin]# readelf -d mount.cifs Dynamic section at offset 0x800c contains 25 entries: Tag Type Name/Value 0x00000001 (NEEDED) Shared library: [librt.so.1] 0x00000001 (NEEDED) Shared library: [libc.so.6] Should be fine as-is. in tar.gz. Just run from anywhere I imagine. For a little extra value I attached the smbfs.ko as well. perhaps more notes on that when we cross the relevant bridge. HENJOY! Quote:
here is my logon script for my kindle I call it when I login like cd mnt/us; source go Quote:
feel free to dump that on the root of /mnt/us and do likewise. if you are really lazy like me cd /mnt us;. go sorry about the long path. I'll see if a quote will sort it. meh. I split it. : ) Last edited by twobob; 08-21-2012 at 05:48 PM. Reason: The links effect |
||
08-21-2012, 04:37 PM | #3 |
Zealot
Posts: 124
Karma: 178472
Join Date: Jul 2012
Device: Kindle 4
|
looks handy, will try it out at a convenient moment thanks
|
08-21-2012, 04:47 PM | #4 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Network attached (e-book) storage, M$-Windows style.
An ideal gift for the person who has more e-books than can be held in the little 3Gbyte of user space on the Kindle. Just mount that tetra-byte disk drive of your Win-Lappy. That is, if any Kindle owners happen to have a Windows box somewhere. Oh, wait, Linux+SMB module can also be a "Windows Network Share". I suspect that MacOSx has something for joining in a "Windows Network Share" also. |
08-21-2012, 04:53 PM | #5 | |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
Quote:
https://engineering.purdue.edu/ECN/S...onnectingToSMB |
|
08-21-2012, 04:54 PM | #6 |
Official Lurker
Posts: 1,050
Karma: 7096675
Join Date: Apr 2012
Device: Kindle 3.4
|
@twobob Saw the title of this thread and assumed it had to be yours.
Cool. I will definitely use this. Thanks. |
08-21-2012, 04:58 PM | #7 |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Who gave twobob the two karma points? You broke the nice round 480000 that he had for a few minutes.
|
08-21-2012, 05:07 PM | #8 |
Official Lurker
Posts: 1,050
Karma: 7096675
Join Date: Apr 2012
Device: Kindle 3.4
|
Not me. I can't give karma from mobileread.mobi
|
08-21-2012, 05:30 PM | #9 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
A note for Windows home networking users:
On the connection facing the Internet, firewall access to ports 137, 138, 139 and 445 People who use vendor provided modem/routers (such as cable and aDSL boxes) should check if those ports are firewalled in-bound from the outside world. Note: Most communication vendor's supplied boxes are shipped with that block already installed, since these are among the most popular attack vectors. https://isc.sans.edu/countryreport.html https://isc.sans.edu/reports.html Note2: The client (Kindle) is already firewalled against these ports in-bound. Last edited by knc1; 08-21-2012 at 05:36 PM. |
08-21-2012, 05:31 PM | #10 | |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
Quote:
Hmm OPKG suddenly seems a LOT more realistic Mount to INSTALL / UPGRADE etc. when unmounted does not hassle stuff. OHHH yeah. I can definitely see value in that. I digress. You were entirely correct - as per. **BY THE WAY THIS WAS KNC1's IDEA** Just so that is 100% crystal clear. : ) |
|
08-21-2012, 05:38 PM | #11 | |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
Quote:
Good advice. But if anyone actually FINDS a netty box that allows those connections in by default? It's time to line up against the wall... Bang! Seriously check it out. It was a popular pastime trawling huge (advertised if you know where to look) Greenfield IP ranges with toys like.. hmm let me think "Nessus" and one with a name to do with lines or rays or something. Anyway, it's a good idea to know your router is secure. whether you have a Kindle or not. |
|
08-21-2012, 05:38 PM | #12 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
|
08-21-2012, 05:47 PM | #13 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
|
08-21-2012, 05:48 PM | #14 |
Official Lurker
Posts: 1,050
Karma: 7096675
Join Date: Apr 2012
Device: Kindle 3.4
|
|
08-21-2012, 07:01 PM | #15 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
|
Tags |
cifs, kindle 3.3, module, share, windows |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Android, Kindle App, CIFS | chewiesw | Android Devices | 1 | 08-02-2012 08:31 AM |
PRS-T1 trying to make cifs module work | alperenc | Sony Reader Dev Corner | 3 | 05-08-2012 05:37 PM |
DR800 mounting to Ubuntu | nurse_horrible | iRex | 7 | 01-14-2011 02:40 PM |
Kindle no longer mounting | mdovell | Amazon Kindle | 3 | 11-12-2010 06:10 PM |
USB Mounting on OS X | ig88 | iRex | 4 | 07-21-2007 12:13 AM |