Blog

Reset Xerox Spooler

Unplug the machine from power for five minutes.

Plug it back in, but dont turn it on.

  1. Press and hold down the [6] button on the numeric keypad, the [Energy Saver] and the [Stop] buttons
  2. Then, only once you are holding those buttons, power on the machine. Continue to hold down the three buttons until the Touch Screen displays several lines, goes blank and then displays lines again.
  3. Release the buttons. The machine will continue its normal boot up procedure to initialize the spool disk.

Posted in: Blog, Technical

Leave a Comment (0) →

TCP Offload

IF your having slow network on your Centos box best you check for TCP offloading issues.

tcpdump -i eth1 -v -nn| grep -i incorrect

 

If you get a lot of

103.4.122.47.22 > 103.4.123.36.53996: Flags [P.], cksum 0xc3d6 (incorrect -> 0xd4eb), seq 7496:7592, ack 9003, win 559, length 96

 

then try

ethtool -K eth0 rx off tx off sg off tso off ufo off gso off gro off lro off

 

Posted in: Blog

Leave a Comment (0) →

Centos password sniffer

Some time you need to see what customers are typing in as their password on the server to find typos.

 

tcpdump -i eth0 port smtp or port imap or port pop3 -l -A | egrep -i ‘pass=|pwd=|log=|login=|user=|username=|pw=|passw=|passwd=|password=|pass:|user:|userna me:|password:|login:|pass |user ‘

This little command will show you unencrypted passwords on the fly.

Posted in: Blog, Technical

Leave a Comment (0) →

Round cube missing date.

If your “Date” column is blank, or if it’s showing incorrect values, then check your php.ini file, and set the correct timezone for your server.

A sample timezone setting would be:

date.timezone = “Australia/Melbourne”

but can be set to other values, if you know it (google for the proper values)

See this page for a list of all valid php timezones:
http://www.php.net/manual/en/timezones.php

Posted in: Blog

Leave a Comment (0) →

Telstra Call Forward codes

These codes are used for land lines or mobiles  that use Telstra as a provider.

Turn on Call Forward: **code*(phone number to forward calls to, including area code)*10#
Turn off call Forward: ##code**10#
Check if forwarding is on: *#code#

Where: “code” is:
21 for “All calls”
61 for “No answer”
62 for “Unreachable”, ie “out of coverage”
67 for “Busy”

Specifically for “no answer”, you can set the duration your phone rings before it diverts using the the following:
**61*(phone number to forward calls to, including area code)**(number of seconds)#

This was compiled from the following Telstra pages (though I will point out that none of the pages mention the “unreachable” diversion – this oversight should be corrected):

https://go.telstra.com.au/helpandsupport/-/turn-call-forward-on
https://go.telstra.com.au/helpandsupport/-/turn-call-forward-off-on-your-mobile
https://go.telstra.com.au/helpandsupport/-/check-if-call-forward-is-turned-on-or-off-on-your-mobile

https://go.telstra.com.au/helpandsupport/-/change-ring-time-before-calls-divert-to-messagebank-on-yo

 

source: https://crowdsupport.telstra.com.au/t5/General-Mobiles/Call-Forwarding-Codes-Mobile-Network/m-p/150164#M2521

 

Posted in: Blog, Technical

Leave a Comment (0) →

Block WordPress Attack with CSF

Edit /etc/csf/regex.custom.pm and add:

Code: Select all


# wordpress
if (($globlogs{CUSTOM4_LOG}{$lgfile}) and ($line =~ /(\S+).*] "POST \/wp-login\.php.*" 200/)) {
return ("Failed WordPress login from",$1,"wordpress","20","80,443","3600");
}

Then update /etc/csf/csf.conf and change CUSTOM4_LOG to scan your web server access logs. (If they aren’t doing so already). Eg. for Plesk: /var/www/vhosts/system/*/logs/access_log

That rule will block brute force attacks to wp-login.php for one hour. If you want to block them permanently just change the 3600 to 1.

Source: https://forum.configserver.com/viewtopic.php?t=8886#p25432

 

Posted in: Blog, Technical

Leave a Comment (0) →

How-to Reset Password on Xerox

If you have forgotten a password on a Xerox Workcentre 5225 you won’t find any documentation on Xerox’s website on how to reset the password. If you ask them they will tell you that a technician (who you have to pay) will need to reset it. There is a way around this however. You can enter what is called “debug” mode and reset the password if you have lost the password to the printer (WARNING: Do not try adjusting anything in debug mode that you do not know how to do as it could have negative effects). In order to enter debug mode you will need to hold down the 0 button on the control panel for approximately 5 seconds, then while still holding this down press the start button. You will then be prompted to enter a passcode. The default is “6789”. Now that you are in debug mode you can change the username/password just like you would if you had already logged in as the admin as follows: [more]

  1. Press the <Machine Status> button on the Control Panel.
  2. Press the [Tools] tab.
  3. On the Tools screen press the [Authentication/Security] Settings.
  4. Press [System Administrator Settings].
  5. Press [System Administrator’s Login ID]
  6. On the System Administrator’s Login ID screen, Select [Keyboard]
  7. Type in <username here> for the Login ID, and select [Save]
  8. On the Retype line, select [Keyboard]
  9. Enter the same Login ID, and select [Save] twice.
  10. If prompted [Do you want to change the System Administrator’s Login ID?] select [Yes]
  11. Press [System Administrator’s Passcode].
  12. On the Passcode screen, Select [Keyboard].
  13. Type in <Passcode here> for the [New Passcode], and select [Save].
  14. In [Retype Passcode], select [Keyboard].
  15. Enter the same passcode, and select [Save] twice.
  16. In the [Do you want to change the System Administrator’s Passcode?] screen, select [Yes].
  17. If prompted choose to reboot the machine after the changes have been made.

Posted in: Blog, Technical

Leave a Comment (1) →
Page 4 of 14 «...23456...»