Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #193175

Re: printer with static ip address inaccessible from lan

From john doe <johndoe65534@mail.com>
Newsgroups linux.debian.user
Subject Re: printer with static ip address inaccessible from lan
Date 2018-02-27 19:30 +0100
Message-ID <vnSaK-cw-5@gated-at.bofh.it> (permalink)
References <vnRRn-4Y-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 2/27/2018 7:07 PM, Thomas George wrote:
> The Samsung CLP-320 printer's static ip 192.168.1.139 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 
> address:
> 
> 
>       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 
> file:
> 
> host/hostname/  {
>    hardware ethernet/mac-address/;
>    fixed-address/ip-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?
> 
> 

The daemon 'dhcpd' is package 'isc-dhcp-server'.

Can't you change the IP of your ISP router to use the subnet 192.168.1.*?

One way to change the IP of your printer would be to directly connect a 
computer to your printer and set a fix address on the computer in the 
same subnet as the printer.
Then you can change the IP of your printer.

Using the 'dhcpd' and 'named' ('isc-dhcp-server, isc-bind) is one option 
but 'dnsmasq' is a simpler way to do the same.

-- 
John Doe

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

printer with static ip address inaccessible from lan Thomas George <lists@tomgeorge.info> - 2018-02-27 19:10 +0100
  Re: printer with static ip address inaccessible from lan john doe <johndoe65534@mail.com> - 2018-02-27 19:30 +0100
    Re: printer with static ip address inaccessible from lan Thomas George <lists@tomgeorge.info> - 2018-02-28 01:40 +0100
      Re: printer with static ip address inaccessible from lan john doe <johndoe65534@mail.com> - 2018-02-28 08:30 +0100
  Re: printer with static ip address inaccessible from lan Reco <recoverym4n@gmail.com> - 2018-02-27 19:30 +0100
    Re: printer with static ip address inaccessible from lan Thomas George <lists@tomgeorge.info> - 2018-02-27 22:30 +0100
      Re: printer with static ip address inaccessible from lan Doug <dmcgarrett@optonline.net> - 2018-02-27 22:40 +0100
      Re: printer with static ip address inaccessible from lan Greg Wooledge <wooledg@eeg.ccf.org> - 2018-02-27 22:40 +0100
      Re: printer with static ip address inaccessible from lan Gene Heskett <gheskett@shentel.net> - 2018-02-28 02:10 +0100
        Re: printer with static ip address inaccessible from lan Gene Heskett <gheskett@shentel.net> - 2018-02-28 02:30 +0100
        Re: printer with static ip address inaccessible from lan Thomas George <lists@tomgeorge.info> - 2018-02-28 03:50 +0100
          Re: printer with static ip address inaccessible from lan Dan Purgert <dan@djph.net> - 2018-02-28 04:30 +0100
            Re: printer with static ip address inaccessible from lan Curt <curty@free.fr> - 2018-02-28 10:00 +0100
              Re: printer with static ip address inaccessible from lan Dan Purgert <dan@djph.net> - 2018-02-28 13:50 +0100
                Re: printer with static ip address inaccessible from lan Thomas George <lists@tomgeorge.info> - 2018-02-28 18:50 +0100
  Re: printer with static ip address inaccessible from lan Bernd Gruber <begruber@mnet-online.de> - 2018-03-01 11:30 +0100
    Re: printer with static ip address inaccessible from lan Thomas George <lists@tomgeorge.info> - 2018-03-02 02:10 +0100
      Re: printer with static ip address inaccessible from lan john doe <johndoe65534@mail.com> - 2018-03-02 06:30 +0100
      Re: printer with static ip address inaccessible from lan Curt <curty@free.fr> - 2018-03-02 11:20 +0100
        Re: printer with static ip address inaccessible from lan Thomas George <lists@tomgeorge.info> - 2018-03-03 02:20 +0100

csiph-web