Networking :: SSHFS Problems, any ideas appreciated
Hi all,
I’m new to Damn Small Linux, and am having some good fun with it.
I have a problem though.
I have a Neoware E90 thin Client (I’m using DSL on a USB pen drive), I want it to show files, and programs from my server.
The server is running DSL on the hard disk, im using a lan cross-over cable to the thin client.
How can I get the thin client to see (show programs)
I’ve been told I need to use NFS? But how do I go about doing this?
Please can somebody help.
I need some very easy to follow instructions, everything I have seen on the net seems to complex or im doing something wrong.
Many thanks
Dan
This is the response I have got from Roberts……………………………
“DSL does not come with an nfs server.
It does have an nfs client, where DSL is the thin client connecting to a NFS server.
However, DSL, does offer something, much easier and will do the same thing as your needs seem to describe. That being sshfs.
From what I gather from your post, both machines are running DSL.
The machine with the hard drive is to be the file server. Let just say that is ip 192.168.0.10 Lets say the thin client is 192.168.0.20
These ips are just an example, use whatever your network provides.
Let say we have a directory that we want to use remotely. For example, I have my MyDSL collection on the file server at /mnt/hda3/mydsl
Assuming your network between these two machines is functional then:
First you must have both sshd and passwords setup on the file server.
1. One the file server DSL machine boot with
boot: dsl secure ssh
This will prompt for passwords and start sshd
Or the file server machine, you can use the control panel to start ssh and from root shell set passwords.
Now on the client side...
2. On the thin client, usb pendrive, from a root shell
# modprobe fuse
3. Use sshfs to mount the remote drive directory. In this example I want to mount my collection of mydsl apps.
# sshfs root@192.168.0.10/mnt/hda2/mydsl /mnt/test -o allow_other
4. Now we have the collection of mydsl apps remotely mounted at /mnt/test
5. As normal user, dsl, we can use the mydsl desktop icon and load mydsl apps as if they were local. Just click the load local button and naviagte to the /mnt/test directory, then click and load your apps!
I use this setup for my small 64MB pendrives where I don't have much room. While at home I keep all my extensions on a large hard drive dsl system. Then any computer that I have, dsl of course, I can share and load my extension collection as if it was local.
Have Fun!
Robert”
Here is our new question………………..Please help!!
We are following instructions as per Robert’s response however we are encountering a few problems.
We are using DSL 3.0.
2. #modprobe fuse
Not sure if this is working, have typed in an Xshell as root it accepts the command and jumps to a new prompt, there is no message from the shell but I don’t know if there should be.
3. #sshfs root@192.168.0.100/mnt/hdc1 mnt/test –o allow_other
The shell responds with: Missing host
I have checked the /mnt directory and we are using the correct locations (/mnt/hdc1 in this case)
Any suggestions please?
Is there any way to test or show stats for the network in case the NIC or cable are at fault, although they are new so I hope its not a faulty NIC or cable.
Thanks
original here.