camscape - for excellent IT solutions - IT knowledge base

knowledge base linux

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

Python setuptools

Dupa upgrade Python de la 2.6 la 2.7 , orice incercare de instalare cu easy_install va returna   ImportError: No module named pkg_resources   sau alte erori specifice. Trebuie reinstalat setuptools dar evident nu merge cu easy_install . Solutia:   [...] »detalii Python setuptools