On Friday 23 December 2005 18:01, Carl Hartung wrote: <snip>
Sorry for the delay, but it's family and holidays time of year again...
Here are some diagnostic steps to take:
Post a copy of your /etc/hosts file and your /etc/resolv.conf file. Run "lpstat -t" on Machines #1 and #2 and post here.
regards,
- Carl
Thanks for taking the time! ***Machine #2:*** /etc/hosts: # # hosts This file describes a number of hostname-to-address # mappings for the TCP/IP subsystem. It is mostly # used at boot time, when no name servers are running. # On small systems, this file can be used instead of a # "named" name server. # Syntax: # # IP-Address Full-Qualified-Hostname Short-Hostname # 127.0.0.1 localhost 192.168.1.100 officesuse.koepsell officesuse # special IPv6 addresses ::1 localhost ipv6-localhost ipv6-loopback fe00::0 ipv6-localnet ff00::0 ipv6-mcastprefix ff02::1 ipv6-allnodes ff02::2 ipv6-allrouters ff02::3 ipv6-allhosts 192.168.1.101 paf.koepsell paf 127.0.0.2 suse.koepsell suse /etc/resolv.conf: ### BEGIN INFO # # Modified_by: dhcpcd # Backup: /etc/resolv.conf.saved.by.dhcpcd.wlan0 # Process: dhcpcd # Process_id: 11724 # Script: /sbin/modify_resolvconf # Saveto: # Info: This is a temporary resolv.conf created by service dhcpcd. # The previous file has been saved and will be restored later. # # If you don't like your resolv.conf to be changed, you # can set MODIFY_{RESOLV,NAMED}_CONF_DYNAMICALLY=no. This # variables are placed in /etc/sysconfig/network/config. # # You can also configure service dhcpcd not to modify it. # # If you don't like dhcpcd to change your nameserver # settings # then either set DHCLIENT_MODIFY_RESOLV_CONF=no # in /etc/sysconfig/network/dhcp, or # set MODIFY_RESOLV_CONF_DYNAMICALLY=no in # /etc/sysconfig/network/config or (manually) use dhcpcd # with -R. If you only want to keep your searchlist, set # DHCLIENT_KEEP_SEARCHLIST=yes in /etc/sysconfig/network/dhcp or # (manually) use the -K option. # ### END INFO search ver 69.28.32.180 nameserver 69.28.32.16 nameserver 69.28.32.180 lpstat -t: suse:/home/bernd # lpstat -t lpstat: Unable to connect to server: Connection refused ***Machine #1:*** /etc/hosts: # # hosts This file describes a number of hostname-to-address # mappings for the TCP/IP subsystem. It is mostly # used at boot time, when no name servers are running. # On small systems, this file can be used instead of a # "named" name server. # Syntax: # # IP-Address Full-Qualified-Hostname Short-Hostname # 127.0.0.1 localhost # special IPv6 addresses ::1 localhost ipv6-localhost ipv6-loopback fe00::0 ipv6-localnet ff00::0 ipv6-mcastprefix ff02::1 ipv6-allnodes ff02::2 ipv6-allrouters ff02::3 ipv6-allhosts 192.168.1.101 paf.koepsell paf 192.168.1.102 suse.koepsell suse 127.0.0.2 officesuse.koepsell officesuse /etc/resolv.conf: ### BEGIN INFO # # Modified_by: dhcpcd # Backup: /etc/resolv.conf.saved.by.dhcpcd.wlan0 # Process: dhcpcd # Process_id: 5380 # Script: /sbin/modify_resolvconf # Saveto: # Info: This is a temporary resolv.conf created by service dhcpcd. # The previous file has been saved and will be restored later. # # If you don't like your resolv.conf to be changed, you # can set MODIFY_{RESOLV,NAMED}_CONF_DYNAMICALLY=no. This # variables are placed in /etc/sysconfig/network/config. # # You can also configure service dhcpcd not to modify it. # # If you don't like dhcpcd to change your nameserver # settings # then either set DHCLIENT_MODIFY_RESOLV_CONF=no # in /etc/sysconfig/network/dhcp, or # set MODIFY_RESOLV_CONF_DYNAMICALLY=no in # /etc/sysconfig/network/config or (manually) use dhcpcd # with -R. If you only want to keep your searchlist, set # DHCLIENT_KEEP_SEARCHLIST=yes in /etc/sysconfig/network/dhcp or # (manually) use the -K option. # ### END INFO search koepsell nameserver 69.28.32.16 nameserver 69.28.32.180 lpstat -t: officesuse:~ # lpstat -t scheduler is running system default destination: deskjet940c device for deskjet940c: usb://HP/DeskJet%20940C?serial=CN2671B1VYCO device for laserjet4l: parallel:/dev/lp0 deskjet940c accepting requests since Jan 01 00:00 laserjet4l accepting requests since Jan 01 00:00 printer deskjet940c is idle. enabled since Jan 01 00:00 printer laserjet4l is idle. enabled since Jan 01 00:00 Something just happens to jump right out. The /etc/hosts file does not match what my router-based dhcp server has assigned to the machines. I hear a collective DUH! coming from the throngs on suse-e regarding the hosts file! Yet... I just manually changed the /etc/hosts file on the machines to reflect the correct ip's and ran a test. CUPS up and printing fine from machine #2 with OOo, but not from any other apps! Here's an error message I get when trying to print my e-mail from Kontact: "An error occurred while retrieving the printer list: Connection to CUPS server failed. Check that the CUPS server is correctly installed and running. Error: host not found." Here's the lpstat results from machine #2: bernd@suse:~> lpstat -t lpstat: Unable to connect to server: No route to host How can the /etc/hosts file be modified to always match? How can I print using apps aside from OOo?