tech

p910nd allow multiple printers through a socket connection to port 910n (where n=1, 2, 3 …). So, we can share more than one printer to OpenWrt. In default, port number when you unplug and plug in different printers. The following configuration uses the Hotplug script to pair printers to designed ports. This allows multiple printers to be recognized, assigned ports based on the product ID, same ports assigned will resume when printers are connected/turned on. Works on both usb printer and parallel printer using serial to USB adapter.

Read More

Typically sendmail uses standard SMTP port 25 to relay mail. In most cases, this works fine as is, however, some ISPs block port 25. This makes it particularly difficult for sendmail to do its thing since it is supposed to work on port 25. In addition, opening port 25 could be risky. What are the security risks of opening port 25? Port 25 is used by the SMTP protocol to send mail. Some DDOS attacks seems to be targeted at port 25, email related. Under DDOS attacks, it will create huge number of connections to port 25 and causing too much traffic on the server. Port 25 obviously needs to be open for us to receive legitimate email, so we can’t block it. We can however change the default port 25 to other ports to reduce the risk of being attack.

Read More

iptables: No chain/target/match by that name. That is one of the common error message shows up when we trying a iptables’ rule in OpenVZ based VPS. If the chain and target are correct, it must be limited in kernel config. Problem description: Error message: iptables: No chain/target/match by that name. Run “iptables -L” and get:

Read More

Beini is a small Linux distribution that packs a punch. it is based on Tiny Core Linux. It offers an array of WiFi security audit tools. Beini is easy for newbie to used compare to BackTrack, which is the popular system used to crack WEP/WPA. Beini include packages: Minidwep, Aircrack, Inflator, Reaver, Feeding Bottle, Wifite

Read More

The Raspberry Pi is a credit-card-sized single-board computer use Linux-kernel based operating systems. Debian GNU/Linux, Iceweasel, Calligra Suite and Python are planned to be bundled with the Raspberry Pi. The Raspberry Pi is powerful and inexpensive, allowing you to create a home media center, internet radio, or even your own VPN server on the cheap. To set up your Raspberry Pi you will need:

Read More

CUPS, the Common UNIX Printing System, provides a portable printing layer for UNIX-based operating systems. It has been developed by Easy Software Products to promote a standard printing solution for all UNIX vendors and users. To install CUPS using a precompiled binary, for pfSense 2.x, issue the following command from a root terminal: Note: For NanoBSD, must remount embedded filesystem as read-write. pfSense 2.1: in the GUI under Diagnostics > NanoBSD, using the toggle button there. Previous version:

Read More

Assume that your current timezone is UTC. You would like to change your server’s timezone to Pacific Time. How do I change the timezone on my Linux distribution? On some distributions (for example, CentOS), the timezone is controlled by /etc/localtime file. The /etc/localtime file is a link to or copy of a file containing information about your time zone.

Read More