Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


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 > and the ISO download is here >  They might make more sense that I do.
Question by:dosdet2
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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?
Technology Partners: 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

Create the perfect environment for any meeting

You might have a modern environment with all sorts of high-tech equipment, but what makes it worthwhile is how you seamlessly bring together the presentation with audio, video and lighting. The ATEN Control System provides integrated control and system automation.

Question has a verified solution.

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

SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
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.

721 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