Web lists-archives.com

Re: printer with static ip address inaccessible from lan

I think this should work. For the present I have moved on to other tasks. The printer has a usb connection to the pc so I can print as needed. Others on the lan cannot use the printer.

On 03/01/2018 05:08 AM, Bernd Gruber wrote:
Can't you just plug the printer locally to a PC, change manually the PC's
network-address to 192.168.1.x, connect to the printer and change its IP to
192.168.2.x. Then, of course, you will loose the connection, but the printer
will be in the desired network. Don't forget to change IP-configuration of
your PC, and connect to the router.

Thomas George wrote:

The Samsung CLP-320 printer's static ip was set about 10
years ago to work on a lan using 192.168.1.x addresses. Last week the
lan's router failed and was replaced with a Netgear r6700 router using
192.168.2.x addresses. The printer is now inaccessible from the lan.

Cups Administration says the printer address can be set using its MAC

       Configuring the IP Address Using DHCP

The DHCP protocol is the usual way of setting the IP address of a
printer on a managed network. Using the standard dhcpd(8) program
supplied with UNIX you simply need to add a line to the /etc/dhcpd.conf

host/hostname/  {
    hardware ethernet/mac-address/;

Make sure that the hostname you use is also listed in the /etc/hosts
file or is registered with your DNS server.

apt-cache search dhcpd finds udhcpd. My pc's system is Debian Stretch.
There is a file /etc/dhcp/dhclient.conf but no file /etc/dhcpd.

Is it possible to access the printer and change  its address to one in
192.168.2.x or to reset it to use dhcp?