|04-13-2013, 06:02 PM||#1|
Join Date: Apr 2013
Device: Kobo Glo
[WIP] Samba share on the Kobo Glo (windows network share)
(this might work for other Kobo devices; I've only gotten it working on my own Glo)
Samba is an implementation of Windows networking features for Linux. With Samba, it's possible to create Windows network shares on Linux devices. I managed to get it running on my Kobo Glo, with a few limitations (no library update, no autostart). In this short guide, I'll show you how you can get it running as well.
NOTE: I literally got this working about an hour ago, using a random samba ARM build I found on the internet. Stability may be shitty, security may be awful, performance may be abysmal. Consider this your only warning
-SSH access to your device
Step 1: download required files
1) grab an ARM build of Samba. I used the prebuilt Samba from BeyondLogic (via this wiki article) which you can download here.
2) Connect your device with your PC and copy the .tar.bz2 to the device's internal storage
Step 2: installing & configuring Samba
1) SSH to your device
2) Execute the following commands to extract Samba:
cd /mnt/onboard/ mkdir samba_test cd samba_test tar -xvzf ../samba-3.6.3-arm-none-linux-gnueabi.tar.bz2
cd /mnt/onboard/samba_test/var mkdir logs
ln -s /mnt/onboard/samba_test/lib/libtalloc.so.2.0.5 /lib/libtalloc.so.2 ln -s /mnt/onboard/samba_test/lib/libtdb.so.1.2.9 /lib/libtdb.so.1
[global] workgroup = WORKGROUP netbios name = SAMBA_FS username map = /mnt/onboard/samba_test/var/username.map smb passwd file = /mnt/onboard/samba_test/private/smbpasswd private dir = /mnt/onboard/samba_test/private/ usershare path = /mnt/onboard/samba_test/var/locks/usershares log file = /mnt/onboard/samba_test/var/logs/log.%m pid directory = /mnt/onboard/samba_test/var/locks/ lock directory = /mnt/onboard/samba_test/var/locks/ cache directory = /mnt/onboard/samba_test/var/locks/ state directory = /mnt/onboard/samba_test/var/locks/ [onboard] path = /mnt/onboard browsable = yes writable = yes [root] path = / browsable = yes writable = yes
6) allow the root user to access Samba shares by setting its password:
Running Samba & testing
Now that Samba is configured, we can test it out!
1) Turn on Wireless on your Kobo device
2) Run /mnt/onboard/samba_test/sbin/smbd, either via SSH or by adding an smbd entry to your Kobo Tweaks .ini file
3) Navigate to \\<IP address of your device>\ using Windows Explorer or something else that can access Samba shares. You'll be prompted for a username/password, so enter the username 'root' and the password you set earlier.
If it doesn't work, check your wireless connection or look at the log file(s) in /mnt/onboard/samba_test/var/log.
Last edited by joris_; 04-13-2013 at 06:05 PM.
|07-11-2013, 01:44 PM||#2|
Join Date: Dec 2012
Device: Kindle PW
Hi thank for your nice guide, I am trying to get this working on the Aura HD with no luck, I can't seems to be able to run the binary (no err, no return or anything when running smbpasswd -a or smbd)
Wonder can you give some help or hint?
|Thread Tools||Search this Thread|
|Thread||Thread Starter||Forum||Replies||Last Post|
|Which port will Calibre connect to a network share?||awj||Devices||3||03-02-2013 11:14 AM|
|Glo If my brother gets a Glo, can we share our library?||sogeking90||Kobo Reader||6||12-25-2012 07:16 PM|
|"Error communicating with device" on samba share||aarcane||Library Management||1||11-14-2012 05:13 AM|
|Amazon Steals 14% Tablet Market Share In Q4, Apple Share Drops To 57%||Jessica Lares||Kindle Fire||18||02-19-2012 06:16 PM|
|library via network share||Keltari||Calibre||2||08-26-2011 08:25 PM|