View Single Post
Old 01-09-2014, 01:35 PM   #1
san3
Member
san3 is faster than slow light.san3 is faster than slow light.san3 is faster than slow light.san3 is faster than slow light.san3 is faster than slow light.san3 is faster than slow light.san3 is faster than slow light.san3 is faster than slow light.san3 is faster than slow light.san3 is faster than slow light.san3 is faster than slow light.
 
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
and mounted my samba share with cifs
Code:
mount -t cifs //server/share /PATH TO FOLDER -o user=X,password=Y
I included the kernel modules, but i expect they only work for kernel version 5.4.2
Attached Files
File Type: rar kernel module.rar (114.6 KB, 278 views)

Last edited by san3; 01-09-2014 at 01:58 PM.
san3 is offline   Reply With Quote