NetAdminTools.com
 
SignalQ Sites:
L1G3R Information Systems - Coprolite - SpotBridge - NAW
RoboCoop - AreWeDown - SolarPower - SysAdminTools
Xfig - Gold Loaf - GeekPapa - FixGMC - FixRambler
Solar Energy - Energy Efficiency - Solar Panels
Home Energy Savings
Categories:
GNU/Linux | Homebrew designs | Perl | Ruby | Administration | Backup/Recovery | Bugs/Fixes | Certification | Database | Email | File/Print | Hardware | Information Grab Bag | Interoperability | GNU/Linux ABCs | Monitoring | Name Resolution | Network Services | Networking | Remote Control | Security | Desktop | Web | BSD | Solaris | GIAGD | ERP | REALbasic

Last 30 Days | Last 60 Days | Last 90 Days | All Articles | RSS


Categories:
·GNU/Linux
·Homebrew designs
·Perl
·Ruby
·Administration
·Backup/Recovery
·Bugs/Fixes
·Certification
·Database
·Email
·File/Print
·Hardware
·Information Grab Bag
·Interoperability
·GNU/Linux ABCs
·Monitoring
·Name Resolution
·Network Services
·Networking
·Remote Control
·Security
·Desktop
·Web
·BSD
·Solaris
·GIAGD
·ERP
·REALbasic
·All Categories


Configuring an HP Jetdirect Via Telnet
Topic:File/Print   Date: 2006-03-15
Printer Friendly: Print   

spacerspacer
<<  <   >  >>

Subject

If you ever need to reconfigure an HP Jetdirect, this can be done via telnet. We have a model 170x; however, this procedure will work with many Jetdirect boxes. First off, you need to figure out the current IP address. Do this by pushing the system test button on the Jetdirect box. The current IP address and subnet mask will be listed. Once you have the IP address, bind another address on the same network as the Jetdirect box, and telnet to it:

srv-5:~ usr4$ telnet 10.50.100.8
Trying 10.50.100.8...
Connected to 10.50.100.8.
Escape character is '^]'.
HP JetDirect
Please type "?" for HELP, or "/" for current settings
> /
===JetDirect Telnet Configuration===
Firmware Rev.   : F.08.20
MAC Address     : 00:01:e6:28:03:e0
Config By       : USER SPECIFIED 
IP Address      : 10.50.100.8
Subnet Mask     : 255.255.255.0
Default Gateway : 10.50.100.82
Syslog Server   : Not Specified
Idle Timeout    : 90 Seconds
Set Cmnty Name  : Not Specified
Host Name       : Not Specified
DHCP Config     : Disabled 
Passwd          : Disabled 
IPX/SPX         : Disabled 
DLC/LLC         : Disabled 
Banner page     : Enabled 
> ?
To Change/Configure Parameters Enter: 
Parameter-name: value <Carriage Return>
Parameter-name  Type of value 
ip:             IP-address in dotted notation 
subnet-mask:    address in dotted notation (enter 0 for default) 
default-gw:     address in dotted notation (enter 0 for default) 
syslog-svr:     address in dotted notation (enter 0 for default) 
idle-timeout:   seconds in integers 
set-cmnty-name: alpha-numeric string (32 chars max) 
host-name:      alpha-numeric string (upper case only, 32 chars max) 
dhcp-config:    0 to disable, 1 to enable 
allow:          <ip> [mask] (0 to clear, list to display, 10 max) 
addrawport:     <TCP port num> (<TCP port num> 3000-9000) 
deleterawport:  <TCP port num>  
listrawport:    (No parameter required) 
ipx/spx:        0 to disable, 1 to enable 
dlc/llc:        0 to disable, 1 to enable 
banner:         0 to disable, 1 to enable 
Type passwd to change the password.
Type "?" for HELP, "/" for current settings or "quit" to save-and-exit.
Or type "exit" to exit without saving configuration parameter entries 

Let's change the IP address, subnet mask, and default gateway:

> ip: 10.50.100.9
> subnet-mask: 255.255.255.0
> default-gw: 10.50.100.82

Type quit to save the changes:

> quit
===JetDirect Parameters Configured===
IP Address      : 10.50.100.9
Subnet Mask     : 255.255.255.0
Default Gateway : 10.50.100.82
Syslog Server   : Not Specified
Idle Timeout    : 90 Seconds
Set Cmnty Name  : Not Specified
Host Name       : Not Specified
DHCP Config     : Disabled 
Passwd          : Disabled 
IPX/SPX         : Disabled 
DLC/LLC         : Disabled 
Banner page     : Enabled 
User Quitting
Connection closed by foreign host.

Test the new configuration:

srv-5:~ usr4$ telnet 10.50.100.9
Trying 10.50.100.9...
Connected to 10.50.100.9.
Escape character is '^]'.
HP JetDirect
Please type "?" for HELP, or "/" for current settings
> 

All good. Note that the password can be changed, but there currently is no password. This may be OK for an internal network, but to be safe, consider changing this so that a password is required.


People:
Places:
Things:
Times:





Please read our Terms of Use and our Privacy Policy
Microsoft, Windows, Windows XP, Windows 2003, Windows 2000, and NT are either trademarks or registered trademarks of Microsoft Corporation. NetAdminTools.com is not affiliated with Microsoft Corporation. Linux is a registered trademark of Linus Torvalds, and refers to the Linux kernel. The operating system of most distributions that contain the Linux kernel is GNU/Linux. All logos and trademarks in this site are property of their respective owner. Copyright 1997-2011 NetAdminTools.com