Welcome to LQ.
The problem you're having is because of something called mounting
. The way Linux accesses the remote (and local) filesystems is that they are mounted to a directory. For example, a cdrom's device may be /dev/hdc, but you'd access the files from the mountpoint
of /mnt/cdrom. What you're doing with LinNeighborhood is you're mounting the remote shares onto a directory and reading them from there. In order to read the files again after you reboot, you'll need to remount the shares. As you have found, you can do this by re-running LinNeighborhood. You can also edit your /etc/fstab
file to have them mounted automatically.
You would need to specify the remote share instead of the device name, and the filesystem would be smbfs
. You might have something like:
//machine2/share /place/to/read/from smbfs username=USERNAME,password=PASSWORD,auto 0 0