Knoppix - I need a Share between Linux and Windows

Posted on 2013-02-05
Last Modified: 2013-02-08
I am trying to setup a WatchOCR server. (This is a server that watches a folder for PDF files and when it finds files there, it OCRs the files and places them in to an output folder as searchable PDF files. Very Cool!).  

It comes as a bootable CD with Knoppix that is preconfigured to run from the CD.  It has an option to install itself on to a hard drive, which I have done.  It boots and seems to run good.  To test or use it I have to be able to get PDF files from my Windows network onto the Knoppix machine.  That is where I am stuck.

In our Windows network we have 2 NAS drives, one uses domain authentication and one uses it's built-in authentication (via windows workgroup connection).  We also have Windows servers available (2003 & 2008).

I have tried setting up shares on both NAS drives (with their separate auth. methods) and also tried shares on server drives and workstation drives - all to be accessed by the Knoppix machine.

I have tried setting up shared on the Knoppix machine, both on the linux drive and on an NTFS drive that is also in the machine (ann accessible to Knoppix).

I have followed multiple docments with, slightly different instructions, on exactly how to do this. In some cases I could see the shares, some cases I couldn't.  When I could see the shares if I tried to read or write to them, they either went off-line or froze the computer until it times out.

I am a noob to linux and I really need some Expert help. I know there are some really smart people here and I hope one of you can help me.

I need an accessible share between the Knoppix machine and my windows machines.  I prefer the share be on the Knoppix machine and accessible by windows, but the other way around will work too.  Whatever is easier or more stable.

Information on the system is here > and the ISO download is here >  They might make more sense that I do.
Question by:dosdet2
  • 4
LVL 23

Assisted Solution

by:Nagendra Pratap Singh
Nagendra Pratap Singh earned 250 total points
Comment Utility
Have you tried a share with permissions for everyone?

This is an old link but may still work.

Author Comment

Comment Utility
I'm not sure what you mean by everyone.  Do you mean every computer that will be accessing the Knoppix box with independent personal shares, or everyone as a collective to all access the same share with the same credentials?

The latter is what I have been trying to do - with common or no logins, so everyone can drop files into a common "inbox" and pick up the searchable files from the common "outbox".  

I guess I could create multiple instances of Watchocr and have it process multiple in & out boxes.  Is that what you meant?  

Either way, I will try this and see if I can get the share to be stable.

Author Comment

Comment Utility
I was following the instructions at the link above and I got to this statement:

"Then you go to K - Control Center - Internet and Network - Local Network Browsing and set up the details under Windows Shares and Lisa Daemon to match your system."

I'm assuming he is referencing the KDE Control Center, which I do not have on this system. I have tried to install it (w/ info from other posts) but each time it tries to install, it says it can't find the package.  I'm not sure what to download for this package nor where to put it.  When I search for the KDE install - I get a folder full of files with no real direction of which one(s) - (or all of them?) to download or any real instruction at all.  
Any ideas to try?
Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.


Accepted Solution

rhukat earned 250 total points
Comment Utility
Try this and update.

1. Install smbfs
# sudo apt-get install smbfs

2. Edit /etc/fstab and add the entry:
//servername/sharename /pathto/mountpoint cifs credentials=/home/username/.smbcredentials 0 0

3. Create the .smbcredentials file in your home directory and enter windows username and password:

4. Make sure you secure your ~/.smbcredentials file:
# chmod 0600 ~/.smbcredentials

5. Test the mount with:
# sudo mount -a

Author Comment

Comment Utility
rhukat, This is the method I have been mostly using with little tweaks here and there.

I need to catch up the thread on what has happened of late.  I came across a VM host program called VirtualBox (from oracle) and the site I found had Instructions on setting up the WatchOCR / Knoppix system in it.  I followed these and set it up.  VirtualBox prepares the shares.  With this setup and the instructions very similar to the ones rhukat provided I was finally able to access a share.  It took some work to get all the pieces together so the share was not real-only, but it was finally read-write.  

I copied some PDF files to the folder and was able to run the watchocr program for my first test.  It was pretty bad.  It was very slow (which is a little expected because of the VM situation (VirtualBox only uses 1 core of my 8 core CPU - it says it may become un-stable with more that one core).  

But the biggest problem was the quality of the OCR job.  I compared the text from the Watchocr output to the text from the same document OCR'd in Acrobat 8 pro - only about 50% of the Watchocr text was accurate, while the Acrobat text was in the high 90% accuracy range.  

These results are a deal breaker for us.  Too bad, it really was a cool sounding system.  
I'm going to close the question since it is a moot point now.  Thanks for your responses and the ideas.
Deon  :-(

Author Closing Comment

Comment Utility
Thanks, Guys!

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Ever notice how you can't use a new drive in Windows without having Windows assigning a Disk Signature?  Ever have a signature collision problem (especially with Virtual Machines?)  This article is intended to help you understand what's going on and…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now