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