printing, shared permissions, file compatibility

Oliver Neukum yellowdog-general@lists.terrasoftsolutions.com
Wed May 15 16:36:01 2002


> With my fist attempts at printing from KDEword, I was getting a message
> about hostname 'localhost' bad. I fixed this by putting localhost in th=
e
> /etc/hosts file - which didn't even exist until I created it for this
> purpose. I also added it to /etc/hosts.allowed. Now I get a message
> "Cannot open connection to localhost. Network is unreachable. Make sure
> LPD server is running." I'm not sure what this means relative to my
> situation. My printer is not networked. All the attempts I've made at
> printing from printconf-gui come back with "There was an error trying t=
o
> print the test page." KDEword at least gives me more informative error
> messages.

Printing under Unix is always networked. If you print to a printer locall=
y
attached a network is emulated. Lpd must be running to print.
Furthermore, for the network emulation to work the lo (loopback)
virtual network interface must exist, be assigned to IP 127.0.0.1
and have an entry in the routing table.
Your distribution should have made sure that this is the case.

> My next quesion is: how do I give users permission to write to the
> Mac/Linux shared partition? I was able to give users write permission
> for /dev/hda6, but when I try to give permission to the shared
> directory, nothing happens. I type "chmod  +aw /mac/shared_hda, but ls
> -l for /mac/shared_hda shows no changes, and I still can't copy files t=
o
> it as a user. Do I have to change something in /etc/fstab?

If it's a hfs partition you have to use the 'umask' mount option
in /etc/fstab.

=09HTH
=09=09Oliver