Problem configuring IP address on remote device | Unix Linux Forums | Debian

  Go Back    


Debian Debian GNU/Linux is a free distribution of the GNU/Linux operating system.

Problem configuring IP address on remote device

Debian


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 07-01-2013
snorkack59 snorkack59 is offline
Registered User
 
Join Date: Apr 2009
Last Activity: 2 July 2013, 11:13 PM EDT
Posts: 34
Thanks: 6
Thanked 1 Time in 1 Post
Problem configuring IP address on remote device

I need to add a printer with Ethernet to my local network. The default IP address in the printer is 0.0.0.0 and I need to change it to a 192.168.0.x address. I have previously temporarily changed the IP address of a computer (with ifconfig) to an address similar to the new device and changed the new device IP with a browser. However, that doesn't work this time. 0.0.0.0 apparently has special significance in Debian Linux, like gateway or default route. The loopback address (127.0.0.1) responds to a ping to 0.0.0.0 and the browser can't connect to the printer. Any ideas?
Sponsored Links
    #2  
Old 07-02-2013
Corona688 Corona688 is offline Forum Staff  
Mead Rotor
 
Join Date: Aug 2005
Last Activity: 24 October 2014, 4:38 PM EDT
Location: Saskatchewan
Posts: 19,683
Thanks: 823
Thanked 3,352 Times in 3,139 Posts
Type it into the printer control panel?

You might also try hardwiring its mac address to a fake IP by forcing it into your machine's ARP table as whatever IP you want... It won't really be that IP, but when your machine sends to/receives from that machine, it ought to assume "traffic from xx:yy:zz:qq:rr, must be 192.168.0.5'
Sponsored Links
    #3  
Old 07-02-2013
snorkack59 snorkack59 is offline
Registered User
 
Join Date: Apr 2009
Last Activity: 2 July 2013, 11:13 PM EDT
Posts: 34
Thanks: 6
Thanked 1 Time in 1 Post
The printer doesn't have a control panel except two buttons to reset errors or force a print. (Lexmark E260dn).

I did add the printer Ethernet address to /etc/ethers and the desired IP address to /etc/hosts. When I try to ping the printer host name the answer is host is unreachable.
    #4  
Old 07-02-2013
in2nix4life's Avatar
in2nix4life in2nix4life is offline
Registered User
 
Join Date: Oct 2007
Last Activity: 9 October 2014, 3:02 PM EDT
Location: East Coast
Posts: 611
Thanks: 1
Thanked 176 Times in 162 Posts
Most printers usually have some application available for local and/or remote configuration.

Maybe this will help:

Lexmark IP Utility

Release Notes
The IP Setup Utility allows initial configuration of individual or multiple print servers.
The Following User Says Thank You to in2nix4life For This Useful Post:
snorkack59 (07-02-2013)
Sponsored Links
    #5  
Old 07-02-2013
Corona688 Corona688 is offline Forum Staff  
Mead Rotor
 
Join Date: Aug 2005
Last Activity: 24 October 2014, 4:38 PM EDT
Location: Saskatchewan
Posts: 19,683
Thanks: 823
Thanked 3,352 Times in 3,139 Posts
Quote:
Originally Posted by snorkack59 View Post
I did add the printer Ethernet address to /etc/ethers and the desired IP address to /etc/hosts. When I try to ping the printer host name the answer is host is unreachable.
Nothing uses /etc/ethers for lookups so far as I know. I meant adding it to the ARP table using the arp command.
Sponsored Links
    #6  
Old 07-02-2013
Corona688 Corona688 is offline Forum Staff  
Mead Rotor
 
Join Date: Aug 2005
Last Activity: 24 October 2014, 4:38 PM EDT
Location: Saskatchewan
Posts: 19,683
Thanks: 823
Thanked 3,352 Times in 3,139 Posts
A far more obvious way just occurred to me. You can configure more than one IP on the same interface.

ifconfig eth0:1 0.0.0.1 netmask 255.255.255.0
The Following User Says Thank You to Corona688 For This Useful Post:
snorkack59 (07-02-2013)
Sponsored Links
    #7  
Old 07-02-2013
snorkack59 snorkack59 is offline
Registered User
 
Join Date: Apr 2009
Last Activity: 2 July 2013, 11:13 PM EDT
Posts: 34
Thanks: 6
Thanked 1 Time in 1 Post
I made the printer print another network settings page and discovered it had magically acquired a legitimate IP address. Possibly it reports an address of 0.0.0.0 when the network cable is not connected. It was then possible to set the address to what was needed with a browser and the printer is working on the network now.

The Lexmark IP utility is for Bill Gates' cancerous, virus-infested scourge of the Earth excuse for an OS which I don't use. Lexmark tech support suggested resetting the printer to factory defaults but I don't need to try this now.

Thanks for the help!
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
configuring site-local IPv6 address kirtikjr HP-UX 0 09-07-2011 07:18 AM
Remote printing configuring haezeban SCO 4 11-05-2009 04:14 PM
Configuring xSun for automatic remote login window ua-agent Solaris 5 06-30-2009 09:35 PM
communicating to a device with no IP address? fishman2001 IP Networking 6 04-14-2007 10:58 AM
stty: : No such device or address nandinisagar Shell Programming and Scripting 6 01-24-2006 12:41 PM



All times are GMT -4. The time now is 01:35 AM.