** HP JetDirect **
Just 4 fun, забавно было наткнуться на принтер с ip/ipx/appletalk/etc
стеком и поддержкой тьмы протоколов (по умному - принт-сервер),
поэтому появился данный лог-статья.. в дальнейшем ждём чайники с ip
стеками на процах mips и осью qnx )
bash-2.05a$ telnet 204.194.36.202
Trying 204.194.36.202...
Connected to 204.194.36.202.
Escape character is '^]'.
HP JetDirect
Password is not set
Please type "menu" for the MENU system,
or "?" for help, or "/" for current settings.
> /
===JetDirect Telnet Configuration===
HP JetDirect : J6057A
Firmware Version : R.22.08
Manufacturing ID : 22014205902201
Hardware Address : 00:01:E6:3E:AD:9E
System Up Time : 77:33:05
GENERAL____________________________________
Admin Password : Not Specified
System Location : Not Specified
System Contact : Not Specified
TCP/IP MAIN________________________________
Host Name : NPI3EAD9E
IP Config Method : USER SPECIFIED
IP Address : 204.194.36.202
Subnet Mask : 255.255.255.128
Default Gateway : 204.194.36.254
Config Server : Not Specified (Read-Only)
TFTP Server : Not Specified (Read-Only)
TFTP Filename : Not Specified (Read-Only)
Domain Name : hcs.net
Press RETURN to continue:
DNS Server : 204.194.36.14
Pri WINS Server : 204.194.36.218
Sec WINS Server : Not Specified
TCP/IP PRINT OPTIONS_______________________
9100 Printing : Enabled
FTP Printing : Enabled
IPP Printing : Enabled
LPD Printing : Enabled
LPD Banner Page : Enabled
TCP/IP LPD QUEUES__________________________
LPD Print Queues :
Queue Name: RAW Prepend String: Append String: Processing:RAW
Queue Name: TEXT Prepend String: Append String: Processing:TEXT
Queue Name: AUTO Prepend String: Append String: Processing:AUTO
Queue Name: BINPS Prepend String: Append String: Processing:BINPS
LPD Default Queue: AUTO
LPD Queue Strings:
TCP/IP RAW PRINT PORTS_____________________
TCP/IP ACCESS CONTROL______________________
Press RETURN to continue:
Allow :
TCP/IP OTHER_______________________________
Syslog Config : Enabled
Syslog Server : Not Specified
Syslog MaxMsg/Min: 10
Syslog Priority : 7
SLP Config : Enabled
TTL/SLP : 4 Hops
Idle Timeout : 270 Seconds
User Timeout : 900 Seconds
Cold Reset : Disabled
EWS Config : Enabled
TCP MSS : 0
SNMP_______________________________________
SNMP Config : Enabled
Get Cmnty Name : Not Specified
Set Cmnty Name : Not Specified
SNMP TRAPS_________________________________
Authenticatn Trap: Enabled
Trap Destination :
Press RETURN to continue:
IPX/SPX____________________________________
IPX/SPX Config : Disabled
Print Server Name: NPI3EAD9E
Address : 0.0001E63EAD9E (Read-Only)
Frame Type : AUTO
SAP Interval : 60 Seconds
Mode : NONE (Read-Only)
NDS Tree Name : Not Specified
NDS Context : Not Specified
Job Poll Interval: 2 Seconds
PJL Banner Pages : Disabled
PJL End-Of-Job No: Disabled
PJL Toner Low : Disabled
APPLETALK__________________________________
AppleTalk Config : Disabled
Name : Not Specified (Read-Only)
Zone : * (Read-Only)
Print Type 1 : HP LaserJet (Read-Only)
Print Type 2 : LaserWriter (Read-Only)
Print Type 3 : Not Specified (Read-Only)
Press RETURN to continue:
Phase : 2 (Read-Only)
Status : NOT IN USE (Read-Only)
DLC/LLC____________________________________
DLC/LLC Config : Enabled
OTHER______________________________________
Panic Behavior : DUMP_AND_HALT
Link Type : AUTO
SUPPORT____________________________________
Support Name : Not Specified
Support Number : Not Specified
Support URL : http://www.hp.com/go/jetdirect
Tech Support URL : http://www.hp.com/go/support
> ?
Help Menu
Type one "Command" followed by one of its valid "Values".
Command: Values:
--------------- --------------------------
? [displays Help menu]
/ [Display current values]
# [Comment Line]
menu [Enter Menu]
advanced [Enable Advanced commands]
general [Disable Advanced commands] (default)
save [Save settings and exit]
exit [exit]
export [Export settings to edit and import via Telnet or TFTP]
GENERAL____________________________________
passwd <new-password> <retype-new-password> (16 chars max)
sys-location alpha-numeric string (255 chars max)
sys-contact alpha-numeric string (255 chars max)
Press RETURN to continue:
TCP/IP MAIN________________________________
host-name alpha-numeric string (32 chars max)
ip-config MANUAL, BOOTP, DHCP
ip IP address in dotted notation, 0.0.0.0 to disable
subnet-mask IP address in dotted notation, 0.0.0.0 to disable
default-gw IP address in dotted notation, 0.0.0.0 to disable
domain-name alpha-numeric string (255 chars max)
dns-svr IP address in dotted notation, 0.0.0.0 to disable
pri-wins-svr IP address in dotted notation, 0.0.0.0 to disable
sec-wins-svr IP address in dotted notation
TCP/IP PRINT OPTIONS_______________________
9100-printing 0 to disable, 1 to enable (TCP port 9100)
ftp-printing 0 to disable, 1 to enable (TCP port 20, 21)
ipp-printing 0 to disable, 1 to enable (TCP port 631)
lpd-printing 0 to disable, 1 to enable (TCP port 515)
banner 0 to disable, 1 to enable
TCP/IP LPD QUEUES__________________________
addq <name> [prepend] [append] [processing]
deleteq <name>
defaultq <name>
addstring <name> <contents>
Press RETURN to continue:
deletestring <name>
TCP/IP RAW PRINT PORTS_____________________
raw-port port(3000..9000), [2]
TCP/IP ACCESS CONTROL______________________
allow IP address (and optional mask) in dotted notation, [10]
TCP/IP OTHER_______________________________
syslog-config 0 to disable, 1 to enable (UDP port 514)
syslog-svr IP address in dotted notation, 0.0.0.0 to disable
syslog-max integer (1..1000), 0 to disable
syslog-priority integer (0..7), 8 to disable
slp-config 0 to disable, 1 to enable (UDP port 427)
ttl-slp integer (1..15), -1 to disable
idle-timeout integer (1..3600) seconds, 0 to disable
user-timeout integer (1..3600) seconds, 0 to disable
cold-reset 1=Set TCP Factory Defaults, 0=normal
ews-config 0 to disable, 1 to enable (TCP port 80)
tcp-mss integer (0,1,2)
SNMP_______________________________________
snmp-config 0 to disable, 1 to enable
NOTE: Disabling this parameter will disable communication
with WebJetAdmin and JetAdmin
Press RETURN to continue:
get-cmnty-name alpha-numeric string (255 chars max)
set-cmnty-name alpha-numeric string (255 chars max)
SNMP TRAPS_________________________________
auth-trap 0 to disable, 1 to enable
trap-dest IP address in dotted notation, 0.0.0.0 to disable,[3]
IPX/SPX____________________________________
ipx-config 0 to disable, 1 to enable
ipx-unitname alpha-numeric string (31 chars max)
ipx-frametype (AUTO, EN_8022, EN_8023, EN_II, EN_SNAP
Note: Only TR_8022, TR_SNAP, AUTO are supported on Token Ring)
ipx-sapinterval integer (1..3600) seconds, 0 to disable
ipx-nds-tree alpha-numeric string (31 chars max)
ipx-nds-context alpha-numeric string (256 chars max)
ipx-job-poll integer (1..255) seconds
pjl-banner 0 to disable, 1 to enable
pjl-eoj 0 to disable, 1 to enable
pjl-toner-low 0 to disable, 1 to enable
APPLETALK__________________________________
appletalk 0 to disable, 1 to enable
Press RETURN to continue:
DLC/LLC____________________________________
dlc/llc-config 0 to disable, 1 to enable
OTHER______________________________________
panic-behavior NONE_SUPPORTED, DUMP_AND_REBOOT, JUST_REBOOT,
DUMP_AND_HALT, JUST_HALT, FULL_DUMP_AND_REBOOT, FULL_DUMP_AND_HALT
link-type alpha-numeric string (AUTO, 100FULL, 100HALF, 10FULL, 10HALF)
SUPPORT____________________________________
support-name alpha-numeric string (255 chars max)
support-number alpha-numeric string (255 chars max)
support-url alpha-numeric string (255 chars max)
tech-support-url alpha-numeric string (255 chars max)
___________________________________________
Examples:
ip: 15.29.44.99 <ENTER> [sets IP address to 15.29.44.99]
idle-timeout: 65 <ENTER> [sets timeout to 65 seconds]
allow: <ENTER> [deletes allow table, selects first element]
allow: 15.29.44.29 <ENTER> [set allow[1] with IP, default mask]
allow: 15.29.40 255.255.248.0 <ENTER> [set allow[2] with subnet mask]
cold-reset <ENTER> [set TCP factory defaults]
passwd-admin: j71fa j71fa [set admin password]
Press RETURN to continue:
port: 1 <ENTER> [selects port 1 for banner command]
banner: 1 <ENTER> [enables banner page]
exit <ENTER> [exit]
(Read-Only) values may have been automatically set by BOOTP, DHCP or RARP.
To unlock these, type "ip-config manual" to switch to manual configuration.
Type "?" for HELP, "/" for current settings or "exit" to exit.
> menu
===JetDirect Telnet Configuration===
HP JetDirect : J6057A
Firmware Version : R.22.08
Manufacturing ID : 22014205902201
Hardware Address : 00:01:E6:3E:AD:9E
System Up Time : 77:33:45
MAIN MENU
----------------------------------------
1. General Settings
2. TCP/IP Menu
3. SNMP Menu
4. IPX/SPX Settings
5. AppleTalk Settings
6. DLC/LLC Settings
7. Other Settings
8. Support Settings
9. Help
0. Exit
Enter Selection => 1
===JetDirect Telnet Configuration===
HP JetDirect : J6057A
GENERAL SETTINGS
-----------------------------------------
Admin Password : Not Specified
System Location : Not Specified
System Contact : Not Specified
Change Settings ?(Y/[N]): N
===JetDirect Telnet Configuration===
HP JetDirect : J6057A
Firmware Version : R.22.08
Manufacturing ID : 22014205902201
Hardware Address : 00:01:E6:3E:AD:9E
System Up Time : 77:33:54
MAIN MENU
----------------------------------------
1. General Settings
2. TCP/IP Menu
3. SNMP Menu
4. IPX/SPX Settings
5. AppleTalk Settings
6. DLC/LLC Settings
7. Other Settings
8. Support Settings
9. Help
0. Exit
Enter Selection => 2
===JetDirect Telnet Configuration===
HP JetDirect : J6057A
Firmware Version : R.22.08
Manufacturing ID : 22014205902201
Hardware Address : 00:01:E6:3E:AD:9E
System Up Time : 77:33:56
TCP/IP MENU
----------------------------------------
1. TCP/IP - Main Settings
2. TCP/IP - Print Options
3. TCP/IP - Raw Print Ports
4. TCP/IP - Access Control
5. TCP/IP - Other Settings
6. TCP/IP - Diagnostics
0. Return to Main Menu
Enter Selection => 1
===JetDirect Telnet Configuration===
HP JetDirect : J6057A
TCP/IP - MAIN SETTINGS
-----------------------------------------
Host Name : NPI3EAD9E
IP Config Method : USER SPECIFIED
IP Address : 204.194.36.202
Subnet Mask : 255.255.255.128
Default Gateway : 204.194.36.254
Config Server : Not Specified (Read-Only)
TFTP Server : Not Specified (Read-Only)
TFTP Filename : Not Specified (Read-Only)
Domain Name : hcs.net
DNS Server : 204.194.36.14
Pri WINS Server : 204.194.36.218
Sec WINS Server : Not Specified
Change Settings ?(Y/[N]): N
===JetDirect Telnet Configuration===
HP JetDirect : J6057A
Firmware Version : R.22.08
Manufacturing ID : 22014205902201
Hardware Address : 00:01:E6:3E:AD:9E
System Up Time : 77:34:02
TCP/IP MENU
----------------------------------------
1. TCP/IP - Main Settings
2. TCP/IP - Print Options
3. TCP/IP - Raw Print Ports
4. TCP/IP - Access Control
5. TCP/IP - Other Settings
6. TCP/IP - Diagnostics
0. Return to Main Menu
Enter Selection => 2
===JetDirect Telnet Configuration===
HP JetDirect : J6057A
TCP/IP - PRINT OPTIONS
-----------------------------------------
9100 Printing : Enabled
FTP Printing : Enabled
IPP Printing : Enabled
LPD Printing : Enabled
LPD Turbo : Enabled
LPD Banner Page : Enabled
Interlock Mode : Disabled
Buffer Packing : Disabled
Write Mode : Disabled
Change Settings ?(Y/[N]): N
===JetDirect Telnet Configuration===
HP JetDirect : J6057A
Firmware Version : R.22.08
Manufacturing ID : 22014205902201
Hardware Address : 00:01:E6:3E:AD:9E
System Up Time : 77:34:12
TCP/IP MENU
----------------------------------------
1. TCP/IP - Main Settings
2. TCP/IP - Print Options
3. TCP/IP - Raw Print Ports
4. TCP/IP - Access Control
5. TCP/IP - Other Settings
6. TCP/IP - Diagnostics
0. Return to Main Menu
Enter Selection => 3
===JetDirect Telnet Configuration===
HP JetDirect : J6057A
TCP/IP - RAW PRINT PORTS
-----------------------------------------
---------------------------
| Raw Print | Port |
---------------------------
---------------------------
Change Settings ?(Y/[N]): N
===JetDirect Telnet Configuration===
HP JetDirect : J6057A
Firmware Version : R.22.08
Manufacturing ID : 22014205902201
Hardware Address : 00:01:E6:3E:AD:9E
System Up Time : 77:34:19
TCP/IP MENU
----------------------------------------
1. TCP/IP - Main Settings
2. TCP/IP - Print Options
3. TCP/IP - Raw Print Ports
4. TCP/IP - Access Control
5. TCP/IP - Other Settings
6. TCP/IP - Diagnostics
0. Return to Main Menu
Enter Selection => 4
===JetDirect Telnet Configuration===
HP JetDirect : J6057A
TCP/IP - ACCESS CONTROL
-----------------------------------------
---------------------------------------------------
| Allow | IP Address | Mask |
---------------------------------------------------
---------------------------------------------------
Change Settings ?(Y/[N]): N
===JetDirect Telnet Configuration===
HP JetDirect : J6057A
Firmware Version : R.22.08
Manufacturing ID : 22014205902201
Hardware Address : 00:01:E6:3E:AD:9E
System Up Time : 77:34:23
TCP/IP MENU
----------------------------------------
1. TCP/IP - Main Settings
2. TCP/IP - Print Options
3. TCP/IP - Raw Print Ports
4. TCP/IP - Access Control
5. TCP/IP - Other Settings
6. TCP/IP - Diagnostics
0. Return to Main Menu
Enter Selection => 5
===JetDirect Telnet Configuration===
HP JetDirect : J6057A
TCP/IP - OTHER
-----------------------------------------
Syslog Config : Enabled
Syslog Server : Not Specified
Syslog MaxMsg/Min: 10
Syslog Priority : 7
Syslog Facility : LPR
SLP Config : Enabled
TTL/SLP : 4 Hops
Idle Timeout : 270 Seconds
User Timeout : 900 Seconds
Cold Reset : Disabled
EWS Config : Enabled
TCP MSS : 0
TCP MSL : 15 Seconds
Change Settings ?(Y/[N]): N
===JetDirect Telnet Configuration===
HP JetDirect : J6057A
Firmware Version : R.22.08
Manufacturing ID : 22014205902201
Hardware Address : 00:01:E6:3E:AD:9E
System Up Time : 77:34:30
TCP/IP MENU
----------------------------------------
1. TCP/IP - Main Settings
2. TCP/IP - Print Options
3. TCP/IP - Raw Print Ports
4. TCP/IP - Access Control
5. TCP/IP - Other Settings
6. TCP/IP - Diagnostics
0. Return to Main Menu
Enter Selection => 6
===JetDirect Telnet Configuration===
HP JetDirect : J6057A
TCP/IP - DIAGNOSTICS
-----------------------------------------
Last Config IP : 204.194.36.254 (Read-Only)
TCP Conns Refused: 0 (Read-Only)
TCP Access Denied: 0 (Read-Only)
DHCP Lease Time : 432000 Seconds (Read-Only)
DHCP Renew Time : 216000 Seconds (Read-Only)
DHCP Rebind Time : 378000 Seconds (Read-Only)
TcpSegInOrder : 964 (Read-Only)
TcpSegOutOfOrder : 37 (Read-Only)
TcpInZeroProbe : 0 (Read-Only)
TcpInDiscards : 0 (Read-Only)
Would you like to exit from this Menu ?([Y]/N): E Y
===JetDirect Telnet Configuration===
HP JetDirect : J6057A
Firmware Version : R.22.08
Manufacturing ID : 22014205902201
Hardware Address : 00:01:E6:3E:AD:9E
System Up Time : 77:34:44
TCP/IP MENU
----------------------------------------
1. TCP/IP - Main Settings
2. TCP/IP - Print Options
3. TCP/IP - Raw Print Ports
4. TCP/IP - Access Control
5. TCP/IP - Other Settings
6. TCP/IP - Diagnostics
0. Return to Main Menu
Enter Selection => 0
===JetDirect Telnet Configuration===
HP JetDirect : J6057A
Firmware Version : R.22.08
Manufacturing ID : 22014205902201
Hardware Address : 00:01:E6:3E:AD:9E
System Up Time : 77:34:47
MAIN MENU
----------------------------------------
1. General Settings
2. TCP/IP Menu
3. SNMP Menu
4. IPX/SPX Settings
5. AppleTalk Settings
6. DLC/LLC Settings
7. Other Settings
8. Support Settings
9. Help
0. Exit
Enter Selection => 3
===JetDirect Telnet Configuration===
HP JetDirect : J6057A
Firmware Version : R.22.08
Manufacturing ID : 22014205902201
Hardware Address : 00:01:E6:3E:AD:9E
System Up Time : 77:34:50
SNMP MENU
----------------------------------------------
1. SNMP - Main Settings
2. SNMP - Traps
0. Return to Main Menu
Enter Selection => 1
===JetDirect Telnet Configuration===
HP JetDirect : J6057A
SNMP - MAIN SETTINGS
-----------------------------------------
SNMP Config : Enabled
Get Cmnty Name : Not Specified
Set Cmnty Name : Not Specified
Change Settings ?(Y/[N]): N
===JetDirect Telnet Configuration===
HP JetDirect : J6057A
Firmware Version : R.22.08
Manufacturing ID : 22014205902201
Hardware Address : 00:01:E6:3E:AD:9E
System Up Time : 77:34:56
SNMP MENU
----------------------------------------------
1. SNMP - Main Settings
2. SNMP - Traps
0. Return to Main Menu
Enter Selection => 2
===JetDirect Telnet Configuration===
HP JetDirect : J6057A
SNMP - TRAPS
-----------------------------------------
Authenticatn Trap: 1
----------------------------------------------------------------------
| | IP Address | Trap Cmnty Name | Port |
----------------------------------------------------------------------
----------------------------------------------------------------------
Change Settings ?(Y/[N]): N
===JetDirect Telnet Configuration===
HP JetDirect : J6057A
Firmware Version : R.22.08
Manufacturing ID : 22014205902201
Hardware Address : 00:01:E6:3E:AD:9E
System Up Time : 77:35:00
SNMP MENU
----------------------------------------------
1. SNMP - Main Settings
2. SNMP - Traps
0. Return to Main Menu
Enter Selection => 0
===JetDirect Telnet Configuration===
HP JetDirect : J6057A
Firmware Version : R.22.08
Manufacturing ID : 22014205902201
Hardware Address : 00:01:E6:3E:AD:9E
System Up Time : 77:35:02
MAIN MENU
----------------------------------------
1. General Settings
2. TCP/IP Menu
3. SNMP Menu
4. IPX/SPX Settings
5. AppleTalk Settings
6. DLC/LLC Settings
7. Other Settings
8. Support Settings
9. Help
0. Exit
Enter Selection => 4
===JetDirect Telnet Configuration===
HP JetDirect : J6057A
IPX/SPX SETTINGS
-----------------------------------------
IPX/SPX Config : Disabled
Print Server Name: NPI3EAD9E
Address : 0.0001E63EAD9E (Read-Only)
Frame Type : AUTO
SAP Interval : 60 Seconds
Mode : NONE (Read-Only)
NDS Tree Name : Not Specified
NDS Context : Not Specified
Job Poll Interval: 2 Seconds
PJL Banner Pages : Disabled
PJL End-Of-Job No: Disabled
PJL Toner Low : Disabled
Change Settings ?(Y/[N]): N
===JetDirect Telnet Configuration===
HP JetDirect : J6057A
Firmware Version : R.22.08
Manufacturing ID : 22014205902201
Hardware Address : 00:01:E6:3E:AD:9E
System Up Time : 77:35:07
MAIN MENU
----------------------------------------
1. General Settings
2. TCP/IP Menu
3. SNMP Menu
4. IPX/SPX Settings
5. AppleTalk Settings
6. DLC/LLC Settings
7. Other Settings
8. Support Settings
9. Help
0. Exit
Enter Selection => 5
===JetDirect Telnet Configuration===
HP JetDirect : J6057A
APPLETALK SETTINGS
-----------------------------------------
AppleTalk Config : Disabled
Name : Not Specified (Read-Only)
Zone : * (Read-Only)
Print Type 1 : HP LaserJet (Read-Only)
Print Type 2 : LaserWriter (Read-Only)
Print Type 3 : Not Specified (Read-Only)
Phase : 2 (Read-Only)
Status : NOT IN USE (Read-Only)
Change Settings ?(Y/[N]): N
===JetDirect Telnet Configuration===
HP JetDirect : J6057A
Firmware Version : R.22.08
Manufacturing ID : 22014205902201
Hardware Address : 00:01:E6:3E:AD:9E
System Up Time : 77:35:12
MAIN MENU
----------------------------------------
1. General Settings
2. TCP/IP Menu
3. SNMP Menu
4. IPX/SPX Settings
5. AppleTalk Settings
6. DLC/LLC Settings
7. Other Settings
8. Support Settings
9. Help
0. Exit
Enter Selection => 6
===JetDirect Telnet Configuration===
HP JetDirect : J6057A
DLC/LLC SETTINGS
-----------------------------------------
DLC/LLC Config : Enabled
Change Settings ?(Y/[N]): N
===JetDirect Telnet Configuration===
HP JetDirect : J6057A
Firmware Version : R.22.08
Manufacturing ID : 22014205902201
Hardware Address : 00:01:E6:3E:AD:9E
System Up Time : 77:35:17
MAIN MENU
----------------------------------------
1. General Settings
2. TCP/IP Menu
3. SNMP Menu
4. IPX/SPX Settings
5. AppleTalk Settings
6. DLC/LLC Settings
7. Other Settings
8. Support Settings
9. Help
0. Exit
Enter Selection => 7
===JetDirect Telnet Configuration===
HP JetDirect : J6057A
OTHER SETTINGS
-----------------------------------------
Panic Behavior : DUMP_AND_HALT
Link Type : AUTO
Change Settings ?(Y/[N]): N
===JetDirect Telnet Configuration===
HP JetDirect : J6057A
Firmware Version : R.22.08
Manufacturing ID : 22014205902201
Hardware Address : 00:01:E6:3E:AD:9E
System Up Time : 77:35:23
MAIN MENU
----------------------------------------
1. General Settings
2. TCP/IP Menu
3. SNMP Menu
4. IPX/SPX Settings
5. AppleTalk Settings
6. DLC/LLC Settings
7. Other Settings
8. Support Settings
9. Help
0. Exit
Enter Selection => 8
===JetDirect Telnet Configuration===
HP JetDirect : J6057A
SUPPORT SETTINGS
-----------------------------------------
Support Name : Not Specified
Support Number : Not Specified
Support URL : http://www.hp.com/go/jetdirect
Tech Support URL : http://www.hp.com/go/support
Change Settings ?(Y/[N]): N
===JetDirect Telnet Configuration===
HP JetDirect : J6057A
Firmware Version : R.22.08
Manufacturing ID : 22014205902201
Hardware Address : 00:01:E6:3E:AD:9E
System Up Time : 77:35:39
MAIN MENU
----------------------------------------
1. General Settings
2. TCP/IP Menu
3. SNMP Menu
4. IPX/SPX Settings
5. AppleTalk Settings
6. DLC/LLC Settings
7. Other Settings
8. Support Settings
9. Help
0. Exit
Enter Selection => 9
Help Menu
Type one "Command" followed by one of its valid "Values".
Command: Values:
--------------- --------------------------
? [displays Help menu]
/ [Display current values]
# [Comment Line]
menu [Enter Menu]
advanced [Enable Advanced commands]
general [Disable Advanced commands] (default)
save [Save settings and exit]
exit [exit]
export [Export settings to edit and import via Telnet or TFTP]
GENERAL____________________________________
passwd <new-password> <retype-new-password> (16 chars max)
sys-location alpha-numeric string (255 chars max)
sys-contact alpha-numeric string (255 chars max)
Press RETURN to continue:
TCP/IP MAIN________________________________
host-name alpha-numeric string (32 chars max)
ip-config MANUAL, BOOTP, DHCP
ip IP address in dotted notation, 0.0.0.0 to disable
subnet-mask IP address in dotted notation, 0.0.0.0 to disable
default-gw IP address in dotted notation, 0.0.0.0 to disable
domain-name alpha-numeric string (255 chars max)
dns-svr IP address in dotted notation, 0.0.0.0 to disable
pri-wins-svr IP address in dotted notation, 0.0.0.0 to disable
sec-wins-svr IP address in dotted notation
TCP/IP PRINT OPTIONS_______________________
9100-printing 0 to disable, 1 to enable (TCP port 9100)
ftp-printing 0 to disable, 1 to enable (TCP port 20, 21)
ipp-printing 0 to disable, 1 to enable (TCP port 631)
lpd-printing 0 to disable, 1 to enable (TCP port 515)
banner 0 to disable, 1 to enable
TCP/IP LPD QUEUES__________________________
addq <name> [prepend] [append] [processing]
deleteq <name>
defaultq <name>
addstring <name> <contents>
Press RETURN to continue:
deletestring <name>
TCP/IP RAW PRINT PORTS_____________________
raw-port port(3000..9000), [2]
TCP/IP ACCESS CONTROL______________________
allow IP address (and optional mask) in dotted notation, [10]
TCP/IP OTHER_______________________________
syslog-config 0 to disable, 1 to enable (UDP port 514)
syslog-svr IP address in dotted notation, 0.0.0.0 to disable
syslog-max integer (1..1000), 0 to disable
syslog-priority integer (0..7), 8 to disable
slp-config 0 to disable, 1 to enable (UDP port 427)
ttl-slp integer (1..15), -1 to disable
idle-timeout integer (1..3600) seconds, 0 to disable
user-timeout integer (1..3600) seconds, 0 to disable
cold-reset 1=Set TCP Factory Defaults, 0=normal
ews-config 0 to disable, 1 to enable (TCP port 80)
tcp-mss integer (0,1,2)
SNMP_______________________________________
snmp-config 0 to disable, 1 to enable
NOTE: Disabling this parameter will disable communication
with WebJetAdmin and JetAdmin
Press RETURN to continue:
get-cmnty-name alpha-numeric string (255 chars max)
set-cmnty-name alpha-numeric string (255 chars max)
SNMP TRAPS_________________________________
auth-trap 0 to disable, 1 to enable
trap-dest IP address in dotted notation, 0.0.0.0 to disable,[3]
IPX/SPX____________________________________
ipx-config 0 to disable, 1 to enable
ipx-unitname alpha-numeric string (31 chars max)
ipx-frametype (AUTO, EN_8022, EN_8023, EN_II, EN_SNAP
Note: Only TR_8022, TR_SNAP, AUTO are supported on Token Ring)
ipx-sapinterval integer (1..3600) seconds, 0 to disable
ipx-nds-tree alpha-numeric string (31 chars max)
ipx-nds-context alpha-numeric string (256 chars max)
ipx-job-poll integer (1..255) seconds
pjl-banner 0 to disable, 1 to enable
pjl-eoj 0 to disable, 1 to enable
pjl-toner-low 0 to disable, 1 to enable
APPLETALK__________________________________
appletalk 0 to disable, 1 to enable
Press RETURN to continue:
DLC/LLC____________________________________
dlc/llc-config 0 to disable, 1 to enable
OTHER______________________________________
panic-behavior NONE_SUPPORTED, DUMP_AND_REBOOT, JUST_REBOOT,
DUMP_AND_HALT, JUST_HALT, FULL_DUMP_AND_REBOOT, FULL_DUMP_AND_HALT
link-type alpha-numeric string (AUTO, 100FULL, 100HALF, 10FULL, 10HALF)
SUPPORT____________________________________
support-name alpha-numeric string (255 chars max)
support-number alpha-numeric string (255 chars max)
support-url alpha-numeric string (255 chars max)
tech-support-url alpha-numeric string (255 chars max)
___________________________________________
Examples:
ip: 15.29.44.99 <ENTER> [sets IP address to 15.29.44.99]
idle-timeout: 65 <ENTER> [sets timeout to 65 seconds]
allow: <ENTER> [deletes allow table, selects first element]
allow: 15.29.44.29 <ENTER> [set allow[1] with IP, default mask]
allow: 15.29.40 255.255.248.0 <ENTER> [set allow[2] with subnet mask]
cold-reset <ENTER> [set TCP factory defaults]
passwd-admin: j71fa j71fa [set admin password]
Press RETURN to continue:
port: 1 <ENTER> [selects port 1 for banner command]
banner: 1 <ENTER> [enables banner page]
exit <ENTER> [exit]
(Read-Only) values may have been automatically set by BOOTP, DHCP or RARP.
To unlock these, type "ip-config manual" to switch to manual configuration.
Type "?" for HELP, "/" for current settings or "exit" to exit.
adva
===JetDirect Telnet Configuration===
HP JetDirect : J6057A
Firmware Version : R.22.08
Manufacturing ID : 22014205902201
Hardware Address : 00:01:E6:3E:AD:9E
System Up Time : 77:36:36
MAIN MENU
----------------------------------------
1. General Settings
2. TCP/IP Menu
3. SNMP Menu
4. IPX/SPX Settings
5. AppleTalk Settings
6. DLC/LLC Settings
7. Other Settings
8. Support Settings
9. Help
0. Exit
Enter Selection => 0
Disconnecting...
Connection closed by foreign host.
bash-2.05a$ telnet 204.194.36.202
Trying 204.194.36.202...
Connected to 204.194.36.202.
Escape character is '^]'.
HP JetDirect
Password is not set
Please type "menu" for the MENU system,
or "?" for help, or "/" for current settings.
> advanced
> general
> advanced
> menu
===JetDirect Telnet Configuration===
HP JetDirect : J6057A
Firmware Version : R.22.08
Manufacturing ID : 22014205902201
Hardware Address : 00:01:E6:3E:AD:9E
System Up Time : 77:36:59
MAIN MENU
----------------------------------------
1. General Settings
2. TCP/IP Menu
3. SNMP Menu
4. IPX/SPX Settings
5. AppleTalk Settings
6. DLC/LLC Settings
7. Other Settings
8. Support Settings
9. Help
0. Exit
Enter Selection => 0
Disconnecting...
Connection closed by foreign host.
bash-2.05a$ telnet 204.194.36.202ftp
Connected to 204.194.36.202 (204.194.36.202).
220 JD FTP Server Ready.
Name (204.194.36.202:kaban):
331 Enter password.
Password:
230-Hewlett-Packard FTP Print Server Version 2.2.
Directory: Description:
-----------------------------------------------------
PORT1 Print to port 1 HP LaserJet 4100 MFP
To print a file, use the command: put <filename> [portx]
or 'cd' to a desired port and use: put <filename>.
Ready to print to PORT1
230 User logged in.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> ls -l
227 Entering Passive Mode (204,194,36,202,4,28).
150 Opening BINARY mode data connection.
d-w--w--w- 2 JetDirect public 512 Feb 14 1999 PORT1
226 Transfer complete.
ftp> cd PROT1
550 No such file or directory.
ftp> cd PORT1
250 Changed directory to "/PORT1".
ftp> dir
227 Entering Passive Mode (204,194,36,202,4,29).
150 Opening BINARY mode data connection.
d-w--w--w- 2 JetDirect public 512 Feb 14 1999 PORT1
226 Transfer complete.
ftp> ls -la
227 Entering Passive Mode (204,194,36,202,4,30).
150 Opening BINARY mode data connection.
d-w--w--w- 2 JetDirect public 512 Feb 14 1999 PORT1
226 Transfer complete.
ftp> exit
221 Goodbye.
bash-2.05a$ w
9:39pm up 45 days, 22:15, 1 user, load average: 0.02, 0.19, 0.18
USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
root tty1 - 5May05 45days 0.12s 0.12s -bash
bash-2.05a$ exit
Список найдённых девайсов:
204.194.36.34 // HP 4100 MFP
204.194.36.35 // same
204.194.36.37 // тут другая версия - 9000 MFP
204.194.36.166 // same
204.194.36.202 // 4100
enj0y..
з.ы. и не забудьте старую оффисную шутку про рассылку туалетной бумаги
факсом ;)