[SOLVED] Re: How to get the ip address of a network printer by the an uri like ..

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/24/2010 04:10 PM, Robert Moskowitz wrote:
> On 11/24/2010 09:24 AM, Joachim Backes wrote:
>> I have attached a lexmark network printer e120n by the zeroconf protocol
>> (avahi).
>>
>> My problem: For some reasons, I need the printer's IP address.
>>
>> The uri is "dnssd://Lexmark%20E120n._pdl-datastream._tcp.local"
> 

Thanks to all who replied to the above question. But the avahi-tools did
not solve my problem. I found another solution: Because the MAC address
of the printer is known (and does not change), the *arping* program gave
me the solution: arping -I eth0 <the printer's MACaddress>

There was only one problem: The Fedora version of arping did not allow
MAC addresses as destination, but I found a version in freshmeat.net
working for me (arping-2.09) :

sudo /usr/local/sbin/arping -i eth0 00:04:00:f9:b0:f9

ARPING 00:04:00:f9:b0:f9
60 bytes from 192.168.100.107 (00:04:00:f9:b0:f9): icmp_seq=0 time=1.506
msec
60 bytes from 192.168.100.107 (00:04:00:f9:b0:f9): icmp_seq=1
time=794.000 usec
60 bytes from 192.168.100.107 (00:04:00:f9:b0:f9): icmp_seq=2
time=865.000 usec
60 bytes from 192.168.100.107 (00:04:00:f9:b0:f9): icmp_seq=3
time=802.000 usec
...
...

Kind regards

-- 
Joachim Backes <joachim.backes@xxxxxxxxxxxxxx>

http://www.rhrk.uni-kl.de/~backes

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux