Go Premium for a chance to win a PS4. Enter to Win


Knoppix - I need a Share between Linux and Windows

Posted on 2013-02-05
Medium Priority
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 > www.watchocr.com and the ISO download is here > www.watchocr.com/files.  They might make more sense that I do.
Question by:dosdet2
  • 4
LVL 24

Assisted Solution

by:Nagendra Pratap Singh
Nagendra Pratap Singh earned 1000 total points
ID: 38857969
Have you tried a share with permissions for everyone?

This is an old link but may still work.


Author Comment

ID: 38860085
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

ID: 38861374
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?
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!


Accepted Solution

rhukat earned 1000 total points
ID: 38870054
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

ID: 38870109
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

ID: 38870113
Thanks, Guys!

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It’s been over a month into 2017, and there is already a sophisticated Gmail phishing email making it rounds. New techniques and tactics, have given hackers a way to authentically impersonate your contacts.How it Works The attack works by targeti…
This article will show you step-by-step instructions to build your own NTP CentOS server.  The network diagram shows the best practice to setup the NTP server farm for redundancy.  This article also serves as your NTP server documentation.
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Suggested Courses

926 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