View Single Post
Old 08-21-2012, 04:29 PM   #1
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
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:
Code:
Module                  Size  Used by
nls_ascii               4064  0 
binfmt_misc             8552  0 
smbfs                  64800  0 
cifs                  238340  0 
option                 12512  2 
usbserial              27756  5 option
ehci_hcd               38880  1 option
usbcore               136388  4 option,usbserial,ehci_hcd
g_ether                21096  0 
ar6000                161076  0 
ppp_async               8612  1 
crc_ccitt               1856  1 ppp_async
ppp_generic            19252  5 ppp_async
slhc                    5984  1 ppp_generic
volume                  8900  1 
fiveway                23552  1 
mxc_keyb               15904  1 
uinput                  7776  0 
fuse                   48348  2 
arcotg_udc             38628  1 g_ether
mwan                    7324  2 ehci_hcd,ppp_async
eink_fb_shim          118588  0 
eink_fb_hal_broads    397532  0 
eink_fb_hal            59764  9 eink_fb_shim,eink_fb_hal_broads


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:

Quote:
drwxrwxrwx 1 root root 0 Oct 8 2010 .
drwxr-xr-x 3 root root 8192 Aug 21 20:15 ..
-rwxrwSrwx 1 root root 191886363 Oct 8 2010 01_Happy_B-day_Mix_4_Me_vol_74.mp3
-rwxrwSrwx 1 root root 48026018 Oct 8 2010 3 Dirty Disco.wav
-rwxrwSrwx 1 root root 181495457 Oct 8 2010 90s-Acid-Impressions.mp3
-rwxrwSrwx 1 root root 272137118 Oct 8 2010 Ambient-Sections.mp3
-rwxrwSrwx 1 root root 285716218 Oct 8 2010 Binary_Finary_-_Classics_Set.mp3
-rwxrwSrwx 1 root root 210020637 Oct 7 2010 Deep_and_Later_or_early.mp3
-rwxrwSrwx 1 root root 162950593 Oct 8 2010 Dj-Greg-House_Mix_Sessions_Volume_1_-_7-22-10.mp3
-rwxrwSrwx 1 root root 149289043 Oct 8 2010 Funky Deep Tech.mp3
-rwxrwSrwx 1 root root 151398013 Oct 8 2010 FunkyTechHouse.mp3
-rwxrwSrwx 1 root root 59139656 Oct 8 2010 HARD Disco.mp3
-rwxrwSrwx 1 root root 9433437 Oct 8 2010 Happy_Birthday HARDCORE.mp3
-rwxrwSrwx 1 root root 6754116 Oct 8 2010 Happy_Birthday- BIG CHILL.mp3
-rwxrwSrwx 1 root root 15629420 Oct 8 2010 Happy_Birthday-CRUNK-SPONK.mp3
-rwxrwSrwx 1 root root 9066778 Oct 8 2010 Happy_Birthday-SPACEY.mp3
-rwxrwSrwx 1 root root 4530267 Oct 8 2010 Happy_Birthday_DRUM+BASS.mp3
-rwxrwSrwx 1 root root 240477371 Oct 7 2010 Housey-Confusion-8-27-10.mp3
-rwxrwSrwx 1 root root 83083620 Oct 7 2010 Jonah and the whale.wav
-rwxrwSrwx 1 root root 56397750 Oct 7 2010 Lollipop.wav
-rwxrwSrwx 1 root root 10548751 Oct 8 2010 OLD_MOMMA_CHIC.mp3
-rwxrwSrwx 1 root root 81089824 Oct 8 2010 POESPAS_-_Bad_Straberries.mp3
-rwxrwSrwx 1 root root 147164524 Oct 8 2010 POESPAS_-_Live_@_UNK_Amsterdam_25-09-2010.mp3
-rwxrwSrwx 1 root root 59336376 Oct 8 2010 POESPAS_-_Momma's_Sandwiches.mp3
-rwxrwSrwx 1 root root 229902786 Oct 8 2010 Robson&BartHendrix@SupperOkt2010.mp3
-rwxrwSrwx 1 root root 114372673 Oct 8 2010 Sep2010_Club_Vibes.mp3
-rwxrwSrwx 1 root root 56059570 Oct 7 2010 Sizzle Away.wav
-rwxrwSrwx 1 root root 355015360 Oct 8 2010 Underground_Set_(_8_hours).mp3
-rwxrwSrwx 1 root root 79293582 Oct 8 2010 deep water.wav
-rwxrwSrwx 1 root root 36497998 Oct 8 2010 gentle touch.wav
-rwxrwSrwx 1 root root 20512572 Oct 8 2010 gimme some more Version 4.mp3
-rwxrwSrwx 1 root root 66785280 Oct 8 2010 gimme some more Version 4.wav
-rwxrwSrwx 1 root root 48762978 Oct 7 2010 grapevine81.wav
-rwxrwSrwx 1 root root 954782 Oct 8 2010 happy_bday_PLAYED ON A saw.mp3
-rwxrwSrwx 1 root root 24600432 Oct 8 2010 happy_birthday_empty-wierd.wav
-rwxrwSrwx 1 root root 451550 Oct 8 2010 jonah-intro.mp3
-rwxrwSrwx 1 root root 90116096 Oct 8 2010 sangak tempo.wav
-rwxrwSrwx 1 root root 10691770 Oct 8 2010 warmth and cold.mp3
-rwxrwSrwx 1 root root 47013928 Oct 1 2010 warmth and cold.wav
Ooh a Birthday Djing Set! Sawwweeeeeet!

Enjoy.
Attached Files
File Type: gz cifs.ko.tar.gz (112.7 KB, 262 views)

Last edited by twobob; 08-21-2012 at 05:20 PM. Reason: cos that is fly. yeah
twobob is offline   Reply With Quote