camscape - for excellent IT solutions - IT knowledge base

knowledge base linux

lftp cannot list folder

After successful connection using lftp   lftp -u username,userpass target_ip   a simple command like ls is not working but hanging and wait for timeout. The reason can be a destination target self signed certificate or, more possible, a destination [...] »detalii lftp cannot list folder

Asterisk DAHDI error

When running dahdi_genconf with no Digium (or other) cards you will get:   /usr/sbin/dahdi_span_assignments: Missing /sys/bus/dahdi_devices/devices (DAHDI driver unloaded?)   Run instead:   dahdi_genconf system chandahdi  

Perl CPAN cant connect to

Sometimes CPAN cannot download modules and seems that its mirrors are not working. If you see something like   Connecting to (somesitename)|someip|:80... failed: Connection timed out. Retrying   Then you have to change the mirrors:   perl -MCPAN -e [...] »detalii Perl CPAN cant connect to

Convert MAN page to text

To convert a man page to text file, simply run:   man command_name | col -b > somefile.txt   where command_name is the command whose man page you want. For example:   man cp | col -b > cp-manpage.txt   [...] »detalii Convert MAN page to text