[hangout] CUPS Printer Config
Joe Villari
yellowdog-newbie@lists.terrasoftsolutions.com
Thu, 02 Jan 2003 14:07:23 +0000
I can ping my localhost
[joev@localhost joev]$ ping -c 5 localhost
PING localhost.localdomain (127.0.0.1) from 127.0.0.1 : 56(84) bytes of
data.
64 bytes from localhost.localdomain (127.0.0.1): icmp_seq=0 ttl=64
time=49 usec
64 bytes from localhost.localdomain (127.0.0.1): icmp_seq=1 ttl=64
time=149 usec
64 bytes from localhost.localdomain (127.0.0.1): icmp_seq=2 ttl=64
time=152 usec
64 bytes from localhost.localdomain (127.0.0.1): icmp_seq=3 ttl=64
time=71 usec
64 bytes from localhost.localdomain (127.0.0.1): icmp_seq=4 ttl=64
time=121 usec
--- localhost.localdomain ping statistics ---
5 packets transmitted, 5 packets received, 0% packet loss
round-trip min/avg/max/mdev = 0.049/0.108/0.152/0.042 ms
[joev@localhost joev]$ ping -c 5 127.0.0.1
PING 127.0.0.1 (127.0.0.1) from 127.0.0.1 : 56(84) bytes of data.
64 bytes from 127.0.0.1: icmp_seq=0 ttl=64 time=48 usec
64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=153 usec
64 bytes from 127.0.0.1: icmp_seq=2 ttl=64 time=591 usec
64 bytes from 127.0.0.1: icmp_seq=3 ttl=64 time=109 usec
64 bytes from 127.0.0.1: icmp_seq=4 ttl=64 time=384 usec
--- 127.0.0.1 ping statistics ---
5 packets transmitted, 5 packets received, 0% packet loss
round-trip min/avg/max/mdev = 0.048/0.257/0.591/0.202 ms
I added 198.162.0.1 printer to /etc/hosts
[joev@localhost joev]$ ping -c 5 printer
connect: Network is unreachable
[joev@localhost joev]$ ping -c 5 198.162.0.1
connect: Network is unreachable
What does this mean in terms of setting up a printcap file or correct
route through CUPs? How do I determine what address my printer is on?
This is today's project ;)
Thanks
Joe
lowell wrote:
> Does he (you) know how to get himself an address? Use your favorite
> text editor to edit /etc/hosts. Give your machine a name and an IP
> address OTHER than the loopback address
>
> SAMPLE:
> (there already)> 127.0.0.1 localhost
> localhost.localdomain
> (you add)> 198.162.0.1 bob'smachine
>
> I have seen places say to put the macine name on the first line as
> well, don't know why...
>
> HTH
>
>
>
> _______________________________________________
> yellowdog-newbie mailing list
> yellowdog-newbie@lists.terrasoftsolutions.com
> http://lists.terrasoftsolutions.com/mailman/listinfo/yellowdog-newbie
>