[hangout] CUPS Printer Config

Lowell Premer yellowdog-newbie@lists.terrasoftsolutions.com
Thu, 02 Jan 2003 13:30:02 -0600


I believe a ping to localhost does NOT use the ethernet card. Is the 
machine in question the same one on which you're sending these messages 
to the list? If so, are you communicating with the list via dialup or 
cable/dsl? Reason I wonder about this is, is the ethernet card working? 
(First of all, does it show a light? Look at the back of the machine 
where the cable plugs into the card.)If you're talking via that card 
then it works fosho but if you're taliking by modem it might not be. See 
if you can ping a known address outside; a dns server at your isp or 
something?
    Also, do I remember you saying you were connected to the printer via 
ethernet? Well, the editing you did in /etc/hosts doesn't assign that 
address to the printer, it just tells your machine that that is the 
address of a remote host (i.e. other machine) named "printer". Is the 
printer's address really 198.162.0.1? How did you find that out?

Joe Villari wrote:

> 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
>>
>
>
>
> _______________________________________________
> yellowdog-newbie mailing list
> yellowdog-newbie@lists.terrasoftsolutions.com
> http://lists.terrasoftsolutions.com/mailman/listinfo/yellowdog-newbie
>