![]() |
#1 |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11
Karma: 29828
Join Date: Dec 2013
Device: PW2
|
Mounting windows shares on kindle PW2 (542)
Hi,
at last I managed to mount my samba shares on kindle paperwhite 2 with cifs and wanted to share the howto in case anyone else is interested. I'm not really used to compiling stuff for linux yet, so there might be easier ways, but it works. First I compiled the cifs kernel module from recent Kernel sources With codesourcerys arm toolchain. For details on compiling the kernel check yifalu's page or Christan Hoffs In short Code:
make make ARCH=arm CROSS_COMPILE=PATH TO YOUR TOOLCHAIN/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi- imx60_wario_defconfig make make ARCH=arm CROSS_COMPILE=PATH TO YOUR TOOLCHAIN/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi- menuconfig here you choose the modules make ARCH=arm CROSS_COMPILE=PATH TO YOUR TOOLCHAIN/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi- modules It took me a while to find out all the modules required for cifs to work. First of all: the cifs.ko Additionally different crypto modules: md5.ko md4.ko des_generic.ko hmac.ko After compiling I loaded the into the kernel Code:
insmod /PATH to/module.ko Code:
mount -t cifs //server/share /PATH TO FOLDER -o user=X,password=Y Last edited by san3; 01-09-2014 at 01:58 PM. |
![]() |
![]() |
![]() |
#2 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 457
Karma: 1287375
Join Date: Jan 2013
Location: West Gardiner, Maine
Device: Touch (5.3.7)
|
Very nicely done! I don't have a PW2, but the process should be the same. Thanks!
|
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
(Use: uname -a command to display that information.) Which, in general, never changes during the lifetime of the product regardless of other firmware updates. |
|
![]() |
![]() |
![]() |
#4 |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11
Karma: 29828
Join Date: Dec 2013
Device: PW2
|
ah yes of course ... Kernel Version is 3.0.35
hmm ... now that I think of it: It doesn't look as if they switched the kernel between 5.40 and 5.42 right ? I recently compiled a tun.ko module from the sources included in the 5.40 code release that didn't work on v. 5.42 kindle. I had to recompile using the sources from 5.42 ... ![]() |
![]() |
![]() |
![]() |
#5 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Good old symbols table issue?
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11
Karma: 29828
Join Date: Dec 2013
Device: PW2
|
Possible ... but I'm not sure I get the "good old symbols table issue"
![]() Anyway: I made a small kual extension including the modules and a bit of code to load everything. Just edit the mount.sh and unmount.sh according to your needs. Btw: I have had no issues with this, but it should be considered as experimental. Last edited by san3; 01-12-2014 at 11:54 AM. |
![]() |
![]() |
![]() |
#7 | |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 457
Karma: 1287375
Join Date: Jan 2013
Location: West Gardiner, Maine
Device: Touch (5.3.7)
|
Quote:
|
|
![]() |
![]() |
![]() |
#8 |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11
Karma: 29828
Join Date: Dec 2013
Device: PW2
|
ok. np
![]() Please post your experiences if you try this. |
![]() |
![]() |
![]() |
#9 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 457
Karma: 1287375
Join Date: Jan 2013
Location: West Gardiner, Maine
Device: Touch (5.3.7)
|
I have a kindle touch running 5.3.7 firmware with an older kernel:
Linux kindle 2.6.31-rt11-lab126 #1 Fri Jul 12 02:22:50 PDT 2013 armv7l GNU/Linux I tried to make the same modules as you did, but some didn't like to me modules in my make menuconfig? I did make cifs, hmac, and md4 if they are needed (attached). I don't have a windows machine nearby to test, but I can mount a samba share in linux. Not quite the same ![]() Oh - I used imx50_yoshime_defconfig instead of: imx50_yoshi_defconfig imx50_yoshime_defconfig imx50_yoshime3_defconfig I wasn't sure which to start with, so I guessed. I built the kernel modules in my qemu chroot partition and then copied them over. Seems to work for me, but I would love to hear anyone else testing this also! |
![]() |
![]() |
![]() |
#10 |
Junior Member
![]() Posts: 1
Karma: 10
Join Date: Aug 2016
Device: Kindle Paperwhite 3
|
|
![]() |
![]() |
![]() |
#11 | |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
See post immediately above your own, do you see any builds for recent kernels on i.MX6 devices? That is your starting point, build what you need. |
|
![]() |
![]() |
![]() |
#12 |
Junior Member
![]() Posts: 1
Karma: 10
Join Date: Feb 2020
Device: I mostly listen to audiobooks
|
I know this is an old post but would this work on the latest Kindle?
|
![]() |
![]() |
![]() |
#13 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
You'll have to build the cifs modules for the right kernel for your device/FW combo, but, apart from that, most likely.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Which one are you ordering: PW2 wifi or PW2 3G | jocampo | Amazon Kindle | 37 | 08-18-2014 10:48 AM |
Global Android Tablet Market Shares - Kindle is big winner | kennyc | News | 3 | 01-29-2013 07:57 AM |
CIFS. Mounting Networky Shares from da kindlage | twobob | Kindle Developer's Corner | 17 | 08-22-2012 09:35 AM |
Kindle no longer mounting | mdovell | Amazon Kindle | 3 | 11-12-2010 06:10 PM |
Windows shares...please help | IndyUK | Alternative Devices | 3 | 11-28-2009 09:36 AM |